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

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

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CreateStreamTexture Flow Change. Created 5 years, 6 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.h
diff --git a/content/common/gpu/stream_texture_android.h b/content/common/gpu/stream_texture_android.h
index c24d157f37ea2c64d3e3af594fb563b5139197de..e63f500fb501a726a9fd6a6384e0a6600bfd3e55 100644
--- a/content/common/gpu/stream_texture_android.h
+++ b/content/common/gpu/stream_texture_android.h
@@ -23,13 +23,13 @@ class StreamTexture : public gfx::GLImage,
public GpuCommandBufferStub::DestructionObserver {
public:
static bool Create(GpuCommandBufferStub* owner_stub,
- uint32 client_texture_id,
- int stream_id);
+ int32 image_id,
+ int32 stream_id);
private:
StreamTexture(GpuCommandBufferStub* owner_stub,
int32 route_id,
- uint32 texture_id);
+ int32 image_id);
~StreamTexture() override;
// gfx::GLImage implementation:
@@ -82,6 +82,7 @@ class StreamTexture : public gfx::GLImage,
GpuCommandBufferStub* owner_stub_;
int32 route_id_;
bool has_listener_;
+ GLint texture_id_;
base::WeakPtrFactory<StreamTexture> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(StreamTexture);

Powered by Google App Engine
This is Rietveld 408576698