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

Unified Diff: gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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_memory_buffer_factory_io_surface.h
diff --git a/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h b/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h
index 0efd7ca34366c93740a0f3a33f7f61ce970b8009..f2792577b9f66f19d4a1e0648010594eb20838a5 100644
--- a/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h
+++ b/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h
@@ -57,6 +57,7 @@ class GPU_EXPORT GpuMemoryBufferFactoryIOSurface
scoped_refptr<gl::GLImage> CreateAnonymousImage(
const gfx::Size& size,
gfx::BufferFormat format,
+ gfx::BufferUsage usage,
unsigned internalformat) override;
unsigned RequiredTextureType() override;
bool SupportsFormatRGB() override;
« no previous file with comments | « gpu/ipc/common/gpu_command_buffer_traits_multi.h ('k') | gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698