summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_render.c
AgeCommit message (Collapse)Author
2010-07-18r300g: u_upload optimisationDave Airlie
fix vb/ib uploads
2010-07-16r300g: Remove unnecessary header.Vinson Lee
2010-07-16r300g: rebuild winsys and command submission to support multiple contextsMarek Olšák
2010-07-13r300g: extend and clean up debug loggingMarek Olšák
2010-07-13r300g: rework the draw_rectangle hookMarek Olšák
It is a lot simplier, cleaner, and more stable now.
2010-07-12r300g: implement fast color clearMarek Olšák
An initial implementation made by Dave Airlie. For it to be used, a color-only clear must be invoked and exactly one point-sampled render target must be set. The render target must be macrotiled (for us to overcome alignment issues) and bpp must be either 16 or 32. I can't see a difference in performance. :( Conflicts: src/gallium/drivers/r300/r300_blit.c
2010-07-12r300g: clear and copy a resource with a rectangular point spriteMarek Olšák
With an ordinary quad, the pixels on the main diagonal are computed and stored twice, which is somewhat inefficient and might not work well with specialized clear codepaths.
2010-07-12r300g: do not use immediate mode if there is a VBO in VRAMMarek Olšák
And other minor fixups.
2010-06-26r300g: immediate mode cleanupMarek Olšák
2010-06-24r300g: move AA registers into the new AA stateMarek Olšák
2010-06-23r300g: index buffer range checkingMarek Olšák
2010-06-22r300g: optimize the immediate mode emission path a bitMarek Olšák
2010-06-17r300g: fix surface leaksMarek Olšák
2010-06-16r300g: Fix up resolve.Corbin Simpson
Yay for old code.
2010-06-16r300g: Finish resolve function.Corbin Simpson
2010-06-16r300g: Add resource resolve function.Corbin Simpson
2010-06-13r300g: replace r300_cs_info with simplier get_cs_free_dwordsMarek Olšák
2010-06-13r300g: move two-sided stencilref fallback to its own fileMarek Olšák
2010-06-13r300g: move index buffer translate functions to their new homeMarek Olšák
2010-06-13r300g: add fallback for unaligned/unsupported vertex stride/offset/formatMarek Olšák
There is a problem though, the translate module cannot emit half float vertices.
2010-06-08r300g: skip rendering for unsupported vertex formats instead of abortingMarek Olšák
The next step is to replace skipping by an actual fallback.
2010-06-06r300g: workaround index bias on chipsets that do not support itMarek Olšák
2010-06-02r300g: use the stored GEM domain in add_buffer/write_relocMarek Olšák
I admit blitting to/from GTT is actually enforced in this commit, texture transfers are now damned fast!
2010-06-02r300g: use r300_buffer_domain everywhereMarek Olšák
2010-05-27r300g: decouple drawing code and two-sided stencil refvalue fallbackMarek Olšák
It's now more separate from the rest of the driver and it can be disabled by commenting out just 1 line. Well, I couldn't make the previous version work with SW TCL reliably, that's the reason of this little rework.
2010-05-26r300g/swtcl: handle large index count properlyMarek Olšák
This fixes piglit/draw-elements.
2010-05-26r300g/swtcl: force vertex prefetching for non-indexed primitivesMarek Olšák
2010-05-26r300g/swtcl: move emitting AOS to prepare_for_renderingMarek Olšák
2010-05-26r300g/swtcl: vbo transfer sanity checksMarek Olšák
2010-05-26r300g: add get_cs_info winsys entrypoint, abandon check_csMarek Olšák
2010-05-25r300g: add r300_init_render_functions, remove r300_render.hMarek Olšák
2010-05-16r300g/swtcl: put emitting max index to the right placeMarek Olšák
This fixes CS rejections in openarena.
2010-05-16r300g/swtcl: flush draw to avoid the rejection of CSMarek Olšák
2010-05-16r300g/swtcl: call update_derived_state only once per draw-callMarek Olšák
2010-05-15r300g: Move code after declarations.Vinson Lee
Fixes SCons build.
2010-05-16r300g/swtcl: fix provoking vertexMarek Olšák
2010-05-15r300g: silence warningsMarek Olšák
2010-05-12r300g: Add VBO dumper for SW TCL.Corbin Simpson
Commented out, not easily enabled. *Very* noisy.
2010-05-12r300g: Immediate mode won't work with SW TCL right now.Corbin Simpson
This could be done later of course. SW TCL should have a much different threshold because it's much more worth it.
2010-05-08r300g: consolidate common render code into one functionMarek Olšák
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
2010-05-05gallium: rename draw() to draw_elements() in vbuf codeBrian Paul
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
2010-04-27r300g: compensate for non-atomized emit_query_end in the CSMarek Olšák
And reserve a little more space just in case.
2010-04-27r300g: reserve CS space for index offsetMarek Olšák
This has caused CS overflow since the commit 671f1e1229877d459cfd76e2cf5ea89c8d881036. TA3D works here again.
2010-04-26r300g: support index bias on r500 and DRM 2.3.0Marek Olšák
2010-04-26r300g: support rendering more than 65535 vertices in one batch on r500Marek Olšák
and disable batch splitting on these chipsets.
2010-04-26r300g: force prefetch for non-indexed verticesMarek Olšák
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-19r300g: Adapt for index bias interface change.José Fonseca
2010-04-18r300g: more solid is_buffer_referenced implementationMarek Olšák
This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
2010-04-18r300g: do not tell st that a buffer is referenced by hwMarek Olšák
It saves a few libdrm calls and unnecessary flushes.