summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-10-10a step toward moving run-time vertex program state out of GLcontextBrian Paul
2006-10-10Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul
debug) it's only used there.
2006-10-10s/GLuint/GLbitfield/Brian Paul
2006-10-10If program is position invariant, set VERT_BIT_POS in InputsRead field.Brian Paul
Fixes broken "OPTION NV_position_invariant".
2006-10-10Use the mesa-provided texenv program rather than rolling our own.Keith Whitwell
Turn on texture crossbar support.
2006-10-09Updates for XCB. Bug 8560.Ian Romanick
2006-10-09added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)Brian Paul
2006-10-09Updates for XCB. Bug 8560.Brian Paul
2006-10-07Major clean up of MakeContextCurrentIan Romanick
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.
2006-10-07do not import arrays for generic arb attribs if the array is not enabled ↵Roland Scheidegger
(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).
2006-10-06rewrite clear_rgba_buffer_with_masking()Brian Paul
2006-10-06deal with union/aliasing in convert_color_type()Brian Paul
2006-10-06rewrite of read_fast_rgba_pixels()Brian Paul
2006-10-05missing fileKeith Whitwell
2006-10-05Accelerate glBitmap with a color expand blit. Nice speedup for demosKeith Whitwell
like 'fire' that display a help message or fps number this way.
2006-10-05Quieten debug message.Keith Whitwell
2006-10-05eliminate rhw divide under some circumstancesKeith Whitwell
2006-10-05Quieten debug message.Keith Whitwell
2006-10-04Changes to generated code caused by the previous commits.Ian Romanick
2006-10-04Fix the ordering of extensions.Ian Romanick
2006-10-04Keep indentation consistent with indent.Ian Romanick
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!
2006-10-04Divide categories into four groups as they are processed from the XML. AddIan Romanick
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. :(
2006-10-04Add utility method client_supported_for_indirect.Ian Romanick
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).
2006-10-04in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), ↵Brian Paul
bug 8443
2006-10-04use _swrast_span_default_color() in the disabled code tooBrian Paul
2006-10-04call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵Brian Paul
comments
2006-10-04minor formatting fixBrian Paul
2006-10-02Bugzilla 6242: [mach64] Use private DMA buffers (only)Felix Kuehling
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.
2006-10-02return null if no contextBrian Paul
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-09-29i915: Fix wait for scheduled swap on secondary display.Michel Dänzer
2006-09-29updated protos for blend funcsBrian Paul
2006-09-29more changes for runtime renderbuffer depthsBrian Paul
2006-09-29include mipmap.hBrian Paul
2006-09-29Move mipmap generation functions, texture scaling functions into newBrian Paul
mipmap.c file.
2006-09-28Synchronize drawable to the pipe where the bigger part can be visible.Michel Dänzer
This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
2006-09-28Add new I830 SAREA fields.Michel Dänzer
2006-09-28Add helper function that returns the current vblank sequence of a drawable.Michel Dänzer
2006-09-28Add helper function to calculate the area of the intersection of two rectangles.Michel Dänzer
2006-09-28i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.Michel Dänzer
2006-09-28i915: Attempt to schedule buffer swap on target vertical blank when possible.Michel Dänzer
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.
2006-09-28Add driGetVBlankInterval() helper function.Michel Dänzer
This can be used by drivers to determine the current swap interval of a drawable.
2006-09-28driWaitForVBlank: Add support for secondary vertical blank.Michel Dänzer
2006-09-28Some restructuring of the driWaitForVBlank() code.Michel Dänzer
Also some minor fixes for detecting when the deadline is met or missed, in particular wrt wraparounds of the sequence number.
2006-09-28Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer
This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
2006-09-27remove obsolete commentBrian Paul
2006-09-26Update to use the new XCB naming convention.Jeremy Kolb
2006-09-26Added function convertStringForXCB. Deals with the recent XCB naming ↵Jeremy Kolb
convention switch. Updated the generated code to use the new XCB naming scheme.
2006-09-26Remove r200 dependencyJerome Glisse
Remove r200 dependency from the code as r200 merged driver never worked (right ?) and we want to clean the code.
2006-09-26Remove r200 dependency.Jerome Glisse
Remove r200*.h files dependency.