Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-16 | Assorted fixes for dealing with zero-size frame/renderbuffers. | Brian | |
In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205. | |||
2007-03-16 | Colortable re-org. | Brian | |
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | |||
2007-03-16 | added a renderbuffer comment | Brian | |
2007-03-15 | silently ignore DeleteProgram/Shader(id=0) | Brian | |
2007-03-15 | in _mesa_GetColorTable, return silently if table size is 0 | Brian | |
2007-03-15 | no-op clear if buffer width or height is zero (bug 7205) | Brian | |
2007-03-15 | implement byteswapping for all multi-byte types in ↵ | Brian | |
_mesa_pack_rgba_span_float(), bug 10298 | |||
2007-03-14 | pixelmap code simplification | Brian | |
2007-03-14 | Re-org of gl_pixel_attrib struct. | Brian | |
Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps. | |||
2007-03-13 | fix ctx->Pixel.PostConvolutionScale/Bias subscript bugs | Brian | |
2007-03-13 | alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warning | Brian | |
2007-03-13 | properly compute ctx->Texture._EnabledCoordUnits | Brian | |
2007-03-13 | mesa: _mesa_unpack_image | Xiang, Haihao | |
1. take packed pixel data as a component 2. fix for GL_BITMAP when compiling glTexImage, etc into a display list: a. flip byte if lsbFirst is true since DefaultPacking->lsbFirst is false. b. handle SkipPixels | |||
2007-03-12 | clean-up, simplify _mesa_image_row_stride() | Brian | |
2007-03-12 | take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for ↵ | Brian | |
GL_BITMAP type (bug 10261) | |||
2007-03-11 | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | |
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | |||
2007-03-10 | Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵ | Brian | |
into glsl-compiler-1 | |||
2007-03-10 | check for EXT_blend_equation_separate for 2.0 | Brian | |
2007-03-09 | added GL_CURRENT_PROGRAM | Brian | |
2007-03-09 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/context.c | |||
2007-03-09 | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵ | Brian | |
fix glGetTexImage(GL_LUMINANCE) bug #10232. | |||
2007-03-08 | remove a if-statement | Xiang, Haihao | |
glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time. | |||
2007-03-07 | use 2.0, 2.1 version strings | Brian | |
2007-03-06 | Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa | Brian | |
2007-03-06 | explicit calls to _mesa_unreference_framebuffer() not always needed now | Brian | |
2007-03-06 | unreference old framebuffer, if needed, in _mesa_reference_framebuffer() | Brian | |
2007-03-06 | Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa | Ian Romanick | |
2007-03-06 | Fix cut-and-paste error in the name of GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB. | Ian Romanick | |
2007-03-06 | Fix/improve framebuffer object reference counting. | Brian | |
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate. | |||
2007-03-06 | Take care of texObj reference in _mesa_free_framebuffer_data() | Brian | |
2007-03-01 | move oldFb decl into tighter scopes | Brian | |
2007-03-01 | fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in general | Brian | |
2007-02-27 | assert that fb->RefCount==0 in _mesa_free_framebuffer_data() | Brian | |
2007-02-27 | s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/ | Brian | |
2007-02-26 | remove unused DriverMgrCtx | Brian | |
2007-02-26 | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | |
These control code generation options. May be overridden by drivers, debuggers, etc. | |||
2007-02-26 | fix mem leak in _mesa_ShaderSourceARB() | Brian | |
2007-02-26 | Do proper framebuffer refcounting in _mesa_make_current(). | Brian | |
Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object. | |||
2007-02-25 | define and use MAX_PROGRAM_ADDRESS_REGS | Brian | |
2007-02-25 | s/GetFragmentProgramRegister/GetProgramRegister/ | Brian | |
2007-02-24 | Undo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing. | Brian | |
2007-02-24 | Remove unneeded _Fragment/VertexShaderPresent fields, update comments. | Brian | |
2007-02-23 | s/GLint/gl_state_index/, length is now 5 not 6 | Brian | |
2007-02-22 | added MAX_PROGRAM_ENV_PARAMS | Brian | |
2007-02-22 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | |||
2007-02-12 | fd.o #BZ 9684 | Zou Nan hai | |
gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data. | |||
2007-02-10 | ctx->Point._Size fix | Rune Peterson | |
2007-02-09 | optimize generated vertex programs a bit | Roland Scheidegger | |
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | |||
2007-02-05 | fix mem leak | Panagiotis Papadakos | |
2007-02-03 | Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. | Brian | |
This fixes a segfault in the texgen code that can occur after we've disabled a vertex program. |