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

Unified Diff: cc/raster/raster_buffer_provider.cc

Issue 2786103003: Add half-float IOSurface GpuMemoryBuffer support (Closed)
Patch Set: Re-add software support Created 3 years, 9 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
Index: cc/raster/raster_buffer_provider.cc
diff --git a/cc/raster/raster_buffer_provider.cc b/cc/raster/raster_buffer_provider.cc
index bb49ae01a2b6c4184751f98ba30a3077ff75097b..c5f803e577f4a84c35f06d04ca244811d49cdede 100644
--- a/cc/raster/raster_buffer_provider.cc
+++ b/cc/raster/raster_buffer_provider.cc
@@ -27,7 +27,6 @@ bool IsSupportedPlaybackToMemoryFormat(ResourceFormat format) {
case RGBA_4444:
case RGBA_8888:
case BGRA_8888:
- case RGBA_F16:
Daniele Castagna 2017/03/30 21:47:10 I'm curious, why was this here in the first place?
ccameron 2017/03/30 23:07:03 I had added it when I added RGBA_F16 as a Resource
Daniele Castagna 2017/03/31 00:25:20 I didn't even know that Skia could do F16, that's
case ETC1:
return true;
case ALPHA_8:
@@ -35,6 +34,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') | gpu/command_buffer/common/gpu_memory_buffer_support.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698