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

Unified Diff: mojo/gles2/command_buffer_client_impl.h

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 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
Index: mojo/gles2/command_buffer_client_impl.h
diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h
index d04e73d203a69332f6e9fbdd76f634c9003a8797..fad997cdab7a8b537af0e31c338be679e13a3ac1 100644
--- a/mojo/gles2/command_buffer_client_impl.h
+++ b/mojo/gles2/command_buffer_client_impl.h
@@ -72,7 +72,11 @@ class CommandBufferClientImpl
const base::Closure& callback) override;
void SignalQuery(uint32 query, const base::Closure& callback) override;
void SetSurfaceVisible(bool visible) override;
- uint32 CreateStreamTexture(uint32 texture_id) override;
+ int32 CreateStreamTexture(uint32 texture_id) override;
+ void SetStreamTextureSize(uint32 texture_id,
+ int32 stream_id,
+ size_t width,
+ size_t height) override;
void SetLock(base::Lock*) override;
bool IsGpuChannelLost() override;
gpu::CommandBufferNamespace GetNamespaceID() const override;

Powered by Google App Engine
This is Rietveld 408576698