summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_draw_arrays.c
AgeCommit message (Collapse)Author
2009-06-19softpipe: use u_reduced_prim()Brian Paul
2009-06-19softpipe: whitespace, reformattingBrian Paul
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-02-16Merge branch 'master' into gallium-texture-transferKeith Whitwell
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
2009-02-09softpipe: add null ptr check in softpipe_map_constant_buffers()Brian Paul
Fixes segfault regression in progs/glsl/identity.c
2009-02-05gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer
Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2008-09-04softpipe: Add missing include.José Fonseca
2008-09-04softpipe: Use pipe_buffer_* inlines as much as possible.José Fonseca
2008-06-20gallium: fix invalid call to draw_set_mapped_constant_buffer()Brian Paul
We were indexing sp_constants[i] outside the loop so i was 2. Replace i with PIPE_SHADER_VERTEX. Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
2008-05-29draw: make sure constant buffer data is aligned before passing to aos.cKeith Whitwell
2008-05-29draw: draw_range_elements trialKeith Whitwell
2008-05-01softpipe: use CPU flags for mappingKeith Whitwell
But when creating surfaces, adjust incoming flags from GPU->CPU usage.
2008-05-01gallium: tex surface checkpointKeith Whitwell
2008-04-24gallium: plug in softpipe_set_edgeflags() functionBrian Paul
2008-04-19softpipe: don't need to trim primsKeith Whitwell
2008-04-14gallium: take reduced prim, fill modes into account when cullingBrian Paul
2008-04-08gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-13gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.