Loading gfx/gl/GLContextProviderEGL.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -507,7 +507,6 @@ public: bool SwapBuffers() { if (mSurface && !mPlatformContext) { //sEGLLibrary.fSetSwapRectangleANDROID(EGL_DISPLAY(), mSurface, 0, 0, gScreenBounds.width, gScreenBounds.height); return sEGLLibrary.fSwapBuffers(EGL_DISPLAY(), mSurface); } else { return false; Loading gfx/gl/GLLibraryEGL.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -141,9 +141,6 @@ GLLibraryEGL::EnsureInitialized() SYMBOL(BindTexImage), SYMBOL(ReleaseTexImage), SYMBOL(QuerySurface), #ifdef MOZ_WIDGET_GONK SYMBOL(SetSwapRectangleANDROID), #endif { NULL, { NULL } } }; Loading gfx/gl/GLLibraryEGL.h +0 −14 Original line number Diff line number Diff line Loading @@ -323,16 +323,6 @@ public: return b; } #ifdef MOZ_WIDGET_GONK EGLBoolean fSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface surface, EGLint left, EGLint top, EGLint width, EGLint height) { BEFORE_GL_CALL; EGLBoolean b = mSymbols.fSetSwapRectangleANDROID(dpy, surface, left, top, width, height); AFTER_GL_CALL; return b; } #endif // New extension which allow us to lock texture and get raw image pointer EGLBoolean fLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) { Loading Loading @@ -467,10 +457,6 @@ public: pfnCreateImageKHR fCreateImageKHR; typedef EGLBoolean (GLAPIENTRY * pfnDestroyImageKHR)(EGLDisplay dpy, EGLImageKHR image); pfnDestroyImageKHR fDestroyImageKHR; #ifdef MOZ_WIDGET_GONK typedef EGLBoolean (GLAPIENTRY * pfnSetSwapRectangleANDROID)(EGLDisplay dpy, EGLSurface surface, EGLint left, EGLint top, EGLint width, EGLint height); pfnSetSwapRectangleANDROID fSetSwapRectangleANDROID; #endif // New extension which allow us to lock texture and get raw image pointer typedef EGLBoolean (GLAPIENTRY * pfnLockSurfaceKHR)(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); Loading Loading
gfx/gl/GLContextProviderEGL.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -507,7 +507,6 @@ public: bool SwapBuffers() { if (mSurface && !mPlatformContext) { //sEGLLibrary.fSetSwapRectangleANDROID(EGL_DISPLAY(), mSurface, 0, 0, gScreenBounds.width, gScreenBounds.height); return sEGLLibrary.fSwapBuffers(EGL_DISPLAY(), mSurface); } else { return false; Loading
gfx/gl/GLLibraryEGL.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -141,9 +141,6 @@ GLLibraryEGL::EnsureInitialized() SYMBOL(BindTexImage), SYMBOL(ReleaseTexImage), SYMBOL(QuerySurface), #ifdef MOZ_WIDGET_GONK SYMBOL(SetSwapRectangleANDROID), #endif { NULL, { NULL } } }; Loading
gfx/gl/GLLibraryEGL.h +0 −14 Original line number Diff line number Diff line Loading @@ -323,16 +323,6 @@ public: return b; } #ifdef MOZ_WIDGET_GONK EGLBoolean fSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface surface, EGLint left, EGLint top, EGLint width, EGLint height) { BEFORE_GL_CALL; EGLBoolean b = mSymbols.fSetSwapRectangleANDROID(dpy, surface, left, top, width, height); AFTER_GL_CALL; return b; } #endif // New extension which allow us to lock texture and get raw image pointer EGLBoolean fLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) { Loading Loading @@ -467,10 +457,6 @@ public: pfnCreateImageKHR fCreateImageKHR; typedef EGLBoolean (GLAPIENTRY * pfnDestroyImageKHR)(EGLDisplay dpy, EGLImageKHR image); pfnDestroyImageKHR fDestroyImageKHR; #ifdef MOZ_WIDGET_GONK typedef EGLBoolean (GLAPIENTRY * pfnSetSwapRectangleANDROID)(EGLDisplay dpy, EGLSurface surface, EGLint left, EGLint top, EGLint width, EGLint height); pfnSetSwapRectangleANDROID fSetSwapRectangleANDROID; #endif // New extension which allow us to lock texture and get raw image pointer typedef EGLBoolean (GLAPIENTRY * pfnLockSurfaceKHR)(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); Loading