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

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

Issue 1269503007: Unify graphics buffer format & usage enums for GpuMemoryBuffer & SurfaceFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add header to BUILD.gn Created 5 years, 4 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
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..eab07e1f0ccfea6b7465042b551a08a914a2679a 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) {
+ gfx::BufferFormat format,
+ gfx::BufferUsage usage) {
return NULL;
}
@@ -59,7 +59,7 @@ bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() {
return false;
}
-bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) {
+bool SurfaceFactoryOzone::CanCreateNativePixmap(gfx::BufferUsage usage) {
return false;
}
« no previous file with comments | « 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