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:
Stas Gurtovoy
2011-05-15 11:29:56 +03:00
committed by Guy Zadickario
parent a26f6f221b
commit 2220d27302
13 changed files with 153 additions and 25 deletions

View File

@@ -229,7 +229,12 @@ static void rcFBSetSwapInterval(EGLint interval)
static void rcBindTexture(uint32_t colorBuffer)
{
// XXX: TBD - should be implemented
FrameBuffer *fb = FrameBuffer::getFB();
if (!fb) {
return;
}
fb->bindColorBufferToTexture(colorBuffer);
}
static EGLint rcColorBufferCacheFlush(uint32_t colorBuffer,