| 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 a761206b2ac297fd24b43d1a70822422b8c3148a..95fb2603faba2f0c0e2dfce92e8c4829987c0165 100644
|
| --- a/content/common/gpu/stream_texture_android.h
|
| +++ b/content/common/gpu/stream_texture_android.h
|
| @@ -12,6 +12,10 @@
|
| #include "ui/gl/android/surface_texture.h"
|
| #include "ui/gl/gl_image.h"
|
|
|
| +namespace ui {
|
| +class ScopedMakeCurrent;
|
| +}
|
| +
|
| namespace gfx {
|
| class Size;
|
| }
|
| @@ -54,6 +58,10 @@ class StreamTexture : public gl::GLImage,
|
| // GpuCommandBufferStub::DestructionObserver implementation.
|
| void OnWillDestroyStub() override;
|
|
|
| + scoped_ptr<ui::ScopedMakeCurrent> MakeStubCurrent();
|
| +
|
| + void UpdateTexImage();
|
| +
|
| // Called when a new frame is available for the SurfaceTexture.
|
| void OnFrameAvailable();
|
|
|
| @@ -84,6 +92,13 @@ class StreamTexture : public gl::GLImage,
|
| bool has_listener_;
|
| uint32 texture_id_;
|
|
|
| + unsigned framebuffer_;
|
| + unsigned vertex_shader_;
|
| + unsigned fragment_shader_;
|
| + unsigned program_;
|
| + unsigned vertex_buffer_;
|
| + int u_xform_location_;
|
| +
|
| base::WeakPtrFactory<StreamTexture> weak_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(StreamTexture);
|
| };
|
|
|