summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.Brian Paul2005-09-142-13/+0
|
* clean-up some _mesa_make_current() codeBrian Paul2005-09-141-35/+32
|
* Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.cBrian Paul2005-09-134-107/+107
| | | | Update some comments, code, etc.
* print version with debug infoBrian Paul2005-09-131-2/+4
|
* Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul2005-09-133-33/+33
| | | | ctx->Driver.Stencil*Separate() functions.
* OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.Brian Paul2005-09-136-54/+152
| | | | | See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
* Use GLuint/GLint intead of GLstencil for stencil state.Brian Paul2005-09-132-26/+24
|
* Move the ctx->FirstTimeCurrent initializationBrian Paul2005-09-132-5/+4
|
* make lookup_query_object() staticBrian Paul2005-09-121-1/+1
|
* remove rendundant r,g,b,a vars (bug 4331)Brian Paul2005-09-121-1/+0
|
* make some vars staticBrian Paul2005-09-101-3/+7
|
* fix GLubyte/GLchan inconsistencies (bug 4331)Brian Paul2005-09-101-77/+121
|
* don't generate selection hits for glBitmap, glDraw/CopyPixels. Misc clean-upsBrian Paul2005-09-091-89/+72
|
* Keep NumTemporaries uptodate.Keith Whitwell2005-09-081-0/+7
| | | | Make sure oC alpha is populated when separate_specular enabled.
* check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few placesBrian Paul2005-09-083-11/+12
|
* new commentBrian Paul2005-09-071-0/+1
|
* minor tweaks to _mesa_ResizeBuffersMESA()Brian Paul2005-09-071-5/+9
|
* minor formatting fixBrian Paul2005-09-061-2/+1
|
* just changes/updates to commentsBrian Paul2005-09-061-10/+11
|
* remove DEFARRAY, CHECKARRAY stuffBrian Paul2005-09-062-78/+6
|
* Windows mesa.def file had been moved to the drivers dir tree some time ago. ↵Karl Schultz2005-09-051-491/+0
| | | | This copy is not needed.
* fudge set_component_sizes() a bit, see commentsBrian Paul2005-09-031-1/+5
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-034-11/+2
|
* commentsBrian Paul2005-09-021-2/+2
|
* Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵Brian Paul2005-09-026-51/+97
| | | | | | yet). Extends the query mechanism to query elapsed time while rendering.
* add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵Roland Scheidegger2005-09-021-3/+13
| | | | scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
* Just additional comments.Brian Paul2005-08-312-0/+20
|
* remove dead code, update commentsBrian Paul2005-08-312-15/+5
|
* fix a few proxy color table bugs (bug 4270)Brian Paul2005-08-281-8/+11
|
* check the Ready flag when getting GL_QUERY_RESULT_ARBBrian Paul2005-08-271-0/+15
|
* Rearrange the code related to GL_ARB_occlusion_object to generalize queryBrian Paul2005-08-273-84/+126
| | | | objects for future types of queries.
* /dri/msgAdam Jackson2005-08-261-1/+1
|
* don't compile debug code (bug 4242: rand undefined)Brian Paul2005-08-251-1/+5
|
* removed GL_HP_occlusion_test extensionBrian Paul2005-08-259-115/+11
|
* simplify, clean-up texel addressing macrosBrian Paul2005-08-231-180/+129
|
* bump version to 6.5Brian Paul2005-08-221-4/+4
|
* Replace mult/div operators with bitwise operators in texel fetch routinesBrian Paul2005-08-181-24/+29
| | | | for better performance. (Roland Scheidegger)
* Bump version to 6.3.2Brian Paul2005-08-161-3/+3
|
* In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and ↵Roland Scheidegger2005-08-151-4/+24
| | | | GL_OPERAND2_RGB which are only valid with ARB_texture_env_combine but not with EXT_texture_env_combine, when only EXT_texture_env_combine is supported.
* added FREXPF() macro (bug 4060)Brian Paul2005-08-121-0/+5
|
* Remove _glapi_check_multithread from the interface exported by the loader toIan Romanick2005-08-101-7/+4
| | | | | | | | | | | | | | | | | the driver. The loader now takes care of this for the driver. Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e., having a NULL value means that the application is multithreaded and _glapi_get_dispatch must be called). Gut all of the dispatch override code. This removes _glapi_RealDispatch, _glapi_tls_RealDispatch, _glapi_begin_dispatch_override, _glapi_end_dispatch_override, and _glapi_get_override_dispatch. Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version, and _glapi_check_table from the loader / driver interface. Reviewed by: Brian Paul
* the PIXEL_MAP_I_TO_I table should be GLfloat, not GLintBrian Paul2005-08-102-13/+14
|
* Follow suggestion by Aapo Tahkola to fix giant memory leak from forgetting ↵Vladimir Dergachev2005-08-061-0/+1
| | | | to free the key when entry was already found (presumably a common case).
* Fix recent problems with display lists and other parts of the code.Ian Romanick2005-08-053-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CALL_by_offset, SET_by_offset, and GET_by_offset all had various problems. The core issue is that parts of the device-independent code in Mesa assumes that all functions have slots in the dispatch table. This is especially true in the display list code. It will merrilly try to set dispatch pointers for glVertexAttrib1fARB even if GL_ARB_vertex_program is not supported. When the GET/SET/CALL macros are invoked, they would read a 0 from the remap table. The problem is that 0 is the dispatch offset for glNewList! One change is that the remap table is now initialized to be full of -1 values. In addtion, all of the *_by_offset marcos misbehave in an obvious way if the specified offset is -1. SET_by_offset will do nothing, GET_by_offset will return NULL, and CALL_by_offset, since it uses GET_by_offset, will segfault. I also had to add GL_EXT_blend_func_separate to the list of default extensions in all_mesa_extensions (src/mesa/drivers/dri/common/utils.c). Even though many drivers do not export this extension, glBlendFunc is internally implemented by calling glBlendFuncSeparate. Without this addition, glBlendFunc stopped working on drivers (such as mga) that do not export GL_EXT_blend_func_separate. There are still a few assertions / crashes in GL_ARB_vertex_program tests, but I don't think that these are related to any of my changes.
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-282-5/+7
| | | | | | | | | | | | | | | | | | | | | | _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
* Make the vertex program source register Index field a signed int sinceBrian Paul2005-07-221-1/+2
| | | | | | | relative addressing can be negative. Change some GLuint indexes to GLint in the t_vp_build.c file. Added PROGRAM_UNDEFINED token for initializing the register File field to avoid a gcc 4.0 warning.
* bump version to 6.3.1Brian Paul2005-07-211-4/+4
|
* check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_objectBrian Paul2005-07-211-1/+3
|
* remove ^M chars, disable shading language extensionsBrian Paul2005-07-211-26/+26
|
* replace fprintf() calls with _mesa_problem()Brian Paul2005-07-191-4/+5
|