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

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

Issue 2017473002: cc: Lock resources directly in CALayerOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add operator= Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/overlay_processor.h » ('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 #ifndef CC_OUTPUT_OVERLAY_CANDIDATE_H_ 5 #ifndef CC_OUTPUT_OVERLAY_CANDIDATE_H_
6 #define CC_OUTPUT_OVERLAY_CANDIDATE_H_ 6 #define CC_OUTPUT_OVERLAY_CANDIDATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 private: 85 private:
86 static bool FromTextureQuad(ResourceProvider* resource_provider, 86 static bool FromTextureQuad(ResourceProvider* resource_provider,
87 const TextureDrawQuad* quad, 87 const TextureDrawQuad* quad,
88 OverlayCandidate* candidate); 88 OverlayCandidate* candidate);
89 static bool FromStreamVideoQuad(ResourceProvider* resource_provider, 89 static bool FromStreamVideoQuad(ResourceProvider* resource_provider,
90 const StreamVideoDrawQuad* quad, 90 const StreamVideoDrawQuad* quad,
91 OverlayCandidate* candidate); 91 OverlayCandidate* candidate);
92 }; 92 };
93 93
94 typedef std::vector<OverlayCandidate> OverlayCandidateList;
95
96 } // namespace cc 94 } // namespace cc
97 95
98 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_H_ 96 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/overlay_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698