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

Unified Diff: gpu/gles2_conform_support/egl/display.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: gpu/gles2_conform_support/egl/display.h
diff --git a/gpu/gles2_conform_support/egl/display.h b/gpu/gles2_conform_support/egl/display.h
index 15009033e8dce6f83b8a20220861bc0aa09a7da9..6727d36ab895ff7b57f3346c889cc2e9f3a0e4b6 100644
--- a/gpu/gles2_conform_support/egl/display.h
+++ b/gpu/gles2_conform_support/egl/display.h
@@ -95,7 +95,11 @@ class Display : private 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;

Powered by Google App Engine
This is Rietveld 408576698