OLD | NEW |
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 float opacity() const { return m_opacity; } | 199 float opacity() const { return m_opacity; } |
200 void setOpacity(float); | 200 void setOpacity(float); |
201 | 201 |
202 blink::WebBlendMode blendMode() const { return m_blendMode; } | 202 blink::WebBlendMode blendMode() const { return m_blendMode; } |
203 void setBlendMode(blink::WebBlendMode); | 203 void setBlendMode(blink::WebBlendMode); |
204 | 204 |
205 bool isRootForIsolatedGroup() const { return m_isRootForIsolatedGroup; } | 205 bool isRootForIsolatedGroup() const { return m_isRootForIsolatedGroup; } |
206 void setIsRootForIsolatedGroup(bool); | 206 void setIsRootForIsolatedGroup(bool); |
207 | 207 |
208 bool hasGpuRasterizationHint() const { return m_hasGpuRasterizationHint; } | |
209 void setHasGpuRasterizationHint(bool); | |
210 | |
211 const FilterOperations& filters() const { return m_filters; } | 208 const FilterOperations& filters() const { return m_filters; } |
212 | 209 |
213 // Returns true if filter can be rendered by the compositor | 210 // Returns true if filter can be rendered by the compositor |
214 bool setFilters(const FilterOperations&); | 211 bool setFilters(const FilterOperations&); |
215 void setBackgroundFilters(const FilterOperations&); | 212 void setBackgroundFilters(const FilterOperations&); |
216 | 213 |
217 // Some GraphicsLayers paint only the foreground or the background content | 214 // Some GraphicsLayers paint only the foreground or the background content |
218 GraphicsLayerPaintingPhase paintingPhase() const { return m_paintingPhase; } | 215 GraphicsLayerPaintingPhase paintingPhase() const { return m_paintingPhase; } |
219 void setPaintingPhase(GraphicsLayerPaintingPhase); | 216 void setPaintingPhase(GraphicsLayerPaintingPhase); |
220 | 217 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 352 |
356 FilterOperations m_filters; | 353 FilterOperations m_filters; |
357 | 354 |
358 bool m_contentsOpaque : 1; | 355 bool m_contentsOpaque : 1; |
359 bool m_shouldFlattenTransform: 1; | 356 bool m_shouldFlattenTransform: 1; |
360 bool m_backfaceVisibility : 1; | 357 bool m_backfaceVisibility : 1; |
361 bool m_masksToBounds : 1; | 358 bool m_masksToBounds : 1; |
362 bool m_drawsContent : 1; | 359 bool m_drawsContent : 1; |
363 bool m_contentsVisible : 1; | 360 bool m_contentsVisible : 1; |
364 bool m_isRootForIsolatedGroup : 1; | 361 bool m_isRootForIsolatedGroup : 1; |
365 bool m_hasGpuRasterizationHint: 1; | |
366 | 362 |
367 bool m_hasScrollParent : 1; | 363 bool m_hasScrollParent : 1; |
368 bool m_hasClipParent : 1; | 364 bool m_hasClipParent : 1; |
369 | 365 |
370 GraphicsLayerPaintingPhase m_paintingPhase; | 366 GraphicsLayerPaintingPhase m_paintingPhase; |
371 CompositingCoordinatesOrientation m_contentsOrientation; // affects orientat
ion of layer contents | 367 CompositingCoordinatesOrientation m_contentsOrientation; // affects orientat
ion of layer contents |
372 | 368 |
373 Vector<GraphicsLayer*> m_children; | 369 Vector<GraphicsLayer*> m_children; |
374 GraphicsLayer* m_parent; | 370 GraphicsLayer* m_parent; |
375 | 371 |
(...skipping 29 matching lines...) Expand all Loading... |
405 }; | 401 }; |
406 | 402 |
407 } // namespace WebCore | 403 } // namespace WebCore |
408 | 404 |
409 #ifndef NDEBUG | 405 #ifndef NDEBUG |
410 // Outside the WebCore namespace for ease of invocation from gdb. | 406 // Outside the WebCore namespace for ease of invocation from gdb. |
411 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); | 407 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); |
412 #endif | 408 #endif |
413 | 409 |
414 #endif // GraphicsLayer_h | 410 #endif // GraphicsLayer_h |
OLD | NEW |