summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.h
Commit message (Collapse)AuthorAgeFilesLines
* util: Move Mesa's bitset.h to util/.Eric Anholt2015-02-201-1/+1
| | | | Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
* dri/nouveau: Pass the API into _mesa_initialize_contextEmil Velikov2014-02-111-1/+2
| | | | | | | | | | | Currently we create a OPENGL_COMPAT context regardless of what was requested by the program. Correct that by retaining the program's request and passing it into _mesa_initialize_context. Based on a similar commit for radeon/r200 by Ian Romanick. Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* mesa/dri: Add basic plumbing for GLX_ARB_robustness reset notification strategyIan Romanick2013-11-071-1/+2
| | | | | | | | | | | No drivers advertise the DRI2 extension yet, so no driver should ever see a value other than false for notify_reset. The changes in nouveau use tabs because nouveau seems to have it's own indentation rules. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* nouveau/vieux: finish != flush, how about we do that..Ben Skeggs2012-05-121-0/+2
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nouveau/vieux: switch to libdrm_nouveau-2.0Ben Skeggs2012-04-141-15/+25
|
* dri2: Add plumbing to get context version requirements and flags to driversIan Romanick2012-01-021-1/+2
| | | | | | This adds support for DRI_DRI2 version 3 to all of the DRI2 drivers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* mesa: Re-add main/bitset.h to fix classic nouveau build failure.José Fonseca2011-12-281-0/+2
| | | | | | | | bitset.h is still used by classic nouveau -- see `git grep '\<BITSET_'` -- and the state stored is too big to fit in 64bit integers (it requires approximately 87 bits), so there is no obvious alternative here. This effecively reverts commit 196800d79829a420073f762fac90090a7b416d2d.
* mesa: Remove now unused main/bitset.h.Mathias Fröhlich2011-12-281-2/+0
| | | | Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
* dri/nouveau: Split out the scratch helpers to a separate file.Francisco Jerez2010-10-311-0/+2
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-6/+6
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-2/+2
|
* dri/nv10: Use fast Z clears.Francisco Jerez2010-09-301-0/+5
|
* nouveau: fix nouveau_create_context declerationDave Airlie2010-05-031-1/+2
|
* dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez2010-03-111-0/+2
| | | | | | Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead.
* dri/nouveau: Implement EXT_texture_from_pixmap.Francisco Jerez2010-02-251-9/+4
|
* dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez2010-02-171-2/+22
|
* Import a classic DRI driver for nv0x-nv2x.Francisco Jerez2010-02-041-0/+105
|
* nouveau: say goodbye to the old DRI driver...Stephane Marchesin2008-07-141-241/+0
|
* Refactor and fix core vblank supportJesse Barnes2007-10-291-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
* nouveau: move nv10 clear command, for usage by other gpuPatrice Mandin2007-10-061-3/+3
|
* nouveau: nv10: need to transpose mesa model+proj matrix for hwPatrice Mandin2007-09-041-3/+0
|
* nouveau: separate modelview and projection matrix updatesPatrice Mandin2007-09-031-3/+6
|
* nouveau: add hw-dependent function to update modelview*projection matrixPatrice Mandin2007-08-311-0/+6
|
* nouveau: nv10: only one color buffer atmPatrice Mandin2007-08-191-1/+1
|
* nouveau: store render buffer pointers in context, to access them when ↵Patrice Mandin2007-08-161-0/+4
| | | | clearing buffer
* nouveau: Keep drm channel alloc struct around.Ben Skeggs2007-08-151-18/+11
|
* nouveau: Always render offscreen, emulate front buffer rendering.Ben Skeggs2007-08-151-2/+5
|
* nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fboBen Skeggs2007-08-151-2/+2
|
* nouveau: Missing notifier -> notifierobj migrationCarlos Martín Nieto2007-08-081-2/+2
| | | | I missed this in the original migration.
* Play "nuke the typedef"Ben Skeggs2007-07-131-3/+3
|
* nouveau: match drm changes (0.0.7)Ben Skeggs2007-06-291-4/+7
|
* nouveau: NV30_TCL viewport/scissor fixesBen Skeggs2007-06-291-1/+1
|
* nouveau: update for drm interface changes (0.0.5)Ben Skeggs2007-03-211-0/+1
|
* nouveau: drm interface changesBen Skeggs2007-02-281-0/+2
|
* nouveau: a couple of NV3x fixesBen Skeggs2007-02-061-0/+1
|
* nouveau: initial GL_ARB_occlusion_query supportBen Skeggs2007-01-281-0/+5
| | | | | Only enabled on NV40, NV20/NV30 code is untested.. However, NV30 should be identical to NV40.
* nouveau: add nv04 state support, and small nv04 fixes.Stephane Marchesin2007-01-211-9/+9
|
* nouveau: Add clear color for nv10Patrice Mandin2007-01-131-1/+4
|
* nouveau: Initial buffer object supportBen Skeggs2006-12-271-0/+1
|
* nouveau: add nouveau_mem_alloc/free debuggingBen Skeggs2006-12-271-1/+2
|
* nouveau: Make use of NOUVEAU_DEBUG for shader disasmBen Skeggs2006-12-261-0/+5
|
* nouveau: Add notifier support functionsBen Skeggs2006-12-261-0/+4
|
* nouveau: maintain numClipRects/pClipRects in context.Ben Skeggs2006-12-231-0/+2
|
* Get nv10_swtcl.c working enough for glxgears on NV40.Ben Skeggs2006-12-161-0/+1
|
* Some work on buffer handling, most likely not entirely correct andBen Skeggs2006-12-081-0/+20
| | | | | 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-12/+0
|
* Incomplete shader stuff, should mostly work for NV40. Other cards, not soBen Skeggs2006-11-251-0/+7
| | | | much..
* Add the state caching mechanism. It seems to work, from what I can see.Stephane Marchesin2006-11-211-1/+4
|
* Use RENDERINPUTS macros to access render_inputs_bitsetBen Skeggs2006-11-171-1/+1
|
* Adapt FIFO code to deal with cases where the base GET/PUT value isn't 0.Ben Skeggs2006-11-171-0/+1
|