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

Side by Side Diff: src/core/SkDeviceProperties.h

Issue 577023002: hide deviceproperties, prepare the way for surfaceprops (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix SkTrackDevice.h Created 6 years, 3 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 | « src/core/SkDevice.cpp ('k') | src/core/SkDraw.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 #ifndef SkDeviceProperties_DEFINED 1 #ifndef SkDeviceProperties_DEFINED
2 #define SkDeviceProperties_DEFINED 2 #define SkDeviceProperties_DEFINED
3 3
4 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this import. 4 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this import.
5 #include "SkFontLCDConfig.h" 5 #include "SkFontLCDConfig.h"
6 6
7 struct SkDeviceProperties { 7 struct SkDeviceProperties {
8 struct Geometry { 8 struct Geometry {
9 /** The orientation of the pixel specifies the interpretation of the 9 /** The orientation of the pixel specifies the interpretation of the
10 * layout. If the orientation is horizontal, the layout is interpreted a s 10 * layout. If the orientation is horizontal, the layout is interpreted a s
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 /** Each pixel of an image will have some number of channels. 95 /** Each pixel of an image will have some number of channels.
96 * Can the layout of those channels be exploited? */ 96 * Can the layout of those channels be exploited? */
97 Geometry fGeometry; 97 Geometry fGeometry;
98 98
99 /** Represents the color space of the image. This is a woefully inadequate b eginning. */ 99 /** Represents the color space of the image. This is a woefully inadequate b eginning. */
100 SkScalar fGamma; 100 SkScalar fGamma;
101 }; 101 };
102 102
103 #endif 103 #endif
OLDNEW
« no previous file with comments | « src/core/SkDevice.cpp ('k') | src/core/SkDraw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698