summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-03-15silently ignore DeleteProgram/Shader(id=0)Brian
2007-03-15in _mesa_GetColorTable, return silently if table size is 0Brian
2007-03-13fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian
2007-03-13alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warningBrian
2007-03-13properly compute ctx->Texture._EnabledCoordUnitsBrian
2007-03-11Implement 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-10Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵Brian
into glsl-compiler-1
2007-03-10check for EXT_blend_equation_separate for 2.0Brian
2007-03-09added GL_CURRENT_PROGRAMBrian
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-09New 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-statementXiang, 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-07use 2.0, 2.1 version stringsBrian
2007-03-06Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-03-06explicit calls to _mesa_unreference_framebuffer() not always needed nowBrian
2007-03-06unreference old framebuffer, if needed, in _mesa_reference_framebuffer()Brian
2007-03-06Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesaIan Romanick
2007-03-06Fix cut-and-paste error in the name of GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB.Ian Romanick
2007-03-06Fix/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-06Take care of texObj reference in _mesa_free_framebuffer_data()Brian
2007-03-01move oldFb decl into tighter scopesBrian
2007-03-01fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in generalBrian
2007-02-27assert that fb->RefCount==0 in _mesa_free_framebuffer_data()Brian
2007-02-27s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/Brian
2007-02-26remove unused DriverMgrCtxBrian
2007-02-26Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.Brian
These control code generation options. May be overridden by drivers, debuggers, etc.
2007-02-26fix mem leak in _mesa_ShaderSourceARB()Brian
2007-02-26Do 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-25define and use MAX_PROGRAM_ADDRESS_REGSBrian
2007-02-25s/GetFragmentProgramRegister/GetProgramRegister/Brian
2007-02-24Undo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing.Brian
2007-02-24Remove unneeded _Fragment/VertexShaderPresent fields, update comments.Brian
2007-02-23s/GLint/gl_state_index/, length is now 5 not 6Brian
2007-02-22added MAX_PROGRAM_ENV_PARAMSBrian
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
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 9684Zou 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-10ctx->Point._Size fixRune Peterson
2007-02-09optimize generated vertex programs a bitRoland 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-05fix mem leakPanagiotis Papadakos
2007-02-03Add _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.
2007-02-03Add _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.
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-31_mesa_pack_rgba_span_float: fix for packing data into groupXiang, Haihao
2007-01-30bump version to 6.5.3Brian
2007-01-27Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis
This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <idr@us.ibm.com> and regenerate.
2007-01-26fix typoBrian
2007-01-26document, re-indent _mesa_ffsll()Brian
2007-01-26Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-01-26Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt
2007-01-26Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().George Sapountzis
This leaves one last XFree86Server ifdef in Mesa core. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.