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

Unified Diff: cc/test/test_context_support.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
Index: cc/test/test_context_support.cc
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc
index 0c74ec8fd96dfebd9a04a4fe9c8763acbbe7a35c..c67013407d7d360c28cabb8b87c992796074a94b 100644
--- a/cc/test/test_context_support.cc
+++ b/cc/test/test_context_support.cc
@@ -85,15 +85,15 @@ void TestContextSupport::CommitOverlayPlanes() {}
void TestContextSupport::ScheduleOverlayPlane(
int plane_z_order,
gfx::OverlayTransform plane_transform,
+ gfx::BufferFormat storage_format,
unsigned overlay_texture_id,
const gfx::Rect& display_bounds,
- const gfx::RectF& uv_rect) {
+ const gfx::RectF& uv_rect,
+ bool handle_scaling) {
if (!schedule_overlay_plane_callback_.is_null()) {
- schedule_overlay_plane_callback_.Run(plane_z_order,
- plane_transform,
- overlay_texture_id,
- display_bounds,
- uv_rect);
+ schedule_overlay_plane_callback_.Run(
+ plane_z_order, plane_transform, storage_format, overlay_texture_id,
+ display_bounds, uv_rect, handle_scaling);
}
}
« no previous file with comments | « cc/test/test_context_support.h ('k') | content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698