[webkit-dev] Fwd: Re: Painting Phases

2011-05-10 Thread Alex Danilo
-- Forwarded Message: --
Hello Sergiy,

You should look at the CSS specifications. That defines the order
of painting the various layers in each block stacking context. The code
in WebKit follows each of the layers in the stack with one render pass
for each of them.

There is a good video somewhere that Eric Seidel describes the
rendering inside WebKit that covers this.

Best regards,
Alex

--Original Message--:

Good time of the day,

In RenderObject.h there are 12 phases of painting. Please explain what do 
these mean and in which sequence they are called. If there is some 
documentation already (either in code or on the website), please give me a 
link. Thank you.

enum PaintPhase {
    PaintPhaseBlockBackground,
    PaintPhaseChildBlockBackground,
    PaintPhaseChildBlockBackgrounds,
    PaintPhaseFloat,
    PaintPhaseForeground,
    PaintPhaseOutline,
    PaintPhaseChildOutlines,
    PaintPhaseSelfOutline,
    PaintPhaseSelection,
    PaintPhaseCollapsedTableBorders,
    PaintPhaseTextClip,
    PaintPhaseMask
};

Sergiy Byelozyorov
Computer Graphics Chair
Universitat des Saarlandes
Tel.: +49 (681) 302-3837
Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/




___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev





___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Fwd: Re: Painting Phases

2011-05-10 Thread Mike Lawther
        There is a good video somewhere that Eric Seidel describes the
 rendering inside WebKit that covers this.

I think http://www.youtube.com/watch?v=RVnARGhhs9w is the right one.

mike
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Fwd: Re: Painting Phases

2011-05-10 Thread Sergiy Byelozyorov
Great video. I was looking for something similar long time ago. Thanks a
lot.

Sergiy Byelozyorov
Computer Graphics Chair
Universitat des Saarlandes
Tel.: +49 (681) 302-3837
Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/



On Tue, May 10, 2011 at 15:17, Mike Lawther mikelawt...@chromium.orgwrote:

 There is a good video somewhere that Eric Seidel describes the
  rendering inside WebKit that covers this.

 I think http://www.youtube.com/watch?v=RVnARGhhs9w is the right one.

mike
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Fwd: Re: Painting Phases

2011-05-10 Thread Simon Fraser
It should also be fairly easy to figure out what these painting phases are for 
by reading the code.

Simon

On May 10, 2011, at 6:51 AM, Sergiy Byelozyorov wrote:

 Great video. I was looking for something similar long time ago. Thanks a lot.
 
 Sergiy Byelozyorov
 Computer Graphics Chair
 Universitat des Saarlandes
 Tel.: +49 (681) 302-3837
 Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/
 
 
 
 On Tue, May 10, 2011 at 15:17, Mike Lawther mikelawt...@chromium.org wrote:
 There is a good video somewhere that Eric Seidel describes the
  rendering inside WebKit that covers this.
 
 I think http://www.youtube.com/watch?v=RVnARGhhs9w is the right one.
 
mike
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev