summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBAKeith Whitwell2006-09-201-12/+19
| | | | | | | 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.
* detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888Roland Scheidegger2006-09-131-1/+19
|
* added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)Brian Paul2006-09-132-1/+24
|
* undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul2006-09-111-4/+7
|
* init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul2006-09-111-1/+14
|
* Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul2006-09-101-4/+20
| | | | | | 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.
* Add some asserts, fix some not-quite-bugs.Keith Whitwell2006-09-071-4/+12
|
* get rid of GL_BOOLEAN definition (bug 8113)Brian Paul2006-09-041-5/+1
|
* _mesa_debug() should be a no-op when not compiled with DEBUG defined.Brian Paul2006-08-291-1/+4
|
* Error detection/reporting was broken in several places.Brian Paul2006-08-251-45/+70
|
* Remove XFree86 CVS keyword.Brian Paul2006-08-251-3/+3
|
* Add missing enums for GL_SGI_color_table.Ian Romanick2006-08-251-2559/+2579
|
* According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul2006-08-241-1/+1
| | | | Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-242-26/+26
| | | | | | | | | | 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.
* Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul2006-08-232-5/+8
| | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
* sort the FEATURE_ definesBrian Paul2006-08-171-12/+14
|
* added FEATURE_EXT_timer_query and testsBrian Paul2006-08-173-3/+17
|
* change #ifdef to #ifBrian Paul2006-08-171-1/+1
|
* When available, which is most of the time, use posix_memalign to implementIan Romanick2006-08-161-3/+21
| | | | _mesa_align_malloc and friends.
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-154-0/+81
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Fix some breakage after the PROGRAM_UNDEFINED changeAlan Hourihane2006-08-101-2/+2
|
* finish up texstore for SL8 texture formatBrian Paul2006-08-101-13/+24
|
* Add PROGRAM_FILE_MAX for i965 driver.Eric Anholt2006-08-091-1/+2
| | | | While here, make PROGRAM_UNDEFINED just the next value in the enum.
* implement some of the sRGB texstore functionsBrian Paul2006-08-091-12/+88
|
* fix typo, indentationBrian Paul2006-08-041-3/+3
|
* fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BITBrian Paul2006-08-041-0/+2
|
* more work for GL_EXT_texture_sRGB.Brian Paul2006-08-043-0/+116
|
* New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose().Brian Paul2006-08-031-37/+98
| | | | Eventually move them into imports.c
* Initial work for GL_EXT_texture_sRGB.Brian Paul2006-08-039-4/+359
|
* Fix mmFindBlock function.Michal Krol2006-08-021-1/+1
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-013-1/+20
|
* Add support for GL_MESA_shader_debug.Michal Krol2006-07-301-2370/+2379
|
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-205-34/+35
| | | | "gl_" to match other structs.
* move/update commentsBrian Paul2006-07-201-37/+33
|
* remove unused NEED_TWO_SIDED_LIGHTING() macroBrian Paul2006-07-201-17/+1
|
* For glGetTexImage(), move the _mesa_validate_pbo_access() error check intoBrian Paul2006-07-192-13/+25
| | | | _mesa_GetTexImage() so it's not needed in the fallback or driver functions.
* indentation fixBrian Paul2006-07-181-5/+5
|
* add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()Brian Paul2006-07-181-1/+5
|
* Compute ctx->Color._LogicOpEnabled in one place instead of four places!Brian Paul2006-07-183-30/+22
|
* define FLT_MAX_EXP to 128 if undefinedBrian Paul2006-07-131-1/+4
|
* free array objects properly (bug 7493)Brian Paul2006-07-111-0/+14
|
* free GL2Objects unconditionallyTilman Sauerbeck2006-07-111-2/+0
|
* free the ArrayObjects hash tableTilman Sauerbeck2006-07-111-0/+5
|
* only access ss->BufferObjects if it's declaredTilman Sauerbeck2006-07-111-2/+5
|
* disable a new mem leak check until we're sure it's validBrian Paul2006-07-031-0/+2
|
* clean-upsBrian Paul2006-06-301-23/+26
|
* use _mesa_HashDeleteAll()Brian Paul2006-06-301-14/+15
|
* In free_shared_state(), use new _mesa_HashDeleteAll() function to deleteBrian Paul2006-06-301-79/+82
| | | | textures, display lists, programs, VBOs, etc. Less code and more efficient.
* Added _mesa_delete_list() to delete a display list, but don't remove fromBrian Paul2006-06-302-30/+44
| | | | hash table. Make _mesa_destroy_list() static.
* Added _mesa_HashDeleteAll() to delete all entries in a hash table with aBrian Paul2006-06-302-12/+86
| | | | | callback function. Added _mesa_HashWalk() to walk over all entries in a hash table with callback.