summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-106-46/+114
| | | | debug) it's only used there.
* s/GLuint/GLbitfield/Brian Paul2006-10-101-2/+2
|
* If program is position invariant, set VERT_BIT_POS in InputsRead field.Brian Paul2006-10-101-2/+4
| | | | Fixes broken "OPTION NV_position_invariant".
* Use the mesa-provided texenv program rather than rolling our own.Keith Whitwell2006-10-104-1/+21
| | | | Turn on texture crossbar support.
* Updates for XCB. Bug 8560.Ian Romanick2006-10-091-1/+1
|
* added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)Brian Paul2006-10-091-1/+1
|
* Updates for XCB. Bug 8560.Brian Paul2006-10-092-2/+2
|
* Major clean up of MakeContextCurrentIan Romanick2006-10-071-151/+87
| | | | | | | | | Rearrange most of the internals of MakeContextCurrent. Put all of the code to bind the new context up front. If that is successful, unbind the old context. This saves a lot of code and removes some locking crazyiness. This patch has been tested for indirect rendering with glxinfo, glxgears, manywin, and wincopy.
* do not import arrays for generic arb attribs if the array is not enabled ↵Roland Scheidegger2006-10-071-2/+3
| | | | (same as for generic attribs for nv vp is already done). Since the requested stride is 16, otherwise the code would end up doing lots of unnecessary import work (in doom3, trans_4_GLfloat_4f_raw caused by that was by far the single most time-consuming function in the r200 driver, not importing the disabled arrays caused the cpu time spent in the driver to drop from 45% to 30%, though real-world gain was pretty minimal as it's not really cpu bound here in the first place).
* rewrite clear_rgba_buffer_with_masking()Brian Paul2006-10-061-8/+27
|
* deal with union/aliasing in convert_color_type()Brian Paul2006-10-061-24/+40
|
* rewrite of read_fast_rgba_pixels()Brian Paul2006-10-061-51/+37
|
* missing fileKeith Whitwell2006-10-051-0/+132
|
* Accelerate glBitmap with a color expand blit. Nice speedup for demosKeith Whitwell2006-10-057-5/+477
| | | | like 'fire' that display a help message or fps number this way.
* Quieten debug message.Keith Whitwell2006-10-051-1/+1
|
* eliminate rhw divide under some circumstancesKeith Whitwell2006-10-053-18/+32
|
* Quieten debug message.Keith Whitwell2006-10-051-0/+2
|
* Changes to generated code caused by the previous commits.Ian Romanick2006-10-0411-3592/+5159
|
* Fix the ordering of extensions.Ian Romanick2006-10-041-53/+53
|
* Keep indentation consistent with indent.Ian Romanick2006-10-043-72/+67
| | | | | | Remove code in the Python scripts that keeps the indentation of the generated code consistent for all cases. Instead, pass the generated code through the indent command. Unix tools for the win!
* Divide categories into four groups as they are processed from the XML. AddIan Romanick2006-10-042-129/+109
| | | | | | | | | | | | | an iterator to iterate over the categories in order, starting with "core" versions, then ARB extensions, then numbered non-ARB extensions, and finally unnumbered extensions. Use the new iterator in a couple places to ensure that output that is grouped by catgory is generated in a consistent order. More changes to the scripts are coming. The generated files will be committed one time after all the changes are in. Too bad we're not using GIT, or this would be easy. :(
* Add utility method client_supported_for_indirect.Ian Romanick2006-10-041-3/+10
| | | | | | | The new method client_supported_for_indirect is used to determine whether or not the client-side library supports the function for indirect rendering. The may or may not have associated protocol that needs to be generated (e.g., glVertexPointer does not, but glVertex3fv does).
* in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), ↵Brian Paul2006-10-041-1/+1
| | | | bug 8443
* use _swrast_span_default_color() in the disabled code tooBrian Paul2006-10-041-13/+1
|
* call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵Brian Paul2006-10-041-18/+7
| | | | comments
* minor formatting fixBrian Paul2006-10-041-1/+1
|
* Bugzilla 6242: [mach64] Use private DMA buffers (only)Felix Kuehling2006-10-024-23/+27
| | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=6242 Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271 Update to new mach64 DRM 2.0.0 with private DMA buffers. Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to MACH64_TIMEOUT times when EAGAIN is returned. Also handle EAGAIN in mach64FlushVerticesLocked.
* return null if no contextBrian Paul2006-10-021-2/+5
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-0140-117/+116
|
* i915: Fix wait for scheduled swap on secondary display.Michel Dänzer2006-09-291-0/+5
|
* updated protos for blend funcsBrian Paul2006-09-291-9/+12
|
* more changes for runtime renderbuffer depthsBrian Paul2006-09-295-747/+706
|
* include mipmap.hBrian Paul2006-09-291-0/+1
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-2911-1135/+1215
| | | | mipmap.c file.
* Synchronize drawable to the pipe where the bigger part can be visible.Michel Dänzer2006-09-281-0/+30
| | | | | This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
* Add new I830 SAREA fields.Michel Dänzer2006-09-281-0/+15
|
* Add helper function that returns the current vblank sequence of a drawable.Michel Dänzer2006-09-282-0/+23
|
* Add helper function to calculate the area of the intersection of two rectangles.Michel Dänzer2006-09-282-0/+15
|
* i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.Michel Dänzer2006-09-281-0/+4
|
* i915: Attempt to schedule buffer swap on target vertical blank when possible.Michel Dänzer2006-09-282-79/+122
| | | | | | | | | | | This has some advantages over the traditional way of first waiting for the target vertical blank and then emitting the buffer swap, e.g. * glXSwapBuffers returns immediately, only the next time the driver needs the hardware lock will it block until the target vertical blank. This should allow applications that don't intermix rendering and other processing to start processing for the next frame right away. * It's less likely to produce tearing.
* Add driGetVBlankInterval() helper function.Michel Dänzer2006-09-282-14/+27
| | | | | This can be used by drivers to determine the current swap interval of a drawable.
* driWaitForVBlank: Add support for secondary vertical blank.Michel Dänzer2006-09-282-2/+10
|
* Some restructuring of the driWaitForVBlank() code.Michel Dänzer2006-09-281-23/+27
| | | | | Also some minor fixes for detecting when the deadline is met or missed, in particular wrt wraparounds of the sequence number.
* Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer2006-09-2810-23/+37
| | | | | This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
* remove obsolete commentBrian Paul2006-09-271-1/+0
|
* Update to use the new XCB naming convention.Jeremy Kolb2006-09-262-177/+177
|
* Added function convertStringForXCB. Deals with the recent XCB naming ↵Jeremy Kolb2006-09-261-9/+25
| | | | | | convention switch. Updated the generated code to use the new XCB naming scheme.
* Remove r200 dependencyJerome Glisse2006-09-263-64/+2
| | | | | | Remove r200 dependency from the code as r200 merged driver never worked (right ?) and we want to clean the code.
* Remove r200 dependency.Jerome Glisse2006-09-261-15/+1
| | | | Remove r200*.h files dependency.
* Add GLSL preprocessor.Michal Krol2006-09-265-17/+1253
|