radeon/llvm: Add some comments and fix coding style
[mesa.git] / src / gallium / drivers / r300 / r300_screen_buffer.h
index ae87c4406a74723b6f4fe45dda04b345df3b1209..360ec509cc53d645b6f9259af3d2dfe7f7fa15b7 100644 (file)
@@ -32,7 +32,6 @@
 #include "util/u_transfer.h"
 
 #include "r300_screen.h"
-#include "r300_winsys.h"
 #include "r300_context.h"
 
 /* Functions. */
@@ -40,7 +39,7 @@
 void r300_upload_index_buffer(struct r300_context *r300,
                              struct pipe_resource **index_buffer,
                              unsigned index_size, unsigned *start,
-                             unsigned count);
+                             unsigned count, uint8_t *ptr);
 
 struct pipe_resource *r300_buffer_create(struct pipe_screen *screen,
                                         const struct pipe_resource *templ);
@@ -49,9 +48,6 @@ struct pipe_resource *r300_user_buffer_create(struct pipe_screen *screen,
                                              void *ptr, unsigned size,
                                              unsigned bind);
 
-unsigned r300_buffer_is_referenced(struct pipe_context *context,
-                                  struct pipe_resource *buf);
-
 /* Inline functions. */
 
 static INLINE struct r300_buffer *r300_buffer(struct pipe_resource *buffer)