Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-11 | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | |
Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | |||
2008-11-11 | mesa: update new state for RasterPos like other operations. | Xiang, Haihao | |
This fixes a lighting issue when drawing a bitmap. | |||
2008-11-10 | mesa: new _mesa_is_pow_two() function | Brian | |
2008-11-10 | mesa: fix some misc breakage caused by editing auto-generated files rather ↵ | Brian Paul | |
than the python generators Specifically: #include "glapitable.h" in src/mesa/main/glapi/dispatch.h Call _mesa_bsearch() in src/mesa/main/enums.c. | |||
2008-11-10 | GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident() | Brian Paul | |
See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time. | |||
2008-11-08 | mesa: use NRM3 in emit_normalize_vec3() when drivers are ready | Brian | |
2008-11-07 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-11-07 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Xiang, Haihao | |
2008-11-05 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c | |||
2008-11-01 | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | |
Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | |||
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-31 | mesa: fix a typo in the previous commit | Xiang, Haihao | |
2008-10-30 | mesa: fix an issue in _mesa_PointParameterfv(). | Xiang, Haihao | |
2008-10-27 | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | |
2008-10-23 | mesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fields | Brian Paul | |
The texImage->Width/Height fields will have the post-convolution width/height. | |||
2008-10-22 | mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D() | Brian Paul | |
Do it after initial error checking, after we know the texture's internal format. | |||
2008-10-22 | mesa: some re-org of glCopyTexSubImage1/2/3D() error checking | Brian Paul | |
2008-10-22 | mesa: in textore.c, only adjust image for convolution if image is a color format | Brian Paul | |
Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats) | |||
2008-10-20 | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | |
enabled | |||
2008-10-16 | mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861 | Brian Paul | |
2008-10-15 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/main/context.c | |||
2008-10-14 | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | |
2008-10-10 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-10-10 | mesa: fix asst. issues in _mesa_texstore_argb8888() | Brian Paul | |
If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro), we don't have to worry about big vs. little endian. See comments about texel formats in texformat.h. Remove an unneeded/incorrect else-if clause that produced wrong results on big-endian systems. | |||
2008-10-10 | mesa: remove unneeded includes | Brian Paul | |
2008-10-10 | mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861 | Brian Paul | |
2008-10-10 | mesa: rename macro params to emphasize that there's no particular color ordering | Brian Paul | |
2008-10-10 | mesa: remove unneeded includes | Brian Paul | |
2008-10-10 | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | |
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | |||
2008-10-10 | Merge commit 'origin/master' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms | |||
2008-10-10 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c | |||
2008-10-07 | mesa: Pass the context to query object delete cb to avoid null dereference. | Eric Anholt | |
2008-10-07 | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | |
Also, fix up some comments to be doxygen style. | |||
2008-10-07 | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | |
2008-10-06 | mesa: fix convolve/convolution mix-ups | Brian | |
2008-10-06 | mesa: fix convolve/convolution mix-ups | Brian | |
2008-10-06 | mesa: updated _mesa_delete_query() comments | Brian Paul | |
2008-10-06 | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | |
Fixes vtk crash and others. | |||
2008-10-06 | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | |
Fixes vtk crash and others. | |||
2008-10-04 | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | |
2008-10-03 | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | |
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | |||
2008-10-03 | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | |
2008-10-03 | mesa: shrink texenvprogram state key struct | Keith Whitwell | |
2008-10-02 | mesa: fix temp register allocation problems. | Brian Paul | |
Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | |||
2008-10-01 | Unify ARB_depth_texture and SGIX_depth_texture | Ian Romanick | |
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code. | |||
2008-09-29 | GLSL: Implement GL_OBJECT_TYPE_ARB query | Ian Romanick | |
The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum. | |||
2008-09-29 | mesa: asst updates for VMS | Jouk Jansen | |
2008-09-29 | mesa: drop calloc from _mesa_get_fixed_func_vertex_program | Shunichi Fuji | |
Signed-off-by: Shunichi Fuji <palglowr@gmail.com> | |||
2008-09-26 | mesa: fix temp register allocation problems. | Brian Paul | |
Complex texcombine modes were running out of registers (>32 registers for 8 tex units). |