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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.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 | « gpu/ipc/in_process_command_buffer.cc ('k') | ui/gfx/buffer_format_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « gpu/ipc/in_process_command_buffer.cc ('k') | ui/gfx/buffer_format_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698