public interface GLOffscreenCaptureRequest
GLOffscreenCaptureService
to draw content to the OpenGL canvasModifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the desired height of the bitmap capture
|
int |
getWidth()
Get the desired width of the bitmap capture
|
void |
onDraw(GLOffscreenCaptureParams params)
Draw content to the current canvas provided by the render service
|
void |
onFinished(android.graphics.Bitmap bmp)
The content is finished being drawn and converted to a bitmap
|
void |
onStart()
Called on the GL thread before any other calls are made
|
void onStart()
int getWidth()
int getHeight()
void onDraw(GLOffscreenCaptureParams params)
params
- Parameters used by capture servicevoid onFinished(android.graphics.Bitmap bmp)
bmp
- Bitmap output