Lines Matching defs:FrameBuffer
16 #include "FrameBuffer.h"
26 FrameBuffer *FrameBuffer::s_theFrameBuffer = NULL;
27 HandleType FrameBuffer::s_nextHandle = 0;
90 void FrameBuffer::finalize(){
104 bool FrameBuffer::initialize(int width, int height)
111 // allocate space for the FrameBuffer object
113 FrameBuffer *fb = new FrameBuffer(width, height);
168 // Create EGL context for framebuffer post rendering.
211 // back and forth on framebuffer context.
253 // Initilize framebuffer capabilities
341 // Keep the singleton framebuffer pointer
347 FrameBuffer::FrameBuffer(int p_width, int p_height) :
368 FrameBuffer::~FrameBuffer()
372 bool FrameBuffer::setupSubWindow(FBNativeWindowType p_window,
380 FrameBuffer *fb = s_theFrameBuffer;
419 bool FrameBuffer::removeSubWindow()
440 HandleType FrameBuffer::genHandle()
452 HandleType FrameBuffer::createColorBuffer(int p_width, int p_height,
467 HandleType FrameBuffer::createRenderContext(int p_config, HandleType p_share,
490 HandleType FrameBuffer::createWindowSurface(int p_config, int p_width, int p_height)
504 void FrameBuffer::DestroyRenderContext(HandleType p_context)
510 void FrameBuffer::DestroyWindowSurface(HandleType p_surface)
516 void FrameBuffer::openColorBuffer(HandleType p_colorbuffer)
527 void FrameBuffer::closeColorBuffer(HandleType p_colorbuffer)
540 bool FrameBuffer::flushWindowSurfaceColorBuffer(HandleType p_surface)
555 bool FrameBuffer::setWindowSurfaceColorBuffer(HandleType p_surface,
577 bool FrameBuffer::updateColorBuffer(HandleType p_colorbuffer,
594 bool FrameBuffer::bindColorBufferToTexture(HandleType p_colorbuffer)
607 bool FrameBuffer::bindColorBufferToRenderbuffer(HandleType p_colorbuffer)
620 bool FrameBuffer::bindContext(HandleType p_context,
707 // The framebuffer lock should be held when calling this function !
709 bool FrameBuffer::bind_locked()
727 bool FrameBuffer::bindSubwin_locked()
753 bool FrameBuffer::unbind_locked()
766 bool FrameBuffer::post(HandleType p_colorbuffer, bool needLock)
785 ERR("FrameBuffer::post eglMakeCurrent failed\n");
828 bool FrameBuffer::repost()
836 void FrameBuffer::initGLState()