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

Side by Side Diff: sky/engine/core/rendering/PaintPhase.h

Issue 867463005: Merge the background paint phase into the foreground phase. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderBlock.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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 20 matching lines...) Expand all
31 /* 31 /*
32 * The painting of a layer occurs in three distinct phases. Each phase involve s 32 * The painting of a layer occurs in three distinct phases. Each phase involve s
33 * a recursive descent into the layer's render objects. The first phase is the background phase. 33 * a recursive descent into the layer's render objects. The first phase is the background phase.
34 * The backgrounds and borders of all blocks are painted. Inlines are not pain ted at all. 34 * The backgrounds and borders of all blocks are painted. Inlines are not pain ted at all.
35 * Floats must paint above block backgrounds but entirely below inline content that can overlap them. 35 * Floats must paint above block backgrounds but entirely below inline content that can overlap them.
36 * In the foreground phase, all inlines are fully painted. Inline replaced ele ments will get all 36 * In the foreground phase, all inlines are fully painted. Inline replaced ele ments will get all
37 * three phases invoked on them during this phase. 37 * three phases invoked on them during this phase.
38 */ 38 */
39 39
40 enum PaintPhase { 40 enum PaintPhase {
41 PaintPhaseBlockBackground,
42 PaintPhaseChildBlockBackground,
43 PaintPhaseChildBlockBackgrounds,
44 PaintPhaseForeground, 41 PaintPhaseForeground,
45 PaintPhaseOutline, 42 PaintPhaseOutline,
46 PaintPhaseChildOutlines, 43 PaintPhaseChildOutlines,
47 PaintPhaseSelfOutline, 44 PaintPhaseSelfOutline,
48 PaintPhaseSelection, 45 PaintPhaseSelection,
49 PaintPhaseMask, 46 PaintPhaseMask,
50 }; 47 };
51 48
52 } // namespace blink 49 } // namespace blink
53 50
54 #endif // SKY_ENGINE_CORE_RENDERING_PAINTPHASE_H_ 51 #endif // SKY_ENGINE_CORE_RENDERING_PAINTPHASE_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698