зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1053635 - Expose SharedSurfaceEGL::mImage. r=romaxa
This commit is contained in:
Родитель
d9f51c6e27
Коммит
1397909531
|
@ -86,7 +86,6 @@ SharedSurface_EGLImage::SharedSurface_EGLImage(GLContext* gl,
|
||||||
SharedSurface_EGLImage::~SharedSurface_EGLImage()
|
SharedSurface_EGLImage::~SharedSurface_EGLImage()
|
||||||
{
|
{
|
||||||
mEGL->fDestroyImage(Display(), mImage);
|
mEGL->fDestroyImage(Display(), mImage);
|
||||||
mImage = 0;
|
|
||||||
|
|
||||||
mGL->MakeCurrent();
|
mGL->MakeCurrent();
|
||||||
mGL->fDeleteTextures(1, &mProdTex);
|
mGL->fDeleteTextures(1, &mProdTex);
|
||||||
|
|
|
@ -41,7 +41,9 @@ protected:
|
||||||
GLLibraryEGL* const mEGL;
|
GLLibraryEGL* const mEGL;
|
||||||
const GLFormats mFormats;
|
const GLFormats mFormats;
|
||||||
GLuint mProdTex;
|
GLuint mProdTex;
|
||||||
EGLImage mImage;
|
public:
|
||||||
|
const EGLImage mImage;
|
||||||
|
protected:
|
||||||
GLContext* mCurConsGL;
|
GLContext* mCurConsGL;
|
||||||
GLuint mConsTex;
|
GLuint mConsTex;
|
||||||
nsRefPtr<TextureGarbageBin> mGarbageBin;
|
nsRefPtr<TextureGarbageBin> mGarbageBin;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче