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

Side by Side Diff: LayoutTests/compositing/squashing/squashed-repaints-expected.txt

Issue 88863002: Land layer squashing behind a flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed bogus asserts Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Basic repaint test for squashed layers. The entire squashing layer should not ne ed repainting when only a portion of it is invalidated. Test interactively by us ing --show-paint-rects and hovering over elements to change their color.
2
3 CASE 1, original layer tree:
4 (GraphicsLayer
5 (bounds 800.00 600.00)
6 (children 1
7 (GraphicsLayer
8 (bounds 800.00 600.00)
9 (contentsOpaque 1)
10 (drawsContent 1)
11 (children 1
12 (GraphicsLayer
13 (children 2
14 (GraphicsLayer
15 (position 60.00 60.00)
16 (bounds 100.00 100.00)
17 (contentsOpaque 1)
18 )
19 (GraphicsLayer
20 (position 140.00 140.00)
21 (bounds 260.00 260.00)
22 (drawsContent 1)
23 )
24 )
25 )
26 )
27 )
28 )
29 )
30 CASE 2, overlap1 changes color:
31 (GraphicsLayer
32 (bounds 800.00 600.00)
33 (children 1
34 (GraphicsLayer
35 (bounds 800.00 600.00)
36 (contentsOpaque 1)
37 (drawsContent 1)
38 (children 1
39 (GraphicsLayer
40 (children 2
41 (GraphicsLayer
42 (position 60.00 60.00)
43 (bounds 100.00 100.00)
44 (contentsOpaque 1)
45 )
46 (GraphicsLayer
47 (position 140.00 140.00)
48 (bounds 260.00 260.00)
49 (drawsContent 1)
50 (repaint rects
51 (rect 0.00 0.00 100.00 100.00)
52 (rect 0.00 0.00 100.00 100.00)
53 (rect 0.00 0.00 100.00 100.00)
54 )
55 )
56 )
57 )
58 )
59 )
60 )
61 )
62 CASE 3, overlap1 and overlap2 change color:
63 (GraphicsLayer
64 (bounds 800.00 600.00)
65 (children 1
66 (GraphicsLayer
67 (bounds 800.00 600.00)
68 (contentsOpaque 1)
69 (drawsContent 1)
70 (children 1
71 (GraphicsLayer
72 (children 2
73 (GraphicsLayer
74 (position 60.00 60.00)
75 (bounds 100.00 100.00)
76 (contentsOpaque 1)
77 )
78 (GraphicsLayer
79 (position 140.00 140.00)
80 (bounds 260.00 260.00)
81 (drawsContent 1)
82 (repaint rects
83 (rect 80.00 80.00 100.00 100.00)
84 (rect 80.00 80.00 100.00 100.00)
85 (rect 80.00 80.00 100.00 100.00)
86 (rect 0.00 0.00 100.00 100.00)
87 (rect 0.00 0.00 100.00 100.00)
88 (rect 0.00 0.00 100.00 100.00)
89 )
90 )
91 )
92 )
93 )
94 )
95 )
96 )
97 CASE 4, overlap2 and overlap3 change color:
98 (GraphicsLayer
99 (bounds 800.00 600.00)
100 (children 1
101 (GraphicsLayer
102 (bounds 800.00 600.00)
103 (contentsOpaque 1)
104 (drawsContent 1)
105 (children 1
106 (GraphicsLayer
107 (children 2
108 (GraphicsLayer
109 (position 60.00 60.00)
110 (bounds 100.00 100.00)
111 (contentsOpaque 1)
112 )
113 (GraphicsLayer
114 (position 140.00 140.00)
115 (bounds 260.00 260.00)
116 (drawsContent 1)
117 (repaint rects
118 (rect 160.00 160.00 100.00 100.00)
119 (rect 160.00 160.00 100.00 100.00)
120 (rect 160.00 160.00 100.00 100.00)
121 (rect 80.00 80.00 100.00 100.00)
122 (rect 80.00 80.00 100.00 100.00)
123 (rect 80.00 80.00 100.00 100.00)
124 )
125 )
126 )
127 )
128 )
129 )
130 )
131 )
132 CASE 5, overlap3 and overlap1 change color:
133 (GraphicsLayer
134 (bounds 800.00 600.00)
135 (children 1
136 (GraphicsLayer
137 (bounds 800.00 600.00)
138 (contentsOpaque 1)
139 (drawsContent 1)
140 (children 1
141 (GraphicsLayer
142 (children 2
143 (GraphicsLayer
144 (position 60.00 60.00)
145 (bounds 100.00 100.00)
146 (contentsOpaque 1)
147 )
148 (GraphicsLayer
149 (position 140.00 140.00)
150 (bounds 260.00 260.00)
151 (drawsContent 1)
152 (repaint rects
153 (rect 160.00 160.00 100.00 100.00)
154 (rect 160.00 160.00 100.00 100.00)
155 (rect 160.00 160.00 100.00 100.00)
156 (rect 0.00 0.00 100.00 100.00)
157 (rect 0.00 0.00 100.00 100.00)
158 (rect 0.00 0.00 100.00 100.00)
159 )
160 )
161 )
162 )
163 )
164 )
165 )
166 )
167
OLDNEW
« no previous file with comments | « LayoutTests/compositing/squashing/squashed-repaints.html ('k') | Source/core/rendering/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698