62 virtual void lock()
const = 0;
65 virtual void unlock()
const = 0;
80 virtual std::shared_ptr<ISurface>
createSurface( const ::basegfx::B2IVector& surfaceSize ) = 0;
virtual ::basegfx::B2IVector getPageSize()=0
Maximal size of VRAM pages available.
RenderModuleGuard & operator=(const RenderModuleGuard &)=delete
virtual std::shared_ptr< ISurface > createSurface(const ::basegfx::B2IVector &surfaceSize)=0
Create a (possibly hardware-accelerated) surface.
virtual void pushVertex(const Vertex &vertex)=0
Add given vertex to current primitive.
PrimitiveType
Type of primitive passed to the render module via pushVertex()
virtual bool isError()=0
Query error status.
virtual void lock() const =0
Lock rendermodule against concurrent access.
Little RAII wrapper for guarding access to IRenderModule interface.
virtual void unlock() const =0
Unlock rendermodule for concurrent access.
const std::shared_ptr< IRenderModule > mpRenderModule
virtual void beginPrimitive(PrimitiveType eType)=0
Begin rendering the given primitive.
RenderModuleGuard(const std::shared_ptr< IRenderModule > &rRenderModule)
Output module interface for backend render implementations.
virtual void endPrimitive()=0
Finish rendering a primitive.