gallium/dri: Move the backendVtable InitScreen func into __DRI_MESA.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
This commit is contained in:
Emma Anholt
2022-11-29 11:34:34 -08:00
committed by Marge Bot
parent 4dd656e19a
commit cdc7475f72
6 changed files with 20 additions and 50 deletions

View File

@@ -35,6 +35,8 @@ typedef struct __DRImesaCoreExtensionRec __DRImesaCoreExtension;
#define __DRI_MESA "DRI_Mesa"
#define __DRI_MESA_VERSION 1
struct dri_screen;
/** Core struct that appears alongside __DRI_CORE for Mesa-internal usage.
* Implemented in the top-level dri/drisw/kopper extension list.
*/
@@ -54,6 +56,9 @@ struct __DRImesaCoreExtensionRec {
* be -1.
*/
__DRIcreateNewScreen2Func createNewScreen;
/* driver function for finishing initialization inside createNewScreen(). */
const __DRIconfig **(*initScreen)(struct dri_screen *screen);
};
#endif /* MESA_INTERFACE_H */