gallium/i965: Make brw_batchbuffer prototypes match in source & header
authorAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 20 Jan 2010 02:59:39 +0000 (18:59 -0800)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Thu, 21 Jan 2010 02:06:34 +0000 (18:06 -0800)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/i965/brw_batchbuffer.c
src/gallium/drivers/i965/brw_batchbuffer.h

index 22607dc6083def488039cf4748a430fda6865762..003b1fd5bf0f807be9fdc6bd8fe397587470152d 100644 (file)
@@ -155,7 +155,7 @@ _brw_batchbuffer_flush(struct brw_batchbuffer *batch,
 enum pipe_error
 brw_batchbuffer_emit_reloc(struct brw_batchbuffer *batch,
                           struct brw_winsys_buffer *buffer,
-                          uint32_t usage,
+                          enum brw_buffer_usage usage,
                           uint32_t delta)
 {
    int ret;
index 7473f5bea4d9cf8666b8fb9996ee796ac298ee9e..6ca9f617f5ea33056be62cf6382564c536a837d7 100644 (file)
@@ -64,12 +64,12 @@ brw_batchbuffer_reset(struct brw_batchbuffer *batch);
  * Consider it a convenience function wrapping multple
  * intel_buffer_dword() calls.
  */
-int brw_batchbuffer_data(struct brw_batchbuffer *batch,
+enum pipe_error brw_batchbuffer_data(struct brw_batchbuffer *batch,
                             const void *data, GLuint bytes,
                            enum cliprect_mode cliprect_mode);
 
 
-int brw_batchbuffer_emit_reloc(struct brw_batchbuffer *batch,
+enum pipe_error brw_batchbuffer_emit_reloc(struct brw_batchbuffer *batch,
                               struct brw_winsys_buffer *buffer,
                               enum brw_buffer_usage usage,
                               uint32_t offset);