| Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| index d6d0850e5e072da8db101e26ec19f302139f5d1d..427dc73541d2b664edc5d866dc2f6f8fbb1e2827 100644
|
| --- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| +++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| @@ -215,6 +215,8 @@ class SurfaceOzoneEgltest : public SurfaceOzoneEGL {
|
| return scoped_ptr<gfx::VSyncProvider>();
|
| }
|
|
|
| + bool SupportsPartialSwap() override { return true; }
|
| +
|
| private:
|
| LibeglplatformShimLoader* eglplatform_shim_;
|
| intptr_t native_window_;
|
| @@ -235,7 +237,8 @@ class SurfaceFactoryEgltest : public ui::SurfaceFactoryOzone {
|
| intptr_t GetNativeDisplay() override;
|
| scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
|
| gfx::AcceleratedWidget widget) override;
|
| - const int32* GetEGLSurfaceProperties(const int32* desired_list) override;
|
| + const int32* GetEGLSurfaceProperties(const int32* desired_list,
|
| + SurfaceOzoneEGL* surface) override;
|
| bool LoadEGLGLES2Bindings(
|
| AddGLLibraryCallback add_gl_library,
|
| SetGLGetProcAddressProcCallback set_gl_get_proc_address) override;
|
| @@ -270,7 +273,8 @@ bool SurfaceFactoryEgltest::LoadEGLGLES2Bindings(
|
| }
|
|
|
| const int32* SurfaceFactoryEgltest::GetEGLSurfaceProperties(
|
| - const int32* desired_list) {
|
| + const int32* desired_list,
|
| + SurfaceOzoneEGL* surface) {
|
| static const int32 broken_props[] = {
|
| EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
|
| EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_PBUFFER_BIT,
|
|
|