2 Copyright 2010-2011, The AROS Development Team. All rights reserved.
6 #ifndef P_AROS_VERSION_H
7 #define P_AROS_VERSION_H
10 This is AROS specific file used for versioning the Gallium3D interface.
11 Since the gallium interface (see DEVELOPMENT:include/gallium) on AROS is
12 exposed from gallium hidds to client modules (at this time mesa.library)
13 there is a need to make sure that the interface that hidd was compiled with
14 is the same as the interface the client was compiled with.
16 IMPORTANT: With each change of the gallium header files, this value needs to
17 be increased. The client will only use the gallium hidd if the versions
18 exactly match. This safety is implemented because the Gallium3D interface
19 is originally treated as internal and does not need to be backward
20 compatible. In fact, in most of the cases, changes made are not backward
23 If this value is not increased with each headers change, it will lead to
24 random crashes if client was compiled with different version of interface
27 This values is meant to be compiled in into each gallium hidd driver and
28 each gallium hidd driver client.
31 #define GALLIUM_INTERFACE_VERSION 5