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

Unified Diff: include/c/sk_types.h

Issue 1195003003: Propagate SkSurfaceProps to more call sites (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/c/sk_surface.h ('k') | src/c/sk_surface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/c/sk_types.h
diff --git a/include/c/sk_types.h b/include/c/sk_types.h
index dc530f374b78f248162c84c8c1d037fb10a278df..bad5bfe1d6f0c22de6fc0e3c41862ffccf4cad3c 100644
--- a/include/c/sk_types.h
+++ b/include/c/sk_types.h
@@ -53,6 +53,14 @@ typedef enum {
DIFFERENCE_SK_CLIPTYPE,
} sk_cliptype_t;
+typedef enum {
+ UNKNOWN_SK_PIXELGEOMETRY,
+ RGB_H_SK_PIXELGEOMETRY,
+ BGR_H_SK_PIXELGEOMETRY,
+ RGB_V_SK_PIXELGEOMETRY,
+ BGR_V_SK_PIXELGEOMETRY,
+} sk_pixelgeometry_t;
+
sk_colortype_t sk_colortype_get_default_8888();
typedef struct {
@@ -63,6 +71,10 @@ typedef struct {
} sk_imageinfo_t;
typedef struct {
+ sk_pixelgeometry_t pixelGeometry;
+} sk_surfaceprops_t;
+
+typedef struct {
float x;
float y;
} sk_point_t;
« no previous file with comments | « include/c/sk_surface.h ('k') | src/c/sk_surface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698