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

Unified Diff: content/renderer/pepper/pepper_compositor_host.cc

Issue 475123003: [PPAPI] Add target param for CompositorLayer::SetTexture(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review issues Created 6 years, 4 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 | « no previous file | ppapi/api/ppb_compositor_layer.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_compositor_host.cc
diff --git a/content/renderer/pepper/pepper_compositor_host.cc b/content/renderer/pepper/pepper_compositor_host.cc
index f7e32b65f48de819fd60bb8961091c2eb7382b58..6116a36be4180153f766ce0e78013d4c5f0873c5 100644
--- a/content/renderer/pepper/pepper_compositor_host.cc
+++ b/content/renderer/pepper/pepper_compositor_host.cc
@@ -252,7 +252,7 @@ void PepperCompositorHost::UpdateLayer(
if (!old_layer ||
new_layer->common.resource_id != old_layer->common.resource_id) {
cc::TextureMailbox mailbox(new_layer->texture->mailbox,
- GL_TEXTURE_2D,
+ new_layer->texture->target,
new_layer->texture->sync_point);
texture_layer->SetTextureMailbox(mailbox,
cc::SingleReleaseCallback::Create(
« no previous file with comments | « no previous file | ppapi/api/ppb_compositor_layer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698