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

Unified Diff: gpu/ipc/client/command_buffer_proxy_impl.cc

Issue 2786103003: Add half-float IOSurface GpuMemoryBuffer support (Closed)
Patch Set: Rename IsGpuMemoryBufferFormatSupported, fix sw impl 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: gpu/ipc/client/command_buffer_proxy_impl.cc
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
index 7e342392ff51d7a591c5d3647019b6fc3d91b8da..09fd1f2881e9c6d9a1b3509b9396b20aeed10b15 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
@@ -515,8 +515,8 @@ int32_t CommandBufferProxyImpl::CreateImage(ClientBuffer buffer,
DCHECK_EQ(image_fence_sync, flushed_fence_sync_release_ + 1);
}
- DCHECK(gpu::IsGpuMemoryBufferFormatSupported(gpu_memory_buffer->GetFormat(),
- capabilities_));
+ DCHECK(gpu::IsImageFromGpuMemoryBufferFormatSupported(
+ gpu_memory_buffer->GetFormat(), capabilities_));
DCHECK(gpu::IsImageSizeValidForGpuMemoryBufferFormat(
gfx::Size(width, height), gpu_memory_buffer->GetFormat()));
DCHECK(gpu::IsImageFormatCompatibleWithGpuMemoryBufferFormat(

Powered by Google App Engine
This is Rietveld 408576698