Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-30 | mesa: increase max constants/uniforms to 256 (vec4 vectors) | Brian Paul | |
2008-12-19 | Add do_row_3d for mipmapping 3D textures | Ian Romanick | |
Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats. | |||
2008-12-19 | Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Ian Romanick | |
2008-12-18 | mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region. | Eric Anholt | |
2008-12-18 | mesa: Correct _mesa_clip_to_region() off-by-one. | Eric Anholt | |
Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax. | |||
2008-12-17 | mesa: remove unneeded _mesa_reference_fragprog() call | Brian Paul | |
The subsequent if/else cases always call _mesa_reference_fragprog() anyway. | |||
2008-12-17 | mesa: updated comments | Brian Paul | |
2008-12-15 | mesa: move _mesa_dlopen(), etc into separate dlopen.c file | Brian Paul | |
2008-12-14 | Perform range checking on app supplied texture base level | Ian Romanick | |
It is possible for applications to specify any texture base level, including trivially invalid values (i.e., 47000000). When an app specifies an invalide base level, we should gracefully disable the texture instead of accessing memory outside the gl_texture_object. This fixes an occasional segfault in one of our conformance tests. | |||
2008-12-06 | mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB). | Eric Anholt | |
The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not CUBE_MAP_ARB, so walk all faces when we encounter that. Fixes oglconform fbo.c segfault with both swrast and i965 drivers. | |||
2008-12-01 | mesa: fix conditional in save_Lightfv(), bug 18838 | Brian | |
2008-11-28 | mesa: enable texture compression extensions for software drivers when possible | Brian Paul | |
2008-11-28 | mesa: remove unneeded compressed texure size checks | Phillip Klaus Krause | |
2008-11-24 | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | |
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. | |||
2008-11-20 | mesa: fix shadow sampling unit issue. | Xiang, Haihao | |
texture comparison logic is bypassed if the currently bound texture is not a depth/depth_stencil texture. | |||
2008-11-19 | mesa: clamp luminance if needed. | Xiang, Haihao | |
This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers. | |||
2008-11-13 | mesa: fix generation of fixed function state when no vp exists | Alan Hourihane | |
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 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Xiang, Haihao | |
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-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-16 | mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861 | 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-07 | mesa: Pass the context to query object delete cb to avoid null dereference. | Eric Anholt | |
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-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: remove invalid assertions that programs have parameters | Brian Paul | |
Fixes failure with demos/fplight.c | |||
2008-09-26 | mesa: fix param indexing | Brad King | |
2008-09-25 | mesa: fix cast/conversion for optional code | Brian | |
2008-09-25 | mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback. | Brian Paul | |
2008-09-25 | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) | Brian Paul | |