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 c6e5871f6f9c8bbd64b150f0e44c2f548ba5fd1f..8fadfdb983f22d84f9249e0b24c674081bd77921 100644 |
--- a/gpu/command_buffer/client/gpu_control.h |
+++ b/gpu/command_buffer/client/gpu_control.h |
@@ -79,7 +79,13 @@ class GPU_EXPORT GpuControl { |
// Attaches an external stream to the texture given by |texture_id| and |
// returns a stream identifier. |
- virtual uint32_t CreateStreamTexture(uint32_t texture_id) = 0; |
+ virtual int32 CreateStreamTexture(uint32_t texture_id) = 0; |
+ |
+ // Set the size to the external stream texture. |
+ virtual void SetStreamTextureSize(uint32 texture_id, |
+ int32 stream_id, |
+ size_t width, |
+ size_t height) = 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 |