Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cell: add OPT_FLAGS var | Brian | 2008-01-28 | 1 | -2/+4 |
| | |||||
* | Cell: move cmd_render() into new spu_render.c file | Brian | 2008-01-28 | 5 | -203/+283 |
| | |||||
* | Cell: add a few null texture tests | Brian | 2008-01-28 | 2 | -4/+12 |
| | |||||
* | Cell: compute min index referenced in draw command, use it to reduce size of ↵ | Brian | 2008-01-28 | 3 | -6/+29 |
| | | | | vertex data payload | ||||
* | Cell: minor optimization for flat shading | Brian | 2008-01-28 | 1 | -9/+28 |
| | |||||
* | Cell: basic texture mapping | Brian | 2008-01-28 | 10 | -28/+183 |
| | | | | | | Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works. | ||||
* | Cell: initial texture cache/sampling code | Brian | 2008-01-28 | 2 | -0/+182 |
| | |||||
* | Cell: emit state in cell_clear_surface() if dirty. | Brian | 2008-01-28 | 1 | -0/+4 |
| | | | | | Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state. | ||||
* | Cell: re-enable bounding boxes | Brian | 2008-01-28 | 3 | -12/+24 |
| | | | | | | | | The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug. | ||||
* | gallium: Use GALLIUM_ prefix for env vars. | José Fonseca | 2008-01-29 | 1 | -1/+1 |
| | |||||
* | gallium: Use CALLOC for pb_buffer to ensure that all fields of pipe_buffer ↵ | José Fonseca | 2008-01-29 | 3 | -3/+4 |
| | | | | are initiallized. | ||||
* | gallium: Remove direct dependencies to mesa internals. | José Fonseca | 2008-01-29 | 4 | -64/+31 |
| | | | _mesa_exec_free is still being called. More invasive refactoring is necessary to clean it out. | ||||
* | gallium: remove dead vars, code | Keith Whitwell | 2008-01-28 | 1 | -3/+0 |
| | |||||
* | gallium: fix typos in hardwired fetch path | Keith Whitwell | 2008-01-28 | 1 | -2/+2 |
| | |||||
* | push out far clip plane to 200 | Brian | 2008-01-28 | 1 | -1/+1 |
| | |||||
* | Added d/D keys to change viewing distance, 'a' to toggle animation | Brian | 2008-01-28 | 1 | -6/+29 |
| | |||||
* | Cell: additional assertions | Brian | 2008-01-28 | 1 | -1/+4 |
| | |||||
* | Cell: make sure state commands aren't split across batches | Brian | 2008-01-28 | 1 | -11/+18 |
| | |||||
* | Cell: remove unneeded flush(), dead code | Brian | 2008-01-28 | 1 | -29/+1 |
| | |||||
* | Cell: clean-up of render path | Brian | 2008-01-28 | 4 | -148/+38 |
| | | | | | | Finally removed a number of unneeded flush commands. Vertex buffers are allocated from the general buffer pool, freed by SPUs when done. Still an occasional failed assertion (invalid batch buffer command)... | ||||
* | Cell: checkpoint commit: always inline prim indexes into batch buffer | Brian | 2008-01-28 | 4 | -66/+171 |
| | | | | | Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place... | ||||
* | Cell: If flushing for swapbuffers, wait for frame completion | Brian | 2008-01-28 | 1 | -0/+3 |
| | |||||
* | Cell: additional debug code, misc clean-up | Brian | 2008-01-28 | 2 | -12/+42 |
| | |||||
* | Cell: generalize the batch buffer code for vertex buffers... | Brian | 2008-01-28 | 7 | -57/+79 |
| | |||||
* | gallium: check if surface has defined status in check_clear_depth_with_quad() | Brian | 2008-01-28 | 1 | -1/+3 |
| | | | | This was part of Keith's patch from Friday. | ||||
* | gallium: handle flatshading explicitly in clipper stage | Keith Whitwell | 2008-01-28 | 2 | -47/+99 |
| | | | | | | | | | We can do a better job in the clip stage than just relying on the brute-force approach of copying colors to all incoming vertices applied in the flatshade stage. At very least, it is only necessary to do this in the clipper when a primitive is actually being clipped. | ||||
* | gallium: add a couple of hardwired vertex fetch functions | Keith Whitwell | 2008-01-28 | 3 | -30/+141 |
| | |||||
* | gallium: only call vertex/prim queue flush when there is something to flush | Keith Whitwell | 2008-01-28 | 3 | -4/+17 |
| | |||||
* | gallium: explictly cast double to float in vertex fetch | Keith Whitwell | 2008-01-28 | 1 | -1/+1 |
| | |||||
* | gallium: fill in missing formats for vertex_fetch | Keith Whitwell | 2008-01-28 | 1 | -17/+203 |
| | |||||
* | gallium: remove dead code from draw_vf* | Keith Whitwell | 2008-01-28 | 6 | -574/+9 |
| | |||||
* | First stab at hooking draw_vbuf & vf. | José Fonseca | 2008-01-28 | 5 | -46/+241 |
| | | | Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow). | ||||
* | Clone vf module. | José Fonseca | 2008-01-28 | 5 | -0/+2273 |
| | |||||
* | Simplify prototypes of draw_vbuf's internal functions. | José Fonseca | 2008-01-28 | 1 | -28/+29 |
| | |||||
* | Cache the vinfo in vbuf_stage. | José Fonseca | 2008-01-28 | 1 | -9/+13 |
| | |||||
* | Do refcounting trhoughout all buffer objects, since it is now a base ↵ | José Fonseca | 2008-01-27 | 5 | -9/+31 |
| | | | | requirement. | ||||
* | Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions. | José Fonseca | 2008-01-27 | 4 | -114/+99 |
| | |||||
* | Cell: added support for inlined vertex buffers. | Brian | 2008-01-26 | 3 | -39/+68 |
| | | | | Small prims are now self-contained in batch buffers when space allows. | ||||
* | Cell: added ROUNUP4 | Brian | 2008-01-26 | 1 | -0/+3 |
| | |||||
* | Cell: added support for inlined indexes | Brian | 2008-01-26 | 3 | -43/+114 |
| | | | | | If there's room in the batch buffer after the rendering command to accomodate the indexes, put them there rather than in a separate buffer. | ||||
* | Cell: added cell_batch_free_space() | Brian | 2008-01-26 | 2 | -0/+14 |
| | |||||
* | gallium: disable unnecessary point/line/tri re-validation in ↵ | Brian | 2008-01-26 | 1 | -0/+3 |
| | | | | vbuf_flush_indices() | ||||
* | Cell: remove some old tile code | Brian | 2008-01-26 | 1 | -4/+0 |
| | |||||
* | gallium: s/GLuint/unsigned/ to work with gallium when THREADS not defined | Brian | 2008-01-26 | 1 | -3/+3 |
| | |||||
* | gallium: fix a few segfaults/assertions that can happen during context init | Brian | 2008-01-26 | 1 | -5/+11 |
| | |||||
* | Cell: fix a recursive flushing bug | Brian | 2008-01-26 | 3 | -1/+22 |
| | |||||
* | Cell: add check to catch recursive batch flushing | Brian | 2008-01-26 | 1 | -0/+7 |
| | |||||
* | Cell: move ASSERT macro into common.h | Brian | 2008-01-26 | 2 | -9/+11 |
| | |||||
* | gallium: Aggregate all buffer allocation info into a single struct. Obey ↵ | José Fonseca | 2008-01-26 | 6 | -21/+52 |
| | | | | requested alignment. | ||||
* | gallium: Make mm buffer manager more portable. | José Fonseca | 2008-01-26 | 1 | -11/+309 |
| |