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:
parent
2252636923
commit
65e409faca
@ -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).
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "../private/GrTypesPriv.h"
|
||||
|
||||
class GrTexturePriv;
|
||||
enum class SkDestinationSurfaceColorMode;
|
||||
|
||||
class GrTexture : virtual public GrSurface {
|
||||
public:
|
||||
|
@ -10,6 +10,11 @@
|
||||
|
||||
#include "SkImageInfo.h"
|
||||
|
||||
enum class SkDestinationSurfaceColorMode {
|
||||
kLegacy,
|
||||
kGammaAndColorSpaceAware,
|
||||
};
|
||||
|
||||
static inline bool SkAlphaTypeIsValid(unsigned value) {
|
||||
return value <= kLastEnum_SkAlphaType;
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
#define SkMipMap_DEFINED
|
||||
|
||||
#include "SkCachedData.h"
|
||||
#include "SkImageInfoPriv.h"
|
||||
#include "SkPixmap.h"
|
||||
#include "SkScalar.h"
|
||||
#include "SkSize.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "GrContextOptions.h"
|
||||
#include "GrPathRange.h"
|
||||
#include "GrResourceCache.h"
|
||||
#include "SkImageInfo.h"
|
||||
#include "SkImageInfoPriv.h"
|
||||
#include "SkScalerContext.h"
|
||||
|
||||
class GrBackendRenderTarget;
|
||||
|
Loading…
Reference in New Issue
Block a user