summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2017-02-06 21:23:31 +1100
committerTimothy Arceri <tarceri@itsqueeze.com>2017-02-17 11:18:43 +1100
commit87009681a53436700a477c45cb13272fa4a881fd (patch)
tree4f115e5823b0ece8b173628c3fa3be3f08e85ff5
parent6602d0401c23211af122f4ef5a86acf5dd9665e7 (diff)
mesa: remove cache creation from _mesa_initialize_context()
We will change the way we create the cache directory in the following patches. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
-rw-r--r--src/mesa/main/context.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 16e25a9bc2..bbc13a9a42 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1230,8 +1230,6 @@ _mesa_initialize_context(struct gl_context *ctx,
memset(&ctx->TextureFormatSupported, GL_TRUE,
sizeof(ctx->TextureFormatSupported));
- ctx->Cache = disk_cache_create();
-
switch (ctx->API) {
case API_OPENGL_COMPAT:
ctx->BeginEnd = create_beginend_table(ctx);
@@ -1272,7 +1270,6 @@ fail:
free(ctx->BeginEnd);
free(ctx->OutsideBeginEnd);
free(ctx->Save);
- ralloc_free(ctx->Cache);
return GL_FALSE;
}
@@ -1340,8 +1337,6 @@ _mesa_free_context_data( struct gl_context *ctx )
free(ctx->Save);
free(ctx->ContextLost);
- ralloc_free(ctx->Cache);
-
/* Shared context state (display lists, textures, etc) */
_mesa_reference_shared_state(ctx, &ctx->Shared, NULL);