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

Unified Diff: ui/ozone/common/gpu/ozone_gpu_message_params.h

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/gl/gl_surface_ozone.cc ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/gpu/ozone_gpu_message_params.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.h b/ui/ozone/common/gpu/ozone_gpu_message_params.h
index cf0635909db6f243c6e1daa2bfbce5fc31d9335b..f20d408ae801e4b930f191b2ecc1ab9a3ba3bb84 100644
--- a/ui/ozone/common/gpu/ozone_gpu_message_params.h
+++ b/ui/ozone/common/gpu/ozone_gpu_message_params.h
@@ -9,12 +9,12 @@
#include <vector>
#include "ui/display/types/display_constants.h"
+#include "ui/gfx/buffer_types.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/overlay_transform.h"
#include "ui/ozone/ozone_export.h"
#include "ui/ozone/public/overlay_candidates_ozone.h"
-#include "ui/ozone/public/surface_factory_ozone.h"
namespace ui {
@@ -55,7 +55,7 @@ struct OZONE_EXPORT OverlayCheck_Params {
gfx::Size buffer_size;
gfx::OverlayTransform transform = gfx::OVERLAY_TRANSFORM_INVALID;
- SurfaceFactoryOzone::BufferFormat format = SurfaceFactoryOzone::UNKNOWN;
+ gfx::BufferFormat format = gfx::BufferFormat::BGRA_8888;
gfx::Rect display_rect;
int plane_z_order = 0;
};
« no previous file with comments | « ui/gl/gl_surface_ozone.cc ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698