20 #ifndef FASTUIDRAW_PAINTER_ENGINE_HPP 21 #define FASTUIDRAW_PAINTER_ENGINE_HPP 24 #include <fastuidraw/util/rect.hpp> 153 clipping_via_hw_clip_planes(
void)
const;
161 clipping_via_hw_clip_planes(
bool v);
A GlyphAtlas is a common location to place glyph data of an application. Ideally, all glyph data is p...
A PainterEngine provides an interface to create Painter Backend derived objects.
render_type_t
Enumeration to specify the render target of a Surface.
GlyphAtlas & glyph_atlas(void) const
all classes and functions of FastUIDraw are in the namespace fastuidraw.
void register_shader(PainterItemShader *shader)
A wrapper over a pointer to implement reference counting.
ImageAtlas & image_atlas(void) const
A GlyphCache represents a cache of glyphs and manages the uploading of the data to a GlyphAtlas...
ColorStopAtlas & colorstop_atlas(void) const
virtual reference_counted_ptr< PainterBackend > create_backend(void) const =0
unsigned int number_context_textures(void) const
A ColorStopAtlas is a common location to all color stop data of an application. Ideally, all color stop sequences are placed into a single ColorStopAtlas (changes of ColorStopAtlas force draw-call breaks).
const ConfigurationBase & configuration_base(void) const
const PerformanceHints & hints(void) const
A PainterShaderRegistrar is an interface that defines the assigning of PainterShader::ID() to a Paint...
PainterShaderRegistrar & painter_shader_registrar(void) const
bool supports_bindless_texturing(void) const
A PainterShaderSet provides shaders for blending and drawing each of the item types glyphs...
virtual reference_counted_ptr< PainterSurface > create_surface(ivec2 dims, enum PainterSurface::render_type_t render_type)=0
ConfigurationBase & operator=(const ConfigurationBase &obj)
A ConfigurationBase holds properties common to all Painter Backend objects returned by PainterEngine:...
void register_shader(const T &v)
PainterEngine(reference_counted_ptr< GlyphAtlas > glyph_atlas, reference_counted_ptr< ImageAtlas > image_atlas, reference_counted_ptr< ColorStopAtlas > colorstop_atlas, reference_counted_ptr< PainterShaderRegistrar > shader_registrar, const ConfigurationBase &config, const PainterShaderSet &pdefault_shaders)
void swap(ConfigurationBase &obj)
Defines default reference counting base classes.
An ImageAtlas is a common location to place images of an application.
const PainterShaderSet & default_shaders(void) const
PerformanceHints & set_hints(void)
GlyphCache & glyph_cache(void) const