summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* minor changes to aid debuggingBrian Paul2008-05-161-7/+15
|
* remove stray, left-over RefCount++Brian Paul2008-05-161-1/+0
|
* whitespace/formattingBrian Paul2008-05-161-2/+0
|
* init SamplersUsed bits in _mesa_parse_arb_fragment_programBrian Paul2008-05-161-1/+4
|
* fix assertion typo: s/=/==/Brian Paul2008-05-161-1/+1
|
* Fix memory leak in _tnl_UpdateFixedFunctionProgramShunichi Fuji2008-05-161-0/+2
|
* Fix DRI buildBrian Paul2008-05-161-2/+1
|
* Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul2008-05-1417-413/+338
| | | | | | | | | | 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
* mesa: new functions for managing list/index of uniformsBrian Paul2008-05-142-0/+248
| | | | cherry-picked from gallium-0.1
* clean-up swizzle fields in fog code, fix NegateBaseBrian Paul2008-05-141-11/+10
| | | | cherry-picked from gallium-0.1
* sync up with gallium-0.1 changesBrian Paul2008-05-142-85/+115
| | | | New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
* added _mesa_combine_parameter_lists()Brian Paul2008-05-146-2/+296
| | | | cherry-picked from gallium-0.1
* mesa: added _mesa_insert_instructions()Brian Paul2008-05-142-10/+52
| | | | | | Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1
* mesa: added _mesa_free_instructions()Brian Paul2008-05-142-0/+20
| | | | cherry-picked from gallium-0.1
* fix some additional program refcounting bugsBrian Paul2008-05-143-22/+13
|
* _generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the sourceXiang, Haihao2008-05-141-1/+3
| | | | and target pointers after do the first 2 pixels. fix bug #15850
* Don't link demos directly to X librariesDan Nicholson2008-05-091-2/+4
| | | | | Since the linker will just pull in the libraries needed from libGL, we don't need to link the demos directly to the X libraries. Fixes #15886.
* autoconf: Allow XCB to be used for GLXDan Nicholson2008-05-091-1/+26
| | | | | Adds an --enable-xcb switch to use XCB in GLX. This only has an effect when the driver is DRI.
* Default DRI driver directory to match X.Org xserverDan Nicholson2008-05-094-6/+5
| | | | | | | Since the only valid consumer of the DRI drivers is the X.Org xserver, this changes the default DRI driver directory to match xorg-server: ${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for nearly all current systems.
* autoconf: Attempt to figure out the PIC flags for the platformDan Nicholson2008-05-093-17/+125
| | | | | | | | | | | | | | | This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the PIC flags according to platform and static/shared setting. The platform specifics are taken straight from libtool.m4 and stripped down to just the flags and platforms we cover in Mesa. This should hopefully make it possible to use autoconf on non-GCC platforms. The macro is added external to configure.ac in acinclude.m4 since it's pretty bloated. Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I didn't carry that preference into this macro. Instead, you can just use --disable-pic where desired.
* intel: use new mipmap generation hooks in driver.Dave Airlie2008-05-095-11/+13
|
* swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie2008-05-093-9/+7
|
* Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵Dave Airlie2008-05-092-24/+0
| | | | | | | | function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
* Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-05-095-29/+10
| | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
* Added ctx->Driver.GenerateMipmap() driver hookDave Airlie2008-05-094-25/+34
| | | | | | | | (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
* mesa/intel: map/unmap texture objects around mipmap generation function.Dave Airlie2008-05-092-0/+24
| | | | | 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.
* Add RS690M PCI ID.Kristian Høgsberg2008-05-081-0/+1
|
* disable debug printfsBrian Paul2008-05-081-2/+2
|
* disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul2008-05-081-0/+1
| | | | depth buffer
* call glutDestroyWindow()Brian Paul2008-05-081-2/+5
|
* mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao2008-05-081-1/+3
|
* fix refcounting bugs in tnl/tex program cachesBrian Paul2008-05-075-62/+68
|
* updated options/helpBrian Paul2008-05-071-5/+18
|
* Never fail `make clean'Dan Nicholson2008-05-0728-53/+53
| | | | | | 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.
* Run `make clean' in drivers/xorg, tooDan Nicholson2008-05-071-0/+1
|
* Refactor installation targetsDan Nicholson2008-05-071-19/+26
| | | | | | | | | 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.
* Ensure recursive makes always propagate errorsDan Nicholson2008-05-073-8/+8
| | | | | There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
* implement full reference counting for vertex/fragment programsBrian2008-05-068-66/+141
| | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
* Update make output for autoconf helpDan Nicholson2008-05-061-1/+5
|
* Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaDan Nicholson2008-05-061-0/+33
|\
| * Add support for ATI_separate_stencil in display lists.Michal Wajdeczko2008-05-061-0/+33
| |
* | Prevent makedepend from running multiple timesDan Nicholson2008-05-061-1/+1
| | | | | | | | | | | | 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.
* | Always cleanup the makedepend backup filesDan Nicholson2008-05-069-12/+10
| | | | | | | | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* | Error consistently when running recursive makeDan Nicholson2008-05-066-19/+19
| | | | | | | | | | When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
* | Add .PHONY targets to top Makefile for non-file targetsDan Nicholson2008-05-061-0/+6
|/ | | | | | | When a make target doesn't result in a file of the same name, adding it to a .PHONY target means make won't look for such a file, speeding the build up a bit. This allows `make doxygen' to work since otherwise make will consider the doxygen directory as up to date.
* autoconf: Replace the configs/current symlink from config.statusDan Nicholson2008-05-061-1/+4
| | | | | Minor tweak so that running config.status will entirely recreate the configure settings by replacing the configs/current symlink.
* i965: fix googleearth in classic mode.Dave Airlie2008-05-061-4/+5
| | | | In classic mode googleearth triggered a case where vbos weren't getting accounted properly.
* autoconf: Sanitize asm build for cross-compiling and --enable-*-bitDan Nicholson2008-05-051-43/+72
| | | | | | | | Two fixes to the asm configuration: - Disable when the user is cross-compiling for x86 or x86_64 since it requires running an executable compiled for the target host. - If the user has specified --enable-32-bit on x86_64 or --enable-64-bit on x86, respect that and choose the correct asm architecture.
* r300: fragment.position input needs no blanking out, it's correctly handled ↵Markus Amsler2008-05-061-3/+3
| | | | | | in insert_wpos. fixes bug 15447
* autoconf: Error for incompatible version of libdrmDan Nicholson2008-05-051-2/+6
| | | | | | | | | The DRI modules can only be built against libdrm master (currently version 2.3.1), so this should be enforced to save people from trying to build against older versions. Added a section at the top of the script to consolidate all required versions.