Bug 1053635 - Expose SharedSurfaceEGL::mImage. r=romaxa

This commit is contained in:
Jeff Gilbert 2014-08-14 15:07:00 -04:00
Родитель d9f51c6e27
Коммит 1397909531
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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;