Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 9 of 9) sorted by relevance

/sdk/emulator/opengl/host/libs/libOpenglRender/
DRenderControl.cpp33 FrameBuffer *fb = FrameBuffer::getFB(); in rcGetEGLVersion() local
34 if (!fb) { in rcGetEGLVersion()
37 *major = (EGLint)fb->getCaps().eglMajor; in rcGetEGLVersion()
38 *minor = (EGLint)fb->getCaps().eglMinor; in rcGetEGLVersion()
45 FrameBuffer *fb = FrameBuffer::getFB(); in rcQueryEGLString() local
46 if (!fb) { in rcQueryEGLString()
50 const char *str = s_egl.eglQueryString(fb->getDisplay(), name); in rcQueryEGLString()
118 FrameBuffer *fb = FrameBuffer::getFB(); in rcChooseConfig() local
119 if (!fb) { in rcChooseConfig()
123 return FBConfig::chooseConfig(fb, attribs, configs, configs_size); in rcChooseConfig()
[all …]
DFrameBuffer.cpp113 FrameBuffer *fb = new FrameBuffer(width, height); in initialize() local
114 if (!fb) { in initialize()
124 fb->m_caps.hasGL2 = false; in initialize()
127 fb->m_caps.hasGL2 = s_gl2_enabled; in initialize()
130 fb->m_caps.hasGL2 = false; in initialize()
136 fb->m_eglDisplay = s_egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
137 if (fb->m_eglDisplay == EGL_NO_DISPLAY) { in initialize()
139 delete fb; in initialize()
143 if (!s_egl.eglInitialize(fb->m_eglDisplay, &fb->m_caps.eglMajor, &fb->m_caps.eglMinor)) { in initialize()
145 delete fb; in initialize()
[all …]
DColorBuffer.cpp29 FrameBuffer *fb = FrameBuffer::getFB(); in create() local
50 if (!fb->bind_locked()) { in create()
94 if (fb->getCaps().has_eglimage_texture_2d) { in create()
95 cb->m_eglImage = s_egl.eglCreateImageKHR(fb->getDisplay(), in create()
101 cb->m_blitEGLImage = s_egl.eglCreateImageKHR(fb->getDisplay(), in create()
108 fb->unbind_locked(); in create()
140 FrameBuffer *fb = FrameBuffer::getFB(); in ~ColorBuffer() local
141 fb->bind_locked(); in ~ColorBuffer()
144 s_egl.eglDestroyImageKHR(fb->getDisplay(), m_blitEGLImage); in ~ColorBuffer()
147 s_egl.eglDestroyImageKHR(fb->getDisplay(), m_eglImage); in ~ColorBuffer()
[all …]
Drender_api.cpp195 FrameBuffer* fb = FrameBuffer::getFB(); in setPostCallback() local
196 if (fb) { in setPostCallback()
197 fb->setPostCallback(onPost, onPostContext); in setPostCallback()
215 FrameBuffer* fb = FrameBuffer::getFB(); in getHardwareStrings() local
216 if (fb) { in getHardwareStrings()
217 fb->getGLStrings(vendor, renderer, version); in getHardwareStrings()
290 FrameBuffer *fb = FrameBuffer::getFB(); in setOpenGLDisplayRotation() local
291 if (fb) { in setOpenGLDisplayRotation()
292 fb->setDisplayRotation(zRot); in setOpenGLDisplayRotation()
307 FrameBuffer *fb = FrameBuffer::getFB(); in repaintOpenGLDisplay() local
[all …]
DWindowSurface.cpp61 FrameBuffer *fb = FrameBuffer::getFB(); in create() local
62 const FrameBufferCaps &caps = fb->getCaps(); in create()
159 FrameBuffer *fb = FrameBuffer::getFB(); in blitToColorBuffer() local
160 if (!s_egl.eglMakeCurrent(fb->getDisplay(), m_eglSurface, in blitToColorBuffer()
168 s_egl.eglMakeCurrent(fb->getDisplay(), prevDrawSurf, in blitToColorBuffer()
182 FrameBuffer *fb = FrameBuffer::getFB(); in resizePbuffer() local
193 s_egl.eglMakeCurrent(fb->getDisplay(), EGL_NO_SURFACE, in resizePbuffer()
201 s_egl.eglDestroySurface(fb->getDisplay(), m_eglSurface); in resizePbuffer()
205 const FrameBufferCaps &caps = fb->getCaps(); in resizePbuffer()
217 m_eglSurface = s_egl.eglCreatePbufferSurface(fb->getDisplay(), in resizePbuffer()
[all …]
DFBConfig.cpp62 InitConfigStatus FBConfig::initConfigList(FrameBuffer *fb) in initConfigList() argument
66 if (!fb) { in initConfigList()
70 const FrameBufferCaps &caps = fb->getCaps(); in initConfigList()
71 EGLDisplay dpy = fb->getDisplay(); in initConfigList()
148 int FBConfig::chooseConfig(FrameBuffer *fb, EGLint * attribs, uint32_t * configs, uint32_t configs_… in chooseConfig() argument
150 EGLDisplay dpy = fb->getDisplay(); in chooseConfig()
DFBConfig.h32 static InitConfigStatus initConfigList(FrameBuffer *fb);
37 …static int chooseConfig(FrameBuffer *fb, EGLint * attribs, uint32_t * configs, uint32_t configs_si…
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLEScontext.h162 void setFramebufferBinding(GLuint fb) { m_framebuffer = fb; } in setFramebufferBinding() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DStateTransformFactory.java438 int fb = msg.getArgs(1).getIntValue(0); in transformsForGlBindFramebuffer() local
443 fb); in transformsForGlBindFramebuffer()