Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: cc/resources/resource_format.h

Issue 2674493003: Add compositor support for half-float RGBA buffers and textures (Closed)
Patch Set: Don't enable on non-ES3 yet Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/platform_color_unittest.cc ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 518131114d919668237f88ff8faf5843f598519a..207dbf40e0f785c355dcc5cb1a2d372082d115b8 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -27,7 +27,8 @@ enum ResourceFormat {
ETC1,
RED_8,
LUMINANCE_F16,
- RESOURCE_FORMAT_MAX = LUMINANCE_F16,
+ RGBA_F16,
+ RESOURCE_FORMAT_MAX = RGBA_F16,
};
CC_EXPORT int BitsPerPixel(ResourceFormat format);
« no previous file with comments | « cc/resources/platform_color_unittest.cc ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698