mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal
This commit is contained in:
parent
a5a6051d98
commit
d0a906daea
@ -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;
|
||||
|
@ -141,9 +141,6 @@ GLLibraryEGL::EnsureInitialized()
|
||||
SYMBOL(BindTexImage),
|
||||
SYMBOL(ReleaseTexImage),
|
||||
SYMBOL(QuerySurface),
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
SYMBOL(SetSwapRectangleANDROID),
|
||||
#endif
|
||||
{ NULL, { NULL } }
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
@ -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…
Reference in New Issue
Block a user