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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h

Issue 1379883003: Create PaintChunk and begin writing code to build paint chunks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enable RuntimeEnabledFeature for PaintChunkerTest Created 5 years, 2 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
(Empty)
1 // Copyright 2015 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 PaintProperties_h
6 #define PaintProperties_h
7
8 #include <iosfwd>
9
10 namespace blink {
11
12 // The set of paint properties applying to a |PaintChunk|.
13 // In particular, this does not mean properties like background-color, but
14 // rather the hierarchy of transforms, clips, effects, etc. that apply to a
15 // contiguous chunk of drawings.
16 struct PaintProperties {
17 // TODO(jbroman): Add actual properties.
18 };
19
20 inline bool operator==(const PaintProperties&, const PaintProperties&)
21 {
22 return true;
23 }
24
25 inline bool operator!=(const PaintProperties& a, const PaintProperties& b)
26 {
27 return !(a == b);
28 }
29
30 // Redeclared here to avoid ODR issues.
31 // See platform/testing/PaintPrinters.h.
32 void PrintTo(const PaintProperties&, std::ostream*);
33
34 } // namespace blink
35
36 #endif // PaintProperties_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698