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

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

Issue 2014313002: StreamTextureImages can now override a Texture's service id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add SetLevelImageState 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 ae9673e4e01e5ff9e7e7d6ac59101bb77ffc8845..5754ec8f6fc8580579272d4d660db177ad068a4b 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;
}
@@ -198,7 +198,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