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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11377122: cc: Visualize non-occluding rects in composited layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void pinchGestureUpdate(float, gfx::Point) OVERRIDE; 117 virtual void pinchGestureUpdate(float, gfx::Point) OVERRIDE;
118 virtual void pinchGestureEnd() OVERRIDE; 118 virtual void pinchGestureEnd() OVERRIDE;
119 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool anchor Point, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVE RRIDE; 119 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool anchor Point, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVE RRIDE;
120 virtual void scheduleAnimation() OVERRIDE; 120 virtual void scheduleAnimation() OVERRIDE;
121 121
122 struct CC_EXPORT FrameData : public RenderPassSink { 122 struct CC_EXPORT FrameData : public RenderPassSink {
123 FrameData(); 123 FrameData();
124 ~FrameData(); 124 ~FrameData();
125 125
126 std::vector<gfx::Rect> occludingScreenSpaceRects; 126 std::vector<gfx::Rect> occludingScreenSpaceRects;
127 std::vector<gfx::Rect> nonOccludingScreenSpaceRects;
127 RenderPassList renderPasses; 128 RenderPassList renderPasses;
128 RenderPassIdHashMap renderPassesById; 129 RenderPassIdHashMap renderPassesById;
129 LayerList* renderSurfaceLayerList; 130 LayerList* renderSurfaceLayerList;
130 LayerList willDrawLayers; 131 LayerList willDrawLayers;
131 132
132 // RenderPassSink implementation. 133 // RenderPassSink implementation.
133 virtual void appendRenderPass(scoped_ptr<RenderPass>) OVERRIDE; 134 virtual void appendRenderPass(scoped_ptr<RenderPass>) OVERRIDE;
134 }; 135 };
135 136
136 // Virtual for testing. 137 // Virtual for testing.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 354
354 size_t m_numImplThreadScrolls; 355 size_t m_numImplThreadScrolls;
355 size_t m_numMainThreadScrolls; 356 size_t m_numMainThreadScrolls;
356 357
357 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 358 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
358 }; 359 };
359 360
360 } // namespace cc 361 } // namespace cc
361 362
362 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 363 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698