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

Unified Diff: content/common/gpu/stream_texture_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: content/common/gpu/stream_texture_android.cc
diff --git a/content/common/gpu/stream_texture_android.cc b/content/common/gpu/stream_texture_android.cc
index 805534c911f200defd3f9a5fc1863b6752a54030..ddf08cf0c6a712470a2eb3097f0c8b743f8632f5 100644
--- a/content/common/gpu/stream_texture_android.cc
+++ b/content/common/gpu/stream_texture_android.cc
@@ -65,7 +65,7 @@ int32 StreamTexture::Create(
StreamTexture::StreamTexture(GpuCommandBufferStub* owner_stub,
int32 route_id,
uint32 texture_id)
- : surface_texture_(new gfx::SurfaceTexture(texture_id)),
+ : surface_texture_(new gfx::SurfaceTexture(texture_id, false)),
size_(0, 0),
has_valid_frame_(false),
has_pending_frame_(false),

Powered by Google App Engine
This is Rietveld 408576698