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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 342593003: Only update style-determined composited reasons during the chicken/egg compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositingReasonFinder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 459
460 void setNeedsCompositingInputsUpdate(); 460 void setNeedsCompositingInputsUpdate();
461 bool childNeedsCompositingInputsUpdate() const { return m_childNeedsComposit ingInputsUpdate; } 461 bool childNeedsCompositingInputsUpdate() const { return m_childNeedsComposit ingInputsUpdate; }
462 bool needsCompositingInputsUpdate() const { return m_needsCompositingInputsU pdate; } 462 bool needsCompositingInputsUpdate() const { return m_needsCompositingInputsU pdate; }
463 463
464 void updateCompositingInputs(const CompositingInputs&); 464 void updateCompositingInputs(const CompositingInputs&);
465 void clearChildNeedsCompositingInputsUpdate(); 465 void clearChildNeedsCompositingInputsUpdate();
466 466
467 const CompositingInputs& compositingInputs() const { ASSERT(!m_needsComposit ingInputsUpdate); return m_compositingInputs; } 467 const CompositingInputs& compositingInputs() const { ASSERT(!m_needsComposit ingInputsUpdate); return m_compositingInputs; }
468 468
469 // FIXME: Remove this function.
470 bool potentiallyStaleIsUnclippedDescendant() const { return m_compositingInp uts.isUnclippedDescendant; }
471
472 bool lostGroupedMapping() const { ASSERT(isAllowedToQueryCompositingState()) ; return m_lostGroupedMapping; } 469 bool lostGroupedMapping() const { ASSERT(isAllowedToQueryCompositingState()) ; return m_lostGroupedMapping; }
473 void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; } 470 void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; }
474 471
475 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo sitingState()); return m_compositingReasons; } 472 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo sitingState()); return m_compositingReasons; }
476 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com positingReasonAll); 473 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com positingReasonAll);
477 474
478 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt ate()); return m_hasCompositingDescendant; } 475 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt ate()); return m_hasCompositingDescendant; }
479 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b; } 476 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b; }
480 477
481 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom positingState()); return m_shouldIsolateCompositedDescendants; } 478 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom positingState()); return m_shouldIsolateCompositedDescendants; }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 722
726 } // namespace WebCore 723 } // namespace WebCore
727 724
728 #ifndef NDEBUG 725 #ifndef NDEBUG
729 // Outside the WebCore namespace for ease of invocation from gdb. 726 // Outside the WebCore namespace for ease of invocation from gdb.
730 void showLayerTree(const WebCore::RenderLayer*); 727 void showLayerTree(const WebCore::RenderLayer*);
731 void showLayerTree(const WebCore::RenderObject*); 728 void showLayerTree(const WebCore::RenderObject*);
732 #endif 729 #endif
733 730
734 #endif // RenderLayer_h 731 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositingReasonFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698