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

Unified Diff: gpu/command_buffer/client/gpu_control.h

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/client/gpu_control.h
diff --git a/gpu/command_buffer/client/gpu_control.h b/gpu/command_buffer/client/gpu_control.h
index 75bd082a34da478b9247d294c050e2cb8c864fcb..288c5a3cd1343e82cd9a92971b0025725652768e 100644
--- a/gpu/command_buffer/client/gpu_control.h
+++ b/gpu/command_buffer/client/gpu_control.h
@@ -79,6 +79,8 @@ class GPU_EXPORT GpuControl {
// returns a stream identifier.
virtual uint32_t CreateStreamTexture(uint32_t texture_id) = 0;
+ virtual uint32_t CreateStreamTextureImage(int32_t image_id) = 0;
+
// Sets a lock this will be held on every callback from the GPU
// implementation. This lock must be set and must be held on every call into
// the GPU implementation if it is to be used from multiple threads. This

Powered by Google App Engine
This is Rietveld 408576698