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

Unified Diff: content/common/gpu/stream_texture_android.h

Issue 148513004: Android: Always update SurfaceTexture when used for draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | content/common/gpu/stream_texture_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/stream_texture_android.h
diff --git a/content/common/gpu/stream_texture_android.h b/content/common/gpu/stream_texture_android.h
index 50ab567d737130eed2fe9d7b7fa8b0a2b6e82c52..746ad59286cbbcf2923894a08bda0e655814857f 100644
--- a/content/common/gpu/stream_texture_android.h
+++ b/content/common/gpu/stream_texture_android.h
@@ -59,8 +59,11 @@ class StreamTexture : public gfx::GLImage,
// Current size of the surface texture.
gfx::Size size_;
- // Whether the surface texture has been updated.
- bool has_updated_;
+ // Whether we ever bound a valid frame.
+ bool has_valid_frame_;
+
+ // Whether a new frame is available that we should update to.
+ bool has_pending_frame_;
GpuCommandBufferStub* owner_stub_;
int32 route_id_;
« no previous file with comments | « no previous file | content/common/gpu/stream_texture_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698