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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user