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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2641173008: [SPv2] Add CSS mask support (Closed)
Patch Set: rebase Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 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 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); 521 void clearCompositedLayerMapping(bool layerBeingDestroyed = false);
522 CompositedLayerMapping* groupedMapping() const { 522 CompositedLayerMapping* groupedMapping() const {
523 return m_rareData ? m_rareData->groupedMapping : nullptr; 523 return m_rareData ? m_rareData->groupedMapping : nullptr;
524 } 524 }
525 enum SetGroupMappingOptions { 525 enum SetGroupMappingOptions {
526 InvalidateLayerAndRemoveFromMapping, 526 InvalidateLayerAndRemoveFromMapping,
527 DoNotInvalidateLayerAndRemoveFromMapping 527 DoNotInvalidateLayerAndRemoveFromMapping
528 }; 528 };
529 void setGroupedMapping(CompositedLayerMapping*, SetGroupMappingOptions); 529 void setGroupedMapping(CompositedLayerMapping*, SetGroupMappingOptions);
530 530
531 bool hasCompositedMask() const; 531 bool maskBlendingAppliedByCompositor() const;
532 bool hasCompositedClippingMask() const; 532 bool hasCompositedClippingMask() const;
533 bool needsCompositedScrolling() const { 533 bool needsCompositedScrolling() const {
534 return m_scrollableArea && m_scrollableArea->needsCompositedScrolling(); 534 return m_scrollableArea && m_scrollableArea->needsCompositedScrolling();
535 } 535 }
536 536
537 // Paint invalidation containers can be self-composited or squashed. 537 // Paint invalidation containers can be self-composited or squashed.
538 // In the former case, these methods do nothing. 538 // In the former case, these methods do nothing.
539 // In the latter case, they adjust from the space of the squashed PaintLayer 539 // In the latter case, they adjust from the space of the squashed PaintLayer
540 // to the space of the PaintLayer into which it squashes. 540 // to the space of the PaintLayer into which it squashes.
541 // 541 //
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 1256
1257 } // namespace blink 1257 } // namespace blink
1258 1258
1259 #ifndef NDEBUG 1259 #ifndef NDEBUG
1260 // Outside the WebCore namespace for ease of invocation from gdb. 1260 // Outside the WebCore namespace for ease of invocation from gdb.
1261 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1261 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1262 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1262 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1263 #endif 1263 #endif
1264 1264
1265 #endif // Layer_h 1265 #endif // Layer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698