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

Unified Diff: content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.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/test/test_context_support.cc ('k') | content/common/gpu/image_transport_surface_overlay_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc b/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
index d246219e883d65f35685cdd49d622a9bff87c104..f4c74ac204d04eda309010f50c4f9651f5458b03 100644
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
+++ b/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
@@ -77,6 +77,8 @@ void BrowserCompositorOverlayCandidateValidatorOzone::CheckOverlaySupport(
for (size_t i = 0; i < surfaces->size(); i++) {
surfaces->at(i).overlay_handled = ozone_surface_list.at(i).overlay_handled;
surfaces->at(i).display_rect = ozone_surface_list.at(i).display_rect;
+ surfaces->at(i).storage_format = ozone_surface_list.at(i).format;
+ surfaces->at(i).handle_scaling = ozone_surface_list.at(i).handle_scaling;
}
}
« no previous file with comments | « cc/test/test_context_support.cc ('k') | content/common/gpu/image_transport_surface_overlay_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698