Index: cc/resources/resource_format.h |
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h |
index d785ab7382b8db450ed675580712d5b0675bc7fd..c707d669afef5c4b3ddae559b67bc570c0e90a03 100644 |
--- a/cc/resources/resource_format.h |
+++ b/cc/resources/resource_format.h |
@@ -6,8 +6,12 @@ |
#define CC_RESOURCES_RESOURCE_FORMAT_H_ |
#include "base/logging.h" |
+#include "cc/base/cc_export.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
+// TODO(prashant.n): Remove GLenum typedef. |
vmpstr
2015/07/16 19:04:00
Can you file a bug for this and reference it in th
|
+typedef unsigned int GLenum; |
+ |
namespace cc { |
// Keep in sync with arrays below. |
@@ -25,6 +29,11 @@ enum ResourceFormat { |
SkColorType ResourceFormatToSkColorType(ResourceFormat format); |
+CC_EXPORT extern int BitsPerPixel(ResourceFormat format); |
vmpstr
2015/07/16 19:04:00
I don't think you need extern here?
|
+CC_EXPORT extern GLenum GLDataType(ResourceFormat format); |
+CC_EXPORT extern GLenum GLDataFormat(ResourceFormat format); |
+CC_EXPORT extern GLenum GLInternalFormat(ResourceFormat format); |
+ |
} // namespace cc |
#endif // CC_RESOURCES_RESOURCE_FORMAT_H_ |