Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-12 | nouveau: ddx versioning changed | Ben Skeggs | |
2008-01-06 | Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes | Brian | |
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-06 | Simplify 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-01 | nouveau: ppc, swap fragment programs on big endian systems. | Dave Airlie | |
Thanks to the PS3 RSX project for figuring this out. | |||
2007-10-30 | More 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-29 | Refactor and fix core vblank support | Jesse 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-12 | Merge branch 'dri2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/i915/intel_screen.c | |||
2007-10-10 | Pull 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-10 | Drop __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-06 | nouveau: move nv10 clear command, for usage by other gpu | Patrice Mandin | |
2007-10-04 | nouveau: Replace removed device classes with their proper labels. | Maarten Maathuis | |
2007-09-20 | nouveau: add GeForce 7300 SE to card list | Dave Airlie | |
2007-09-19 | nouveau : 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-19 | nouveau : add OUT_RING_CACHE_FORCE* to add stuff in the cache even if the ↵ | Matthieu Castet | |
value didn't change | |||
2007-09-19 | nouveau : add GL_FOG_COLOR + fix a compil error | Matthieu Castet | |
2007-09-19 | nouveau: nv10: color logic op only for nv11+ | Patrice Mandin | |
2007-09-16 | nouveau : avoid vertex_size / 4 for each vertex ops | Matthieu Castet | |
2007-09-16 | nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes ↵ | Matthieu Castet | |
are float. | |||
2007-09-16 | nouveau : implement nv10_render_points | Matthieu Castet | |
2007-09-16 | nouveau : fix nv10_render functions | Matthieu 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-16 | nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patch | Matthieu Castet | |
2007-09-16 | nouveau : nv1x pos vertex attribute need to be the first in mesa. | Matthieu Castet | |
Swap it latter in order it match hw format. | |||
2007-09-15 | nouveau : use new nouveau_reg.h with correct Bracket in macro | Matthieu Castet | |
2007-09-14 | nouveau : check for nmesa->state_cache.atoms overflow | Matthieu Castet | |
2007-09-14 | nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE | Matthieu Castet | |
2007-09-13 | nouveau : diable broken light enable on nv10 | Matthieu Castet | |
2007-09-06 | nouveau: nv10: check NULL pointers | Patrice Mandin | |
2007-09-06 | nouveau: init depth range | Patrice Mandin | |
2007-09-06 | nouveau: nv10: replace macros by loop to set vertex attributes | Patrice Mandin | |
2007-09-06 | nouveau: need parenthesis around macro params, generator should be fixed | Patrice Mandin | |
2007-09-05 | nouveau: nv10: emit vertex data in proper order for nv1x hw | Patrice Mandin | |
2007-09-04 | nouveau: who needs nv03 ? | Stephane Marchesin | |
2007-09-04 | nouveau: nv10: need to transpose mesa model+proj matrix for hw | Patrice Mandin | |
2007-09-03 | nouveau: nv10: forgot function to set modelview matrix | Patrice Mandin | |
2007-09-03 | nouveau: separate modelview and projection matrix updates | Patrice Mandin | |
2007-08-31 | nouveau: nv10: remove setting projection matrix when scaling viewport | Patrice Mandin | |
2007-08-31 | nouveau: add hw-dependent function to update modelview*projection matrix | Patrice Mandin | |
2007-08-27 | nouveau: nv10: set total stride of vertex array for POS attribute | Patrice Mandin | |
2007-08-25 | nouveau: nv10: also set modelview0 matrix to identity | Patrice Mandin | |
2007-08-25 | nouveau: nv10: add a scissor func, do not cache viewport settings | Patrice Mandin | |
2007-08-25 | nouveau: nv10: properly set viewport and projection | Patrice Mandin | |
2007-08-22 | nouveau: nv10: set projection matrix from viewport size | Patrice Mandin | |
2007-08-22 | nouveau: nv10: initialize more of nv10 tcl engine | Patrice Mandin | |
2007-08-21 | nouveau: nv10: Move some initialization stuff | Patrice Mandin | |
2007-08-21 | nouveau: Use proper notifier object | Patrice Mandin | |
2007-08-21 | nouveau: nv10: Remove commented, unsupported by hw command | Patrice Mandin | |
2007-08-20 | Use correct object for GART | Patrice Mandin | |
2007-08-19 | nouveau: nv10: only one color buffer atm | Patrice Mandin | |
2007-08-16 | nouveau: nv10: clear a buffer | Patrice Mandin | |
2007-08-16 | nouveau: nv10: add function to clear a buffer | Patrice Mandin | |