summaryrefslogtreecommitdiff
path: root/src/mesa/main
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-04minor formatting fixBrian Paul
2006-10-02return null if no contextBrian Paul
2006-09-29include mipmap.hBrian Paul
2006-09-29Move mipmap generation functions, texture scaling functions into newBrian Paul
mipmap.c file.
2006-09-25Fix and re-enable swizzling paths for big endian platforms.Michel Dänzer
2006-09-22Flush driver, not just tnl module.Keith Whitwell
2006-09-22resize buffers in MakeCurrentKeith Whitwell
2006-09-22Remove unused variable.Keith Whitwell
2006-09-21bump version to 6.5.2Brian Paul
2006-09-21move a conditional into an assertionBrian Paul
2006-09-21replace assert(0) with error report, improved comments, etcBrian Paul
2006-09-21Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndianKeith Whitwell
until someone can figure out whats wrong there.
2006-09-21use new _mesa_little_endian() functionBrian Paul
2006-09-21added _mesa_little_endian()Brian Paul
2006-09-21Fix the dstMap for rgb888 and bgr888 texture formats, which are theKeith Whitwell
opposite to what you'd naively expect.
2006-09-20Deal with the overloading of _mesa_texstore_rgba, which is actuallyKeith Whitwell
used to store all sorts of formats. Software mesa fails the glean pixelFormats test, but it appears to be failing even with the swizzle code disabled??
2006-09-20Extend swizzle support to all remaining source formats and textureKeith Whitwell
destination formats.
2006-09-20Support both big and little endian, more source types and moreKeith Whitwell
destination formats through the swizzle path. It would be great to see this tested on eg, PPC machines...
2006-09-20reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if ↵Roland Scheidegger
only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
2006-09-20Fix various typos to pass glean pixelFormats test.Keith Whitwell
2006-09-20Enhance compute_component_mapping() to convert to and from any of theKeith Whitwell
color base formats.
2006-09-20Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBAKeith Whitwell
conversions, ensuring that the final A value is 0xff in those cases where we use a RGBA hardware texture format to store RGB textures. Fix a couple of cases where hardwired texture conversions were ignoring this restriction.
2006-09-13detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888Roland Scheidegger
2006-09-13added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)Brian Paul
2006-09-11undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul
2006-09-11init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul
2006-09-10Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul
converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
2006-09-07Add some asserts, fix some not-quite-bugs.Keith Whitwell
2006-09-04get rid of GL_BOOLEAN definition (bug 8113)Brian Paul
2006-08-29_mesa_debug() should be a no-op when not compiled with DEBUG defined.Brian Paul
2006-08-25Error detection/reporting was broken in several places.Brian Paul
2006-08-25Remove XFree86 CVS keyword.Brian Paul
2006-08-25Add missing enums for GL_SGI_color_table.Ian Romanick
2006-08-24According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-17sort the FEATURE_ definesBrian Paul
2006-08-17added FEATURE_EXT_timer_query and testsBrian Paul
2006-08-17change #ifdef to #ifBrian Paul
2006-08-16When available, which is most of the time, use posix_memalign to implementIan Romanick
_mesa_align_malloc and friends.
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-08-10Fix some breakage after the PROGRAM_UNDEFINED changeAlan Hourihane
2006-08-10finish up texstore for SL8 texture formatBrian Paul
2006-08-09Add PROGRAM_FILE_MAX for i965 driver.Eric Anholt
While here, make PROGRAM_UNDEFINED just the next value in the enum.
2006-08-09implement some of the sRGB texstore functionsBrian Paul
2006-08-04fix typo, indentationBrian Paul
2006-08-04fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BITBrian Paul
2006-08-04more work for GL_EXT_texture_sRGB.Brian Paul