diff options
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_fb.h')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_fb.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_fb.h b/src/mesa/drivers/dri/unichrome/via_fb.h index 23fc861459..7ee153f474 100644 --- a/src/mesa/drivers/dri/unichrome/via_fb.h +++ b/src/mesa/drivers/dri/unichrome/via_fb.h @@ -27,12 +27,16 @@ #include "via_context.h" -extern GLboolean via_alloc_draw_buffer(viaContextPtr vmesa, viaBuffer *buf); -extern GLboolean via_alloc_dma_buffer(viaContextPtr vmesa); -extern GLboolean via_alloc_texture(viaContextPtr vmesa, viaTextureObjectPtr t); -extern GLboolean via_alloc_texture_agp(viaContextPtr vmesa, viaTextureObjectPtr t); +extern GLboolean via_alloc_draw_buffer(struct via_context *vmesa, struct via_buffer *buf); +extern GLboolean via_alloc_dma_buffer(struct via_context *vmesa); -extern void via_free_draw_buffer(viaContextPtr vmesa, viaBuffer *buf); -extern void via_free_dma_buffer(viaContextPtr vmesa); -extern void via_free_texture(viaContextPtr vmesa, viaTextureObjectPtr t); +struct via_tex_buffer * +via_alloc_texture(struct via_context *vmesa, + GLuint size, + GLuint memType); + +extern void via_free_draw_buffer(struct via_context *vmesa, struct via_buffer *buf); +extern void via_free_dma_buffer(struct via_context *vmesa); +extern void via_free_texture(struct via_context *vmesa, struct via_tex_buffer *t); +void via_release_pending_textures( struct via_context *vmesa ); #endif |