[PRJ] [APR 29 - Final Demo] TouchWM | HW accelerated framework for touch apps

Search This thread

Johny_G

Senior Member
May 27, 2009
400
195
Prague
www.gruncl.cz
TouchWM is my first project here on xda, and I think it is ready for first brief presentation.

Basicly, this is just another touch-friendly SDK/Framework for other developers, ment to be as fast as possible since it is hardware accelerated by OpenGL (based on OpenGLES wrapper made by Koush). I am adjusting OpenGLES to be used for 2D rendering and creating the Framework itself. There would be a few control elements of course, but right now, it is just rendering background and a lots of text to bench the GPU a little. In future versions, there will be a sample app with source code available for other developers.

Pros and cons of my idea of final project:
+ My Framework should be VERY fast on supported devices. It is a big problem with current frameworks
+ It will be completely opensource, so you can adust the code for your needs
+ TouchWM is very easily skinnable from first stages of development
- There will never be a support for devices without hardware acceleration of graphics
- It will have less control elements than other similar project, since it is a little bit differently targeted

I also plan to develop a simple accelerated engine for 2D games when this stuff is finished, however it might take a while, since this project is part of my bachelor's degree thesis which I definitely want to finish on time :).

So if you would be so kind, please test this app on your devices.

I only need a few information:
  • Your device model
  • ROM you are using
  • FPS displayed in the corner
  • Any additional GPU drivers you have installed (if any)
  • And finally how does it feel to you in general

Thank you for your help!

Changelog:

APR 29 is a Final Demo, but it is not the end of the development. This version should be attached to my thesis, and development will continue when it is done. The deadline is MAY 7, so do not worry, it will not take a long time. When my thesis is finished, I will release the source code as well. Please, test this final demo and send me a report; it is important to me.

APR 29:
  • One new element (option button)
  • Number value can be changed in steps
  • Tweaked colors in the new skin
  • FPS display is optional
  • Thinner scrollbar
  • Reorganized pages
  • Code entirely commented and documented

APR 28:
  • New skin!
  • Scroll position indicator
  • One new element (number value)
  • New methods to change skins in real time (with demonstration)
  • Code cleaned and explained to be used as a tutorial for others
  • Vertical drag tweaked not to be confused with diagonal scroll

APR 27:
  • One new element (On/Off switch)
  • Skin system reworked to override OpenGL ES performance glitch (I began to hate OpenGL ES a little)
  • All skin settings are now optional (it does make skin definitions way shorter)
  • Possibility to skin each page and/or element separately
  • You can drag the page horizontally to move to the previous page
  • Fixed long text offset position and overlap
  • Slightly improved Stress page

APR 26:
  • Major performance improvements
  • Stress page for benchmarking performance
  • Source code commented
  • Keeping backlight on to prevent device suspend
  • Screen orientation change support (only system triggered, not G-Sensor)

APR 25:
  • Some more preformance optimization
  • Dragging the page back when overscrolled
  • Page navigation
  • Two new elements (navigation button and separator)
  • Button focus
  • More skinnable fonts
  • Fixed crash in elements with empty text/label

APR 24:
  • A lot of preformance optimization
  • New FPS measurement
  • One new element (picture)
  • Workaround for the font bug

Reference renders from the Final Demo:

New skin:


Old skin:


Demo 1 [APR 20] download link:
http://rapidshare.com/files/378122727/TouchWM.exe
Demo 2 [APR 24] download link:
http://rapidshare.com/files/379648477/TouchWM.exe
Demo 3 [APR 25] download link:
http://rapidshare.com/files/380058881/TouchWM.exe
Demo 4 [APR 26] download link:
http://rapidshare.com/files/380477728/TouchWM.exe
Demo 5 [APR 27] download link:
http://rapidshare.com/files/380889700/TouchWM.exe
Demo 6 [APR 28] download link:
http://rapidshare.com/files/381340953/TouchWM.exe
Final Demo [APR 29] download link (the same is in the attachment):
http://rapidshare.com/files/381673437/TouchWM.exe
 

Attachments

  • TouchWM_final_demo.zip
    166 KB · Views: 199
Last edited:

Blue Ice K4

Senior Member
Jul 31, 2007
64
0
Rome
hi...
hd2 owner with stock rom with additional 3d chainfire drivers, fps displayed are about 55 in all conditions


just a question... i notice a little lag between finger movement and display scrolling... is there a way to have the screen "locked" to the finger without delay?
i think this is one of the point that make the touch feeling different between iphone and wm devices
 
Last edited:

Johny_G

Senior Member
May 27, 2009
400
195
Prague
www.gruncl.cz
Thank you for first report :).

To be honest, I see the lag as well (however, it is really short), and I have no idea what causes that. All the position changes are done immediately, and with FPS>30 there should not be lag bigger than 35 milliseconds (18ms in your case). I am not sure if such a little delay can be so notable :-(.

Don't worry, I will do my best to hunt every redundant millisecond, but I am not sure if anybody can reach iPhone response on WM device. In fact, I believe that WM are so laggy because of multitasking (the app needs to pass CPU time to other apps dozens of times every second; it cannot really allow any app to flow smoothly even when the overall performance is great), so I believe it is kind of reasonable price :).
 

Odyssey_LoL

New member
Jan 28, 2010
4
0
Liptovsky Mikulas
hi

I have HTC touch Diamond and 6.5.5 wm flashed and i use net.framework 3.5 and fps is 12 - 13 fps, and i have good feeling from it fps is poor but it is smooth according to fps and text have in some jotting stretched or rolled their lower ends about some milimeters
sorry my english xD
 
Last edited:

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Great project.

I hope to see it in a more completed state, anxious to use it in one of my own projects. Keep up the good work.

The lag mentioned between mousedown and scrolling is not noticable to me at all. There is, however, a strange issue in your font rendering. (screen-shot below)

Just curious, what language are you writing this is?

RhodiumW (Sprint Branded)
average 28 fps
Heavily modified Sprint Rom - 23554 base
stock video drivers

Good luck with your thesis!
 

Attachments

  • Screen01.jpg
    Screen01.jpg
    23.9 KB · Views: 160

misterhatoola

Member
Jan 20, 2010
16
3
MotoSurf A3100

MotoSurf A3100, stock WM6.1 ROM and drivers.
19 FPS during repetitious scrolling, 25 when idle.
Works pretty nice, I guess.
 

VeNuMuS

Inactive Recognized Contributor
Jun 19, 2009
4,068
3,078
Los Angeles
HTC Fuze
Energy Rom Sense 2.5 Co0kie Home Tab WM 6.5
21 FPS when idle, 20 FPS when scrolling
 

andes83

Senior Member
May 24, 2009
232
4
Varna
19-21 fps but almost all the time above 20
HTC Blackstone
Blackstone Hybrid Drivers
ROM:L26HDLEOV4 Ultimate Serie 5.2.21869
 

Areowbe

Member
Sep 15, 2007
5
0
FPS: ~27
ROM: Topat 1.7 NLD by Patensas
Phone: HTC Touch Diamond 2

Works pretty good but the text is crippled.
 

Areowbe

Member
Sep 15, 2007
5
0
I don't know what font is installed but I tried a different one (Sarcy's 6.5 Kabel) and now it's okay.
 

kosmodisk

Senior Member
Sep 27, 2007
275
21
zdravíčko :)

my results:

Blackstone
energy rom (WM6.5.5 23559)
drivers: Neos signed driverpack
average fps: 18-19
no font problem
 
Last edited:

icecreammm

Senior Member
Apr 30, 2009
95
0
Phone: TOPAZ
Rom: Prime III
28 when idle
25 when scrolling
Text doesn't look ok.
scrolling is very smooth, but doesn't always react well on my finger movements.
Battery usage is nice, phone doesn't get hot.
 

VisualD

Member
Nov 1, 2007
25
0
London
Phone: LEO
Rom: CleanEX HyperRom Ultimate 4
55.6 when idle
55.2 when scrolling
Text looks very nice.
Scrolling is very, very smooth.
 

HaniX

Senior Member
Jan 27, 2009
58
5
Ostrava
Works Fine! ;)

Scrolling is very smooth! I got around 55 FPS with my Leo.
I additionally installed Chainfire HD2 3D Driver Patch. The ROM I used is described in my signature! ;)

Glad to see some Czech students finally showing their abilities here on XDA, keep it up man! I'm 21 YO student also and eager to see some more demonstrations from you! ;)
 
May 19, 2008
33
2
Nice speed but font appears weird

Hi there!!

First of all, want to say great work and creativeness.

The speeds really really good (almost 30 fps ) on my touch pro2.

Just the font appears weird..

Not really sure what font is used.. how to check?
Maybe is tahoma.
 

Attachments

  • ScreenShot5.jpg
    ScreenShot5.jpg
    24 KB · Views: 28

sabamimi

Senior Member
Apr 19, 2008
58
2
ACER S200

It works.
ACER S200, stock ROM 3.003b
Font is crippled like for few others testers
~45 fps both when working or idle

Good luck with your project
 

lopez1_de

Senior Member
Jun 14, 2007
205
4
- device: HD2
- ROM: 1.48 shipped
- idle: 38fps, scrolling 20fps
- driver CF3D (HD2 3D Driver Patch v2.00 by Chainfire)

Has good fps but is stuttering(?). My english is really poor. ;)
And the text isn't readable. See the screenshot.

EDIT: Screenshot fps is 15. This is in cause of the remote tool I used.
 

Attachments

  • snapshot1.jpg
    snapshot1.jpg
    85.6 KB · Views: 21