| Index: src/gpu/SkGrPriv.h
|
| diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h
|
| index 46be3a53cfb0b322ab5832ac3867c338dc9fd46d..d98fe53a664769e073f93867395be3582da5899f 100644
|
| --- a/src/gpu/SkGrPriv.h
|
| +++ b/src/gpu/SkGrPriv.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "GrTypes.h"
|
| #include "GrBlend.h"
|
| +#include "SkEncodedFormat.h"
|
| #include "SkImageInfo.h"
|
| #include "SkMatrix.h"
|
| #include "SkXfermode.h"
|
| @@ -105,6 +106,11 @@ GrSurfaceDesc GrImageInfoToSurfaceDesc(const SkImageInfo&, const GrCaps&);
|
| bool GrPixelConfig2ColorAndProfileType(GrPixelConfig, SkColorType*, SkColorProfileType*);
|
|
|
| /**
|
| + * Returns true if the specified encoded format might be supported on this GPU.
|
| + */
|
| +bool GrIsCompressedFormatPossiblySupported(GrContext*, SkEncodedFormat);
|
| +
|
| +/**
|
| * If the compressed data in the SkData is supported (as a texture format, this returns
|
| * the pixel-config that should be used, and sets outStartOfDataToUpload to the ptr into
|
| * the data where the actual raw data starts (skipping any header bytes).
|
|
|