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

Unified Diff: cc/raster/raster_buffer_provider.cc

Issue 2786103003: Add half-float IOSurface GpuMemoryBuffer support (Closed)
Patch Set: Review feedback Created 3 years, 8 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 | « no previous file | cc/resources/resource_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_buffer_provider.cc
diff --git a/cc/raster/raster_buffer_provider.cc b/cc/raster/raster_buffer_provider.cc
index fe76a0a4204bb74e0efd460a92ea640529fc01fe..7b3dfc6710ff2a254cfb3f884a4593e4ae648aca 100644
--- a/cc/raster/raster_buffer_provider.cc
+++ b/cc/raster/raster_buffer_provider.cc
@@ -28,7 +28,6 @@ bool IsSupportedPlaybackToMemoryFormat(ResourceFormat format) {
case RGBA_4444:
case RGBA_8888:
case BGRA_8888:
- case RGBA_F16:
case ETC1:
return true;
case ALPHA_8:
@@ -36,6 +35,7 @@ bool IsSupportedPlaybackToMemoryFormat(ResourceFormat format) {
case RGB_565:
case RED_8:
case LUMINANCE_F16:
+ case RGBA_F16:
return false;
}
NOTREACHED();
« no previous file with comments | « no previous file | cc/resources/resource_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698