summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_state.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove 'params' parameter from ctx->Driver.TexParameter()Brian Paul2016-10-131-2/+1
| | | | | | | | | | | None of the drivers which implement this hook do anything with the texture parameter value. Drivers just look at the pname and set a dirty flag if needed. We were doing some ugly casting and type conversion to setup the argument so that all goes away. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
* nouveau: Use bitmask/ffs to iterate enabled lightsMathias Fröhlich2016-06-161-4/+6
| | | | | | | | | | | | Replaces a loop that iterates all lights and test which of them is enabled by a loop only iterating over the bits set in the enabled bitmask. v2: Use _mesa_bit_scan{,64} instead of open coding. v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
* mesa: add support for GL_EXT_polygon_offset_clampIlia Mirkin2015-02-021-1/+1
| | | | | | | | | | Nothing enables the extension yet, but the values are now available. The spec calls for it to only be exposed for GL 3.3+, which is core-only in mesa. Instead we allow any driver to enable it, including in a compat context for any GL version. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
* nouveau: make sure to invalidate any vbo state as wellIlia Mirkin2014-08-161-0/+1
| | | | | | Reviewed-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: <mesa-stable@lists.freedesktop.org>
* mesa: remove target param from ctx->Driver.TexParameter()Brian Paul2014-02-021-1/+1
| | | | | | Not really used anywhere. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* nouveau: Use _NEW_SCISSOR instead of hooking through dd_function_tableIan Romanick2013-11-051-7/+3
| | | | | | | | This will enable removing the dd_function_table::Scissor hook in the near future. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
* nouveau: Use _NEW_VIEWPORT instead of hooking through dd_function_tableIan Romanick2013-11-051-14/+3
| | | | | | | | This will enable removing the dd_function_table::DepthRange hook in the near future. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
* nouveau: Add support for ARB_sampler_objectsPauli Nieminen2012-08-011-0/+7
| | | | | | | | | | | | ARB_sampler_objects is very simple software only extension to support. I want to make it a mandatory extension for Mesa drivers to allow the meta module to use it. This patch add support for the extension to nouveau. It is completely untested search and replace patch, except for flagging the texture state as needing to be recomputed when a sampler object is present. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
* dri/nouveau: Validate the framebuffer state on read buffer changes.Francisco Jerez2010-10-311-0/+7
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-40/+40
|
* dri/nouveau: Don't reemit the BO state in nouveau_state_emit().Francisco Jerez2010-09-161-2/+0
|
* dri/nouveau: Don't request a fake front unnecessarily.Francisco Jerez2010-09-161-7/+1
|
* dri/nouveau: Rectangle texture fixes.Francisco Jerez2010-03-221-0/+1
|
* dri/nouveau: Reemit the light model state when lighting goes on/off.Francisco Jerez2010-03-211-0/+1
|
* dri/nouveau: Implement texcoord generation.Francisco Jerez2010-03-181-1/+16
|
* dri/nouveau: Implement texture matrices.Francisco Jerez2010-03-181-0/+7
|
* dri/nouveau: Fix nv[12]x color sum.Francisco Jerez2010-03-071-0/+1
|
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-031-7/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* dri/nouveau: Try to validate textures earlier.Francisco Jerez2010-02-251-2/+2
|
* Import a classic DRI driver for nv0x-nv2x.Francisco Jerez2010-02-041-0/+532
|
* nouveau: say goodbye to the old DRI driver...Stephane Marchesin2008-07-141-368/+0
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-211-3/+3
|
* nouveau: init depth rangePatrice Mandin2007-09-061-0/+1
|
* nouveau: who needs nv03 ?Stephane Marchesin2007-09-041-3/+0
|
* nouveau: separate modelview and projection matrix updatesPatrice Mandin2007-09-031-8/+14
|
* nouveau: add hw-dependent function to update modelview*projection matrixPatrice Mandin2007-08-311-0/+17
|
* nouveau: nv10 and nv11,15 are differentPatrice Mandin2007-07-141-0/+1
|
* NV_17 is different from NV_10Patrice Mandin2007-07-061-0/+1
|
* nouveau: NV30_TCL viewport/scissor fixesBen Skeggs2007-06-291-2/+2
|
* nouveau: nv50: use nv50 statePatrice Mandin2007-02-031-1/+3
|
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-021-2/+1
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell2007-01-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
* | nouveau: add nv04 state support, and small nv04 fixes.Stephane Marchesin2007-01-211-1/+3
|/
* nouveau: Kill some compile warnings.Ben Skeggs2006-12-241-2/+0
|
* nouveau: maintain numClipRects/pClipRects in context.Ben Skeggs2006-12-231-12/+1
|
* nouveau: Don't fill nrb->dPriv for private buffersBen Skeggs2006-12-231-1/+1
|
* NV_44 uses nv30InitStateFuncs tooBen Skeggs2006-12-081-0/+1
|
* Some work on buffer handling, most likely not entirely correct andBen Skeggs2006-12-081-19/+23
| | | | | incomplete. But, it works well enough that windows can be moved/resized.
* Merge the pciid work. Use lock step versioning with the drm.Stephane Marchesin2006-12-031-1/+1
|
* Some missing state initBen Skeggs2006-11-221-0/+21
|
* Enable nv10 tcl statePatrice Mandin2006-11-211-1/+3
|
* Add the state caching mechanism. It seems to work, from what I can see.Stephane Marchesin2006-11-211-51/+53
|
* Add state initialization to context creation.Jeremy Kolb2006-11-201-1/+113
|
* Some work on nv30 state, heavily based on jkolb's workStephane Marchesin2006-11-111-14/+0
|
* Architect the DRI :Stephane Marchesin2006-11-051-1/+0
| | | | | | - make use of the autogenerated nouveau_reg.h file - add object creation to the DRI - some work on screen and context creation
* Rename nouveau_tris.* to nouveau_swtcl.*Stephane Marchesin2006-09-171-1/+1
|
* State changes.Jeremy Kolb2006-04-151-3/+86
|
* CleaningJeremy Kolb2006-04-141-4/+9
|
* Added the beginnings of state (not much there yet). Fixed some includes.Jeremy Kolb2006-04-141-0/+140