| Index: cc/resources/resource_format.h
|
| diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
|
| index 79b815fcd297c73c1b922c98b608c2397c0be87e..42071555faca1bb538e8e90d1df5a609ca4ff5ff 100644
|
| --- a/cc/resources/resource_format.h
|
| +++ b/cc/resources/resource_format.h
|
| @@ -31,6 +31,7 @@ enum ResourceFormat {
|
| };
|
|
|
| SkColorType ResourceFormatToSkColorType(ResourceFormat format);
|
| +ResourceFormat SkColorTypeToResourceFormat(SkColorType color_type);
|
|
|
| CC_EXPORT int BitsPerPixel(ResourceFormat format);
|
| CC_EXPORT GLenum GLDataType(ResourceFormat format);
|
| @@ -38,6 +39,9 @@ CC_EXPORT GLenum GLDataFormat(ResourceFormat format);
|
| CC_EXPORT GLenum GLInternalFormat(ResourceFormat format);
|
| CC_EXPORT gfx::BufferFormat BufferFormat(ResourceFormat format);
|
|
|
| +bool IsResourceFormatCompressed(ResourceFormat format);
|
| +bool DoesResourceFormatSupportAlpha(ResourceFormat format);
|
| +
|
| } // namespace cc
|
|
|
| #endif // CC_RESOURCES_RESOURCE_FORMAT_H_
|
|
|