public IPC::Listener,
public GpuCommandBufferStub::DestructionObserver {
public:
- static int32 Create(GpuCommandBufferStub* owner_stub,
- uint32 client_texture_id);
+ static bool Create(GpuCommandBufferStub* owner_stub,
+ uint32 client_texture_id,
+ int stream_id);
private:
StreamTexture(GpuCommandBufferStub* owner_stub,
virtual ~StreamTexture();
// gfx::GLImage implementation:
- virtual void Destroy() OVERRIDE;
+ virtual void Destroy(bool have_context) OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
+ virtual bool BindTexImage(unsigned target) OVERRIDE;
+ virtual void ReleaseTexImage(unsigned target) OVERRIDE;
+ virtual bool CopyTexImage(unsigned target) OVERRIDE;
virtual void WillUseTexImage() OVERRIDE;
virtual void DidUseTexImage() OVERRIDE {}
+ virtual void WillModifyTexImage() OVERRIDE {}
+ virtual void DidModifyTexImage() OVERRIDE {}
+ virtual bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
+ int z_order,
+ gfx::OverlayTransform transform,
+ const gfx::Rect& bounds_rect,
+ const gfx::RectF& crop_rect) OVERRIDE;
// GpuCommandBufferStub::DestructionObserver implementation.
virtual void OnWillDestroyStub() OVERRIDE;