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

Unified Diff: gpu/ipc/service/stream_texture_android.cc

Issue 2051633002: StreamTextureImages can now override a Texture's service id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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/ipc/service/stream_texture_android.cc
diff --git a/gpu/ipc/service/stream_texture_android.cc b/gpu/ipc/service/stream_texture_android.cc
index 49ad894acc0d18cfaf7f6dcc67d4b5ecf93eac23..19a5220c8f18791e710449dfe1742d7d1421c03e 100644
--- a/gpu/ipc/service/stream_texture_android.cc
+++ b/gpu/ipc/service/stream_texture_android.cc
@@ -51,7 +51,7 @@ bool StreamTexture::Create(GpuCommandBufferStub* owner_stub,
GL_UNSIGNED_BYTE, gfx::Rect(size));
texture_manager->SetLevelStreamTextureImage(
texture, GL_TEXTURE_EXTERNAL_OES, 0, gl_image.get(),
- gles2::Texture::UNBOUND);
+ gles2::Texture::UNBOUND, 0);
return true;
}
@@ -195,7 +195,7 @@ bool StreamTexture::CopyTexImage(unsigned target) {
// CopyTexImage() is called each time the surface texture is used for
// drawing.
texture->SetLevelStreamTextureImage(GL_TEXTURE_EXTERNAL_OES, 0, this,
- gles2::Texture::UNBOUND);
+ gles2::Texture::UNBOUND, 0);
}
return true;
« no previous file with comments | « gpu/command_buffer/service/texture_manager_unittest.cc ('k') | media/gpu/android_deferred_rendering_backing_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698