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

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: fixing android_clang build error. 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
« no previous file with comments | « content/content_tests.gypi ('k') | gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc297dfc4d839a1e2b91a4afefd6d70adadb254f..56600908076a65b44d4d991ca00a64d371026475 100644
--- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
+++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
@@ -24,8 +24,8 @@ class CopyTextureCHROMIUMResourceManager {
void Initialize(const gles2::GLES2Decoder* decoder);
void Destroy();
- void DoCopyTexture(const gles2::GLES2Decoder* decoder,
- GLenum target, GLuint source_id, GLuint dest_id,
+ void DoCopyTexture(const gles2::GLES2Decoder* decoder, GLenum source_target,
+ GLenum dest_target, GLuint source_id, GLuint dest_id,
GLint level, GLsizei width, GLsizei height,
bool flip_y, bool premultiply_alpha,
bool unpremultiply_alpha);
@@ -37,7 +37,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_;
« no previous file with comments | « content/content_tests.gypi ('k') | gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698