emulator opengl: added Bind texture to EGLImage/surface
added functionality to bind an EGLImage to a texture both in the system and host sides. Change-Id: I2dc26090b45da080ac4d0e8f5799c95f7cc54634
This commit is contained in:
committed by
Guy Zadickario
parent
a26f6f221b
commit
2220d27302
@@ -65,10 +65,15 @@ WindowSurface *WindowSurface::create(int p_config, int p_width, int p_height)
|
||||
// and either there is no need for depth or stencil buffer
|
||||
// or GL_KHR_gl_renderbuffer_image present.
|
||||
//
|
||||
#if 0
|
||||
//XXX: This path should be implemented
|
||||
win->m_useEGLImage =
|
||||
(caps.has_eglimage_texture_2d &&
|
||||
(caps.has_eglimage_renderbuffer ||
|
||||
(fbconf->getDepthSize() + fbconf->getStencilSize() == 0)) );
|
||||
#else
|
||||
win->m_useEGLImage = false;
|
||||
#endif
|
||||
|
||||
if (win->m_useEGLImage) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user