Toggles the behavior of polygon software fallback rendering
#include <gf/gf.h> void gf_context_set_hw_polygon( gf_context_t context, uint8_t hw_only );
If hardware-only polygon rendering is enabled, and the driver does not support the request polygon operation, then gf_draw_polyline() and gf_draw_poly_fill() will return GF_ERR_NOSUPPORT.
gf
Polygon draw operations should be able to avoid software rendering.
Ideally, gf_draw_polyline() and gf_draw_poly_fill() should have options to prevent software fallback polygon rendering however, when the software fallback was initially implemented, it should have been turned on. Instead, it was made the default behaviour.
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |