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

Unified Diff: cc/output/overlay_candidate.cc

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cmd_buffer_functions Created 5 years 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 | « cc/output/overlay_candidate.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_candidate.cc
diff --git a/cc/output/overlay_candidate.cc b/cc/output/overlay_candidate.cc
index 367f31632734613be4394913615192d0fc0f4888..dddfbb598cccc56b92e67e762448fafc1d3d7bd3 100644
--- a/cc/output/overlay_candidate.cc
+++ b/cc/output/overlay_candidate.cc
@@ -170,12 +170,14 @@ gfx::OverlayTransform ComposeTransforms(gfx::OverlayTransform delta,
OverlayCandidate::OverlayCandidate()
: transform(gfx::OVERLAY_TRANSFORM_NONE),
format(RGBA_8888),
+ storage_format(gfx::BufferFormat::BGRX_8888),
uv_rect(0.f, 0.f, 1.f, 1.f),
is_clipped(false),
use_output_surface_for_resource(false),
resource_id(0),
plane_z_order(0),
is_unoccluded(false),
+ handle_scaling(true),
overlay_handled(false) {}
OverlayCandidate::~OverlayCandidate() {}
« no previous file with comments | « cc/output/overlay_candidate.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698