summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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
2006-08-03New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose().Brian Paul
Eventually move them into imports.c
2006-08-03Initial work for GL_EXT_texture_sRGB.Brian Paul
2006-08-02Fix mmFindBlock function.Michal Krol
2006-08-01Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol
2006-07-30Add support for GL_MESA_shader_debug.Michal Krol
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-07-20move/update commentsBrian Paul
2006-07-20remove unused NEED_TWO_SIDED_LIGHTING() macroBrian Paul
2006-07-19For glGetTexImage(), move the _mesa_validate_pbo_access() error check intoBrian Paul
_mesa_GetTexImage() so it's not needed in the fallback or driver functions.
2006-07-18indentation fixBrian Paul
2006-07-18add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()Brian Paul
2006-07-18Compute ctx->Color._LogicOpEnabled in one place instead of four places!Brian Paul
2006-07-13define FLT_MAX_EXP to 128 if undefinedBrian Paul
2006-07-11free array objects properly (bug 7493)Brian Paul
2006-07-11free GL2Objects unconditionallyTilman Sauerbeck
2006-07-11free the ArrayObjects hash tableTilman Sauerbeck
2006-07-11only access ss->BufferObjects if it's declaredTilman Sauerbeck
2006-07-03disable a new mem leak check until we're sure it's validBrian Paul
2006-06-30clean-upsBrian Paul