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

Unified Diff: ui/ozone/public/surface_factory_ozone.cc

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed nits Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/ozone/public/surface_factory_ozone.cc
diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc
index 70a81ad7d57587ff4b105949b485678e6c5b18ba..49a3cd10e3b8fc66095f0ff2a9c137eacdb90925 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -50,8 +50,8 @@ const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
gfx::AcceleratedWidget widget,
gfx::Size size,
- BufferFormat format,
- BufferUsage usage) {
+ NativePixmapFormat format,
+ NativePixmapUsage usage) {
return NULL;
}
@@ -59,8 +59,4 @@ bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() {
return false;
}
-bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) {
- return false;
-}
-
} // namespace ui
« ui/ozone/public/native_pixmap_types.h ('K') | « ui/ozone/public/surface_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698