summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
AgeCommit message (Collapse)Author
2010-08-21nv50: Silence incompatible pointer type initialization warning.Vinson Lee
Silence the following GCC warning. warning: initialization from incompatible pointer type
2010-08-21nv50: Disable unused code.Vinson Lee
Disable release_hw and emit_mov_from_pred functions as they are currently not being used.
2010-08-20nv50: use NV50TIC_0_2_TARGET_RECTLuca Barbieri
2010-08-20gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT tooLuca Barbieri
Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
2010-08-11auxiliary: fix u_split_prim naming conventionLuca Barbieri
Current practice is to start identifiers with "util_" instead of "u_".
2010-08-11auxiliary: move Ben Skeggs' primitive splitter to common codeLuca Barbieri
This is a simple framework that handles splitting primitives in an abstract way. The user has to specify the primitive start, start index and count. Then, it can ask the primitive splitter to "draw" a chunk of the primitive, staying under a given vertex/index budget. The primitive splitter will then call user-supplied functions to emit a range of vertices/indices, as well as switch the edgeflag on or off. This is particularly useful for hardware that either has limits on the vertex count field, or where vertices are pushed on a FIFO or temporary buffer of limited size. Note that unlike other splitters, it does not manipulate data in any way, and merely asks a callback to do so, in vertex intervals.
2010-07-29gallium: Keep only pipe_context::draw_vbo.Chia-I Wu
That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements.
2010-07-29gallium: Implement draw_vbo and set_index_buffer for all drivers.Chia-I Wu
Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved.
2010-07-23nv50: implement depth clampChristoph Bumiller
2010-07-16nv50: s/__func__/__FUNCTION__/Vinson Lee
2010-06-09nv: fix compile after the latest gs changesZack Rusin
2010-06-09nv50: fix typo from gallium-msaa mergeBen Skeggs
2010-06-09nv50: use MARK_RING correctlyBen Skeggs
2010-06-08gallium: adjust the query interface to support custom typesZack Rusin
we need to change it to support composite types
2010-06-03nv50: Remove unnecessary header.Vinson Lee
2010-06-03gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
2010-05-29nv50: adapt to clear interface changesRoland Scheidegger
should support separate depth/stencil clears just fine.
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-20nv50: fixed other void pointer arithmetic errorsXavier Chantry
2010-05-20nv50: fix too long shader uploads by splitting themXavier Chantry
2010-05-20nv50: fill in shader limitsChristoph Bumiller
2010-05-19nv50: fix typo: s/_/./Brian Paul
2010-05-18gallium: implement set_sample_mask() in all driversRoland Scheidegger
prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither).
2010-05-17nouveau: adapt to interface changesRoland Scheidegger
this probably needs further cleanup (just getting a surface for the resource seems quite nonoptimal and potentially cause unnecessary copies I think)
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-05-12gallium: Make PIPE_CAP_xxx enums.José Fonseca
2010-05-05nouveau: only advertise PIPE_FORMAT_DXT* if s3tc availableXavier Chantry
2010-04-30nv50: raise constant buffers size to maximumChristoph Bumiller
Removed the param heaps, haven't been using them for a long time now.
2010-04-30nv50: relax restriction on surface_copy format equality a bitChristoph Bumiller
2010-04-30nv50: don't segfault on OPCODE_END for empty programsChristoph Bumiller
2010-05-17gallium: EXT_timer_query support.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-04-24nv50: Add to SCons build.Vinson Lee
2010-04-20nv50: make a working check for user memory vertex/index buffersChristoph Bumiller
2010-04-20nv50: fix FP result counting for depth outputChristoph Bumiller
2010-04-20nv50: support vertex index biasChristoph Bumiller
2010-04-20nv50: move declaration before codeBrian Paul
2010-04-20nv50: fixed void pointer arithment warningBrian Paul
2010-04-20gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul
2010-04-20nv50: add missing idxbias param to nv50_push_elements_instanced()Brian Paul
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-19nv50: Adapt for index bias interface change.José Fonseca
2010-04-19Merge branch '7.8'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
2010-04-19nv50: Fix include recursion.Vinson Lee
Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself).
2010-04-17nv50: Initialize variables.Vinson Lee
Silences GCC uninitialized variable warnings.
2010-04-17nv50: Remove unused variable.Vinson Lee
2010-04-17nv50: Remove redundant assignment.Vinson Lee
2010-04-15nouveau: replace vtxbuf/idxbuf caps with BO_ flags in nouveau_screen and fix ↵Luca Barbieri
uncached reads on nv3x Faster, simpler and more flexible. Also, we set those flags properly on nv3x so that we don't allocate buffers in GART. Since on AGP GART is uncached, OpenGL doesn't distinguish between vertex and index buffers, and we don't support hardware index buffers for now, this caused uncached reads. Also check bind and not usage for PIPE_BIND_* flags, got broken in the gallium-resources transition.