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

Unified Diff: components/exo/buffer.cc

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos Created 3 years, 11 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 | « cc/resources/video_resource_updater.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 060c7e542d6092d9ab6e7134dc4ff071f996846a..c5c35b1a4761b27402b5aae69864d15007d411e3 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -286,7 +286,7 @@ gpu::SyncToken Buffer::Texture::CopyTexImage(Texture* destination,
gles2->BindTexture(texture_target_, texture_id_);
DCHECK_NE(image_id_, 0u);
gles2->BindTexImage2DCHROMIUM(texture_target_, image_id_);
- gles2->CopyTextureCHROMIUM(texture_id_, destination->texture_id_,
+ gles2->CopyTextureCHROMIUM(texture_id_, 0, destination->texture_id_, 0,
internalformat_, GL_UNSIGNED_BYTE, false, false,
false);
DCHECK_NE(query_id_, 0u);
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698