asafbibas / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Add flag to prevent recycling of images in AndroidImageInfo #479

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. If user implements the AndroidImageInfo.loadBitmap() method, their bitmap 
will be recycled when the renderer loads the image.

What is the expected output? What do you see instead?
The capability to disable automated recycling is suggested.
See thread:
http://jmonkeyengine.org/groups/android/forum/topic/android-shader-gl_invalid_op
eration-after-2-11-nightly/#post-166227

Original issue reported on code.google.com by ShadowIs...@gmail.com on 14 Mar 2012 at 4:06

GoogleCodeExporter commented 8 years ago
It is now possible to override recycle behavior in 
AndroidImageInfo.notifyImageUpload() method (by overriding it)

Original comment by ShadowIs...@gmail.com on 29 May 2012 at 1:29