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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.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/service/gpu_command_buffer_stub.cc
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc
index cd77436ff3b4c3c66cdbd44315e7b0a37d339949..c30df4b4c2cbe52805f1dfdc5f8bc5037deabf82 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
@@ -1132,8 +1132,8 @@ void GpuCommandBufferStub::OnCreateImage(
return;
}
- if (!gpu::IsGpuMemoryBufferFormatSupported(format,
- decoder_->GetCapabilities())) {
+ if (!gpu::IsImageFromGpuMemoryBufferFormatSupported(
+ format, decoder_->GetCapabilities())) {
LOG(ERROR) << "Format is not supported.";
return;
}

Powered by Google App Engine
This is Rietveld 408576698