Index: gpu/ipc/host/gpu_memory_buffer_support.h |
diff --git a/gpu/ipc/host/gpu_memory_buffer_support.h b/gpu/ipc/host/gpu_memory_buffer_support.h |
index 8dff0f6f3032f67b8abe5bfbf6e0a5a91da010da..14d396f527d169eee425b0f2d8fc538faa77fc17 100644 |
--- a/gpu/ipc/host/gpu_memory_buffer_support.h |
+++ b/gpu/ipc/host/gpu_memory_buffer_support.h |
@@ -37,6 +37,10 @@ bool AreNativeGpuMemoryBuffersEnabled(); |
// Returns the set of supported configurations. |
GpuMemoryBufferConfigurationSet GetNativeGpuMemoryBufferConfigurations(); |
+// Returns the OpenGL target to use for image textures. |
+uint32_t GetImageTextureTarget(gfx::BufferFormat format, |
+ gfx::BufferUsage usage); |
+ |
} // namespace gpu |
#endif // GPU_IPC_HOST_GPU_MEMORY_BUFFER_SUPPORT_H_ |