summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-05-20fix incorrect sampler numbering/indexing.Brian Paul
All samplers indexes were zero.
2008-05-20i965: Check fallback before accounting for index/vertex buffer size. fix #16028.Xiang, Haihao
2008-05-19fix tempReg test in _mesa_combine_programs()Brian Paul
2008-05-19Fix program refcounting assertion failure during context tear-downBrian Paul
When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tables.
2008-05-18Move _mesa_init_glsl_driver_functions() into shader_api.cBrian Paul
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1
2008-05-18additional fog/color matrix changes from gallium-0.1Brian Paul
2008-05-18add state vars for color matrix, pixel transfer scale&biasBrian Paul
cherry-picked from gallium-0.1 (068c7bd912283e051a55b2fd5c4568685d10f3ed)
2008-05-18mesa: added internal post color matrix scale/bias varsBrian Paul
cherry-picked from gallium-0.1 (302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58)
2008-05-18fixes to _mesa_combine_programs(), from gallium-0.1Brian Paul
2008-05-18added div by zero check for Fog.End/Start (from gallium-0.1)Brian Paul
2008-05-18clean-ups / additions from gallium-0.1 branchBrian Paul
2008-05-16bring in fixes/changes from gallium-0.1Brian Paul
2008-05-16fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul
This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
2008-05-16fix merge collisionBrian Paul
2008-05-16silence warning, new assertionBrian Paul
2008-05-16free(key) in _tnl_UpdateFixedFunctionProgram()Shunichi Fuji
2008-05-16Fix a program refcounting error, don't share program parameter lists.Brian Paul
The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled.
2008-05-16minor changes to aid debuggingBrian Paul
2008-05-16remove stray, left-over RefCount++Brian Paul
2008-05-16whitespace/formattingBrian Paul
2008-05-16init SamplersUsed bits in _mesa_parse_arb_fragment_programBrian Paul
2008-05-16fix assertion typo: s/=/==/Brian Paul
2008-05-16Fix memory leak in _tnl_UpdateFixedFunctionProgramShunichi Fuji
2008-05-16Fix DRI buildBrian Paul
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
2008-05-14mesa: new functions for managing list/index of uniformsBrian Paul
cherry-picked from gallium-0.1
2008-05-14clean-up swizzle fields in fog code, fix NegateBaseBrian Paul
cherry-picked from gallium-0.1
2008-05-14sync up with gallium-0.1 changesBrian Paul
New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
2008-05-14added _mesa_combine_parameter_lists()Brian Paul
cherry-picked from gallium-0.1
2008-05-14mesa: added _mesa_insert_instructions()Brian Paul
Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1
2008-05-14mesa: added _mesa_free_instructions()Brian Paul
cherry-picked from gallium-0.1
2008-05-14fix some additional program refcounting bugsBrian Paul
2008-05-14_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the sourceXiang, Haihao
and target pointers after do the first 2 pixels. fix bug #15850
2008-05-09intel: use new mipmap generation hooks in driver.Dave Airlie
2008-05-09swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie
2008-05-09Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵Dave Airlie
function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
2008-05-09Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian
(cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
2008-05-09Added ctx->Driver.GenerateMipmap() driver hookDave Airlie
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
2008-05-09mesa/intel: map/unmap texture objects around mipmap generation function.Dave Airlie
This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow.
2008-05-08Add RS690M PCI ID.Kristian Høgsberg
2008-05-08disable debug printfsBrian Paul
2008-05-08mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao
2008-05-07fix refcounting bugs in tnl/tex program cachesBrian Paul
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-05-07Run `make clean' in drivers/xorg, tooDan Nicholson
2008-05-07Refactor installation targetsDan Nicholson
Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
2008-05-07Ensure recursive makes always propagate errorsDan Nicholson
There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
2008-05-06implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
2008-05-06Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaDan Nicholson
2008-05-06Prevent makedepend from running multiple timesDan Nicholson
The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.