summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau
AgeCommit message (Collapse)Author
2008-02-12nouveau: ddx versioning changedBen Skeggs
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.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
2007-11-01nouveau: ppc, swap fragment programs on big endian systems.Dave Airlie
Thanks to the PS3 RSX project for figuring this out.
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-12Merge branch 'dri2'Kristian Høgsberg
Conflicts: src/mesa/drivers/dri/i915/intel_screen.c
2007-10-10Pull createNewScreen entry point into dri_util.c.Kristian Høgsberg
This pulls the top level createNewScreen entry point out of the drivers and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point. The change moves more logic into the common/ layer and changes the createNewScreen entry point to only be defined in one place.
2007-10-10Drop __DRInativeDisplay and pass in __DRIscreen pointers instead.Kristian Høgsberg
Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary.
2007-10-06nouveau: move nv10 clear command, for usage by other gpuPatrice Mandin
2007-10-04nouveau: Replace removed device classes with their proper labels.Maarten Maathuis
2007-09-20nouveau: add GeForce 7300 SE to card listDave Airlie
2007-09-19nouveau : nv1x use OUT_RING_CACHE_FORCE for ↵Matthieu Castet
NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX as strange results appear when the matrix is partialy updated.
2007-09-19nouveau : add OUT_RING_CACHE_FORCE* to add stuff in the cache even if the ↵Matthieu Castet
value didn't change
2007-09-19nouveau : add GL_FOG_COLOR + fix a compil errorMatthieu Castet
2007-09-19nouveau: nv10: color logic op only for nv11+Patrice Mandin
2007-09-16nouveau : avoid vertex_size / 4 for each vertex opsMatthieu Castet
2007-09-16nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes ↵Matthieu Castet
are float.
2007-09-16nouveau : implement nv10_render_pointsMatthieu Castet
2007-09-16nouveau : fix nv10_render functionsMatthieu Castet
use _tnl_RenderClipped helper functions that will call the right driver callback clean nv10_render_generic_primitive_elts to match nv10_render style
2007-09-16nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patchMatthieu Castet
2007-09-16nouveau : nv1x pos vertex attribute need to be the first in mesa.Matthieu Castet
Swap it latter in order it match hw format.
2007-09-15nouveau : use new nouveau_reg.h with correct Bracket in macroMatthieu Castet
2007-09-14nouveau : check for nmesa->state_cache.atoms overflowMatthieu Castet
2007-09-14nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANEMatthieu Castet
2007-09-13nouveau : diable broken light enable on nv10Matthieu Castet
2007-09-06nouveau: nv10: check NULL pointersPatrice Mandin
2007-09-06nouveau: init depth rangePatrice Mandin
2007-09-06nouveau: nv10: replace macros by loop to set vertex attributesPatrice Mandin
2007-09-06nouveau: need parenthesis around macro params, generator should be fixedPatrice Mandin
2007-09-05nouveau: nv10: emit vertex data in proper order for nv1x hwPatrice Mandin
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: nv10: forgot function to set modelview matrixPatrice Mandin
2007-09-03nouveau: separate modelview and projection matrix updatesPatrice Mandin
2007-08-31nouveau: nv10: remove setting projection matrix when scaling viewportPatrice Mandin
2007-08-31nouveau: add hw-dependent function to update modelview*projection matrixPatrice Mandin
2007-08-27nouveau: nv10: set total stride of vertex array for POS attributePatrice Mandin
2007-08-25nouveau: nv10: also set modelview0 matrix to identityPatrice Mandin
2007-08-25nouveau: nv10: add a scissor func, do not cache viewport settingsPatrice Mandin
2007-08-25nouveau: nv10: properly set viewport and projectionPatrice Mandin
2007-08-22nouveau: nv10: set projection matrix from viewport sizePatrice Mandin
2007-08-22nouveau: nv10: initialize more of nv10 tcl enginePatrice Mandin
2007-08-21nouveau: nv10: Move some initialization stuffPatrice Mandin
2007-08-21nouveau: Use proper notifier objectPatrice Mandin
2007-08-21nouveau: nv10: Remove commented, unsupported by hw commandPatrice Mandin
2007-08-20Use correct object for GARTPatrice Mandin
2007-08-19nouveau: nv10: only one color buffer atmPatrice Mandin
2007-08-16nouveau: nv10: clear a bufferPatrice Mandin
2007-08-16nouveau: nv10: add function to clear a bufferPatrice Mandin