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

Unified Diff: cc/output/gl_renderer.cc

Issue 1376883004: Overlays: Remove special casing of primary overlay plane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missed file Created 5 years, 3 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/gl_renderer_unittest.cc » ('j') | cc/output/overlay_processor.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 11a4b450a14d98648d64bb4345e0bdcf9eb8d061..536ab50082dc29dac38c6ee84ebff9dc40abe056 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -3515,10 +3515,6 @@ void GLRenderer::ScheduleOverlays(DrawingFrame* frame) {
ResourceProvider::ResourceIdArray resources;
OverlayCandidateList& overlays = frame->overlay_list;
for (const OverlayCandidate& overlay : overlays) {
- // Skip primary plane.
- if (overlay.plane_z_order == 0)
- continue;
-
unsigned texture_id = 0;
if (overlay.use_output_surface_for_resource) {
texture_id = output_surface_->GetOverlayTextureId();
« no previous file with comments | « no previous file | cc/output/gl_renderer_unittest.cc » ('j') | cc/output/overlay_processor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698