| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
__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).

void * __DRIframebufferRec::dev_priv

Pointer to the driver's dev-priv structure.

int __DRIframebufferRec::dev_priv_size

Size of the driver's dev-priv structure.

int __DRIframebufferRec::height

Pixel height of the framebuffer.

int __DRIframebufferRec::size

Framebuffer size, in bytes.

int __DRIframebufferRec::stride

Number of bytes from one line to the next.

int __DRIframebufferRec::width

Pixel width of the framebuffer.

The documentation for this struct was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/dri_interface.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/internal/dri_interface.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines