TerraLib 4.1
__DRIframebufferRec Struct Reference

#include <dri_interface.h>

List of all members.

Public Attributes

unsigned char * base
int size
int stride
int width
int height
int dev_priv_size
void * dev_priv

Detailed Description

Framebuffer information record. Used by libGL to communicate information about the framebuffer to the driver's __driCreateNewScreen function.

In XFree86, most of this information is derrived from data returned by calling XF86DRIGetDeviceInfo.

See also:
XF86DRIGetDeviceInfo __DRIdisplayRec::createNewScreen __driUtilCreateNewScreen CallCreateNewScreen
Bug:
This structure could be better named.

Framebuffer information record. Used by libGL to communicate information about the framebuffer to the driver's __driCreateNewScreen function.

In XFree86, most of this information is derrived from data returned by calling XF86DRIGetDeviceInfo.

See also:
XF86DRIGetDeviceInfo __DRIdisplayRec::createNewScreen __driUtilCreateNewScreen CallCreateNewScreen
Bug:
This structure could be better named.

Member Data Documentation

unsigned char * __DRIframebufferRec::base

Framebuffer base address in the CPU's address space. This value is calculated by calling drmMap on the framebuffer handle returned by XF86DRIGetDeviceInfo (or a similar function).

Pointer to the driver's dev-priv structure.

Size of the driver's dev-priv structure.

Pixel height of the framebuffer.

Framebuffer size, in bytes.

Number of bytes from one line to the next.

Pixel width of the framebuffer.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines