Bug 23796 - Accelerated compositing code needs to know if a RenderLayer is the root layer
Summary: Accelerated compositing code needs to know if a RenderLayer is the root layer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks: 23359
  Show dependency treegraph
 
Reported: 2009-02-06 12:43 PST by Simon Fraser (smfr)
Modified: 2009-02-06 14:16 PST (History)
0 users

See Also:


Attachments
Patch, changelog (3.63 KB, patch)
2009-02-06 12:43 PST, Simon Fraser (smfr)
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2009-02-06 12:43:25 PST
We need an 'isRootLayer()' method on RenderLayer that works even when the layer is not rooted.
Comment 1 Simon Fraser (smfr) 2009-02-06 12:43:51 PST
Created attachment 27408 [details]
Patch, changelog
Comment 2 Eric Seidel (no email) 2009-02-06 13:56:32 PST
Comment on attachment 27408 [details]
Patch, changelog

Looks sane.
Comment 3 Simon Fraser (smfr) 2009-02-06 14:16:36 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/rendering/RenderLayer.h
	M	WebCore/rendering/RenderLayerBacking.cpp
	M	WebCore/rendering/RenderLayerCompositor.cpp
Committed r40731