| Index: ui/ozone/demo/surfaceless_gl_renderer.cc
|
| diff --git a/ui/ozone/demo/surfaceless_gl_renderer.cc b/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| index 0eaecb698175d398ac5b881a4d67f1af39c1d68e..2b18224e0b6afeecc3b9de70cf2882750a6bac22 100644
|
| --- a/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| +++ b/ui/ozone/demo/surfaceless_gl_renderer.cc
|
| @@ -38,8 +38,8 @@ bool SurfacelessGlRenderer::BufferWrapper::Initialize(
|
| scoped_refptr<NativePixmap> pixmap =
|
| OzonePlatform::GetInstance()
|
| ->GetSurfaceFactoryOzone()
|
| - ->CreateNativePixmap(widget, size, SurfaceFactoryOzone::RGBX_8888,
|
| - SurfaceFactoryOzone::SCANOUT);
|
| + ->CreateNativePixmap(widget, size, PIXMAP_FORMAT_RGBX_8888,
|
| + PIXMAP_USAGE_SCANOUT);
|
| scoped_refptr<gfx::GLImageOzoneNativePixmap> image(
|
| new gfx::GLImageOzoneNativePixmap(size, GL_RGB));
|
| if (!image->Initialize(pixmap.get(), gfx::GpuMemoryBuffer::RGBX_8888)) {
|
|
|