zenilib: __DRIdamageExtensionRec Struct Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
__DRIdamageExtensionRec Struct Reference

`#include <dri_interface.h>`

## Public Attributes

__DRIextension | base
void(* | reportDamage )(__DRIdrawable *draw, int x, int y, drm_clip_rect_t *rects, int num_rects, GLboolean front_buffer, void *loaderPrivate)

## Detailed Description

Definition at line 362 of file dri_interface.h.

## Member Data Documentation

__DRIextension __DRIdamageExtensionRec::base

Definition at line 363 of file dri_interface.h.

void(* __DRIdamageExtensionRec::reportDamage)(__DRIdrawable *draw, int x, int y, drm_clip_rect_t *rects, int num_rects, GLboolean front_buffer, void *loaderPrivate)

Reports areas of the given drawable which have been modified by the driver.

Parameters

  drawable | which the drawing was done to.
  rects | rectangles affected, with the drawable origin as the origin.
  x | X offset of the drawable within the screen (used in the front_buffer case)
  y | Y offset of the drawable within the screen.
  front_buffer | boolean flag for whether the drawing to the drawable was actually done directly to the front buffer (instead of backing storage, for example)
  loaderPrivate | the data passed in at createNewDrawable time

Definition at line 380 of file dri_interface.h.

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

- zenilib/jni/external/zenilib/zeni_graphics/GL/internal/dri_interface.h