summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-10-15Remove calls to _mesa_ResizeBuffersMESA() - generally replace with code toBrian Paul
check the current window size, then call _mesa_resize_framebuffer().
2006-10-15Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul
default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
2006-10-15Use endianness test function provided by mesa.Jerome Glisse
Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer.
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-10-15increate MaxTextureLevels to 11 (bug 3130)Brian Paul
2006-10-15check if files exist before installing (Thierry Reding)Brian Paul
2006-10-14Some code movement so that the gl_framebuffer is fully initialized beforeBrian Paul
calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c
2006-10-14Big re-org of buffer size management.Brian Paul
All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen.
2006-10-14cut and paste error: s/Width/Height/Brian Paul
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-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".