Mesa (r6xx-rewrite): Remove unused functions
Alex Deucher
agd5f at kemper.freedesktop.org
Fri May 29 17:58:26 UTC 2009
Module: Mesa
Branch: r6xx-rewrite
Commit: 70a0301c5bd683646b08d32ad2fca4160295cd18
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70a0301c5bd683646b08d32ad2fca4160295cd18
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Fri May 29 13:41:00 2009 -0400
Remove unused functions
---
src/mesa/drivers/dri/r600/r600_context.c | 29 -----------------------------
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 cbb63ba..8baaa6a 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 2740c0a..454cc7b 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;
More information about the mesa-commit
mailing list