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

Unified Diff: gpu/command_buffer/common/gpu_memory_buffer_support.h

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 | « content/browser/gpu/gpu_internals_ui.cc ('k') | gpu/command_buffer/common/gpu_memory_buffer_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gpu_memory_buffer_support.h
diff --git a/gpu/command_buffer/common/gpu_memory_buffer_support.h b/gpu/command_buffer/common/gpu_memory_buffer_support.h
index ad87b1d7ad0f676e819e5dac5aafe3b687c2cfb5..aa8c567dee0d4092f169810fe746b6d88e80a248 100644
--- a/gpu/command_buffer/common/gpu_memory_buffer_support.h
+++ b/gpu/command_buffer/common/gpu_memory_buffer_support.h
@@ -24,8 +24,9 @@ GPU_EXPORT bool IsImageFormatCompatibleWithGpuMemoryBufferFormat(
unsigned internalformat,
gfx::BufferFormat format);
-// Returns true if |format| is supported by |capabilities|.
-GPU_EXPORT bool IsGpuMemoryBufferFormatSupported(
+// Returns true if creating an image for a GpuMemoryBuffer with |format| is
+// supported by |capabilities|.
+GPU_EXPORT bool IsImageFromGpuMemoryBufferFormatSupported(
gfx::BufferFormat format,
const Capabilities& capabilities);
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | gpu/command_buffer/common/gpu_memory_buffer_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698