summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix Xlib driver mem leaksBrian Paul2006-08-301-0/+1
|
* Use XAddExtension() to register an XCloseDisplay() callback function.Brian Paul2006-08-304-5/+103
| | | | | | When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware.
* init a local var to silence warningBrian Paul2006-08-301-3/+3
|
* Minor r200 vertex program cleanups. Remove disabled leftovers from r300 ↵Roland Scheidegger2006-08-302-62/+24
| | | | vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
* fix initialization of native resource usage of vertex/fragment programsRoland Scheidegger2006-08-301-0/+10
|
* fix typo causing a segfault when a vertex program uses more than 96 parametersRoland Scheidegger2006-08-301-1/+1
|
* Move call to _swrast_update_rasterflags() since it depends on theBrian Paul2006-08-291-3/+3
| | | | | results of _swrast_update_fog_state(). Fixes bug where first frame of progs/samples/fog.c does not show fog.
* _mesa_debug() should be a no-op when not compiled with DEBUG defined.Brian Paul2006-08-291-1/+4
|
* set 6.5.1 release to Aug 31Brian Paul2006-08-291-1/+1
|
* remove assertion that referenced &glSetFenceNV for debug testBrian Paul2006-08-291-1/+0
|
* replace abort with _mesa_problem()Brian Paul2006-08-291-1/+2
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-2910-1910/+1740
| | | | | | Nvidia no longer supports this extension, and they no longer export its entry points from their libGL. There's no reason for us to keep dragging it around either.
* More static dispatch function removal.Ian Romanick2006-08-296-583/+725
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make functions for the following extensions available only via glXGetProcAddress. In cases where there are other aliases to the same functions (e.g., between GL_EXT_histogram and GL_ARB_imaging), the alias functions may still be statically exported. - GL_ATI_blend_equation_separate - GL_EXT_blend_equation_separate - GL_EXT_convolution - GL_EXT_color_sub_table - GL_EXT_cull_vertex - GL_EXT_depth_bounds_test - GL_EXT_framebuffer_blit - GL_EXT_histogram - GL_EXT_multisample - GL_EXT_stencil_two_side - GL_EXT_timer_query - GL_IBM_multimode_draw_arrays - GL_INGR_blend_func_separate - GL_NV_fence - GL_SGI_color_table - GL_SGIS_multisample - GL_SGIS_pixel_texture - GL_SGIS_point_parameters - GL_SGIX_pixel_texture
* Clean up GLX function exports.Ian Romanick2006-08-295-246/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make functions for the following extensions only accessable via glXGetProcAddress: - GLX_EXT_texture_from_pixmap - GLX_MESA_copy_sub_buffer - GLX_MESA_release_buffers - GLX_MESA_swap_control - GLX_MESA_swap_frame_usage - GLX_OML_sync_control - GLX_SGI_make_current_read - GLX_SGI_swap_control - GLX_SGI_video_sync - GLX_SGIX_swap_barrier - GLX_SGIX_swap_group Removed all remnants of the following extensions: - GLX_MESA_set_3dfx_mode - GLX_SGI_cushion - GLX_SGIX_dmbuffer - GLX_SGIX_video_resize - GLX_SGIX_video_source - GLX_SUN_get_transparent_index -
* move initialization code aroudn so glPointParameter isn't called before ↵Roland Scheidegger2006-08-281-3/+3
| | | | checking the extension is present
* Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String toBrian Paul2006-08-282-2/+2
| | | | determine if we actually have a program. See "[r300] TCL fallback with Quake3".
* Add two new gl_function methods. dispatch_name returns the name ofIan Romanick2006-08-286-220/+208
| | | | | | | | | | | | | the true static dispatch name (either the glFooBar name or the gl_dispatch_stub_XXX name). static_name returns the name of the static function for a specific alias of a GL function. Adding (and using) these two functions corrects some problems in the generated code related to functions with multiple aliases where some of the aliases have true static dispatch functions and some don't. I have verified that everything under progs, except xdemos/xdemo, correctly link. I did this by doing 'make linux-dri-x86-64 PROGRAM_DIRS="demos redbook samples xdemos tests"'.
* Add dependencies for all API XML files.Ian Romanick2006-08-281-2/+6
|
* remove unused varBrian Paul2006-08-281-1/+0
|
* fix the check for force_s3tc_enable (bug 8042)Brian Paul2006-08-281-1/+1
|
* omit installmesa script from tarballsBrian Paul2006-08-281-1/+0
|
* check for GL_ARB_point_parametersBrian Paul2006-08-281-0/+5
|
* close #6318Aapo Tahkola2006-08-271-7/+4
|
* The colormap code is now simpler, 15bpp works where it did not before.Sean D'Epagnier2006-08-272-45/+32
| | | | | | The input is fixed so that delete reports '\b' and backspace 127 The vt switching works both right and left.
* Explicitly store the names for each function that should have a staticIan Romanick2006-08-266-30/+41
| | | | | | entry point generated. This allows us to do things like generate a static entry point for glPointParameterfvARB but not for glPointParameterfvSGIS.
* Fix bug 8010 - locking issues.Alan Hourihane2006-08-261-4/+2
|
* fix #8008Aapo Tahkola2006-08-261-8/+4
|
* delete buffers, destroy window upon exitBrian Paul2006-08-251-1/+13
|
* include texobj.h to silence warningBrian Paul2006-08-251-0/+1
|
* 6.5.1 bug fixesBrian Paul2006-08-251-0/+2
|
* Error detection/reporting was broken in several places.Brian Paul2006-08-251-45/+70
|
* Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick2006-08-2511-93/+148
| | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
* Free vertex program TnlData, if any. Fixes a mem leak.Brian Paul2006-08-251-0/+7
|
* clamp result.depth to [0,1] if written toBrian Paul2006-08-251-1/+6
|
* Remove XFree86 CVS keyword.Brian Paul2006-08-254-6/+3
|
* Rearrange glBindProgram() code to do all error checking before changingBrian Paul2006-08-251-51/+43
| | | | the binding. Prevent a potential dangling pointer error. SF Bug 1544507.
* In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END ifBrian Paul2006-08-251-0/+3
| | | | | we're in GL_COMPILE_AND_EXECUTE mode. This fixes bug 7984.
* improved commentsBrian Paul2006-08-251-5/+18
|
* Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code().Brian Paul2006-08-252-23/+24
| | | | | The four DP4 instructions are now inserted at the top of the program instead of appended to tail.
* use _mesa_alloc_instructions()Brian Paul2006-08-253-8/+5
|
* added _mesa_alloc_instructions() utility functionBrian Paul2006-08-252-0/+16
|
* Add missing enums for GL_SGI_color_table.Ian Romanick2006-08-252-2559/+2624
|
* recent bug fixesBrian Paul2006-08-241-0/+5
|
* update MAX_INSTRUCTIONS limitBrian Paul2006-08-241-1/+4
|
* 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.
* Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB targetBrian Paul2006-08-241-1/+22
| | | | | | with glBindProgramARB(). I guess the GL_ARB_fragment_program specification allows that, but Mesa didn't. Relaxed the check with a new predicate function: compatible_program_targets().
* scalar sources such as 'time.x' weren't accepted by parserBrian Paul2006-08-241-2/+16
|
* Functions for vertex/fragment program transformations, optimizations, etc.Brian Paul2006-08-243-0/+184
|
* fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul2006-08-241-2/+5
| | | | r300_translate_vertex_shader()
* Check for NULL program string in r200_translate_vertex_program().Brian Paul2006-08-241-2/+18
| | | | | Fixes bug reported by Chris Rankin. Added some new comments.