[android-developers] I just published on Google Play extremely beatuful and funny life wallpaper

2012-10-25 Thread cybice
Where were a lot of troubles with opengl bags and features. I just published on Google Play extremely beatuful and funny life wallpaper Bestiary. There are hundreds of animated creatures with lots of settings. Watch a video http://www.youtube.com/watch?v=hOXNxRm8dxohd=1 Or get it on google

[android-developers] My first app, live wallpaper open gl 2.0

2012-10-24 Thread cybice
You can preview at youtube http://www.youtube.com/watch?v=hOXNxRm8dxohd=1 google play] https://play.google.com/store/apps/details?id=com.icelaba.bestiary -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: OpenGL lockups in 2.2

2012-04-12 Thread cybice
Please look at https://developer.qualcomm.com/forum/qdevnet-forums/mobile-gaming-graphics-optimization-adreno/11525#comment-6928 i have no rooted phone, so please anybody who affected this bug, send to Qualcomm a stack trace (using gdb) of all the threads of the system_server process --

[android-developers] Re: OpenGL lockups in 2.2

2012-04-03 Thread cybice
It looks like i found workaround. In all my apps error waitForCondition(LockCondition) timed out disappeared. The workaround is next. I preload two copy of each texture into GPU - texture1 and texture1copy, and in onDrawFrame one call i use first texture copy, next call i use second texture

[android-developers] Re: function texture2D not supported on target

2011-10-26 Thread cybice
Thank you a lot, also i have an answer from arm mali -- The specification says that some number of texture units are available to vertex shaders. There is a query to get the number of vertex shader

[android-developers] function texture2D not supported on target

2011-10-25 Thread cybice
Samsung Galaxy S2 When i compile vertex shader code which works on any other phone i have (nexus one, galaxy S, samsung ace, nexus s, dell) does not compile and gives this error function texture2D not supported on target -- You received this message because you are subscribed to the Google

[android-developers] Re: function texture2D not supported on target

2011-10-25 Thread cybice
Also i post this question on Mali Arm forum http://forums.arm.com/index.php?/topic/15341-galaxy-s2-function-texture2d-in-vertex-shader-not-supported-error/ galaxy s2 phone with *Mali*-400 MP *GPU* *How to compile vertex shader with function texture2D, * Every time i try to compile any shader with

[android-developers] Re: function texture2D not supported on target

2011-10-25 Thread cybice
It looks like ARM MALI GPU does not support opengl es 2.0 specification!!! Mali GPU Offline Shader Compiler http://www.malideveloper.com/developer-resources/tools/offline-shader-compiler.php gives same error - function texture2D not supported on target on next vertex shader code

[android-developers] Re: OpenGL ES 2.0 question

2011-09-18 Thread cybice
I do not understand step 5) create a framebuffer and bind it to the texture from #3 do you call *glFramebufferTexture *attaching texture as GL_COLOR_ATTACHMENT* i* or what? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: OpenGL Problem

2011-09-15 Thread cybice
The *more information* you provide, the better your results will be. But the easiest solutions: If you draw all in 3d see glEnable(GL_DEPTH_TEST) also glDepthFunc If 2D you can create sprites with alpha channel (png), disable GL_DEPTH_TEST, set blending GLES20.glEnable(GLES20.GL_BLEND);

[android-developers] Re: LVL advice in the Android Developer Blog

2010-11-02 Thread cybice
. On Nov 2, 5:09 am, Zsolt Vasvari zvasv...@gmail.com wrote: So basically the advice given the blog is impossible to achive (or NP- Complete)? On Nov 2, 9:09 am, cybice istar...@gmail.com wrote: But, no 100% probability that this method find something :-) But :-) i think CRC32

[android-developers] Re: glTexImage2D is too slow

2010-11-01 Thread cybice
Why do you need opengl for video output? glTexImage2D is really slow - but you can improve performance of video app if render more than one video frames into one data buffer, so one call to glTexImage2D will pass to opengl subsystem more than one videoframe and then you can change video frames

[android-developers] Re: how to use Opengl 2.0 on android?

2010-11-01 Thread cybice
Where is no need in android to make such call if you use java - you can simply implements GLSurfaceView.Renderer Pass this object to GLSurfaceView (see setRenderer method) and make all drawing in onDrawFrame method For programming in Cpp you can look PowerVR Software Development Kit

[android-developers] Re: Independent Wallpapers on Multiple Screens

2010-11-01 Thread cybice
Yes, it possible just override onOffsetsChanged and change wallpaper due to parameters as you want, by moving existing wallpaper image with 3x width, or putting any images with 1x width near moving edge of visible image. On Oct 30, 2:37 am, jexsk jexs...@gmail.com wrote: Could it be possible to

[android-developers] Re: Checksum Java function in Android

2010-11-01 Thread cybice
Hacker will hack the function that checks checksum, it's simple. IMHO writing some of your code with your own simple compiler, allows you to check something in more secured way, and also give you possibility to create anti-hack tricks not available in Java (on the fly code decryption with small

[android-developers] Re: LVL advice in the Android Developer Blog

2010-11-01 Thread cybice
Another way :-) while(CALC_CRC(compiled_code)!=CRC) { CRC = CRC++; InjectCRCIntoSource(CRC); Compile(); } On Nov 1, 10:50 am, Zsolt Vasvari zvasv...@gmail.com wrote: Under the part Make your application temper-resistant Tim Bray advises: The most obvious mechanism is to use a

[android-developers] Re: LVL advice in the Android Developer Blog

2010-11-01 Thread cybice
But, no 100% probability that this method find something :-) But :-) i think CRC32 is not a good hash function so probability to find solution is not zero On Nov 2, 3:45 am, cybice istar...@gmail.com wrote: Another way :-) while(CALC_CRC(compiled_code)!=CRC) {   CRC = CRC

[android-developers] opengl ES 2.0 FrameBuffer strange effect

2010-10-21 Thread cybice
Can anybody explain: I have an application which to make some effects uses opengl FrameBuffers Opengl version is GL ES 2.0 hardware is Nexus One In my application one call to draw some texture in FrameBuffer cause FPS decrease from 40 to 30 But 10 calls to 10 FrameBuffers, also cause FPS