return bo;
}
-
-
static void radeon_bo_wait(struct r300_winsys_bo *_buf)
{
struct radeon_bo *bo = get_radeon_bo(pb_buffer(_buf));
{
unsigned res = 0;
- if (bind & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER))
- res |= RADEON_PB_USAGE_CACHE;
-
if (domain & R300_DOMAIN_GTT)
res |= RADEON_PB_USAGE_DOMAIN_GTT;
#include "pipebuffer/pb_bufmgr.h"
#include "os/os_thread.h"
-#define RADEON_PB_USAGE_CACHE (1 << 28)
#define RADEON_PB_USAGE_DOMAIN_GTT (1 << 29)
#define RADEON_PB_USAGE_DOMAIN_VRAM (1 << 30)