summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-08-02Fix compilation error on darwin.HEADmasterTom Fogal1-0/+1
malloc/NULL needs stdlib.
2010-08-02r600g: split alu block to conform to limit + RCP opcodeJerome Glisse2-2/+4
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-02r600g: add autogenerated reg definition + debug print cleanupJerome Glisse6-173/+194
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-02radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner13-10/+98
When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse10-77/+0
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
2010-08-02r300g: fix hardlock when using more than one stuffed sprite coordsMarek Olšák2-19/+21
If texture coordinates come from the vertex shader, there are always 4 components in the rasterizer input packet, but if the coordinates are stuffed (like for point sprites), there are only 2 or 3 components (based on GB_ENABLE) and if we rasterize more, it locks up.
2010-08-02radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner10-0/+77
When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02glx: Drop _Xglobal_lock while we create and initialize glx displayKristian Høgsberg1-21/+39
2010-08-02r600: fix sin,cos functions on r600Andre Maasikas1-9/+133
r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
2010-08-02util: Fix unpacking of R8G8Bx_SNORM format.Michal Krol1-3/+12
Apparently, we must always use integers to perform calculations, otherwise the results won't match D3D's CxV8U8 definition.
2010-08-02r600g: add stencil op/func translationDave Airlie2-3/+66
2010-08-02r600g: initial alpha test stateDave Airlie1-5/+13
2010-08-02r600g: add initial blend state.Dave Airlie5-20/+262
migrates cb_cntl to be regenerated
2010-08-02r600g: set correct tex coord type for rect textures.Dave Airlie1-4/+6
2010-08-02r600g: make r600_db_format static.Dave Airlie1-1/+1
this isn't used anywhere else yet.
2010-08-02draw: fix warning in sse code.Dave Airlie1-0/+1
Not sure if this will actually fix the issue, but it fixes the warning.
2010-08-01r300g: fix microtiling on RS6xxMarek Olšák1-4/+18
Getting tiling right has always been tricky. There are so many subtle details...
2010-07-31mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee10-5/+16
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
2010-07-31mesa: Remove unnecessary header from mm.h.Vinson Lee1-3/+0
2010-07-31mesa: Add headers containing sybmols used by mm.c.Vinson Lee1-0/+5
2010-07-31r600g: Remove unnecessary header.Vinson Lee1-1/+0
2010-07-31mesa: Reduce header file inclusion in get.h.Vinson Lee1-1/+1
get.h only needs the GL headers.
2010-07-31mesa: Include missing headers in vtxfmt.h.Vinson Lee1-0/+3
Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in shared.h.Vinson Lee1-0/+1
Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in restart.h.Vinson Lee1-0/+1
2010-07-31mesa: Include missing headers in renderbuffer.h.Vinson Lee1-0/+5
2010-07-31mesa: Include missing header in remap.h.Vinson Lee1-0/+1
Include compiler.h for INLINE symbol.
2010-07-31r600g: Remove unnecessary header.Vinson Lee1-1/+0
2010-07-31mesa: Remove unnecessary headers.Vinson Lee6-6/+0
2010-07-31swrast: Remove unnecessary headers.Vinson Lee6-6/+0
2010-07-31egl: Fix '_eglAddAtExitCall' implicit declaration warning.Vinson Lee1-0/+1
2010-07-31egl: Add checks for EGL_MESA_screen_surface.Chia-I Wu12-25/+101
This allows Mesa EGL to be compiled with eglext.h that does not define EGL_MESA_screen_surface.
2010-07-31tnl: Remove unnecessary headers.Vinson Lee8-8/+0
2010-07-31st/dri: Remove unnecessary headers.Vinson Lee2-2/+0
2010-07-30mesa: Include missing header in pixelstore.h.Vinson Lee1-0/+1
Include mtypes.h for GLcontext symbol.
2010-07-30mesa: Include missing headers in nvprogram.h.Vinson Lee1-0/+2
2010-07-30r600g: add KIL opcode supportJerome Glisse1-1/+25
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-30st/dri: move backend hooks to appropriate objectGeorge Sapountzis7-29/+78
2010-07-30st/dri: drop dri1_helperGeorge Sapountzis13-229/+23
2010-07-30st/dri: mv driDriverAPI to backendsGeorge Sapountzis6-130/+49
2010-07-30st/mesa: better handling of indirect addressing of temp/const register filesBrian Paul1-4/+24
With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305.
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul8-210/+234
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
2010-07-30llvmpipe: Silence unused value warning.Vinson Lee1-0/+1
2010-07-30mesa: Add missing header to multisample.h.Vinson Lee1-0/+1
Include mtypes.h for GLcontext symbol.
2010-07-30draw: actually a noop, rather than not implementedZack Rusin1-1/+4
we just have nothing to do in it right now
2010-07-30mesa: Remove unnecessary header from colormac.h.Vinson Lee1-1/+1
2010-07-30tgsi: remove incorrect assertionBrian Paul1-1/+0
2010-07-30mesa: Remove unnecessary headers.Vinson Lee6-6/+0
2010-07-30llvmpipe: Fix implicit declaration of lp_func_delete_body warnings.Vinson Lee2-0/+2
2010-07-30util: Fix the range of util_draw_elements_instanced.Chia-I Wu1-2/+0
Keep min_index and max_index at their defaults (0 and ~0).