| 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..4bc9f478279996ac8c46df545cea49fc494e9de6 100644
|
| --- a/content/common/gpu/stream_texture_android.h
|
| +++ b/content/common/gpu/stream_texture_android.h
|
| @@ -22,14 +22,17 @@ class StreamTexture : public gfx::GLImage,
|
| public IPC::Listener,
|
| public GpuCommandBufferStub::DestructionObserver {
|
| public:
|
| - static bool Create(GpuCommandBufferStub* owner_stub,
|
| - uint32 client_texture_id,
|
| - int stream_id);
|
| + static bool CreateStreamTexture(GpuCommandBufferStub* owner_stub,
|
| + uint32 client_texture_id,
|
| + int stream_id);
|
| + static bool CreateStreamTextureImage(GpuCommandBufferStub* owner_stub,
|
| + int32 image_id,
|
| + int32 stream_id);
|
|
|
| private:
|
| StreamTexture(GpuCommandBufferStub* owner_stub,
|
| int32 route_id,
|
| - uint32 texture_id);
|
| + int32 texture_id);
|
| ~StreamTexture() override;
|
|
|
| // gfx::GLImage implementation:
|
| @@ -82,6 +85,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);
|
|
|