Assigning the return value of new by reference is deprecated

Assigning the return value of new by reference is deprecated

Assigning the return value of new by reference is deprecated
/home/burning/public_html/ OpenGL ES 2.0 Demo

OpenGL ES 2.0 Demo


IMPORTANT: Since version 1.2, this app finally works on Samsung and Motorola devices. If you are a developer please take a look below to the comment for developers just in case the information could be in handy for you as well. THANKS EVERYONE for the reports.


Demo that shows some cool effects that can be achieved thanks to the programmable OpenGL ES 2.0 GPU pipeline, such as normal mapped specular animated lighting, real time refractions and image postprocess.

To move the light source, touch the screen with one finger to the desired position.

To change the background image, while touching the screen with one finger (therefore moving the light) touch with another one on the left side of the screen.

To change the postprocess effect, do the same but touch with the second finger on the right side of the screen instead of the left.

This demo requires Android 2.2 or higher.

INFO FOR DEVELOPERS: For some reason, samsung and motorola opengl driver does not allow the creation of FrameBufferObjects with color attachments of dimensions non power of 2. All the opengl calls do not generate any error and the FrameBufferObject status is ok, but then nothing gets written to the offscreen buffer if width and/or heigth is not power of 2. On HTC, LG, Toshiba and Dell devices this works well and any dimension can be used.

Since this app uses offscreen rendering for the postprocess effects, this is why it did not work with samsung and motorola devices before version 1.2.

Despite the somewhat unfair 1 star ratings of angry samsung and motorola users because of this issue, thanks everyone for the reports.

Special thanks to my sister Silvia and my friend "El Iberico" for sharing with me their Galaxy S smartphones that allowed me to debug the app and find out what the problem was.




  • topic:acne, Up to the second news about topic:acne from PubSub [Acne] ( Message Boards Community Blog List) So I've done the routine about 3 times now, and it hasn't been that much of a hassle. Days prior

  • kristen's japan: weblog, They were arranged in four square rooms (color coded again) with three walls of stalls for handwashing, but they also matched the color theme--forest green in the green room,

  • :: a place for us - Jun Guo's blog, SuperGroup, which owns the Superdry fashion chain, floated at 500p in March, valuing the Serving as a backdrop for the accent of stripes, color is grounded

  • Sans Titre Sans Titre. Créer un blog avec Alsace-, alsace- Sans Titre . Créer un blog avec Alsace- A fake MBT shoes will be duller in color around the mbt uk entire shoe. This includes the bottoms of the shoes. If you can't see a picture of the bottom of the shoes, or if the person selling you the shoe won't allow you to see


  • Eczema Voice, A friendly forum for people with eczema and their carers. lots of information and hints I had debt problems, I got an IVA depending on your circumstances you can find some arrangement that suits you .theres all kinds look on an insolvency/debt forum for some advice

  • VW caddy truck troubleshooting [Archive] - Forums, [Archive] VW caddy truck troubleshooting General discussion At any rate if you are going to stay on this forum you ought to get something running on VO. If you are actually going to do