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

Unified Diff: content/common/gpu/client/gl_helper.h

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/common/gpu/client/gl_helper.h
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
index fd9f83a9cf047a49603cd9611d49d4e80105549a..222dd9c4ec3cd193ec5489c04f6ddcba4dc0460b 100644
--- a/content/common/gpu/client/gl_helper.h
+++ b/content/common/gpu/client/gl_helper.h
@@ -53,13 +53,15 @@ class GLHelper {
// Creates a copy of the specified texture. |size| is the size of the texture.
WebKit::WebGLId CopyTexture(WebKit::WebGLId texture,
- const gfx::Size& size);
+ const gfx::Size& size,
+ WebKit::WebGLId texture_out = 0);
// Creates a scaled copy of the specified texture. |src_size| is the size of
// the texture and |dst_size| is the size of the resulting copy.
WebKit::WebGLId CopyAndScaleTexture(WebKit::WebGLId texture,
const gfx::Size& src_size,
- const gfx::Size& dst_size);
+ const gfx::Size& dst_size,
+ WebKit::WebGLId texture_out = 0);
// Returns the shader compiled from the source.
WebKit::WebGLId CompileShaderFromSource(const WebKit::WGC3Dchar* source,

Powered by Google App Engine
This is Rietveld 408576698