20 #ifndef FASTUIDRAW_COLORSTOP_ATLAS_HPP 21 #define FASTUIDRAW_COLORSTOP_ATLAS_HPP 91 resize(
int new_num_layers);
162 max_width(
void)
const;
168 backing_store(
void)
const;
185 lock_resources(
void);
196 unlock_resources(
void);
225 deallocate(
ivec2 location,
int width);
233 total_available(
void)
const;
ColorStopBackingStore(ivec2 wl)
ivec2 dimensions(void) const
all classes and functions of FastUIDraw are in the namespace fastuidraw.
void resize(int new_num_layers)
A wrapper over a pointer to implement reference counting.
A ColorStopArray is a sequence of ColorStop values used to define the color stops of a gradient...
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).
virtual void set_data(int x, int l, int w, c_array< const u8vec4 > data)=0
virtual void resize_implement(int new_num_layers)=0
Represents the interface for the backing store for the texels of a sequence of color stops...
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
Defines default reference counting base classes.
A ColorStopSequence is a ColorStopArray on a ColorStopAtlas. A ColorStopAtlas is backed by a 1D textu...
int width_times_height(void) const
file reference_counted.hpp