summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-01-06util: add comments to u_upload_mgr and u_inlinesMarek Olšák
2011-01-06tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dumpMarek Olšák
I also specified the array sizes in the header so that one can use the Elements macro on it.
2011-01-06gallium: drivers should reference vertex buffersMarek Olšák
So that a state tracker can unreference them after set_vertex_buffers.
2011-01-06u_upload_mgr: new featuresMarek Olšák
- Added a parameter to specify a minimum offset that should be returned. r300g needs this to better implement user buffer uploads. This weird requirement comes from the fact that the Radeon DRM doesn't support negative offsets. - Added a parameter to notify a driver that the upload flush occured. A driver may skip buffer validation if there was no flush, resulting in a better performance. - Added a new upload function that returns a pointer to the upload buffer directly, so that the buffer can be filled e.g. by the translate module.
2011-01-06u_upload_mgr: keep the upload buffer mapped until it is flushedMarek Olšák
The map/unmap overhead can be significant even though there is no waiting on busy buffers. There is simply a huge number of uploads. This is a performance optimization for Torcs, a car racing game.
2011-01-06nvc0: Fix typo of nvc0_mm.c in SConscript.Vinson Lee
2011-01-05st/xorg: Flesh out colour map support and support depth 8.Michel Dänzer
2011-01-04r600g: support up to 64 shader constantsAlex Deucher
From the r600 ISA: Each ALU clause can lock up to four sets of constants into the constant cache. Each set (one cache line) is 16 128-bit constants. These are split into two groups. Each group can be from a different constant buffer (out of 16 buffers). Each group of two constants consists of either [Line] and [Line+1] or [line + loop_ctr] and [line + loop_ctr +1]. For supporting more than 64 constants, we need to break the code into multiple ALU clauses based on what sets of constants are needed in that clause. Note: This is a candidate for the 7.10 branch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-04Merge remote branch 'origin/nvc0'Christoph Bumiller
2011-01-04nvc0: fix index size method value for u8 indicesChristoph Bumiller
2011-01-04nvc0: set the correct FP header bit for multiple colour outputsChristoph Bumiller
2011-01-04nvc0: delete memory caches and fence on screen destructionChristoph Bumiller
2011-01-04nvc0: use mov instead of ld for scalar const loadsChristoph Bumiller
2011-01-04nvc0: fix resource unmap after vertex pushChristoph Bumiller
2011-01-04nvc0: use the proper typed opcodes in constant foldingChristoph Bumiller
2011-01-04nvc0: demagic GP invocation count bitfieldChristoph Bumiller
2011-01-04nvc0: rewrite the 9097 GRAPH macrosChristoph Bumiller
2011-01-04i965g: include brw_types.h instead of GL/gl.hBrian Paul
Alternately, some search&replace could be used to replace all occurances of GLint with int, etc. in the driver.
2011-01-04llvmpipe: Include p_compiler.h in lp_scene_queue.h.Vinson Lee
Include p_compiler.h for boolean symbol.
2011-01-04llvmpipe: Include p_compiler.h in lp_perf.h.Vinson Lee
Include p_compiler.h for int64_t symbol.
2011-01-04llvmpipe: Include missing headers in lp_bld_depth.hVinson Lee
Include p_compiler.h for boolean symbol. Include p_state.h for pipe_stencil_state symbol.
2011-01-04llvmpipe: Include p_compiler.h in lp_bld_alpha.h.Vinson Lee
Include p_compiler.h for boolean symbol. Add forward declaration for gallivm_state struct.
2011-01-04i965g: Include p_compiler.h in intel_decode.h.Vinson Lee
Include p_compiler.h for uint32_t symbol.
2011-01-04i965g: Include gl.h in intel_structs.h.Vinson Lee
Include gl.h for OpenGL symbols.
2010-12-30util: Add forward declarations in u_index_modify.h.Vinson Lee
2010-12-30tgsi: Clean up header file inclusion in tgsi_text.h.Vinson Lee
2010-12-30graw: Include p_shader_tokens.h for tgsi_token struct.Vinson Lee
2010-12-30tgsi: Clean up header file inclusion in tgsi_sanity.h.Vinson Lee
2010-12-30drm/nvc0: don't un-bind every subchannel on initBen Skeggs
The initial values in the grctx are 0x0000 anyway, and re-binding them all to 0x0000 destroys some init done by the nouveau drm. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-29util: add a way to store translated indices to a user memory in u_index_modifyMarek Olšák
I am about to use the upload buffer in r300g instead.
2010-12-29r300g: support user buffers as constant buffersMarek Olšák
2010-12-28tgsi_dump: fix assert due to missing property name.Dave Airlie
2010-12-28r300g: rename aos to vertex arraysMarek Olšák
2010-12-28r300g: mark vertex arrays as dirty after a buffer_offset changeMarek Olšák
We shouldn't hit this bug in theory. NOTE: This is a candidate for the 7.10 branch.
2010-12-27nvc0: reference the vertex buffersChristoph Bumiller
2010-12-27nvc0: reenable some shader optimizationsChristoph Bumiller
CSE and constants folding.
2010-12-27nvc0: use VTX_ATTR for stride 0 vertex attributesChristoph Bumiller
2010-12-27nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller
2010-12-27nvc0: init miptree transfer layer strideChristoph Bumiller
2010-12-23nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINESChristoph Bumiller
2010-12-23nvc0: fix layer stride stateChristoph Bumiller
2010-12-23nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller
2010-12-21nvc0: remove unused 'buf' parameter in pipe_buffer_unmapBen Skeggs
2010-12-21nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of placesBen Skeggs
2010-12-21nvc0: fence.bo is mappable, mark it as suchBen Skeggs
2010-12-21Merge remote branch 'origin/master' into nvc0-newBen Skeggs
Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
2010-12-21nouveau: fix includes for latest libdrmBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-20r600g: properly unset vertex bufferJerome Glisse
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-20st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee
This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák