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

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

Issue 2148983002: gpu: Take surface handle into account when importing buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: avoid crash in DrmDeviceManager::GetDrmDevice when passed invalid widget Created 4 years, 5 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/command_buffer/tests/texture_image_factory.h
diff --git a/gpu/command_buffer/tests/texture_image_factory.h b/gpu/command_buffer/tests/texture_image_factory.h
index 3d2c1892e7e00756bffecd443620f472835bbd30..48838d3c7f219904586c546a9810ba4502bcfe6f 100644
--- a/gpu/command_buffer/tests/texture_image_factory.h
+++ b/gpu/command_buffer/tests/texture_image_factory.h
@@ -15,7 +15,8 @@ class TextureImageFactory : public gpu::ImageFactory {
const gfx::Size& size,
gfx::BufferFormat format,
unsigned internalformat,
- int client_id) override;
+ int client_id,
+ SurfaceHandle surface_handle) override;
scoped_refptr<gl::GLImage> CreateAnonymousImage(
const gfx::Size& size,
gfx::BufferFormat format,
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.cc ('k') | gpu/command_buffer/tests/texture_image_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698