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

Unified Diff: cc/layers/layer_impl.h

Issue 2017263002: cc: Move copy requests from layers to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in comment Created 4 years, 7 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 | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index f0b482cc5cbffdb7754d55fbeabb356bb809b6a4..14c3cb5771e128a87138de0b357eef5c809f3495 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -153,13 +153,6 @@ class CC_EXPORT LayerImpl {
// For compatibility with Layer.
bool has_render_surface() const { return !!render_surface(); }
- void PassCopyRequests(
- std::vector<std::unique_ptr<CopyOutputRequest>>* requests);
- // Can only be called when the layer has a copy request.
- void TakeCopyRequestsAndTransformToTarget(
- std::vector<std::unique_ptr<CopyOutputRequest>>* request);
- bool HasCopyRequest() const { return !copy_requests_.empty(); }
-
void SetMaskLayer(std::unique_ptr<LayerImpl> mask_layer);
LayerImpl* mask_layer() { return mask_layer_; }
const LayerImpl* mask_layer() const { return mask_layer_; }
@@ -639,8 +632,6 @@ class CC_EXPORT LayerImpl {
// space.
gfx::Rect damage_rect_;
- std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests_;
-
// Group of properties that need to be computed based on the layer tree
// hierarchy before layers can be drawn.
DrawProperties draw_properties_;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698