Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix problem with initial viewport/scissor size. | Brian | 2007-12-19 | 6 | -59/+79 |
| | | | | | | | | | | | If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer(). | ||||
* | convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET | Brian | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | remove obsolete TXP, add some sanity checks | Brian | 2007-12-19 | 1 | -2/+11 |
| | |||||
* | special-case PSIZE too | Brian | 2007-12-19 | 1 | -1/+6 |
| | |||||
* | move st_make_current() before buffer size check so renderbuffer alloc ↵ | Brian | 2007-12-19 | 1 | -2/+2 |
| | | | | storage works | ||||
* | new assertions | Brian | 2007-12-19 | 1 | -0/+3 |
| | |||||
* | 965: dump curbe contents to stderr | Keith Whitwell | 2007-12-19 | 1 | -2/+3 |
| | |||||
* | 965: handle BRW_CONSTANT_BUFFER data type | Keith Whitwell | 2007-12-19 | 1 | -0/+8 |
| | |||||
* | consts | Zack Rusin | 2007-12-19 | 3 | -12/+23 |
| | |||||
* | 965: count grf allocation correctly for wm prog, first aub triangle | Keith Whitwell | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | 965: hardwire correct behaviour for vp-tri setup (for now...) | Keith Whitwell | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | 965: align buffer allocations to 4k | Keith Whitwell | 2007-12-19 | 1 | -3/+3 |
| | |||||
* | 965: make sure stipple state gets uploaded | Keith Whitwell | 2007-12-19 | 4 | -35/+65 |
| | |||||
* | 965: allocate buffer space to hold batch commands | Keith Whitwell | 2007-12-19 | 1 | -1/+7 |
| | |||||
* | actually set the max_index. useful in the driver | Zack Rusin | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | 965: fill unused surface pointers with zero | Keith Whitwell | 2007-12-19 | 1 | -14/+4 |
| | |||||
* | i965: emit fb write on RET for now (until we get END back) | Zack Rusin | 2007-12-19 | 1 | -0/+4 |
| | |||||
* | 965: pitch is in bytes not pixels | Keith Whitwell | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | 965: fix off-by-one in scissor rect | Keith Whitwell | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | 965: fix off-by-one in surface dimensions | Keith Whitwell | 2007-12-19 | 1 | -11/+11 |
| | |||||
* | 965: respect surface width when dumping bitmap | Keith Whitwell | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | i965: actually detect whether a sampler is enabled/disabled | Zack Rusin | 2007-12-19 | 1 | -1/+2 |
| | |||||
* | 965: disable clipping more, and restore drawing rect packet | Keith Whitwell | 2007-12-19 | 1 | -1/+28 |
| | |||||
* | 965: disable clipping for now | Keith Whitwell | 2007-12-19 | 1 | -0/+5 |
| | |||||
* | 965: fix vertex pointsize state, match default cull mode | Keith Whitwell | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | 965: fix colormask state | Keith Whitwell | 2007-12-19 | 1 | -4/+4 |
| | |||||
* | 965: populate fp_input_count in setup key | Keith Whitwell | 2007-12-19 | 1 | -0/+4 |
| | |||||
* | i965: stuff the outputs into mrf registers when possible | Zack Rusin | 2007-12-19 | 1 | -3/+8 |
| | |||||
* | i965: be smarter about register allocation | Zack Rusin | 2007-12-19 | 1 | -8/+6 |
| | |||||
* | turn off TGSI_DEBUG | Brian | 2007-12-18 | 1 | -1/+1 |
| | |||||
* | fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path | Brian | 2007-12-18 | 1 | -1/+1 |
| | |||||
* | setup the frontface register (fog.y, ATM) | Brian | 2007-12-18 | 1 | -1/+7 |
| | |||||
* | fix some semantic info mix-ups in calculate_vertex_layout() | Brian | 2007-12-18 | 1 | -8/+4 |
| | |||||
* | gallium: rationalize vertex_element state packet | Keith Whitwell | 2007-12-18 | 5 | -51/+29 |
| | | | | | | | | Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope. | ||||
* | gallium: give userbuffers some storage in the aub buffer pool | Keith Whitwell | 2007-12-18 | 1 | -4/+9 |
| | |||||
* | vbo: unmap and remap immediate vbo before/after each draw. | Keith Whitwell | 2007-12-18 | 1 | -0/+16 |
| | | | | | | | | | | Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers. | ||||
* | i965: don't treat swz differently and upload vertex buffers | Zack Rusin | 2007-12-18 | 3 | -14/+24 |
| | |||||
* | obsolete | Brian | 2007-12-17 | 2 | -806/+0 |
| | |||||
* | updates for depth/stencil/alpha state | Brian | 2007-12-17 | 3 | -11/+11 |
| | |||||
* | Emit declarations for constants (references to the const buffer) | Brian | 2007-12-17 | 1 | -1/+57 |
| | |||||
* | i965: index the destination offset with regards to the current index | Zack Rusin | 2007-12-17 | 1 | -1/+1 |
| | |||||
* | i965: return false when the function fails, not succeeds | Zack Rusin | 2007-12-17 | 1 | -3/+2 |
| | |||||
* | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | 2007-12-17 | 37 | -553/+206 |
| | |||||
* | 965: remove dead state atom decls | Keith Whitwell | 2007-12-17 | 2 | -20/+0 |
| | |||||
* | 965: fix for non-indexed draw path | Keith Whitwell | 2007-12-17 | 1 | -2/+5 |
| | |||||
* | 965: fix/hack check for NULL texunit in state upload | Keith Whitwell | 2007-12-17 | 1 | -0/+3 |
| | |||||
* | 965: fix ExtDivide check | Keith Whitwell | 2007-12-17 | 1 | -1/+1 |
| | |||||
* | 965: put brw_constant_buffer atom directly in update list | Keith Whitwell | 2007-12-17 | 1 | -2/+1 |
| | |||||
* | switch on cpp instead of format | Brian | 2007-12-16 | 1 | -7/+7 |
| | |||||
* | rename some 'mesa' functions | Brian | 2007-12-15 | 2 | -38/+31 |
| |