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

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

Issue 878023002: Merge outline paint phases into the foreground phase. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase 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
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 21 matching lines...) Expand all
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 PaintPhaseForeground, 41 PaintPhaseForeground,
42 PaintPhaseOutline,
43 PaintPhaseChildOutlines,
44 PaintPhaseSelfOutline,
45 PaintPhaseSelection, 42 PaintPhaseSelection,
46 PaintPhaseMask, 43 PaintPhaseMask,
47 }; 44 };
48 45
49 } // namespace blink 46 } // namespace blink
50 47
51 #endif // SKY_ENGINE_CORE_RENDERING_PAINTPHASE_H_ 48 #endif // SKY_ENGINE_CORE_RENDERING_PAINTPHASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698