aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nv10_context.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array.Paul Berry2014-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | These are replaced with ctx->Const.Program[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In patches to follow, this will allow us to replace a lot of ad-hoc logic with a variable index into the array. With the exception of the changes to mtypes.h, this patch was generated entirely by the command: find src -type f '(' -iname '*.c' -o -iname '*.cpp' -o -iname '*.py' \ -o -iname '*.y' ')' -print0 | xargs -0 sed -i \ -e 's/Const\.VertexProgram/Const.Program[MESA_SHADER_VERTEX]/g' \ -e 's/Const\.GeometryProgram/Const.Program[MESA_SHADER_GEOMETRY]/g' \ -e 's/Const\.FragmentProgram/Const.Program[MESA_SHADER_FRAGMENT]/g' Suggested-by: Brian Paul <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: move max texture image unit constants to gl_program_constantsMarek Olšák2013-05-111-1/+1
| | | | | | | | | | Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits etc. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* dri/nouveau: NV17_3D class is not available for NV1a chipsetMarcin Slusarz2013-03-051-1/+1
| | | | | | | | Should fix https://bugs.freedesktop.org/show_bug.cgi?id=60510 Note: this is a candidate for the stable branches Acked-by: Francisco Jerez <[email protected]>
* mesa: Use a single flag for the S3TC extensions that don't require on-line ↵Ian Romanick2013-01-231-1/+1
| | | | | | | | compression Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Acked-by: Lee Salzman <[email protected]>
* mesa: s/FREE/free/Brian Paul2012-09-011-1/+1
| | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* dri/nv10-nv20: Add support for S3TCViktor Novotný2012-05-021-0/+4
| | | | | Signed-off-by: Viktor Novotný <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* nouveau/vieux: switch to libdrm_nouveau-2.0Ben Skeggs2012-04-141-189/+200
|
* nouveau: stop using _DepthBuffer, _StencilBuffer fieldsBrian Paul2011-12-131-4/+5
| | | | Reviewed-by: Eric Anholt <[email protected]>
* dri/nouveau: Enable NV_fog_distance on NV10 and NV20 hardwareNicholas Miell2011-11-011-0/+1
| | | | | | | Add support for NV_fog_distance to the NV10 and NV20 drivers. [ Francisco Jerez: Fix fog coord. signedness for GL_EYE_RADIAL_NV/GL_EYE_PLANE on nv20 ]
* nouveau: Enable extensions by just setting the flagsIan Romanick2011-09-091-9/+5
| | | | | | | | | | | | | | | | | Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color, EXT_blend_minmax, and EXT_blend_subtract are explicitly added to the list. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Cc: Ben Skeggs <[email protected]> Reviewed-by: Francisco Jerez <[email protected]> Cc: Viktor Novotný <[email protected]>
* dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný2010-11-151-63/+64
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Split hardware/software TNL instantiation more cleanly.Francisco Jerez2010-11-111-2/+4
|
* dri/nouveau: Call _mesa_update_state() after framebuffer invalidation.Francisco Jerez2010-10-301-0/+4
| | | | | Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-11/+11
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-1/+1
|
* dri/nv10: Fake fast Z clears for pre-nv17 cards.Francisco Jerez2010-10-101-20/+110
|
* dri/nouveau: Minor cleanup.Francisco Jerez2010-10-101-1/+1
|
* dri/nv10: Use fast Z clears.Francisco Jerez2010-09-301-5/+40
|
* dri/nouveau: Add some more extensions.Francisco Jerez2010-09-161-0/+1
|
* dri/nv04: Don't expose ARB_texture_env_combine/dot3.Andrew Randrianasulu2010-09-161-0/+2
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Implement texcoord generation.Francisco Jerez2010-03-181-1/+1
|
* dri/nouveau: Implement texture matrices.Francisco Jerez2010-03-181-0/+4
|
* dri/nouveau: Remove some CI remnants.Francisco Jerez2010-03-041-1/+0
|
* dri/nouveau: Support rectangle textures.Francisco Jerez2010-02-251-0/+7
|
* dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez2010-02-171-9/+334
|
* Import a classic DRI driver for nv0x-nv2x.Francisco Jerez2010-02-041-0/+91