Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 8

disp_2d_caps_t

Description of your driver's 2D capabilities

Synopsis:

#include <draw.h>

typedef struct disp_2d_caps {
    int         size;
    unsigned    accel_flags;
    unsigned    flags;
    int         min_stride;
    int         max_stride;
    int         stride_gran;
    unsigned    poly_flags;
    unsigned    poly_max_points;
} disp_2d_caps_t;

Description:

The disp_2d_caps_t structure describes a driver's 2D capabilities. Your driver fills it in when the graphics framework calls the get_2d_caps() function defined in disp_draw_miscfuncs_t.

The disp_2d_caps_t structure includes the following members:

size
The size of this structure, in bytes.
accel_flags
Flags (defined in <draw.h>) describing which draw operations are performed with hardware acceleration:
flags
Flags (also defined in <draw.h>) describing miscellaneous properties of the 2D renderer:
min_stride
The minimum stride that a 2D surface can be.
max_stride
The maximum stride that a 2D surface can be.
stride_gran
A value that the stride of the 2D surface must be a multiple of.
poly_flags
Polygon classes that can be handled:
poly_max_points
The maximum number of points in a single polygon that the hardware can handle.

Classification:

Neutrino

See also:

disp_draw_miscfuncs_t


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 255

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/graphics/disp_2d_caps_t.html on line 255