summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove needless conditionBrian Paul2006-10-131-3/+1
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-137-186/+135
| | | | operations (shift, offset, table lookup, etc).
* Fix dumb build errors.Ian Romanick2006-10-132-1/+2
| | | | | | I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h.
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-137-48/+37
| | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
* s/GLuint/GLbitfield/Brian Paul2006-10-135-17/+17
|
* s/GL_FALSE/0x0/Brian Paul2006-10-131-1/+1
|
* removed obsolete _mesa_pack_rgba_span_chan()Brian Paul2006-10-132-80/+0
|
* include glapi.h to fix broken buildBrian Paul2006-10-132-0/+2
|
* Upload of interleaved arrays currently assumes that position is theKeith Whitwell2006-10-131-0/+1
| | | | | | first element in the interleaved group. Add a test to catch cases where this isn't true and use per-array uploads instead. Fixes compiz glitches on x64.
* Make sure instructions are zero'd out before use.Keith Whitwell2006-10-131-0/+1
|
* Use unsigned long batchbuffer offset, fixes x64 warnings.Keith Whitwell2006-10-131-1/+1
|
* Fix printf warning.Keith Whitwell2006-10-131-1/+1
|
* Use unsigned long cast for checking pointer alignment, fixes x64 warnings.Keith Whitwell2006-10-131-2/+2
|
* Use mesa function to get opcode name rather than an internal table.Keith Whitwell2006-10-131-61/+1
|
* Indent and cosmetic changes.Michal Krol2006-10-134-694/+772
|
* Revamp color table code.Brian Paul2006-10-139-749/+334
| | | | Always store all color tables as both float and ubyte.
* adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul2006-10-121-26/+45
|
* use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()Brian Paul2006-10-121-8/+10
|
* remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul2006-10-122-76/+6
|
* _mesa_map_ci_to_rgba_chan() no longer usedBrian Paul2006-10-122-53/+4
|
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-129-311/+369
| | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
* don't use temp storage in _mesa_convert_colors() when possibleBrian Paul2006-10-121-47/+60
|
* remove some debug code invalidated by prev check-inBrian Paul2006-10-121-7/+0
|
* Fix bug #4681.Ian Romanick2006-10-1131-4293/+4101
| | | | | | | | | | | | | | | | | glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
* use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul2006-10-114-24/+17
|
* rewrite/simplify the fast_draw_pixels() functionBrian Paul2006-10-111-349/+221
|
* use _mesa_convert_colors(), update some assertionsBrian Paul2006-10-111-102/+26
|
* Added _mesa_convert_colors().Brian Paul2006-10-112-15/+153
| | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
* support for runtime renderbuffer depthsBrian Paul2006-10-111-24/+81
|
* In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer,Brian Paul2006-10-111-16/+17
| | | | not a user-created FBO.
* added shaderobjects_3dlabs.cBrian Paul2006-10-111-1/+2
|
* remove 3dlabs.cBrian Paul2006-10-111-2/+1
|
* sources for X.org xserver buildBrian Paul2006-10-111-0/+64
|
* List of source (.c) files in each directory.Brian Paul2006-10-1111-0/+127
| | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
* a step toward moving run-time vertex program state out of GLcontextBrian Paul2006-10-105-49/+61
|
* fixed NV_position_invariantBrian Paul2006-10-101-0/+1
|
* 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.
* Added dispatch.html.Ian Romanick2006-10-092-0/+275
| | | | | This new file documents Mesa's implementation of GL function dispatch. It's not quite complete, but I think there's enough there to make it useful.
* return void instead of GLvoid for glClearDebugLogMESA(), glGetDebugLogMESA()Brian Paul2006-10-091-2/+2
|
* 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-093-4/+4
|
* 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
|