hostsupport/hostopenvg/src/sfEGLInterface.h
branchbug235_bringup_0
changeset 69 3f914c77c2e9
parent 56 40cc73c24bf8
equal deleted inserted replaced
68:8d4efe9fa1cf 69:3f914c77c2e9
    46 // Services from OpenVG to EGL
    46 // Services from OpenVG to EGL
    47 class EGLtoVGInterface : public IEGLtoVGInterface
    47 class EGLtoVGInterface : public IEGLtoVGInterface
    48 {
    48 {
    49 public:
    49 public:
    50     EGLtoVGInterface();
    50     EGLtoVGInterface();
    51     ~EGLtoVGInterface();
    51     virtual ~EGLtoVGInterface();
    52 
    52 
    53     void    SetEGLInterface( IVGtoEGLInterface* egl );
    53     void    SetEGLInterface( IVGtoEGLInterface* egl );
    54     void*   CreateContext( void* shareContext );
    54     void*   CreateContext( void* shareContext );
    55     bool    ReleaseContext( void* context );
    55     bool    ReleaseContext( void* context );
    56     bool    CreateSurface( const SurfaceDescriptor* desc, BufferContainer* buffers, void* image );
    56     bool    CreateSurface( const SurfaceDescriptor* desc, BufferContainer* buffers, void* image );