19 #ifndef MIR_RENDERER_GL_RENDER_TARGET_H_ 20 #define MIR_RENDERER_GL_RENDER_TARGET_H_ 47 virtual void bind() = 0;
AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: blob.h:26
virtual ~RenderTarget()=default
virtual void swap_buffers()=0
Swap buffers for OpenGL rendering.
Definition: render_target.h:29
RenderTarget & operator=(RenderTarget const &)=delete
virtual void release_current()=0
Releases the current GL render target.
virtual void bind()=0
Binds any necessary resources (fbos, textures if any) in preparation for drawing. ...
virtual void make_current()=0
Makes GL render target current to calling thread.