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

Unified Diff: components/mus/gles2/command_buffer_local.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: components/mus/gles2/command_buffer_local.h
diff --git a/components/mus/gles2/command_buffer_local.h b/components/mus/gles2/command_buffer_local.h
index 02ed8ea36277810a153be039f75270f2a5b2685f..08d1d01bca73ccdcf8ead1765d3cf2fe070a470b 100644
--- a/components/mus/gles2/command_buffer_local.h
+++ b/components/mus/gles2/command_buffer_local.h
@@ -68,7 +68,11 @@ class CommandBufferLocal : public gpu::GpuControl {
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;
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_local.cc » ('j') | content/common/gpu/stream_texture_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698