diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-05-02 16:27:25 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-05-03 12:22:29 -0400 |
commit | ebb5228d18c06cdbf8bf0714690512c508c499f4 (patch) | |
tree | b38dceaa30ff181ba9e8346027028e7386d92674 | |
parent | df104eaa47ae0162253e2edc6f033e4f667852fd (diff) |
Update dri state tracker to use new API aware context create
-rw-r--r-- | src/gallium/state_trackers/dri/dri_context.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/dri_context.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri_context.c b/src/gallium/state_trackers/dri/dri_context.c index 908cef454e9..0c604de3716 100644 --- a/src/gallium/state_trackers/dri/dri_context.c +++ b/src/gallium/state_trackers/dri/dri_context.c @@ -43,7 +43,7 @@ #include "util/u_memory.h" GLboolean -dri_create_context(const __GLcontextModes * visual, +dri_create_context(gl_api api, const __GLcontextModes * visual, __DRIcontext * cPriv, void *sharedContextPrivate) { __DRIscreen *sPriv = cPriv->driScreenPriv; diff --git a/src/gallium/state_trackers/dri/dri_context.h b/src/gallium/state_trackers/dri/dri_context.h index 13f497462f7..4d7288853a2 100644 --- a/src/gallium/state_trackers/dri/dri_context.h +++ b/src/gallium/state_trackers/dri/dri_context.h @@ -35,6 +35,8 @@ #include "pipe/p_compiler.h" #include "drm.h" #include "dri_util.h" +#include "dri_wrapper.h" +#include "main/mtypes.h" struct pipe_context; struct pipe_fence; @@ -109,7 +111,8 @@ dri_make_current(__DRIcontext * driContextPriv, __DRIdrawable * driReadPriv); boolean -dri_create_context(const __GLcontextModes * visual, +dri_create_context(gl_api api, + const __GLcontextModes * visual, __DRIcontext * driContextPriv, void *sharedContextPrivate); |