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

Side by Side Diff: Source/core/paint/FilterPainter.h

Issue 713823005: Factor painting code for filters out of FilterEffectRenderer into FilterPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FilterPainter_h
6 #define FilterPainter_h
7
8 #include "core/rendering/LayerPaintingInfo.h"
9 #include "wtf/OwnPtr.h"
10
11 namespace blink {
12
13 class ClipRecorder;
14 class ClipRect;
15 class FloatRect;
16 class GraphicsContext;
17 class RenderLayer;
18
19 class FilterPainter {
20 public:
21 FilterPainter(RenderLayer&, GraphicsContext*, const FloatRect& filterBoxRect , const ClipRect&, LayerPaintingInfo, PaintLayerFlags paintFlags);
22
23 ~FilterPainter();
24 void endFilterEffect(GraphicsContext*);
Stephen White 2014/11/11 22:20:55 This doesn't seem to be defined anywhere.
chrishtr 2014/11/11 22:22:42 Done.
25
26 private:
27 bool m_filterInProgress;
28 GraphicsContext* m_context;
29 OwnPtr<ClipRecorder> m_clipRecorder;
30 };
31
32 } // namespace blink
33
34 #endif // FilterPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698