summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.c
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-10-12nouveau: Get larger push buffers.Francisco Jerez
Useful to amortize the command submission/reloc overhead (e.g. etracer goes from 72 to 109 FPS on nv4b).
2010-10-10dri/nouveau: Minor cleanup.Francisco Jerez
2010-09-30dri/nouveau: Remove unnecessary flush.Francisco Jerez
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick
As per discussions at XDS.
2010-09-21dri/nouveau: Cleanup more references to old FBOs and VBOs.Francisco Jerez
2010-09-16dri/nouveau: Cleanup references to the old FBOs on glMakeCurrent().Francisco Jerez
2010-09-16dri/nouveau: Don't request a fake front unnecessarily.Francisco Jerez
2010-09-16dri/nouveau: Add some more extensions.Francisco Jerez
2010-09-16dri/nv04: Don't expose ARB_texture_env_combine/dot3.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-09-09dri/nouveau: Expose EXT_texture_env_combine.Francisco Jerez
2010-09-09dri/nv10-nv20: Add support for NV_texture_env_combine4.Francisco Jerez
2010-09-08dri: Unset current context and dispatch table when unbindingKristian Høgsberg
Otherwise, when we switch to an indirect glx context and then back, it looks like we're still current. https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg
2010-03-22dri/nouveau: Expose EXT_framebuffer_blit.Francisco Jerez
2010-03-22dri/nouveau: Emit dirty states on nouveau_validate_framebuffer.Francisco Jerez
Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4).
2010-03-11dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez
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.
2010-03-07dri/nv04: GL_EXT_secondary_colorAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07dri/nouveau: Trivially add GL_NV_blend_squareAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Enable GL_EXT_stencil_wrap.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-25dri/nouveau: Implement EXT_texture_from_pixmap.Francisco Jerez
2010-02-17dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez
2010-02-16dri/nouveau: Use event driven buffer validation.Francisco Jerez
2010-02-04Import a classic DRI driver for nv0x-nv2x.Francisco Jerez
2008-07-14nouveau: say goodbye to the old DRI driver...Stephane Marchesin
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2007-10-30More vblank cleanups.Michel Dänzer
* Fix crash at context creation in most drivers supporting vblank. * Don't pass vblank sequence or flags to functions that get passed the drawable private already. * Attempt to initialize vblank related drawable private fields just once per drawable. May need more work in some drivers.
2007-10-29Refactor and fix core vblank supportJesse Barnes
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.
2007-10-06nouveau: move nv10 clear command, for usage by other gpuPatrice Mandin
2007-09-15nouveau : use new nouveau_reg.h with correct Bracket in macroMatthieu Castet
2007-09-04nouveau: who needs nv03 ?Stephane Marchesin
2007-09-04nouveau: nv10: need to transpose mesa model+proj matrix for hwPatrice Mandin
2007-09-03nouveau: separate modelview and projection matrix updatesPatrice Mandin
2007-08-31nouveau: add hw-dependent function to update modelview*projection matrixPatrice Mandin
2007-08-15nouveau: Remove ALLOW_MULTI_SUBCHANNEL hackBen Skeggs
Irrelevant, since we depend on working context switching now.
2007-08-15nouveau: Always render offscreen, emulate front buffer rendering.Ben Skeggs
2007-07-14nouveau: nv10 and nv11,15 are differentPatrice Mandin
2007-07-13Play "nuke the typedef"Ben Skeggs
2007-07-06NV_17 is different from NV_10Patrice Mandin
2007-06-29nouveau: match drm changes (0.0.7)Ben Skeggs
2007-03-21merge from masterBrian
2007-03-21nouveau: SwapBuffers() needs to perform a glFlush()Ben Skeggs
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-02-28nouveau: drm interface changesBen Skeggs
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-28nouveau: initial GL_ARB_occlusion_query supportBen Skeggs
Only enabled on NV40, NV20/NV30 code is untested.. However, NV30 should be identical to NV40.
2007-01-21nouveau: add nv04 state support, and small nv04 fixes.Stephane Marchesin