driBOUnrefUserList(batch->list);
driBOResetList(batch->list);
- batch->size = 4 * 4096; // ZZZ JB batch->intel->intelScreen->maxBatchSize;
+ batch->size = batch->intel->intelScreen->max_batch_size;
driBOData(batch->buffer, batch->size, NULL, NULL, 0);
/*
DRM_BO_FLAG_MEM_TT,
DRM_BO_FLAG_EXE |
DRM_BO_FLAG_MEM_TT,
- 4 * 4096, //intelScreen->maxBatchSize,
- 1, 40, 16*16384, 0,
+ intelScreen->max_batch_size,
+ 1, 40, intelScreen->max_batch_size * 16, 0,
intelScreen->fMan);
#endif
intelScreen->havePools = GL_TRUE;
(*glx_enable_extension) (psc, "GLX_SGI_make_current_read");
}
-
+ intelScreen->max_batch_size = 16 * 4096;
#if 1 // ZZZ JB
intelScreen->mgr = driFenceMgrTTMInit(sPriv->fd);