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

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: nits + comments 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
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..5990858afb15547b229a678d16948c76fcf2455b 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()));
+ new gfx::SurfaceTexture(texture->service_id(), false));
uint32 stream_id = next_id_++;
base::Closure release_callback =

Powered by Google App Engine
This is Rietveld 408576698