Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

__DRIextensionRec Struct Reference

#include <dri_interface.h>

List of all members.

Detailed Description

Extension struct. Drivers 'inherit' from this struct by embedding it as the first element in the extension struct.

We never break API in for a DRI extension. If we need to change the way things work in a non-backwards compatible manner, we introduce a new extension. During a transition period, we can leave both the old and the new extension in the driver, which allows us to move to the new interface without having to update the loader(s) in lock step.

However, we can add entry points to an extension over time as long as we don't break the old ones. As we add entry points to an extension, we increase the version number. The corresponding define can be used to guard code that accesses the new entry points at compile time and the version field in the extension struct can be used at run-time to determine how to use the extension.

Definition at line 100 of file dri_interface.h.

Public Attributes

const char * name
int version

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

Generated by  Doxygen 1.6.0   Back to index