FastCV Sample Application  1.7.1
com.qualcomm.fastcorner.FastCVSampleRenderer Class Reference

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)

Detailed Description

The FastCV sample application's renderer, provides interface to the native renderer.


Constructor & Destructor Documentation

Constructor

Parameters:
context

Member Function Documentation

Performs Renderer cleanup when GL surface is destroyed

EGLContext com.qualcomm.fastcorner.FastCVSampleRenderer.createContext ( EGL10  egl,
EGLDisplay  display,
EGLConfig  eglConfig 
) [inline]

GL context created

Parameters:
egl
display
eglConfig
Returns:
EGLContext
void com.qualcomm.fastcorner.FastCVSampleRenderer.destroyContext ( EGL10  egl,
EGLDisplay  display,
EGLContext  context 
) [inline]

GL context destroyed

Parameters:
egl
display
context

Returns reference to Renderer's GLSurfaceView.

Returns:
Reference to GLSurfaceView

On draw frame thread - invoked by requestRender()

Parameters:
gl
void com.qualcomm.fastcorner.FastCVSampleRenderer.onSurfaceChanged ( GL10  gl,
int  w,
int  h 
) [inline]

GL surface changed

Parameters:
gl
w
h
void com.qualcomm.fastcorner.FastCVSampleRenderer.onSurfaceCreated ( GL10  gl,
EGLConfig  config 
) [inline]

GL surface created

Parameters:
gl
config

Render function invoked on GLSurfaceView::requestRender()

Handles Renderer window resize


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables