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

Unified Diff: gpu/command_buffer/tests/texture_image_factory.cc

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 1 month 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/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | media/gpu/vaapi_drm_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/texture_image_factory.cc
diff --git a/gpu/command_buffer/tests/texture_image_factory.cc b/gpu/command_buffer/tests/texture_image_factory.cc
index a2c26234dbab4d4195ffbc259d1403c461c1a80e..57ed6cfa540368b09160ff6bf4f5ef3bea484185 100644
--- a/gpu/command_buffer/tests/texture_image_factory.cc
+++ b/gpu/command_buffer/tests/texture_image_factory.cc
@@ -16,7 +16,7 @@ class TextureImage : public gl::GLImage {
gfx::Size GetSize() override { return size_; }
unsigned GetInternalFormat() override { return GL_RGBA; }
- bool BindTexImage(unsigned target) override {
+ bool BindTexImage(unsigned target, gl::GLFence* fence) override {
glTexImage2D(target,
0, // mip level
GetInternalFormat(), size_.width(), size_.height(),
« no previous file with comments | « gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | media/gpu/vaapi_drm_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698