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>
This commit is contained in:
Cary Clark 2018-02-28 15:01:05 -05:00 committed by Skia Commit-Bot
parent 2252636923
commit 65e409faca
5 changed files with 8 additions and 6 deletions

View File

@ -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).

View File

@ -18,6 +18,7 @@
#include "../private/GrTypesPriv.h"
class GrTexturePriv;
enum class SkDestinationSurfaceColorMode;
class GrTexture : virtual public GrSurface {
public:

View File

@ -10,6 +10,11 @@
#include "SkImageInfo.h"
enum class SkDestinationSurfaceColorMode {
kLegacy,
kGammaAndColorSpaceAware,
};
static inline bool SkAlphaTypeIsValid(unsigned value) {
return value <= kLastEnum_SkAlphaType;
}

View File

@ -9,6 +9,7 @@
#define SkMipMap_DEFINED
#include "SkCachedData.h"
#include "SkImageInfoPriv.h"
#include "SkPixmap.h"
#include "SkScalar.h"
#include "SkSize.h"

View File

@ -12,7 +12,7 @@
#include "GrContextOptions.h"
#include "GrPathRange.h"
#include "GrResourceCache.h"
#include "SkImageInfo.h"
#include "SkImageInfoPriv.h"
#include "SkScalerContext.h"
class GrBackendRenderTarget;