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

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

Issue 1639183002: Report the SurfaceTexture tranform matrix to CC timely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send the matrix prior to FrameAvailable Created 4 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 e19fc1b321a23cff8c83892b195c7517fa2113e7..82d1a3f3cf0223994c5413db2e2ab0272850bddc 100644
--- a/content/common/gpu/stream_texture_android.h
+++ b/content/common/gpu/stream_texture_android.h
@@ -62,8 +62,6 @@ class StreamTexture : public gl::GLImage,
scoped_ptr<ui::ScopedMakeCurrent> MakeStubCurrent();
- void UpdateTexImage();
-
// Called when a new frame is available for the SurfaceTexture.
void OnFrameAvailable();
@@ -83,12 +81,6 @@ class StreamTexture : public gl::GLImage,
// Current size of the surface texture.
gfx::Size size_;
- // 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_t route_id_;
bool has_listener_;
« 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