Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

__DRIextension Struct Reference

#include <dri_interface.h>

Data Fields

const charname
int version

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 104 of file dri_interface.h.


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

Generated on Fri Feb 10 06:19:57 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.