summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-14build fix: s/Table/TableUB/Brian Paul
2006-10-14assorted clean-upsBrian Paul
2006-10-13implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵Roland Scheidegger
nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
2006-10-13remove needless conditionBrian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13Fix dumb build errors.Ian Romanick
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.
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
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.
2006-10-13s/GLuint/GLbitfield/Brian Paul
2006-10-13s/GL_FALSE/0x0/Brian Paul
2006-10-13removed obsolete _mesa_pack_rgba_span_chan()Brian Paul
2006-10-13include glapi.h to fix broken buildBrian Paul
2006-10-13Upload of interleaved arrays currently assumes that position is theKeith Whitwell
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.
2006-10-13Make sure instructions are zero'd out before use.Keith Whitwell
2006-10-13Use unsigned long batchbuffer offset, fixes x64 warnings.Keith Whitwell
2006-10-13Fix printf warning.Keith Whitwell
2006-10-13Use unsigned long cast for checking pointer alignment, fixes x64 warnings.Keith Whitwell
2006-10-13Use mesa function to get opcode name rather than an internal table.Keith Whitwell
2006-10-13Indent and cosmetic changes.Michal Krol
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-12adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul
2006-10-12use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12_mesa_map_ci_to_rgba_chan() no longer usedBrian Paul
2006-10-12Lots of changes to support runtime renderbuffer depths.Brian Paul
_swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
2006-10-12don't use temp storage in _mesa_convert_colors() when possibleBrian Paul
2006-10-12remove some debug code invalidated by prev check-inBrian Paul
2006-10-11Fix bug #4681.Ian Romanick
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
2006-10-11use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul
2006-10-11rewrite/simplify the fast_draw_pixels() functionBrian Paul
2006-10-11use _mesa_convert_colors(), update some assertionsBrian Paul
2006-10-11Added _mesa_convert_colors().Brian Paul
_mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
2006-10-11support for runtime renderbuffer depthsBrian Paul
2006-10-11In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer,Brian Paul
not a user-created FBO.
2006-10-11added shaderobjects_3dlabs.cBrian Paul
2006-10-11remove 3dlabs.cBrian Paul
2006-10-11sources for X.org xserver buildBrian Paul
2006-10-11List of source (.c) files in each directory.Brian Paul
To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
2006-10-10a step toward moving run-time vertex program state out of GLcontextBrian Paul
2006-10-10fixed NV_position_invariantBrian 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-09Added dispatch.html.Ian Romanick
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.
2006-10-09return void instead of GLvoid for glClearDebugLogMESA(), glGetDebugLogMESA()Brian Paul
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).