#include "util/u_memory.h"
-#include "pipe/p_error.h"
-
#include "brw_batchbuffer.h"
//#include "brw_decode.h"
#include "brw_reg.h"
#include "util/u_debug.h"
-#include "pipe/p_error.h"
-
#include "brw_types.h"
#include "brw_winsys.h"
#include "brw_reg.h"
**************************************************************************/
#include "pipe/p_context.h"
-#include "pipe/p_error.h"
#include "util/u_upload_mgr.h"
#include "util/u_math.h"
#include "util/u_pack_color.h"
-#include "pipe/p_error.h"
#include "pipe/p_state.h"
#include "brw_batchbuffer.h"
#define BRW_WINSYS_H
#include "pipe/p_compiler.h"
+#include "pipe/p_error.h"
struct brw_winsys;
struct pipe_fence_handle;
/* XXX: couldn't this be handled by returning true/false on
* bo_emit_reloc?
*/
- boolean (*check_aperture_space)( struct brw_winsys_screen *iws,
- struct brw_winsys_buffer **buffers,
- unsigned count );
+ enum pipe_error (*check_aperture_space)( struct brw_winsys_screen *iws,
+ struct brw_winsys_buffer **buffers,
+ unsigned count );
/**
* Map a buffer.
* Authors:
* Keith Whitwell <keith@tungstengraphics.com>
*/
-#include "pipe/p_error.h"
-
#include "tgsi/tgsi_info.h"
#include "brw_context.h"
#include "pipe/p_shader_tokens.h"
-#include "pipe/p_error.h"
#include "util/u_math.h"
#include "util/u_memory.h"
#include "util/u_memory.h"
#include "util/u_math.h"
+#include "pipe/p_error.h"
#include "pipe/p_context.h"
#include "xm_winsys.h"
return TRUE;
}
-static boolean
+static enum pipe_error
xlib_brw_check_aperture_space( struct brw_winsys_screen *iws,
struct brw_winsys_buffer **buffers,
unsigned count )
__FUNCTION__, count,
(tot_size + 1023) / 1024);
- return TRUE;
+ return PIPE_OK;
}
static void *