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

Side by Side Diff: cc/output/overlay_candidate.cc

Issue 2559523002: Send overlay promotion hints from to GLStreamTextureImage. (Closed)
Patch Set: fiddled with GLboolean for windows compiler Created 4 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 unified diff | Download patch
« no previous file with comments | « cc/output/overlay_candidate.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/output/overlay_candidate.h" 5 #include "cc/output/overlay_candidate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "cc/base/math_util.h" 10 #include "cc/base/math_util.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 default; 328 default;
329 329
330 OverlayCandidateList::~OverlayCandidateList() {} 330 OverlayCandidateList::~OverlayCandidateList() {}
331 331
332 OverlayCandidateList& OverlayCandidateList::operator=( 332 OverlayCandidateList& OverlayCandidateList::operator=(
333 const OverlayCandidateList& other) = default; 333 const OverlayCandidateList& other) = default;
334 334
335 OverlayCandidateList& OverlayCandidateList::operator=( 335 OverlayCandidateList& OverlayCandidateList::operator=(
336 OverlayCandidateList&& other) = default; 336 OverlayCandidateList&& other) = default;
337 337
338 void OverlayCandidateList::AddPromotionHint(const OverlayCandidate& candidate) {
339 promotion_hint_info_map_[candidate.resource_id] =
340 candidate.display_rect.origin();
341 }
342
338 } // namespace cc 343 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/overlay_candidate.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698