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

Unified Diff: gpu/command_buffer/service/stream_texture_manager_in_process_android.cc

Issue 191933002: This is initial API support required for enabling SurfaceTexture backed zero-copy for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build issues Created 6 years, 9 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/common/gpu/stream_texture_android.cc ('k') | gpu/command_buffer/tests/gl_unittests_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
diff --git a/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc b/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
index 691e7ceabd86a31fe706f3f476315e181288b84b..534166b5eb518827f3ba4ba4a85a5bd415cfafce 100644
--- a/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
+++ b/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
@@ -83,7 +83,7 @@ GLuint StreamTextureManagerInProcess::CreateStreamTexture(
}
scoped_refptr<gfx::SurfaceTexture> surface_texture(
- new gfx::SurfaceTexture(texture->service_id()));
+ gfx::SurfaceTexture::Create(texture->service_id()));
uint32 stream_id = next_id_++;
base::Closure release_callback =
« no previous file with comments | « content/common/gpu/stream_texture_android.cc ('k') | gpu/command_buffer/tests/gl_unittests_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698