This header file provides definitions of the versions of the pervasive RDR-discoverable APIs used by this core RIP build. More...
This header file provides definitions of the versions of the pervasive RDR-discoverable APIs used by this core RIP build.
Copyright (C) 2022 Global Graphics Software Ltd. All rights reserved.
This source code contains the confidential and trade secret information of Global Graphics Software Ltd. It may not be used, copied or distributed for any reason except as set forth in the applicable Global Graphics license agreement.
The pervasive APIs declare shared extern pointers to the API structure which is discovered once and used in many places in the RIP. This header file should be included before any of the RDR-discoverable API headers, to declare the shared pointer to the API structure used by the function-spoofing API macros. The RIP references some other RDR-discoverable external APIs that are not listed here, but those APIs do not declare shared pointers and so do not need a common definition to avoid versioning conflicts.
Modules statically linked with the RIP may share the API pointers, however the APIs will not be initialised until SwInit() has been called. Modules not statically linked with the RIP may use the same, or different API versions, but must initialise their own API pointers.
The API libraries define pointers for all of the API structures supported by the library. Modules linked directly to the API library do not need to use RDR to discover the API, but do need to ensure that if there is an API init() function, it is called before the API is used.
This header file ONLY defines the pervasive RDR-discoverable API versions used by the RIP.