~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/radeon/radeon_cmdbuf.h

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef COMMON_CMDBUF_H
2
2
#define COMMON_CMDBUF_H
3
3
 
4
 
#include "radeon_bocs_wrapper.h"
5
 
 
6
4
GLboolean rcommonEnsureCmdBufSpace(radeonContextPtr rmesa, int dwords, const char *caller);
7
5
int rcommonFlushCmdBuf(radeonContextPtr rmesa, const char *caller);
8
6
int rcommonFlushCmdBufLocked(radeonContextPtr rmesa, const char *caller);
62
60
        radeon_cs_write_dword(b_l_rmesa->cmdbuf.cs, __offset);  \
63
61
        radeon_cs_write_reloc(b_l_rmesa->cmdbuf.cs,             \
64
62
                              bo, rd, wd, flags);               \
65
 
        if (!b_l_rmesa->radeonScreen->kernel_mm)                \
66
 
                b_l_rmesa->cmdbuf.cs->section_cdw += 2;         \
67
63
        } while(0)
68
64
 
69
65
 
104
100
#define OUT_BATCH_REGSEQ(reg, count) \
105
101
        OUT_BATCH(cmdpacket0(b_l_rmesa->radeonScreen, (reg), (count)))
106
102
 
107
 
/** Write a 32 bit float to the ring; requires 1 dword. */
108
 
#define OUT_BATCH_FLOAT32(f) \
109
 
        OUT_BATCH(radeonPackFloat32((f)))
110
 
 
111
103
/* +r6/r7 : code here moved */
112
104
 
113
105
/* Fire the buffered vertices no matter what.