summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* identity: Add id_drm.c to SCons build.Vinson Lee2010-03-271-1/+2
| | | | This was missed in commit f7cbaae13d67c55abe81ac230de37f564365099f.
* st/egl: Fix missing symbols.Chia-I Wu2010-03-277-9/+13
| | | | | | ximage backend calls gallium_wrap_screen, which requires libidentity.a and libtrace.a. There are also some missing symbols in i965 due to the use of sw wrapper.
* r300g: fix macrotiling for non-square texturesMathias Fröhlich2010-03-271-1/+2
| | | | | | FDO bug #27338. Signed-off-by: Marek Olšák <[email protected]>
* glx: try swrastg_dri, if swrast_dri failsGeorge Sapountzis2010-03-271-2/+15
| | | | | This needs a patch for xserver/glx also. An enviroment variable will be added at some point, it chould be for swrastg only or all gallium drivers.
* r300g: Make SWTCL clear work again.Corbin Simpson2010-03-272-128/+132
| | | | Kind of surprised that this was as little as it took. Worrying.
* r300g: Remove unnecessary header.Vinson Lee2010-03-261-1/+0
|
* gallium: Fix Windows SCons build.Vinson Lee2010-03-261-0/+1
|
* st/dri: Fix SCons build.Vinson Lee2010-03-262-2/+0
| | | | | This was missed in commit 4b722bf9fde668dff1c2b55b34eb3f86c78f43fb. dri_extensions.c was removed from Makefile but not from SConscript.
* gallium/llvmpipe: add PROGS target/rule to Makefile.templateChris Li2010-03-262-10/+11
| | | | | | | | So other directory can share it. Also remove the libllvmpipe.a dependency from test programs. It is not needed any more. Signed-Off-By: Christopher Li <[email protected]>
* rtasm: Silence gnu_printf format warnings.Vinson Lee2010-03-261-1/+1
|
* Merge branch '7.8'Michel Dänzer2010-03-262-7/+12
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_mipmap_tree.c - left what was in master
| * dri/swrast: Fix frontbuffer rendering.Michel Dänzer2010-03-261-6/+11
| | | | | | | | | | Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
| * dri/swrast: Fix missed conversion of one pixel pointer increment.Michel Dänzer2010-03-261-1/+1
| | | | | | | | | | This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
| * i965: Fix readpixels from ReadBuffer != DrawBuffer.Eric Anholt2010-03-251-8/+8
| | | | | | | | | | Fixes piglit fbo-readdrawpix. (cherry picked from commit 5782b2a968bb979b651e49bb5fc4162faa842050)
| * i965: Fix inversion for glCopyPixels to/from FBOs.Eric Anholt2010-03-254-13/+20
| | | | | | | | | | fixes piglit fbo-copypix. (cherry picked from commit a589da14dee0c2a32e6e529f1a390b01a3ee4001)
| * intel: Rely on allocated region pitch for the miptree pitch.Eric Anholt2010-03-254-25/+7
| | | | | | | | | | Bug #26966: 945 miptree pitch disagreement with libdrm. (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
| * intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt2010-03-252-9/+3
| | | | | | | | (cherry picked from commit 32f143b4327521a058dc05f0ab9087a5696b9618)
| * intel: Respect src pitch in _mesa_copy_rect().Eric Anholt2010-03-251-1/+1
| | | | | | | | | | | | If a non-zero src_y was used, this would break piglit depth-level-clamp. (cherry picked from commit e1e48ea15c1fe448f0b69e086b66c1123dc98bb7)
* | swrastg: allow for any of the software rasterizers.George Sapountzis2010-03-263-42/+98
| | | | | | | | | | | | | | | | This function should be put in targets/common or winsys/sw/common and shared with targers/libgl-xlib and winsys/sw/drm. For targets/common, you get layering violations in the build system unless all of drm_api's are moved under targets.
* | dri/common: add comment about DRISW wrt DRI1 / DRI2George Sapountzis2010-03-261-36/+47
| |
* | st/dri: add comment about the ifdef in dri_screen.cGeorge Sapountzis2010-03-261-13/+10
| |
* | st/dri: factor out common init_screen codeGeorge Sapountzis2010-03-265-56/+67
| |
* | st/dri mv __driDriverExtensions to drisw.c and dri2.cGeorge Sapountzis2010-03-263-15/+15
| |
* | st/dri: fold dri_extensions.c into dri_context.cGeorge Sapountzis2010-03-267-58/+13
| |
* | mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul2010-03-262-544/+594
| | | | | | | | | | | | | | | | | | | | | | Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
* | swrastg: Use llvmpipe if built but only on sconsJakob Bornecrantz2010-03-263-9/+34
| |
* | swrastg: Build with sconsJakob Bornecrantz2010-03-266-0/+106
| |
* | gallium: Fix DRI driver build warnings under sconsJakob Bornecrantz2010-03-2610-87/+117
| | | | | | | | | | | | | | When building more then one dri driver we would get warnings because we where defining the same build target multiple times. Also move all the dri scons targets related code into its own file.
* | svga/drm: Fix build under sconsJakob Bornecrantz2010-03-261-1/+1
| |
* | r300/compiler: Lower CMP for vertex programs.Corbin Simpson2010-03-261-0/+41
| | | | | | | | I think my maths is right?
* | Revert "r300g: add generating texture coordinates for point sprites (WIP)"Corbin Simpson2010-03-266-61/+13
| | | | | | | | | | | | | | | | This reverts commit cba6430524198a1bdcdeada03cbe946a454f3935. Breaks celestia with a hardlock. :T We really need to sit down and study texture stuffing further.
* | nv50: fix FACE semantic check in FP input slot assignmentsChristoph Bumiller2010-03-261-1/+1
| | | | | | | | Fixes for instance noise with material shaders in FlightGear.
* | rtasm: Fix typos in comments.Vinson Lee2010-03-251-3/+3
| |
* | identity: Remove unnecessary header.Vinson Lee2010-03-251-1/+0
| |
* | draw: Add EMIT_4UB_BGRA formatJakob Bornecrantz2010-03-266-10/+33
| | | | | | | | Needed for i915g, also fixed swizzle in draw_vs_aos_io.
* | draw: Use translate function instead of switch casesJakob Bornecrantz2010-03-266-144/+56
| |
* | i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz2010-03-2629-350/+353
| | | | | | | | Since the winsys isn't shared with i965 and never will be
* | st/dri: Move common files to common directoryJakob Bornecrantz2010-03-2627-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27 files changed, 15 insertions(+), 15 deletions(-) rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
* | st/dri: Reshuffle files and make it obvious which files are sharedJakob Bornecrantz2010-03-2636-68/+93
| | | | | | | | | | | | | | | | | | | | In short: git mv ../drisw/Makefile dri/sw git mv drisw.[c|h] sw git mv dri2.[c|h] dri1.[c|h] Makefile drm git rm ../drisw ln -s <common files> drm/* ln -s <common files> sw/*
* | Merge branch '7.8'Brian Paul2010-03-254-16/+72
|\|
| * glapi: return int = 0 from NoOpGeneric()Brian Paul2010-03-251-1/+2
| | | | | | | | | | | | If a GL function is called w/out a current rendering context, this stub gets called. It should return 0 so that non-void-valued functions return 0/NULL instead of a random number.
| * glslcompiler: Fix build.Vinson Lee2010-03-251-6/+2
| |
| * r300: report correct state atom sizeMaciej Cencora2010-03-241-2/+2
| | | | | | | | Spotted by Pauli Nieminen
| * r300: fix off by oneMaciej Cencora2010-03-241-1/+1
| | | | | | | | | | | | | | | | R300_PVS_MAX_CONST_ADDR field holds highest const addr, not const count. Fixes missing models and others rendering errors for vertex program using 256 params.
| * r300: fix vertex programs with big number of params (>255) under KMSMaciej Cencora2010-03-242-7/+39
| | | | | | | | UMS will probably require some kernel work
| * r300: fix wpos/fog handlingMaciej Cencora2010-03-241-6/+16
| | | | | | | | | | | | | | | | | | | | It may happen that the vertex attribute we were going to stuff the wpos/fog attrs in was already written by vertex program. In such cases we need to remove instruction accessing these attributes, so they don't overwrite the wpos/fog related instructions. This fixes non-textured models in many wine games.
| * r300: clean fog_attr/wpos_attr if code accessing these attributes has been ↵Maciej Cencora2010-03-241-0/+13
| | | | | | | | removed FP during compilation
| * i965: Stop abusing ctx->NewState flags for storing driver internal changes.Eric Anholt2010-03-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | We're still abusing the flags by putting them where our driver stores ctx->NewState changes. Making them into more restricted state change flags would be a project for later. Fixes a failure where calling intel_draw_buffer() too often would trip up Mesa assertions about when Mesa state could get changed, when it hadn't. Bug #27034.
* | Revert "llvmpipe: optimize the lp_setup_fence() function"Brian Paul2010-03-251-20/+6
| | | | | | | | | | | | | | | | This reverts commit a9063cad0f0190ff88cd20fbad5aa87bf1a943f6. Not too surprisingly, this change caused some regressions. Revert it for the time being. See fd.o bug 27320.
* | llvmpipe: disable an assertionBrian Paul2010-03-251-1/+1
| | | | | | | | | | | | We shouldn't try to clear a non-existant z/stencil buffer, so there's probably a bug elsewhere. Disable the assertion for now to allow things to at least run.