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

Unified Diff: cc/output/overlay_candidate.h

Issue 2745143003: cc: Make OverlayCandidate use gfx::BufferFormat instead of cc::ResourceFormat. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/overlay_candidate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_candidate.h
diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h
index e35299ded49101215660b68394ba04e52ea1a774..8a6806e134ee8145dc481c5e6ef3d72550ee7a55 100644
--- a/cc/output/overlay_candidate.h
+++ b/cc/output/overlay_candidate.h
@@ -11,7 +11,7 @@
#include "cc/base/cc_export.h"
#include "cc/base/resource_id.h"
#include "cc/quads/render_pass.h"
-#include "cc/resources/resource_format.h"
+#include "ui/gfx/buffer_types.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/size.h"
@@ -52,8 +52,8 @@ class CC_EXPORT OverlayCandidate {
// Transformation to apply to layer during composition.
gfx::OverlayTransform transform;
- // Format of the buffer to composite.
- ResourceFormat format;
+ // Format of the buffer to scanout.
+ gfx::BufferFormat format;
// Size of the resource, in pixels.
gfx::Size resource_size_in_pixels;
// Rect on the display to position the overlay to. Implementer must convert
« no previous file with comments | « no previous file | cc/output/overlay_candidate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698