__DRIframebufferRec Struct Reference

#include <dri_interface.h>


Detailed Description

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.
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.

Definition at line 255 of file dri_interface.h.


Data Fields

unsigned char * base
 Framebuffer base address in the CPU's address space.
unsigned char * base
 Framebuffer base address in the CPU's address space.
void * dev_priv
 Pointer to the driver's dev-priv structure.
void * dev_priv
 Pointer to the driver's dev-priv structure.
int dev_priv_size
 Size of the driver's dev-priv structure.
int height
 Pixel height of the framebuffer.
int size
 Framebuffer size, in bytes.
int stride
 Number of bytes from one line to the next.
int width
 Pixel width of the framebuffer.

Field Documentation

unsigned char* __DRIframebufferRec::base

This value is calculated by calling drmMap on the framebuffer handle returned by XF86DRIGetDeviceInfo (or a similar function).

Definition at line 256 of file internal/dri_interface.h.

unsigned char* __DRIframebufferRec::base

This value is calculated by calling drmMap on the framebuffer handle returned by XF86DRIGetDeviceInfo (or a similar function).

Definition at line 256 of file dri_interface.h.

void* __DRIframebufferRec::dev_priv

Definition at line 267 of file internal/dri_interface.h.

void* __DRIframebufferRec::dev_priv

Definition at line 267 of file dri_interface.h.

int __DRIframebufferRec::dev_priv_size

Definition at line 266 of file dri_interface.h.

int __DRIframebufferRec::height

Definition at line 265 of file dri_interface.h.

int __DRIframebufferRec::size

Definition at line 262 of file dri_interface.h.

int __DRIframebufferRec::stride

Definition at line 263 of file dri_interface.h.

int __DRIframebufferRec::width

Definition at line 264 of file dri_interface.h.


The documentation for this struct was generated from the following files:
Generated on Sun Jul 29 04:04:42 2012 for TerraLib - Development Source by  doxygen 1.5.3