[DEV] OpenGL ES Test Application - Windows Mobile Development and Hacking General

Hi everyone...
I've been playing around with OpenGL ES, struggling to get it to compile, and eventually succeeding to discover that some of the parameters I set wouldn't work on the Diamond.
I've fixed all of the issues that I know of and now I want to see what devices a little test application will work on.
Hopefully, it should work on all the MSM720X based devices, and anything else that supports OpenGL|ES, that support can either be hardware or software acceleration, so those of you without the more recent devices can give it a shot and see what happens.
You should be presented with a triangle, that you can reorientate with mouse click and drags...
If people could test it out and see what happens, I'd be very happy
It may even lead somewhere!
Tested and verified on:
HTC Touch Diamond
HTC Touch Diamond2
Xperia X1 (sortof...)
HTC Touch HD
HTC Touch Pro

it works perfectly on my HD !

hanackin said:
it works perfectly on my HD !
Click to expand...
Click to collapse
Excellent.
Are the framerates good? (I know there's no display of framerates, but does it feel smooth?)

XDA Diamond Pro
I've tested it on my german O2 XDA Diamond Pro and it works very well and feels very smooth - even with chainfires gfxboost being disabled...

l3v5y said:
Excellent.
Are the framerates good? (I know there's no display of framerates, but does it feel smooth?)
Click to expand...
Click to collapse
it looks really awesome dude ! it is really fast and the display is smooth

Fast and smooth for me
Did you do it in C++ or Managed Code?

MarcLandis said:
Fast and smooth for me
Did you do it in C++ or Managed Code?
Click to expand...
Click to collapse
C++. Which is why I had trouble setting it up. Koush's managed API is easier to set up, but slower to run...

Attached is a new version that utilises a wrapper for some OpenGL ES functions, and l3v5yExtendedFunctions for some window creation etc...
It should have comparable frame rates, memory usage etc.
It also utilises the accelerometer of HTC devices, tap the center button (or anything that sends VK_RETURN) do toggle it.
You need to copy both dlls and the exe to your device, then run the exe.

Fast and smooth on my diamond here
and the new version is flickering a bit by fast moves

I don't know, if this has supposed to work on Iolite (different chipset), so i tried it . App even didn't start. It shows usual error with "either it is not signed..."

torrentonly said:
I don't know, if this has supposed to work on Iolite (different chipset), so i tried it . App even didn't start. It shows usual error with "either it is not signed..."
Click to expand...
Click to collapse
That probably means your device doesn't have a libGLES_cm.dll file. Which means that by default there's no OpenGL ES support.

Something that may be of interest to people here...
This is a game built off the framework created earlier... Should work on the same devices

Tested all apps on HTC Jade and all run smoothly..

Tested on x1 Test1 in post1 works but freezes for a second here and there.
test2 run but displays hello! and then closes.
and in the coin thread i reported it worked flawlessly on my x1

shadowmike said:
Tested on x1 Test1 in post1 works but freezes for a second here and there.
test2 run but displays hello! and then closes.
and in the coin thread i reported it worked flawlessly on my x1
Click to expand...
Click to collapse
Kinda odd...
But since the coin works, it may be because of the version of the dlls... No idea why... I'll have a look though!

works ok with topaz

shamus said:
works ok with topaz
Click to expand...
Click to collapse
Awesome...
I'll add that to the first post.

ok, just gave it a go. You can edit Your first post - works on xperia. perfect.
umm... sorry. test 2 doesn't work. as above - just brief hello and exits.

Absolutely amazing work!
This is great. I tried the two tests and your coin app on a htc td - they were all perfectly smooth...
Do you think it's possible to add support for 3ds max model files? That would be completely fantastic!
Thank you for your work, I really appreciate it. Now I can show my iPhone friends that my device isn't just a lagging piece of crap..

bronx said:
ok, just gave it a go. You can edit Your first post - works on xperia. perfect.
umm... sorry. test 2 doesn't work. as above - just brief hello and exits.
Click to expand...
Click to collapse
It'll be because of the lack of accelerometer... My code didn't contain that much error checking... :S

Related

GSen (SKKV Software)

Anyone tried this app on the athena? (as it also has an accelerometer) If so does it work?
http://s-k-tools.com/index.html?m_util.html#gsen
Would be brilliant if it works but my hopes aren't high as I couldn't find anything on the topic.
billu said:
Anyone tried this app on the athena? (as it also has an accelerometer) If so does it work?
http://s-k-tools.com/index.html?m_util.html#gsen
Would be brilliant if it works but my hopes aren't high as I couldn't find anything on the topic.
Click to expand...
Click to collapse
looks like a nice tool, but after I installed on my Ameo I tried to use GSen Version 1.40.
But a window popup with following message :
cannot connect to GSensor (1)
mhh, doesn't run on Ameo ... and delete it ...
Ameo, t-mobile ROM version 6
btw: I've now asked the developer why GSen is not running on Ameo ... hope I get an answer..
Accelerometer
Hey,
I've installed it on my HTC Advantage X7510 with WM6.! Professional, and I can confirm that it works.
When I'm in the today screen and I turn the PDA it does turn in Landscape and Portrait mode with no problem great at last it works.
Thanks for the link if anybody what's me to try anything please let me known.
Thanks
Gigino
I am happy for you gigino, but I am in the same boat as palmchen (have a X7500 with t-mobile WM6 ROM).
Perhaps the interface to the sensor is slightly different between WM6 and 6.1
I am sure it can't be that difficult to access it from WM6. Hopefully the developer will be able to implement it or give some clue which will assist some brainbox from this community in hacking this version to get working with WM6. In my eyes this is one of those killer apps.
I tried this on wm6.1, and had the same error message.
IMO the answer is simple: it works using HTC VUEFLO .dll. X7510 has those dll, x7500 doesn't!
In AP4 or AP5 it will work
sergiopi said:
IMO the answer is simple: it works using HTC VUEFLO .dll. X7510 has those dll, x7500 doesn't!
In AP4 or AP5 it will work
Click to expand...
Click to collapse
mhh, simple question?
could you please provide the new vueflo.dll for the old devices ?
If it only a dll to change that should be not a problem, or ?
btw: I've asked the developer, but he told me that he is to busy and have no time in the moment to update this programm.
Thanks for this. It is a great find. Works well with my X7510.
This is a must have application for the X7510. It is just amazing.
cktlcmd said:
Thanks for this. It is a great find. Works well with my X7510.
This is a must have application for the X7510. It is just amazing.
Click to expand...
Click to collapse
For some it is a must have. For others, it is an annoyance and irritation.
only because we can't get it working!
Sorry guys, we doesn´t have these devices for testing.
We just was surprised about the info, our tool is working on HTC Advantage X7510.
Also we not know the reason why it is not working on HTC Advantage X7500.
Possible reasons:
- missing/different software driver
- different ROM/ACU version
- missing needed hardware
As i said, we cannot test because of missing hardware.
billu said:
only because we can't get it working!
Click to expand...
Click to collapse
Not because of that. It was working all right.
I hated this auto rotate thing because 9 out of times the rotate happens against my wish, and it slows my device.
After the initial few minutes of novelty, I was already wanting to switch it off.
eaglesteve said:
Not because of that. It was working all right.
I hated this auto rotate thing because 9 out of times the rotate happens against my wish, and it slows my device.
After the initial few minutes of novelty, I was already wanting to switch it off.
Click to expand...
Click to collapse
for this exit a include/exclude list. check the diamond forum.
http://forum.xda-developers.com/showthread.php?p=2351034#post2351034
AnnaW said:
for this exit a include/exclude list. check the diamond forum.
http://forum.xda-developers.com/showthread.php?p=2351034#post2351034
Click to expand...
Click to collapse
Thanks for the info, but I still far prefer assigning rotate screen to a hardware button and just press that when I want to rotate.
Palmchen said:
mhh, simple question?
could you please provide the new vueflo.dll for the old devices ?
If it only a dll to change that should be not a problem, or ?
btw: I've asked the developer, but he told me that he is to busy and have no time in the moment to update this programm.
Click to expand...
Click to collapse
No, I don't, there are SOME dll, you can find it in the AP4 / AP5 ROM. I agree, the rotation is too slow and the screen rotation is useless and time consuming 90% of time. My brain is much faster in image rotation and my finger is slower than brain but acts only when needed
sergiopi said:
No, I don't, there are SOME dll, you can find it in the AP4 / AP5 ROM. I agree, the rotation is too slow and the screen rotation is useless and time consuming 90% of time. My brain is much faster in image rotation and my finger is slower than brain but acts only when needed
Click to expand...
Click to collapse
mhh, that makes me sadly ...
I would wish it will go faster and will run on my device (german tmobile WM6) ..
sergiopi said:
the rotation is too slow
Click to expand...
Click to collapse
Screen rotation is fast on mine. Might be ROM or today screen related in yours.
The speed you can change in settings: #timeout(value) - default value 1000 ms
Check http://forum.xda-developers.com/showthread.php?p=2351034#post2351034
X7500 (Ameo) with AP4 or AP5
I have tried it, but still I get the message that the gsensor cannot be found.
Edit:
Oeps it just start working. I noticed the veuflo was disabled.
can anyone post those .dll files, so others can use them? thanks

[Frst release] New application launcher

HOW TO: http://www.youtube.com/watch?v=vTCAbs7GCMs
I got tired of using standard omnia launcher so I wrote a new one. You can see it in action here:
http://www.youtube.com/watch?v=f4WF2atnnD8
This is the first release so it can have some bugs. It was tested only on samsung omnia so if you get it running on other devices please let me know.
If you'd like to configure the favotires,icons etc. find the installation folder - usually in Program Files and look for files:
Favorites.txt - add any application to the list and you should see it in favorites,
Icons/Icons.txt - will assign new icons to apps (name, icon). You can add any png 48x48 or 32x32 image - see Icons folder.
Exclude.txt - add app to the list and it will be excluded from the app list.
This is first release. Probably I will add some configuration latter.
Consider donating for further releases.
Which resolutions are supported?
How to config?
WOW!!! I love itt....I love uuuu!!!
Would this work in my Qvga Htc touch...Im sure I won't be so lucky...I try anyway....
thanks!
OK, I've just installed it ,it works, the scroll is great, but it's really hard to launch programs, it's like it doesnt response
Lycox said:
Which resolutions are supported?
How to config?
Click to expand...
Click to collapse
It should work on QVGA and QWVGA. No VGA as it is first release.
joshuas_79 said:
OK, I've just installed it ,it works, not as fast as it should work in a Samsung Omnia....but it's ok
Click to expand...
Click to collapse
If you start it for the first time it may take some time to cache everything, but then if you run it again it should run faster.
wow, judging from the video that looks INCREDIBLY smooth.
great work, would love to see this for other resolutions
this looks awesome!! hard to believe its a first release because it looks better than most final release apps
hoping for a vga version soon
Looks pretty slick.
Looking forward to a VGA release.
ryhkowal said:
It should work on QVGA and QWVGA. No VGA as it is first release.
Click to expand...
Click to collapse
Ahh, okay. Still waiting for a VGA release.
Nice one, I'll try it out.
If its as smooth as that video then Im definitely going to use it longterm!
Cheers
Great job ! Love it !
actually, it works just fine on QVGA. This is great!
I was wondering if you could make something exactly like the TouchFLO 3d all programs launcher? that would be amazing
First impression... running as smooth on my Kaiser (QVGA). I installed in on my storage card.
Nice work.
Tried on my Omnia.. it locks for a while at the beginning, while the tab " favourites " is selected and you press the tab " find ".
Hey, That is pure awesomeness !!!
working great on WM5 QVGA Jamin/Prophet
but i have NET.3.5 i dont know if it can work without it
Ok, it's true, after the first time it gets really fast and smooth (I really love it), but I still didnt get my shortcuts work. Any idea?
Htc Touch. WM 6.1
Now it saw, it only launch the shortcuts if I slide to right, is it right?
joshuas_79 said:
Ok, it's true, after the first time it gets really fast and smooth (I really love it), but I still didnt get my shortcuts work. Any idea?
Htc Touch. WM 6.1
Now it saw, it only launch the shortcuts if I slide to right, is it right?
Click to expand...
Click to collapse
Ok I answer myself: that's the way it has to be....sorry
thanks!!!
Excellent app!! Just one question/request. Would you be able to implement a "category" system? Something similar to how iContact handles categories, if at all possible. If so, this would be an absolutely killer app. (Not that it isn't already. )
Keep up the great work!
It does work with my VGA Axim x51v, but it has some quirks, like. And its insanely smooth! I have never experienced such smooth scrolling on my PDA before, even though I don't like the menu lagging a little behind my finger (but I suppose that to be intended)! A great application already!
Could you tell me where you got this smoothly animated list control from?
/edit: Oh, and it seems to kill all the regular icons until I soft reset. See screnshot 3 for details.
/edit 2: I did not yet get it to start an application ^^ But I find it awesome that you can create such smooth applications using .NET CF.

XTRAKT: the first games to run smoothly on the touch HD! Works on the Diamond!

This is the first game with such great graphics and to run so soothly on the Touch Pro. The only thing I found to kinda be cut off because of the difference in screen size is the loading screen.
EDIT: Well after looking closer I found that while playing the game the left part of the screen is slightly cut off not allowing you to see your score. But is still good enough to play.
INFO
Test is out yourself!
DOWNLOADS
RapidShare
4Shared
If at first the game does not work thy this:
3D Drivers
looks fun! gonna try it right away.
crashes when starting for me..
Cerevian said:
crashes when starting for me..
Click to expand...
Click to collapse
Try this
http://www.4shared.com/file/94903988/46937ade/Driver_Ati_d3d.html
They are 3d drivers
YouTube film:
http://www.youtube.com/watch?v=AIOpF9bM7B0
Looks amazing ...
Works with HD!!!
Will you kindly post a mirror to this on 4shared, megaupload, or sendfile? rapidshare is forbidden in the middle east...
thanks in advance
shirreer said:
Will you kindly post a mirror to this on 4shared, megaupload, or sendfile? rapidshare is forbidden in the middle east...
thanks in advance
Click to expand...
Click to collapse
Ya, check the first post I posted a 4Shared link
this game is amazing ad the shape of things to come on WM
does anyone know of a way we can get the g-sensor to turn the bike left and right? this would be the only thing this game need to be perfect!
it crashes for me even though I use the drivers.. weird.
It's an amazing game but to be honest the ati driver didn't make any difference at all... The htc d3dm driver ran just as good.
What does that mean?
owziee said:
It's an amazing game but to be honest the ati driver didn't make any difference at all... The htc d3dm driver ran just as good.
What does that mean?
Click to expand...
Click to collapse
They are probably the same thing, but not sure, but some rom or devices don't have either
Thank you very much.It's a great game.(although it would be more fun if it was using the gsensor).
Ps.For those that they have problem:i noticed that when i had Idiamond enabled,it was crashing.So i disabled TF3D (from the settings) and it worked.Try it out,it might help you too
Oops! Apparently this is an opengl (gles) game so the Ati d3d drivers are completely unnecessary here
Shoddy_me said:
it crashes for me even though I use the drivers.. weird.
Click to expand...
Click to collapse
try disable touchflo3d>softreset>run game
Thanks for the game!!! works really well, very impressed with the graphics. I did not know the Diamond could handle stuff like this.
Its quite troublesome for me thought, my phone runs average 60+% ram usage and this game takes 40%... So each time i want to play i have to disable TF3D and softreset too
DevilzGtr said:
Thanks for the game!!! works really well, very impressed with the graphics. I did not know the Diamond could handle stuff like this.
Its quite troublesome for me thought, my phone runs average 60+% ram usage and this game takes 40%... So each time i want to play i have to disable TF3D and softreset too
Click to expand...
Click to collapse
try changing the rom. I use Nataly rom with manila and a lot of programs installed (by Mondilv), 47% free (55mb) after softreset,
thank you it work on my diamond
I'm having a problem. On my diamond it won't even let me install it, it keeps saying it is unsuccessful.
keyz86 said:
this game is amazing ad the shape of things to come on WM
does anyone know of a way we can get the g-sensor to turn the bike left and right? this would be the only thing this game need to be perfect!
Click to expand...
Click to collapse
apparently it works with gcontroller. i manage to get it to work by tilting forward and backwards but not rotation
times like this i really wish i have multi touch, tapping the screen moves the bike making me run into things and i cant shoot while actively driving the bike
but we do need more games like this + acccelrometer
winmo is heavily under developed on its gaming and multimedia sections

Want better video performance

http://forum.xda-developers.com/showthread.php?t=509704
get it install it set it to run (maybe add it as an exclusion to taskmanager) it's superb.
If chainfire can get it running as a service it will be amazing!
Video playback is better, opera performance is better. overall it's better!
(this may not work on a stock rom, but I think all the files are there)..
touch it
recommended for itjes touch it 7.x as well?
Thanks...I'll try it...
If it's recommended by fards...that means it's good
Did anyone try it with Stock ROM?
I found it breaks the R3A Camera app. Anyone else can confirm it before we file a bug to Chainfire.
jackleung said:
I found it breaks the R3A Camera app. Anyone else can confirm it before we file a bug to Chainfire.
Click to expand...
Click to collapse
I'm using your 3.6 medium rom and the camera doesn't work
CowMix said:
I'm using your 3.6 medium rom and the camera doesn't work
Click to expand...
Click to collapse
The 1st run sees nothing on the screen, but close the camera app and start again will works.
r3a camera app working fine here
weird bug here....s2u2 i messed up in portrait mode....well it's worth it though considering the major performance improvement.....
@Fards : I would change the thread title as its definitely not only video playback benefiting from this tweak !!
camera working fine here, using itje ver 7.1
Thanks for posting this program, I have benchmarked GfxBoost with Spb Bench, SpeedBooster2 Bench and SKTools Bench to see if there was a quantitive improvement we could measure, apart from the glowing testimonials I have read. I have posted the results on the Turbo Speed Rom 2 thread out of respect for your thread.
Does this patch have uninstall? If it breaks something, can I uninstall it so that everything is as it was? Or it can not be unintstalled/can't revert changes?
How can i add an exception for it?
Is it a registry value?
thelucius said:
Does this patch have uninstall? If it breaks something, can I uninstall it so that everything is as it was? Or it can not be unintstalled/can't revert changes?
Click to expand...
Click to collapse
Quoted from linked thread:
"TFM (The F*ing Manual, read it!)
Requirements
An HTC-built MSM7K-based device, sporting QTV and some similar nonsense. In general, I would say this this is the entire range between the Vogue and the Touch Pro, though I've only tested it on Kaiser and Touch Pro, and both are GSM.
Installation
- Install the CAB on your device
- Soft-reset (does not seem to be needed on all devices)
- Start GfxBoost and click Enable
Uninstallation
- Start GfxBoost (if not running) and click Disable
- Uninstall CAB as usual"
I daresay you can uninstall it with no problem... The app requires installation as well as activation through running the app to work, so no changes are permanently made.
SquidgyB said:
Quoted from linked thread:
I daresay you can uninstall it with no problem... The app requires installation as well as activation through running the app to work, so no changes are permanently made.
Click to expand...
Click to collapse
My bad, thanks for that. I do not know how I skipped something that I needed to know.
On my stock R2AA008 the camera works with no problem after enabling GfxBoost.
Just tested it with status Enabled (Active) and I can't say I like it. Video performance is not better at all. At least not with coreplayer. I was using it with qtv output even before this GfxBoost, but with enabled, I must switch to other video output otherwise there is no video rendered on the screen.
iGO8 is not faster with this tweak, or at least I can't say I saw any difference. The same is valid for opera. No visual improvement at all. SPB mobile shell 3.0 too.
The only thing that I need to mention for my results is that I already have ATi graphics drivers installed on my X1 (the UI is generally faster with them), so maybe because of that I can't see any improvements with this GfxBoost.
Where are the ATI drivers from? Also I thought coreplayer didn't really make use of the processing powers of the xperia at all.
Deetz said:
Where are the ATI drivers from? Also I thought coreplayer didn't really make use of the processing powers of the xperia at all.
Click to expand...
Click to collapse
Currently coreplayer does not utilize the VGA acceleration by video playback, only WMP/Media Panel does.
I was talking for these drivers:
http://forum.xda-developers.com/showthread.php?t=486713&highlight=graphics+driver
The ati D3D.zip package.
I noticed that my battery is going down really fast when i enable it. Like the battery losses 10% every couple of hours or so. It never noticed my battery to go down that fast before.
hey,
i installed it earlier and it seems to be working quite well for me, quite a few things are smoother... such as opera, tf3d, even coreplayer!
quite remarkable really!
my hat off to chainfire! one of the very few problems with the x1 (video performance) being dealt a serious blow
my other hat off to itje! for all his cooking!
and my other hat to fard! for all his bug fixing and general help
thanks all
peace

TomTom

Will this run TomTom as it has a hvga screen?
Will any app definately enable TomTom to run?
Ta
Yeh - I'd like to know that too.
x3 - One of the main reasons I got my last winmo phone.
174 views and no ones knows...
For Debully
Hello,
No response maybe because nobody have it for the test -
I receive my hd mini, next week i will give a try.
@+++
I'll try to check tomorrow; along with Slingplayer, Mobile Shell, Calendar Touch, Coreplayer, HiCalc... Just a question of whether developers think WM6.5 HVGA or WP7 devices will be the biggest market over the next few months.
ianjd said:
I'll try to check tomorrow; along with Slingplayer, Mobile Shell, Calendar Touch, Coreplayer, HiCalc... Just a question of whether developers think WM6.5 HVGA or WP7 devices will be the biggest market over the next few months.
Click to expand...
Click to collapse
prob WinMo7 and that's bad 'cos i really like HTC HD mini. But plz let us know how the above applications work on.
Thanks in advance.
Looking forwared to hear more
TomTom 7.915 working without a problem on HD Mini; first lock took about a minute, subsequent locks about 10s.
Also Coreplayer decoding DVD-ripped 700Mb movie files with a benchmark of about 105%, which is much better than I was expecting.
ianjd said:
TomTom 7.915 working without a problem on HD Mini; first lock took about a minute, subsequent locks about 10s.
Also Coreplayer decoding DVD-ripped 700Mb movie files with a benchmark of about 105%, which is much better than I was expecting.
Click to expand...
Click to collapse
fantastic!
I can confirm also that it works, version 7.915 installed and running perfectly
cheers people. This is a deal maker for me, got one on order. Nice one!
ianjd said:
TomTom 7.915 working without a problem on HD Mini; first lock took about a minute, subsequent locks about 10s.
Also Coreplayer decoding DVD-ripped 700Mb movie files with a benchmark of about 105%, which is much better than I was expecting.
Click to expand...
Click to collapse
Could you tell me what version of Coreplayer you used?
I can only get sound working but no image, I tried .avi & .mp4 files
I have Coreplayer 1.3.6 build 7427; the trick is to change the Menu->Tools->Settings->Video output type to Raw Framebuffer; GDI seems to work too, but not as well.
ianjd said:
I have Coreplayer 1.3.6 build 7427; the trick is to change the Menu->Tools->Settings->Video output type to Raw Framebuffer; GDI seems to work too, but not as well.
Click to expand...
Click to collapse
Thanks, this works.
Fullscreen does not look as sharp as it should but i'm happy it works
xthvio said:
I can confirm also that it works, version 7.915 installed and running perfectly
Click to expand...
Click to collapse
Did you use QVGA version of TomTom or VGA?
Frank Caarls said:
Did you use QVGA version of TomTom or VGA?
Click to expand...
Click to collapse
It seems to work with both but I don't see a notable difference.
TomTom is very important for me.
Now I'm just waiting for the HD Mini to be released in Denmark.
I agree.....no TomTom no phone......
You can order already the WWE version on various places....
using qvga tomtom and no problems. some minor crashing text on the gps status screen but nothing to worry about.

Categories

Resources