| Index: ui/ozone/platform/dri/gbm_surface_factory.cc
|
| diff --git a/ui/ozone/platform/dri/gbm_surface_factory.cc b/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| index ee227a14b7255a621f8b6665fbc255eb35b45574..e61881bb8f362c844fcbbdf48d0d9c92bd3baf33 100644
|
| --- a/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| +++ b/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| @@ -89,8 +89,8 @@ intptr_t GbmSurfaceFactory::GetNativeDisplay() {
|
| return reinterpret_cast<intptr_t>(device_);
|
| }
|
|
|
| -const int32* GbmSurfaceFactory::GetEGLSurfaceProperties(
|
| - const int32* desired_list) {
|
| +void* GbmSurfaceFactory::GetEGLSurfaceConfig(const EglConfigInfo& egl,
|
| + SurfaceOzoneEGL* surface) {
|
| static const int32 kConfigAttribs[] = {
|
| EGL_BUFFER_SIZE, 32,
|
| EGL_ALPHA_SIZE, 8,
|
| @@ -101,8 +101,7 @@ const int32* GbmSurfaceFactory::GetEGLSurfaceProperties(
|
| EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
|
| EGL_NONE
|
| };
|
| -
|
| - return kConfigAttribs;
|
| + return ChooseEGLConfig(egl, kConfigAttribs);
|
| }
|
|
|
| bool GbmSurfaceFactory::LoadEGLGLES2Bindings(
|
|
|