* memory pools
*/
DRM_LIGHT_LOCK(sPriv->fd, &sPriv->pSAREA->lock, driContextPriv->hHWContext);
- havePools = intelCreatePools(intelScreen);
+ havePools = intelCreatePools(sPriv);
DRM_UNLOCK(sPriv->fd, &sPriv->pSAREA->lock, driContextPriv->hHWContext);
if (!havePools)
return GL_FALSE;
GLboolean
-intelCreatePools(intelScreenPrivate *intelScreen)
+intelCreatePools(__DRIscreenPrivate * sPriv)
{
unsigned batchPoolSize = 1024*1024;
- __DRIscreenPrivate * sPriv = intelScreen->driScrnPriv;
+ intelScreenPrivate *intelScreen = sPriv->private;
if (intelScreen->havePools)
return GL_TRUE;
driParseOptionInfo(&intelScreen->optionCache,
__driConfigOptions, __driNConfigOptions);
- intelScreen->driScrnPriv = sPriv;
sPriv->private = (void *) intelScreen;
intelScreen->sarea = (drmI830Sarea *) (((GLubyte *) sPriv->pSAREA) +
int deviceID;
int drmMinor;
- __DRIscreenPrivate *driScrnPriv;
drmI830Sarea *sarea;
/**
unsigned checkDelayed);
extern GLboolean
-intelCreatePools(intelScreenPrivate *intelScreen);
+intelCreatePools(__DRIscreenPrivate *sPriv);
extern GLboolean
intelCreateContext(const __GLcontextModes * mesaVis,