Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | get rid of GL_BOOLEAN definition (bug 8113) | Brian Paul | 2006-09-04 | 1 | -5/+1 |
| | |||||
* | fog state atom contains (only) fog params necessary for tcl. Must not be ↵ | Roland Scheidegger | 2006-09-04 | 1 | -2/+2 |
| | | | | emitted if vertex progs are enabled as it overlaps vertex param #94. | ||||
* | add missing change to skip low impact RAST fallback... | Rune Petersen | 2006-09-03 | 1 | -14/+17 |
| | | | | Sorry. | ||||
* | fix the presumably broken check for the allow_large_textures and vblank_mode ↵ | Roland Scheidegger | 2006-09-01 | 3 | -3/+3 |
| | | | | options (same as bug 8042). | ||||
* | make sure vertex programs are only enabled on the hw when they are really ↵ | Roland Scheidegger | 2006-09-01 | 2 | -9/+11 |
| | | | | enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060. | ||||
* | Catch a few more cases of using a message reg as an instruction source | Keith Whitwell | 2006-09-01 | 1 | -17/+37 |
| | | | | arg. | ||||
* | fix a couple of cases where a message reg is used as an instruction source. | Keith Whitwell | 2006-09-01 | 2 | -6/+26 |
| | |||||
* | Add API description for GLX_SGI_swap_control. | Ian Romanick | 2006-08-31 | 1 | -0/+7 |
| | |||||
* | Fix problems with vertex program protocol | Ian Romanick | 2006-08-31 | 1 | -17/+17 |
| | | | | | | | | | | | There were two sets of bugs in the vertex program (ARB and NV) protocol. First, several of the ARB functions were missing the 'doubles_in_order="true"' annotation. Second, after the ARB decided that glVertexAttrib*ARB functions must not alias fixed-function state for GLSL, Nvidia re-assigned GLX protocol opcodes for glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml was never updated to reflect this, and the updated version of the GL_NV_vertex_program spec never made into the registry. | ||||
* | re-apply shader fix. | Rune Petersen | 2006-08-31 | 1 | -1/+1 |
| | | | | appears to have been reverted by mistake. | ||||
* | When using the old technique to set up the front buffer mapping, there | Keith Whitwell | 2006-08-31 | 1 | -1/+1 |
| | | | | | is no need to add front.offset to sPriv->pFB, it seems. Fixes several glean issues and frontbuffer rendering generally. | ||||
* | Give the user posibility to choose speed over correctness. | Rune Petersen | 2006-08-31 | 3 | -2/+18 |
| | | | | | | It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact. | ||||
* | check if ext->name is null before strcmp() | Brian Paul | 2006-08-31 | 1 | -1/+1 |
| | |||||
* | do not abort with not supported vertex prog output configuration, fallback ↵ | Roland Scheidegger | 2006-08-31 | 1 | -3/+19 |
| | | | | instead | ||||
* | Handle API and dispatch table changes that removed a bunch of extension ↵ | Karl Schultz | 2006-08-30 | 2 | -114/+50 |
| | | | | entry points. | ||||
* | Check that we don't try to reference more than one target of a texture unit.texmem_0_2_20060912 | Brian Paul | 2006-08-30 | 1 | -1/+17 |
| | | | | | For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one program is an error. | ||||
* | s/0/VERT_RESULT_HPOS/ | Brian Paul | 2006-08-30 | 1 | -1/+1 |
| | |||||
* | Add missing vec4 instructions to the interpreter. | Michal Krol | 2006-08-30 | 3 | -30/+176 |
| | | | | Other cosmetic changes. | ||||
* | Use XAddExtension() to register an XCloseDisplay() callback function. | Brian Paul | 2006-08-30 | 4 | -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. | ||||
* | Minor r200 vertex program cleanups. Remove disabled leftovers from r300 ↵ | Roland Scheidegger | 2006-08-30 | 2 | -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 programs | Roland Scheidegger | 2006-08-30 | 1 | -0/+10 |
| | |||||
* | fix typo causing a segfault when a vertex program uses more than 96 parameters | Roland Scheidegger | 2006-08-30 | 1 | -1/+1 |
| | |||||
* | Move call to _swrast_update_rasterflags() since it depends on the | Brian Paul | 2006-08-29 | 1 | -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 Paul | 2006-08-29 | 1 | -1/+4 |
| | |||||
* | remove assertion that referenced &glSetFenceNV for debug test | Brian Paul | 2006-08-29 | 1 | -1/+0 |
| | |||||
* | replace abort with _mesa_problem() | Brian Paul | 2006-08-29 | 1 | -1/+2 |
| | |||||
* | Deprecate GL_EXT_vertex_weighting. | Ian Romanick | 2006-08-29 | 9 | -1908/+1738 |
| | | | | | | 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 Romanick | 2006-08-29 | 6 | -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 | ||||
* | Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to | Brian Paul | 2006-08-28 | 2 | -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 of | Ian Romanick | 2006-08-28 | 6 | -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 Romanick | 2006-08-28 | 1 | -2/+6 |
| | |||||
* | remove unused var | Brian Paul | 2006-08-28 | 1 | -1/+0 |
| | |||||
* | fix the check for force_s3tc_enable (bug 8042) | Brian Paul | 2006-08-28 | 1 | -1/+1 |
| | |||||
* | close #6318 | Aapo Tahkola | 2006-08-27 | 1 | -7/+4 |
| | |||||
* | Explicitly store the names for each function that should have a static | Ian Romanick | 2006-08-26 | 6 | -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 Hourihane | 2006-08-26 | 1 | -4/+2 |
| | |||||
* | fix #8008 | Aapo Tahkola | 2006-08-26 | 1 | -8/+4 |
| | |||||
* | include texobj.h to silence warning | Brian Paul | 2006-08-25 | 1 | -0/+1 |
| | |||||
* | Error detection/reporting was broken in several places. | Brian Paul | 2006-08-25 | 1 | -45/+70 |
| | |||||
* | Add a couple of the missing GL 2.0 functions. Enable GLX protocol for | Ian Romanick | 2006-08-25 | 7 | -92/+129 |
| | | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic. | ||||
* | Free vertex program TnlData, if any. Fixes a mem leak. | Brian Paul | 2006-08-25 | 1 | -0/+7 |
| | |||||
* | clamp result.depth to [0,1] if written to | Brian Paul | 2006-08-25 | 1 | -1/+6 |
| | |||||
* | Remove XFree86 CVS keyword. | Brian Paul | 2006-08-25 | 4 | -6/+3 |
| | |||||
* | Rearrange glBindProgram() code to do all error checking before changing | Brian Paul | 2006-08-25 | 1 | -51/+43 |
| | | | | the binding. Prevent a potential dangling pointer error. SF Bug 1544507. | ||||
* | In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END if | Brian Paul | 2006-08-25 | 1 | -0/+3 |
| | | | | | we're in GL_COMPILE_AND_EXECUTE mode. This fixes bug 7984. | ||||
* | improved comments | Brian Paul | 2006-08-25 | 1 | -5/+18 |
| | |||||
* | Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). | Brian Paul | 2006-08-25 | 2 | -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 Paul | 2006-08-25 | 3 | -8/+5 |
| | |||||
* | added _mesa_alloc_instructions() utility function | Brian Paul | 2006-08-25 | 2 | -0/+16 |
| | |||||
* | Add missing enums for GL_SGI_color_table. | Ian Romanick | 2006-08-25 | 2 | -2559/+2624 |
| |