zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
__DRItexOffsetExtensionRec Struct Reference

#include <dri_interface.h>

Public Attributes

__DRIextension base
 
void(* setTexOffset )(__DRIcontext *pDRICtx, GLint texname, unsigned long long offset, GLint depth, GLuint pitch)
 

Detailed Description

Definition at line 206 of file dri_interface.h.

Member Data Documentation

__DRIextension __DRItexOffsetExtensionRec::base

Definition at line 207 of file dri_interface.h.

void(* __DRItexOffsetExtensionRec::setTexOffset)(__DRIcontext *pDRICtx, GLint texname, unsigned long long offset, GLint depth, GLuint pitch)

Method to override base texture image with a driver specific 'offset'. The depth passed in allows e.g. to ignore the alpha channel of texture images where the non-alpha components don't occupy a whole texel.

For GLX_EXT_texture_from_pixmap with AIGLX.

Definition at line 216 of file dri_interface.h.


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