diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-05-29 13:41:00 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-05-29 13:41:00 -0400 |
commit | 70a0301c5bd683646b08d32ad2fca4160295cd18 (patch) | |
tree | b7ec12e06d79e995f8bb6b14fba2786b5698008f /src | |
parent | 37c3731819f72e4ba688f3abc612c1ac6b3be663 (diff) |
Remove unused functions
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.c | 29 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.h | 14 |
2 files changed, 0 insertions, 43 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index cbb63ba1f9..8baaa6aca8 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -207,32 +207,6 @@ static void r600_init_vtbl(radeonContextPtr radeon) radeon->vtbl.fallback = r600_fallback; } -/* to be enabled */ -static GLboolean r600LoadMemSurf(context_t *context, - GLuint dst_offset, /* gpu addr */ - GLuint dst_pitch_in_pixel, - GLuint src_width_in_pixel, - GLuint height, - GLuint byte_per_pixel, - unsigned char* pSrc) /* source data */ -{ - return GL_TRUE; -} -/* to be enabled */ -static GLboolean r600AllocMemSurf(context_t *context, - void **ppmemBlock, - void **ppheap, - GLuint *prefered_heap, /* Now used RADEON_LOCAL_TEX_HEAP, return actual heap used. */ - GLuint totalSize) -{ - return GL_TRUE; -} - -/* to be enabled */ -static void r600MemUse(context_t *context, int id) -{ -} - /* Create the device specific rendering context. */ GLboolean r600CreateContext(const __GLcontextModes * glVisual, @@ -279,9 +253,6 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual, (r600->chipobj.InitFuncs)(&functions); r600->chipobj.EmitShader = r600EmitShader; r600->chipobj.DeleteShader = r600DeleteShader; - r600->chipobj.LoadMemSurf = r600LoadMemSurf; - r600->chipobj.AllocMemSurf = r600AllocMemSurf; - r600->chipobj.MemUse = r600MemUse; if (!radeonInitContext(&r600->radeon, &functions, glVisual, driContextPriv, diff --git a/src/mesa/drivers/dri/r600/r600_context.h b/src/mesa/drivers/dri/r600/r600_context.h index 2740c0a1f8..454cc7bad5 100644 --- a/src/mesa/drivers/dri/r600/r600_context.h +++ b/src/mesa/drivers/dri/r600/r600_context.h @@ -175,20 +175,6 @@ typedef struct chip_object char * szShaderUsage); GLboolean (*DeleteShader)(GLcontext * ctx, void * shaderbo); - void (*MemUse)(context_t *context, int id); - GLboolean (*LoadMemSurf)(context_t *context, - GLuint dst_offset, /* gpu addr */ - GLuint dst_pitch_in_pixel, - GLuint src_width_in_pixel, - GLuint height, - GLuint byte_per_pixel, - unsigned char* pSrc); /* source data */ - GLboolean (*AllocMemSurf)(context_t *context, - void **ppmemBlock, - void **ppheap, - GLuint *prefered_heap, - GLuint totalSize); - struct tnl_pipeline_stage **stages; } chip_object; |