mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 911391 - Add GetFBSurface() to GonkDisplay because HwcComposer2D will need it in Jellybean. r=mwu
This commit is contained in:
parent
1564532826
commit
e6ec1a706e
@ -35,6 +35,8 @@ public:
|
||||
|
||||
virtual void* GetHWCDevice() = 0;
|
||||
|
||||
virtual void* GetFBSurface() = 0;
|
||||
|
||||
virtual bool SwapBuffers(EGLDisplay dpy, EGLSurface sur) = 0;
|
||||
|
||||
virtual ANativeWindowBuffer* DequeueBuffer() = 0;
|
||||
|
@ -160,6 +160,12 @@ GonkDisplayICS::GetHWCDevice()
|
||||
return mHwc;
|
||||
}
|
||||
|
||||
void*
|
||||
GonkDisplayICS::GetFBSurface()
|
||||
{
|
||||
return mFBSurface.get();
|
||||
}
|
||||
|
||||
bool
|
||||
GonkDisplayICS::SwapBuffers(EGLDisplay dpy, EGLSurface sur)
|
||||
{
|
||||
|
@ -38,6 +38,8 @@ public:
|
||||
|
||||
virtual void* GetHWCDevice();
|
||||
|
||||
virtual void* GetFBSurface();
|
||||
|
||||
virtual bool SwapBuffers(EGLDisplay dpy, EGLSurface sur);
|
||||
|
||||
virtual ANativeWindowBuffer* DequeueBuffer();
|
||||
|
@ -171,6 +171,12 @@ GonkDisplayJB::GetHWCDevice()
|
||||
return mHwc;
|
||||
}
|
||||
|
||||
void*
|
||||
GonkDisplayJB::GetFBSurface()
|
||||
{
|
||||
return mFBSurface.get();
|
||||
}
|
||||
|
||||
bool
|
||||
GonkDisplayJB::SwapBuffers(EGLDisplay dpy, EGLSurface sur)
|
||||
{
|
||||
|
@ -37,6 +37,8 @@ public:
|
||||
|
||||
virtual void* GetHWCDevice();
|
||||
|
||||
virtual void* GetFBSurface();
|
||||
|
||||
virtual bool SwapBuffers(EGLDisplay dpy, EGLSurface sur);
|
||||
|
||||
virtual ANativeWindowBuffer* DequeueBuffer();
|
||||
|
Loading…
Reference in New Issue
Block a user