Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: ui/ozone/platform/wayland/wayland_surface_factory.cc

Issue 1738973004: Fix EGL configs with GLSurfaceOzoneSurfaceless. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back factory method. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/platform/wayland/wayland_surface_factory.h" 5 #include "ui/ozone/platform/wayland/wayland_surface_factory.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <sys/mman.h> 8 #include <sys/mman.h>
9 #include <wayland-client.h> 9 #include <wayland-client.h>
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 WaylandSurfaceFactory::WaylandSurfaceFactory(WaylandDisplay* display) 121 WaylandSurfaceFactory::WaylandSurfaceFactory(WaylandDisplay* display)
122 : display_(display) {} 122 : display_(display) {}
123 123
124 WaylandSurfaceFactory::~WaylandSurfaceFactory() {} 124 WaylandSurfaceFactory::~WaylandSurfaceFactory() {}
125 125
126 intptr_t WaylandSurfaceFactory::GetNativeDisplay() { 126 intptr_t WaylandSurfaceFactory::GetNativeDisplay() {
127 NOTIMPLEMENTED(); 127 NOTIMPLEMENTED();
128 return 0; 128 return 0;
129 } 129 }
130 130
131 const int32_t* WaylandSurfaceFactory::GetEGLSurfaceProperties(
132 const int32_t* desired_list) {
133 NOTIMPLEMENTED();
134 return nullptr;
135 }
136
131 bool WaylandSurfaceFactory::LoadEGLGLES2Bindings( 137 bool WaylandSurfaceFactory::LoadEGLGLES2Bindings(
132 AddGLLibraryCallback add_gl_library, 138 AddGLLibraryCallback add_gl_library,
133 SetGLGetProcAddressProcCallback set_gl_get_proc_address) { 139 SetGLGetProcAddressProcCallback set_gl_get_proc_address) {
134 // This Ozone implementation does not support multi-process rendering so 140 // This Ozone implementation does not support multi-process rendering so
135 // disable EGL unconditionally for now. 141 // disable EGL unconditionally for now.
136 return false; 142 return false;
137 } 143 }
138 144
139 scoped_ptr<SurfaceOzoneCanvas> WaylandSurfaceFactory::CreateCanvasForWidget( 145 scoped_ptr<SurfaceOzoneCanvas> WaylandSurfaceFactory::CreateCanvasForWidget(
140 gfx::AcceleratedWidget widget) { 146 gfx::AcceleratedWidget widget) {
(...skipping 18 matching lines...) Expand all
159 return nullptr; 165 return nullptr;
160 } 166 }
161 167
162 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle( 168 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle(
163 const gfx::NativePixmapHandle& handle) { 169 const gfx::NativePixmapHandle& handle) {
164 NOTIMPLEMENTED(); 170 NOTIMPLEMENTED();
165 return nullptr; 171 return nullptr;
166 } 172 }
167 173
168 } // namespace ui 174 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698