| Index: cc/resources/resource_format.h
|
| diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
|
| index 125a4ebf9c1b28424a5ca333d7a7cae8fa822472..ec847c1ccdb13ca6d702b126f1e51e2378cde7b7 100644
|
| --- a/cc/resources/resource_format.h
|
| +++ b/cc/resources/resource_format.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "cc/cc_export.h"
|
| +#include "third_party/skia/include/gpu/GrTypes.h"
|
| #include "ui/gfx/buffer_types.h"
|
|
|
| // TODO(prashant.n): Including third_party/khronos/GLES2/gl2.h causes
|
| @@ -37,6 +38,7 @@ CC_EXPORT GLenum GLDataFormat(ResourceFormat format);
|
| CC_EXPORT GLenum GLInternalFormat(ResourceFormat format);
|
| CC_EXPORT GLenum GLCopyTextureInternalFormat(ResourceFormat format);
|
| CC_EXPORT gfx::BufferFormat BufferFormat(ResourceFormat format);
|
| +CC_EXPORT GrPixelConfig ToGrPixelConfig(ResourceFormat format);
|
|
|
| bool IsResourceFormatCompressed(ResourceFormat format);
|
| bool DoesResourceFormatSupportAlpha(ResourceFormat format);
|
|
|