1

Android OpenGL ES 2.0 texture update shows black

view story
linux-howto

http://stackoverflow.com – I'm trying to render a XML layout to an OpenGL surface. That works correctly, and I can do 3D effects on the layout. But, when I try to update it and render it again, it does not work. With twiddling and trying different functions, the end result is either a black object, graphic corruption on widgets external to the surface, or the original object without any modification. My code to transform a view to a bitmap is: public static Bitmap toBitmap(final View view) { final Bitmap bitmap = Bitmap.createBitmap(400, 100, Bitmap.Config.ARGB_8888); final Canvas canvas = new Ca (HowTos)