r300: Renamed the VBO functions to the R300 name format.

This commit is contained in:
Oliver McFadden 2007-05-08 21:04:57 +00:00
parent da37ac5ee7
commit c578354642
4 changed files with 6 additions and 6 deletions

View file

@ -215,7 +215,7 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual,
#endif
#ifdef HW_VBOS
if (hw_tcl_on) {
r300_init_vbo_funcs(&functions);
r300InitVBOFuncs(&functions);
}
#endif
if (!radeonInitContext(&r300->radeon, &functions,

View file

@ -929,8 +929,8 @@ extern void radeon_init_vtxfmt_a(r300ContextPtr rmesa);
#endif
#ifdef HW_VBOS
extern void r300_init_vbo_funcs(struct dd_function_table *functions);
extern void r300_evict_vbos(GLcontext *ctx, int amount);
extern void r300InitVBOFuncs(struct dd_function_table *functions);
extern void r300EvictVBOs(GLcontext *ctx, int amount);
#endif
#define RADEON_D_CAPTURE 0

View file

@ -442,7 +442,7 @@ static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
#ifdef HW_VBOS
if (dmabuf->id == 0) {
/* Just kick all */
r300_evict_vbos(rmesa->radeon.glCtx, /*RADEON_BUFFER_SIZE*16*/1<<30);
r300EvictVBOs(rmesa->radeon.glCtx, /*RADEON_BUFFER_SIZE*16*/1<<30);
dmabuf->id = radeon_mm_alloc(rmesa, 4, size);
}
#endif

View file

@ -618,7 +618,7 @@ static void r300DeleteBuffer(GLcontext *ctx, struct gl_buffer_object *obj)
_mesa_delete_buffer_object(ctx, obj);
}
void r300_evict_vbos(GLcontext *ctx, int amount)
void r300EvictVBOs(GLcontext *ctx, int amount)
{
r300ContextPtr rmesa = R300_CONTEXT(ctx);
struct _mesa_HashTable *hash = ctx->Shared->BufferObjects;
@ -649,7 +649,7 @@ void r300_evict_vbos(GLcontext *ctx, int amount)
}
void r300_init_vbo_funcs(struct dd_function_table *functions)
void r300InitVBOFuncs(struct dd_function_table *functions)
{
functions->NewBufferObject = r300NewBufferObject;
functions->BufferData = r300BufferData;