aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-02-28 15:01:05 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-28 20:31:33 +0000
commit65e409faca661949f8208d8c984fafe3a96bbebd (patch)
treea3c5b9d9ab44c2b93ac58fae23747c7a92b39db8 /include
parent2252636923271daba4678b54ca72cd5bad227c49 (diff)
make SkDestinationSurfaceColorMode private
R=brianosman@google.com, reed@google.com Bug: skia: Change-Id: Ibbf91a664cc504737137717d9170ce4de09b017c Reviewed-on: https://skia-review.googlesource.com/111161 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Cary Clark <caryclark@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageInfo.h5
-rw-r--r--include/gpu/GrTexture.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
index cf9d244169..ece47f5c41 100644
--- a/include/core/SkImageInfo.h
+++ b/include/core/SkImageInfo.h
@@ -139,11 +139,6 @@ enum SkYUVColorSpace {
///////////////////////////////////////////////////////////////////////////////
-enum class SkDestinationSurfaceColorMode {
- kLegacy,
- kGammaAndColorSpaceAware,
-};
-
/**
* Describe an image's dimensions and pixel type.
* Used for both src images and render-targets (surfaces).
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index 899b3ed58c..59cf76f032 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -18,6 +18,7 @@
#include "../private/GrTypesPriv.h"
class GrTexturePriv;
+enum class SkDestinationSurfaceColorMode;
class GrTexture : virtual public GrSurface {
public: