Public Attributes | |
uint32 | _dd_token_ |
uint32 | _dd_type_ |
uint32 | _reserved [9] |
void * | bits |
uint32 | bits_per_pixel |
direct_buffer_state | buffer_state |
int32 | bytes_per_row |
clipping_rect | clip_bounds |
clipping_rect | clip_list [1] |
uint32 | clip_list_count |
direct_driver_state | driver_state |
buffer_layout | layout |
buffer_orientation | orientation |
void * | pci_bits |
color_space | pixel_format |
clipping_rect | window_bounds |
Direct butter info struct
direct_buffer_info::_dd_token_ |
Reserved for future use.
direct_buffer_info::_dd_type_ |
Reserved for future use.
direct_buffer_info::_reserved[9] |
Reserved for future use.
direct_buffer_info::bits |
Pointer to the frame buffer in your team's memory space.
direct_buffer_info::bits_per_pixel |
Number of bits actually used to store a single pixel, including reserved, unused, or alpha channel bits. This value is usually a multiple of eight.
direct_buffer_info::buffer_state |
State of the direct buffer access privileges. It can have one of the following values:
B_DIRECT_MODE_MASK
B_DIRECT_START
B_DIRECT_MODIFY
B_DIRECT_STOP
B_BUFFER_MOVED
B_BUFFER_RESET
B_BUFFER_RESIZED
B_CLIPPING_MODIFIED
direct_buffer_info::bytes_per_row |
Number of bytes used to represent a single row of pixels in the frame buffer.
direct_buffer_info::clip_bounds |
Bounding rectangle of the visible part of the content area of the window in screen coordinates.
direct_buffer_info::clip_list |
List of rectangles that together define the visible region of the content area of the window in screen coordinates.
direct_buffer_info::clip_list_count |
Number of rectangles in clip_list
.
direct_buffer_info::driver_state |
State of the graphics card on which your direct window is displayed. There are two possible values:
B_MODE_CHANGED
The resolution or color depth has changed.B_DRIVER_CHANGED
The window was moved onto another monitor.direct_buffer_info::layout |
Reserved for future use.
direct_buffer_info::orientation |
Reserved for future use.
direct_buffer_info::pci_bits |
Pointer to the frame buffer in the PCI memory space. This value is typically needed to control DMA.
direct_buffer_info::pixel_format |
The format used to encode a pixel as defined by the color_space
type.
direct_buffer_info::window_bounds |
Rectangle that defines the full content area of the window in screen coordinates.