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

Side by Side Diff: sky/engine/platform/graphics/GraphicsLayer.h

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 bool contentsOpaque() const { return m_contentsOpaque; } 158 bool contentsOpaque() const { return m_contentsOpaque; }
159 void setContentsOpaque(bool); 159 void setContentsOpaque(bool);
160 160
161 bool backfaceVisibility() const { return m_backfaceVisibility; } 161 bool backfaceVisibility() const { return m_backfaceVisibility; }
162 void setBackfaceVisibility(bool visible); 162 void setBackfaceVisibility(bool visible);
163 163
164 float opacity() const { return m_opacity; } 164 float opacity() const { return m_opacity; }
165 void setOpacity(float); 165 void setOpacity(float);
166 166
167 void setBlendMode(WebBlendMode); 167 void setBlendMode(WebBlendMode);
168 void setIsRootForIsolatedGroup(bool);
169 168
170 void setFilters(const FilterOperations&); 169 void setFilters(const FilterOperations&);
171 170
172 // Some GraphicsLayers paint only the foreground or the background content 171 // Some GraphicsLayers paint only the foreground or the background content
173 void setPaintingPhase(GraphicsLayerPaintingPhase); 172 void setPaintingPhase(GraphicsLayerPaintingPhase);
174 173
175 void setNeedsDisplay(); 174 void setNeedsDisplay();
176 // mark the given rect (in layer coords) as needing dispay. Never goes deep. 175 // mark the given rect (in layer coords) as needing dispay. Never goes deep.
177 void setNeedsDisplayInRect(const FloatRect&); 176 void setNeedsDisplayInRect(const FloatRect&);
178 177
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 282
284 WebBlendMode m_blendMode; 283 WebBlendMode m_blendMode;
285 284
286 bool m_hasTransformOrigin : 1; 285 bool m_hasTransformOrigin : 1;
287 bool m_contentsOpaque : 1; 286 bool m_contentsOpaque : 1;
288 bool m_shouldFlattenTransform: 1; 287 bool m_shouldFlattenTransform: 1;
289 bool m_backfaceVisibility : 1; 288 bool m_backfaceVisibility : 1;
290 bool m_masksToBounds : 1; 289 bool m_masksToBounds : 1;
291 bool m_drawsContent : 1; 290 bool m_drawsContent : 1;
292 bool m_contentsVisible : 1; 291 bool m_contentsVisible : 1;
293 bool m_isRootForIsolatedGroup : 1;
294 292
295 bool m_hasScrollParent : 1; 293 bool m_hasScrollParent : 1;
296 bool m_hasClipParent : 1; 294 bool m_hasClipParent : 1;
297 295
298 GraphicsLayerPaintingPhase m_paintingPhase; 296 GraphicsLayerPaintingPhase m_paintingPhase;
299 297
300 Vector<GraphicsLayer*> m_children; 298 Vector<GraphicsLayer*> m_children;
301 GraphicsLayer* m_parent; 299 GraphicsLayer* m_parent;
302 300
303 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this. 301 GraphicsLayer* m_maskLayer; // Reference to mask layer. We don't own this.
(...skipping 22 matching lines...) Expand all
326 }; 324 };
327 325
328 } // namespace blink 326 } // namespace blink
329 327
330 #ifndef NDEBUG 328 #ifndef NDEBUG
331 // Outside the WebCore namespace for ease of invocation from gdb. 329 // Outside the WebCore namespace for ease of invocation from gdb.
332 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 330 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
333 #endif 331 #endif
334 332
335 #endif // GraphicsLayer_h 333 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.cpp ('k') | sky/engine/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698