summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-15gallium: don't rely on assert(0) for error handling - may be disabledKeith Whitwell
2008-02-15gallium: Emit point size as a constant.José Fonseca
2008-02-15gallium: Emit constants.José Fonseca
2008-02-15gallium: Allow draw_vf usage to be controlled at runtime.José Fonseca
2008-02-15gallium: Add extern keyword to global.José Fonseca
2008-02-15Cell: move cmd_render() into new spu_render.c fileBrian
2008-02-15Cell: add a few null texture testsBrian
2008-02-15Cell: compute min index referenced in draw command, use it to reduce size of ↵Brian
vertex data payload
2008-02-15Cell: minor optimization for flat shadingBrian
2008-02-15Cell: basic texture mappingBrian
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.
2008-02-15Cell: initial texture cache/sampling codeBrian
2008-02-15Cell: emit state in cell_clear_surface() if dirty.Brian
Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state.
2008-02-15Cell: re-enable bounding boxesBrian
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.
2008-02-15gallium: Use GALLIUM_ prefix for env vars.José Fonseca
2008-02-15gallium: Use CALLOC for pb_buffer to ensure that all fields of pipe_buffer ↵José Fonseca
are initiallized.
2008-02-15gallium: Remove direct dependencies to mesa internals.José Fonseca
_mesa_exec_free is still being called. More invasive refactoring is necessary to clean it out.
2008-02-15gallium: remove dead vars, codeKeith Whitwell
2008-02-15gallium: fix typos in hardwired fetch pathKeith Whitwell
2008-02-15Cell: additional assertionsBrian
2008-02-15Cell: make sure state commands aren't split across batchesBrian
2008-02-15Cell: remove unneeded flush(), dead codeBrian
2008-02-15Cell: clean-up of render pathBrian
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)...
2008-02-15Cell: checkpoint commit: always inline prim indexes into batch bufferBrian
Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place...
2008-02-15Cell: If flushing for swapbuffers, wait for frame completionBrian
2008-02-15Cell: additional debug code, misc clean-upBrian
2008-02-15Cell: generalize the batch buffer code for vertex buffers...Brian
2008-02-15gallium: check if surface has defined status in check_clear_depth_with_quad()Brian
This was part of Keith's patch from Friday.
2008-02-15gallium: handle flatshading explicitly in clipper stageKeith Whitwell
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.
2008-02-15gallium: add a couple of hardwired vertex fetch functionsKeith Whitwell
2008-02-15gallium: only call vertex/prim queue flush when there is something to flushKeith Whitwell
2008-02-15gallium: explictly cast double to float in vertex fetchKeith Whitwell
2008-02-15gallium: fill in missing formats for vertex_fetchKeith Whitwell
2008-02-15gallium: remove dead code from draw_vf*Keith Whitwell
2008-02-15First stab at hooking draw_vbuf & vf.José Fonseca
Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow).
2008-02-15Clone vf module.José Fonseca
2008-02-15gallium: Fix memory leak.Michal Krol
2008-02-15gallium: Fix memory leak.Michal Krol
2008-02-15gallium: Use align_free() to free aligned memories.Michal Krol
2008-02-15gallium: Fix build on Windows.Michal Krol
2008-02-15gallium: Use MALLOC().Michal Krol
2008-02-15gallium: Fix MSVC compiler warnings.José Fonseca
2008-02-14gallium: remove some debug assertions in vertex format validationBrian
If a fragment shader references an input for which there's no vertex shader output (ex: texcoord3), use vertex output 0 by default. Basically, the attribute's value will be undefined. The shader writer should never rely on undefined fragment shader inputs anyway.
2008-02-14gallium: rearrange vertex info/layout validationBrian
Delay validation until someone really needs the vertex layout (vbuf alloc vertex buffer or point/line/tri setup/rendering). This will allow the vertex size to change depending on whether we're drawing points, lines or triangles.
2008-02-14gallium: include draw_context.h to silence warningBrian
2008-02-14gallium: minor function renamingBrian
2008-02-14gallium: new tgsi_transform_shader() functionBrian
Used to apply transformations to TGSI shaders, such as register search and replace.
2008-02-14gallium: call draw_flush() in softpipe_flush()Brian
Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
2008-02-14gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().Brian
2008-02-14gallium: replace "interpolate" terminology with "eval" to better reflect ↵Brian
what's being done.
2008-02-14gallium: changes to polygon mode weren't detected in draw_unfilled stage.Brian
Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the front/back state is picked up.