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

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

Issue 10342008: Revert 114283 - Avoid using backing store for compositing layers that just need to clip (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1123/
Patch Set: Created 8 years, 7 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 // Returns the nearest enclosing layer that is scrollable. 407 // Returns the nearest enclosing layer that is scrollable.
408 RenderLayer* enclosingScrollableLayer() const; 408 RenderLayer* enclosingScrollableLayer() const;
409 409
410 // The layer relative to which clipping rects for this layer are computed. 410 // The layer relative to which clipping rects for this layer are computed.
411 RenderLayer* clippingRoot() const; 411 RenderLayer* clippingRoot() const;
412 412
413 #if USE(ACCELERATED_COMPOSITING) 413 #if USE(ACCELERATED_COMPOSITING)
414 // Enclosing compositing layer; if includeSelf is true, may return this. 414 // Enclosing compositing layer; if includeSelf is true, may return this.
415 RenderLayer* enclosingCompositingLayer(bool includeSelf = true) const; 415 RenderLayer* enclosingCompositingLayer(bool includeSelf = true) const;
416 RenderLayer* enclosingCompositingLayerForRepaint(bool includeSelf = true) co nst;
417 // Ancestor compositing layer, excluding this. 416 // Ancestor compositing layer, excluding this.
418 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(false); } 417 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(false); }
419 #endif 418 #endif
420 419
421 #if ENABLE(CSS_FILTERS) 420 #if ENABLE(CSS_FILTERS)
422 RenderLayer* enclosingFilterLayer(bool includeSelf = true) const; 421 RenderLayer* enclosingFilterLayer(bool includeSelf = true) const;
423 RenderLayer* enclosingFilterRepaintLayer() const; 422 RenderLayer* enclosingFilterRepaintLayer() const;
424 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&, bool immediate ); 423 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&, bool immediate );
425 #endif 424 #endif
426 425
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 945
947 } // namespace WebCore 946 } // namespace WebCore
948 947
949 #ifndef NDEBUG 948 #ifndef NDEBUG
950 // Outside the WebCore namespace for ease of invocation from gdb. 949 // Outside the WebCore namespace for ease of invocation from gdb.
951 void showLayerTree(const WebCore::RenderLayer*); 950 void showLayerTree(const WebCore::RenderLayer*);
952 void showLayerTree(const WebCore::RenderObject*); 951 void showLayerTree(const WebCore::RenderObject*);
953 #endif 952 #endif
954 953
955 #endif // RenderLayer_h 954 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « LayoutTests/compositing/visibility/layer-visible-content-expected.txt ('k') | Source/WebCore/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698