zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
__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
drawablewhich the drawing was done to.
rectsrectangles affected, with the drawable origin as the origin.
xX offset of the drawable within the screen (used in the front_buffer case)
yY offset of the drawable within the screen.
front_bufferboolean flag for whether the drawing to the drawable was actually done directly to the front buffer (instead of backing storage, for example)
loaderPrivatethe 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: