return GL_TRUE;
}
+
void
intelDestroyContext(__DRIcontextPrivate * driContextPriv)
{
assert(intel); /* should never be null */
if (intel) {
- GLboolean release_texture_heaps;
-
st_flush(intel->st);
- //intel->vtbl.destroy(intel);
-
- release_texture_heaps = (ctx->Shared->RefCount == 1);
-
intel_batchbuffer_free(intel->batch);
if (intel->last_swap_fence) {
intel->first_swap_fence = NULL;
}
-
- if (release_texture_heaps) {
- /* This share group is about to go away, free our private
- * texture object data.
- */
- }
-
st_destroy_context2(intel->st);
}
}
GLboolean
intelUnbindContext(__DRIcontextPrivate * driContextPriv)
{
- struct intel_context *intel = (struct intel_context *) driContextPriv->driverPrivate;
+ struct intel_context *intel
+ = (struct intel_context *) driContextPriv->driverPrivate;
st_flush(intel->st);
return GL_TRUE;
}