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

Unified Diff: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h

Issue 11973010: AndroidVDA by using Android's MediaCodec API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using CopyTextureCHROMIUMResourceManager Created 7 years, 10 months 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/command_buffer/service/gles2_cmd_copy_texture_chromium.h
diff --git a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
index 933bf6592c44305db8d4fdbf5961124e34194c56..643370d3b477e374a6c664e890b6d6d8687128b0 100644
--- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
+++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
@@ -19,7 +19,7 @@ class CopyTextureCHROMIUMResourceManager {
void DoCopyTexture(GLenum target, GLuint source_id, GLuint dest_id,
GLint level, bool flip_y, bool premultiply_alpha,
- bool unpremultiply_alpha);
+ bool unpremultiply_alpha, bool is_source_external_oes);
// The attributes used during invocation of the extension.
static const GLuint kVertexPositionAttrib = 0;
@@ -28,7 +28,7 @@ class CopyTextureCHROMIUMResourceManager {
private:
bool initialized_;
- static const int kNumPrograms = 6;
+ static const int kNumPrograms = 12;
GLuint programs_[kNumPrograms];
GLuint buffer_ids_[2];
GLuint framebuffer_;

Powered by Google App Engine
This is Rietveld 408576698