Loading...
Searching...
No Matches
Public Attributes | List of all members
direct_buffer_info Struct Reference

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
 

Detailed Description

Direct butter info struct

Since
BeOS R3

Member Data Documentation

◆ _dd_token_

direct_buffer_info::_dd_token_

Reserved for future use.

Since
BeOS R3

◆ _dd_type_

direct_buffer_info::_dd_type_

Reserved for future use.

Since
BeOS R3

◆ _reserved

direct_buffer_info::_reserved[9]

Reserved for future use.

Since
BeOS R3

◆ bits

direct_buffer_info::bits

Pointer to the frame buffer in your team's memory space.

Since
BeOS R3

◆ bits_per_pixel

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.

Since
BeOS R3

◆ buffer_state

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
Since
BeOS R3

◆ bytes_per_row

direct_buffer_info::bytes_per_row

Number of bytes used to represent a single row of pixels in the frame buffer.

Since
BeOS R3

◆ clip_bounds

direct_buffer_info::clip_bounds

Bounding rectangle of the visible part of the content area of the window in screen coordinates.

Since
BeOS R3

◆ clip_list

direct_buffer_info::clip_list

List of rectangles that together define the visible region of the content area of the window in screen coordinates.

Since
BeOS R3

◆ clip_list_count

direct_buffer_info::clip_list_count

Number of rectangles in clip_list.

Since
BeOS R3

◆ driver_state

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.
Since
BeOS R3

◆ layout

direct_buffer_info::layout

Reserved for future use.

Since
BeOS R3

◆ orientation

direct_buffer_info::orientation

Reserved for future use.

Since
BeOS R3

◆ pci_bits

direct_buffer_info::pci_bits

Pointer to the frame buffer in the PCI memory space. This value is typically needed to control DMA.

Since
BeOS R3

◆ pixel_format

direct_buffer_info::pixel_format

The format used to encode a pixel as defined by the color_space type.

Since
BeOS R3

◆ window_bounds

direct_buffer_info::window_bounds

Rectangle that defines the full content area of the window in screen coordinates.

Since
BeOS R3