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

Unified Diff: cc/output/overlay_candidate.h

Issue 2683763003: cc: make resource keep video buffer format for hardware overlay.
Patch Set: Created 3 years, 10 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: cc/output/overlay_candidate.h
diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h
index e35299ded49101215660b68394ba04e52ea1a774..1e3fd7d28dfff67aa9ad6b5ba93b06742c4f1040 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"
@@ -53,7 +53,7 @@ class CC_EXPORT OverlayCandidate {
// Transformation to apply to layer during composition.
gfx::OverlayTransform transform;
// Format of the buffer to composite.
- ResourceFormat format;
+ 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

Powered by Google App Engine
This is Rietveld 408576698