FastCV Sample Application
1.7.1
|
The FastCV sample application's renderer, provides interface to the native renderer. More...
Inherits EGLContextFactory.
Data Structures | |
class | ConfigChooser |
Public Member Functions | |
FastCVSampleRenderer (Context context) | |
GLSurfaceView | getGLSurfaceView () |
native void | surfaceChanged (int w, int h) |
native void | render () |
native void | cleanup () |
native float | getGPUFPS () |
void | onSurfaceCreated (GL10 gl, EGLConfig config) |
void | onSurfaceChanged (GL10 gl, int w, int h) |
void | onDrawFrame (GL10 gl) |
EGLContext | createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig) |
void | destroyContext (EGL10 egl, EGLDisplay display, EGLContext context) |
The FastCV sample application's renderer, provides interface to the native renderer.
com.qualcomm.fastcorner.FastCVSampleRenderer.FastCVSampleRenderer | ( | Context | context | ) | [inline] |
Constructor
context |
native void com.qualcomm.fastcorner.FastCVSampleRenderer.cleanup | ( | ) |
Performs Renderer cleanup when GL surface is destroyed
EGLContext com.qualcomm.fastcorner.FastCVSampleRenderer.createContext | ( | EGL10 | egl, |
EGLDisplay | display, | ||
EGLConfig | eglConfig | ||
) | [inline] |
GL context created
egl | |
display | |
eglConfig |
void com.qualcomm.fastcorner.FastCVSampleRenderer.destroyContext | ( | EGL10 | egl, |
EGLDisplay | display, | ||
EGLContext | context | ||
) | [inline] |
GL context destroyed
egl | |
display | |
context |
GLSurfaceView com.qualcomm.fastcorner.FastCVSampleRenderer.getGLSurfaceView | ( | ) | [inline] |
Returns reference to Renderer's GLSurfaceView.
void com.qualcomm.fastcorner.FastCVSampleRenderer.onDrawFrame | ( | GL10 | gl | ) | [inline] |
On draw frame thread - invoked by requestRender()
gl |
void com.qualcomm.fastcorner.FastCVSampleRenderer.onSurfaceChanged | ( | GL10 | gl, |
int | w, | ||
int | h | ||
) | [inline] |
GL surface changed
gl | |
w | |
h |
void com.qualcomm.fastcorner.FastCVSampleRenderer.onSurfaceCreated | ( | GL10 | gl, |
EGLConfig | config | ||
) | [inline] |
GL surface created
gl | |
config |
native void com.qualcomm.fastcorner.FastCVSampleRenderer.render | ( | ) |
Render function invoked on GLSurfaceView::requestRender()
native void com.qualcomm.fastcorner.FastCVSampleRenderer.surfaceChanged | ( | int | w, |
int | h | ||
) |
Handles Renderer window resize