Revision 432442f9
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedTexture.java | ||
---|---|---|
231 | 231 |
* Sets the underlying android.graphics.Bitmap object. |
232 | 232 |
* <p> |
233 | 233 |
* You can only recycle() the passed Bitmap once the OpenGL context gets created (i.e. after call |
234 |
* to onSurfaceCreated) because only after this point can the Library upload it to the GPU! |
|
234 |
* to GLSurfaceView.onSurfaceCreated) because only after this point can the Library upload it to the GPU!
|
|
235 | 235 |
* |
236 | 236 |
* @param bmp The android.graphics.Bitmap object to apply effects to and display. |
237 | 237 |
*/ |
Also available in: Unified diff
New DistortedProgram class.