63 virtual void lock()
const = 0;
81 virtual std::shared_ptr<ISurface>
createSurface( const ::basegfx::B2IVector& surfaceSize ) = 0;
Little RAII wrapper for guarding access to IRenderModule interface.
const std::shared_ptr< IRenderModule > mpRenderModule
RenderModuleGuard(const RenderModuleGuard &)=delete
RenderModuleGuard & operator=(const RenderModuleGuard &)=delete
RenderModuleGuard(std::shared_ptr< IRenderModule > xRenderModule)
Output module interface for backend render implementations.
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.
virtual ::basegfx::B2IVector getPageSize()=0
Maximal size of VRAM pages available.
PrimitiveType
Type of primitive passed to the render module via pushVertex()
virtual void endPrimitive()=0
Finish rendering a primitive.
virtual void unlock() const =0
Unlock rendermodule for concurrent access.
virtual void beginPrimitive(PrimitiveType eType)=0
Begin rendering the given primitive.
virtual bool isError()=0
Query error status.
virtual void lock() const =0
Lock rendermodule against concurrent access.