summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-11python: Prefer PIPE_FORMAT_Z32_UNORM.José Fonseca2-2/+2
2010-01-11python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.José Fonseca4-4/+4
As the python state tracker is not integrated with window system an cannot present surfaces directly.
2010-01-11util: Set flatshade for blitter.Corbin Simpson1-0/+1
It was bugging me. +1 FPS on softpipe.
2010-01-11radeong: Check for DONTBLOCK before flushing, remove dead code.Corbin Simpson1-59/+5
2010-01-11util/blitter: remove unused variableKeith Whitwell1-1/+0
2010-01-11Fix compressed texture loads for non-minimal pitchesLuca Barbieri1-1/+16
The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by: Keith Whitwell <keithw@vmware.com> Tweaks for C90 compilation.
2010-01-10r300g: Don't bother testing for empty scissors.Corbin Simpson3-28/+0
If somebody goes through that much effort, they probably intended it. So humor them. :3
2010-01-10util: Apply Brian's suggested blit improvements.Corbin Simpson1-15/+12
copypix works just fine.
2010-01-10gallium: u_blitter add overlapping blit support.Dave Airlie1-34/+124
the xorg state tracker really wants the driver to handle overlapping blits, and r300 uses u_blitter for blits. This patch adds overlapping blit support via a temporary surface when its required.
2010-01-10r300g: Atomize scissors.Corbin Simpson6-26/+22
Argfl. Some of this code is so questionable.
2010-01-10r300g: Move TCL bypass switch to main context.Corbin Simpson4-36/+31
2010-01-10r300g: Atomize viewport.Corbin Simpson5-30/+26
Goddammit, some of these hax are really annoying.
2010-01-10r300g: Move ROPCNTL to the top of the emit order.Corbin Simpson1-1/+1
According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it.
2010-01-10r300g: Don't avoid rewriting ZTOP.Corbin Simpson1-9/+9
Simplify the code. Added a comment to keep me from doing it again.
2010-01-10r300g: Atomize rasterizer.Corbin Simpson8-32/+34
I want to stab things now.
2010-01-11nouveau: Make winsys recognise the original NV50.Marcin Kościelnicki1-0/+2
2010-01-11radeon: fix prediction for r100 inline vert/elt emits.Dave Airlie1-0/+1
On r100 we emit the indices inline so we need to account for that in the emission size.
2010-01-11radeon: fix bug in realloc code.Dave Airlie1-1/+1
This bug was fixed in libdrm ages ago, port to non-kms
2010-01-11st/dri: update dri2 drawables when viewport is changedBen Skeggs5-2/+19
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-10r300g: Atomize ZTOP.Corbin Simpson5-8/+25
Also do state-change checks. ZTOP's too important to not check.
2010-01-10r300g: Atomize DSA.Corbin Simpson7-32/+25
Also a bit of ztop.
2010-01-10r300g: Atomize UCP.Corbin Simpson5-13/+9
Meh.
2010-01-10r300g: Atomize blend color.Corbin Simpson5-19/+14
2010-01-10r300g: Start using atoms.Corbin Simpson6-12/+42
No benefits yet.
2010-01-10llvmpipe: Update instructions.José Fonseca1-21/+18
Explain how to build for windows. Both MSVC 9 and cross MinGW supported. Stop documenting LLVM 2.5 as supported. It still supported at the moment but it will soon stop being.
2010-01-11egl: Clean up the Makefile rules.Chia-I Wu4-20/+31
This allows libEGL to be built as a static library and removes libX11 from the dependencies. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11egl_softpipe: Remove the unnecessary call to _eglSwapBuffers.Chia-I Wu1-14/+8
The call to _eglSwapBuffers is unnecessary, and the function is missing when -fvisibility=hidden. Also remove the extraneous braces and indent the block.
2010-01-10llvmpipe: Yet another hack to get release LLVM static libraries to link in ↵José Fonseca1-0/+14
debug builds.
2010-01-10scons: LLVM <-> MSVC integration tweaks.José Fonseca1-0/+10
2010-01-10gallium: Remove dead code.José Fonseca1-4/+0
2010-01-10gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca5-34/+173
ad-hoc definitions. Everybody is using the C99's integer types. Everybody except Microsoft, which in turns means everybody is including their own definitions of C99 integer types for MSVC, causing duplicate definitions when linking two projects. This is the case of building Gallium and LLVM with MSVC. Shipping alternative stdint.h and stdbool.h headers for MSVC allows us to share a single definition. It also removes clutter from the Gallium headers.
2010-01-09r300: minor accelerated blit fixesMaciej Cencora1-1/+14
2010-01-09r300: fallback on depth buffer blitsMaciej Cencora1-3/+5
Depth buffer accelerated blits aren't implemented yet.
2010-01-08nv50: handle TGSI_OPCODE_UMAD,UMUL,NOT and fix SADChristoph Bumiller1-3/+149
2010-01-08nv50: free src temp_temps on emitChristoph Bumiller1-32/+42
2010-01-08nv50: try to honor sprite coord modeChristoph Bumiller1-4/+10
2010-01-08Merge branch 'mesa_7_7_branch'Brian Paul23-188/+169
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08mesa: Ensure libmesagallium.a is finished building before descendingDan Nicholson1-1/+1
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-01-08mklib: Extract archives into temporary directoriesDan Nicholson1-5/+17
When static libraries are created from other archives, objects are extracted and then deleted when the static library is done. This can race when there are multiple static libraries being created from the same archives as with libmesa.a and libmesagallium.a. Should fix this issue with parallel jobs: make[5]: *** No rule to make target > `../../../../../../src/mesa/libmesagallium.a', needed by > `radeon_dri.so'. Stop Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reported-and-Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2010-01-08tgsi: Cleanup dot-product opcodes in interpreter.Michal Krol1-97/+130
2010-01-08r300: Move initial declaration outside for loop.Vinson Lee1-2/+4
2010-01-08nv20: Fix build for the latest nouveau_class.h changes.Francisco Jerez1-2/+2
2010-01-08scons: Don't build xlib when dri is enabled.José Fonseca1-0/+4
Hopefully adddresses fdo 25828.
2010-01-08lvmpipe: Initialize all coordinates.José Fonseca1-0/+3
Fixes assertion failure with fp-incomplete-tex (fdo 24298).
2010-01-08scons: Output a meaningful message when xlib libGL.so can't be built.José Fonseca1-45/+57
2010-01-08scons: Use static glew library on Unices to avoid binary compatability issuesJosé Fonseca1-9/+9
Fixes bug 25926.
2010-01-07st/xorg: remove unused xorg_exa_get_pixmap_handle functionKeith Whitwell2-30/+0
2010-01-07docs: document Gallium SSE codegen for XPD bug fixBrian Paul1-0/+1
2010-01-07tgsi: fix SSE code emit for XPDBrian Paul1-20/+30
Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above.
2010-01-07nv50: preallocate TEMPs written first time in a subroutineChristoph Bumiller1-2/+10
Otherwise we risk overwriting them with temporary GPRs if they're not used immediately after the CALL.