mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1053635 - Expose SharedSurfaceEGL::mImage. r=romaxa
This commit is contained in:
parent
d9f51c6e27
commit
1397909531
@ -86,7 +86,6 @@ SharedSurface_EGLImage::SharedSurface_EGLImage(GLContext* gl,
|
||||
SharedSurface_EGLImage::~SharedSurface_EGLImage()
|
||||
{
|
||||
mEGL->fDestroyImage(Display(), mImage);
|
||||
mImage = 0;
|
||||
|
||||
mGL->MakeCurrent();
|
||||
mGL->fDeleteTextures(1, &mProdTex);
|
||||
|
@ -41,7 +41,9 @@ protected:
|
||||
GLLibraryEGL* const mEGL;
|
||||
const GLFormats mFormats;
|
||||
GLuint mProdTex;
|
||||
EGLImage mImage;
|
||||
public:
|
||||
const EGLImage mImage;
|
||||
protected:
|
||||
GLContext* mCurConsGL;
|
||||
GLuint mConsTex;
|
||||
nsRefPtr<TextureGarbageBin> mGarbageBin;
|
||||
|
Loading…
Reference in New Issue
Block a user