aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 11:14:11 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:51 +0300
commitdd44f80f81344d0cbcb159f25e0c57a387d61cfa (patch)
treeaec756fc28c0f7cb074a8f5895728fa58a1ca0de /src/mesa/drivers
parentdda982f1a7f1b8f525894e01975e69b262696153 (diff)
mesa: remove FEATURE_APPLE_object_purgeable define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_buffer_objects.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index e1173fe79a2..f94c6f570ff 100644
--- a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
+++ b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
@@ -694,7 +694,6 @@ intel_bufferobj_copy_subdata(struct gl_context *ctx,
intel_batchbuffer_emit_mi_flush(intel);
}
-#if FEATURE_APPLE_object_purgeable
static GLenum
intel_buffer_purgeable(drm_intel_bo *buffer)
{
@@ -820,7 +819,6 @@ intel_render_object_unpurgeable(struct gl_context * ctx,
return intel_buffer_unpurgeable(intel->mt->region->bo);
}
-#endif
void
intelInitBufferObjectFuncs(struct dd_function_table *functions)
@@ -835,7 +833,6 @@ intelInitBufferObjectFuncs(struct dd_function_table *functions)
functions->UnmapBuffer = intel_bufferobj_unmap;
functions->CopyBufferSubData = intel_bufferobj_copy_subdata;
-#if FEATURE_APPLE_object_purgeable
functions->BufferObjectPurgeable = intel_buffer_object_purgeable;
functions->TextureObjectPurgeable = intel_texture_object_purgeable;
functions->RenderObjectPurgeable = intel_render_object_purgeable;
@@ -843,5 +840,4 @@ intelInitBufferObjectFuncs(struct dd_function_table *functions)
functions->BufferObjectUnpurgeable = intel_buffer_object_unpurgeable;
functions->TextureObjectUnpurgeable = intel_texture_object_unpurgeable;
functions->RenderObjectUnpurgeable = intel_render_object_unpurgeable;
-#endif
}