mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
r300: Renamed the VBO functions to the R300 name format.
This commit is contained in:
parent
da37ac5ee7
commit
c578354642
4 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue