summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* svga: Fix newline at EOFJakob Bornecrantz2010-12-161-1/+1
|
* svga: Add Galahad and Softpipe to scons buildJakob Bornecrantz2010-12-162-3/+6
|
* wrapper: Flush pipe on unmapJakob Bornecrantz2010-12-161-0/+1
| | | | For drivers that does DMA transfers instead of mapping directly
* wrapper: Fix width and height given to map and remove uneeded fieldsJakob Bornecrantz2010-12-161-5/+3
|
* i915g: Ignore color0 writes all cbufs tgsi propertyJakob Bornecrantz2010-12-271-0/+8
|
* st/egl: Fix eglChooseConfig when configs is NULL.Chia-I Wu2010-12-261-4/+4
| | | | | When configs is NULL, the app wants to know the number of matching configs.
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-12-251-1/+1
|
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-12-251-1/+1
|
* swrast: Clean up header file inclusion in s_texfilter.h.Vinson Lee2010-12-251-1/+3
|
* swrast: Clean up header file inclusion in s_texcombine.h.Vinson Lee2010-12-251-1/+2
|
* swrast: Clean up header file inclusion in s_masking.h.Vinson Lee2010-12-251-1/+4
|
* nvfx: Remove unused variable.Vinson Lee2010-12-251-1/+0
| | | | | | Fixes this GCC warning. nvfx_vbo.c: In function 'nvfx_idxbuf_emit': nvfx_vbo.c:410: warning: unused variable 'eng3d'
* nvfx: restore BEGIN_RING usageXavier Chantry2010-12-2515-164/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | Michel Hermier reported libdrm segfault (and kernel crash) on nv40 using gallium : http://www.mail-archive.com/[email protected]/msg06563.html It turns out these were caused by some missing WAIT_RING (or wrong computation of the WAIT_RING sizes). Unlike all other libdrm_nouveau users, nvfx gallium tried to use a mininum calls of WAIT_RING, one WAIT_RING could apply to many methods for different code paths and spread across several functions. This made it too tricky to find out what the missing or wrong WAIT_RING was. By restoring BEGIN_RING, we force one WAIT_RING per method, and it's much easier to check if the free size required in the pushbuffer is correct. As curro said, "let's keep it simple for the maintainers until the big bottlenecks are gone" Benchmarked on nv35 with openarena, nexuiz and ut2004 and no performance regression. The core of this patch was made with Coccinelle, with minor manual fixes made on top. Tested-by: Michel Hermier <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* intel: Only do frame throttling at glFlush time when using frontbuffer.Eric Anholt2010-12-251-1/+2
| | | | | | | | | | | This is the hack for input interactivity of frontbuffer rendering (like we do for backbuffer at intelDRI2Flush()) by waiting for the n-2 frame to complete before starting a new one. However, for an application doing multiple contexts or regular rebinding of a single context, this would end up lockstepping the CPU to the GPU because every unbind was considered the end of a frame. Improves WOW performance on my Ironlake by 48.8% (+/- 2.3%, n=5)
* r300g: simplify buffer_transfer_inline_writeMarek Olšák2010-12-251-8/+8
|
* r300g: simplify the code for buffer uploadsMarek Olšák2010-12-253-62/+32
|
* r300g: user index buffers are always alignedMarek Olšák2010-12-251-1/+2
|
* r300g: increase the size of upload buffersMarek Olšák2010-12-252-4/+3
|
* swrast: Clean up header file inclusion in s_logic.h.Vinson Lee2010-12-241-1/+3
|
* swrast: Clean up header file inclusion in s_fragprog.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_span.h.Vinson Lee2010-12-241-1/+6
|
* swrast: Clean up header file inclusion in s_fog.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_depth.h.Vinson Lee2010-12-241-1/+4
|
* swrast: Clean up header file inclusion in s_blend.h.Vinson Lee2010-12-241-1/+4
|
* swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee2010-12-241-1/+1
|
* swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee2010-12-241-2/+2
|
* swrast: Clean up header file inclusion in s_accum.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_aatriangle.h.Vinson Lee2010-12-241-1/+1
|
* swrast: Clean up header file inclusion in s_aaline.h.Vinson Lee2010-12-241-1/+1
|
* st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.Vinson Lee2010-12-241-7/+9
|
* st/mesa: Clean up header file inclusion in st_gen_mipmap.h.Vinson Lee2010-12-241-1/+3
|
* r300g/swtcl: re-enable LLVMMarek Olšák2010-12-243-1/+24
| | | | | | Based on a patch from Drill <[email protected]>. NOTE: This is a candidate for the 7.10 branch.
* r600g: r600_blit_uncompress_depth() can't fail.Henri Verbeet2010-12-242-5/+2
|
* r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet2010-12-243-6/+1
|
* mapi: Move mapi_func typedef to entry.h.Chia-I Wu2010-12-244-4/+4
| | | | Make it clear that entry.h does not depend on stub.h.
* mapi: Define MAPI_TMP_DEFINES only when needed.Chia-I Wu2010-12-242-1/+1
| | | | | Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h.
* mapi: Add and use entry_get_public.Chia-I Wu2010-12-247-16/+66
| | | | | | | | | | | Given a dispatch slot, entry_get_public returns the address of the corresponding public entry point. There may be more than one of them. But since they are all equivalent, it is fine to return any one of them. With entry_get_public, the address of any public entry point can be calculated at runtime when an assembly dispatcher is used. There is no need to have a mapping table in such case. This omits the unnecessary relocations from the binary.
* mapi: Make struct mapi_stub opaque.Chia-I Wu2010-12-244-15/+61
| | | | Add accessors for struct mapi_stub and make it opaque.
* mapi: Allow blocks to be disabled from the output.Chia-I Wu2010-12-241-47/+58
| | | | For example, a printer may ask not to output noop dispatch table.
* mapi: Fix hidden entries.Chia-I Wu2010-12-241-16/+55
| | | | | | | Hidden entries are just like normal entries except that they are not exported. Since it is not always possible to hide them, and two hidden aliases can share the same entry, the name of hidden aliases are mangled to '_dispatch_stub_<slot>'.
* mapi: Add "handcode" attribute to the script.Chia-I Wu2010-12-241-0/+22
| | | | | Entries with handcode attribute will be handled normally, except no entry point will be generated for them.
* mapi: Minor ABIPrinter refactoring.Chia-I Wu2010-12-241-21/+32
| | | | | | Split out function name generation from _c_decl to _c_function, and use it everywhere. Add an optional 'export' argument to _cdecl. It is prepended to the returned string.
* mapi: Store alias entry instead of alias name.Chia-I Wu2010-12-241-6/+8
| | | | An entry can hold more info than plain name.
* r600g: hack around property unknown issues.Dave Airlie2010-12-241-0/+2
| | | | | | | | should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <[email protected]>
* r300g: turn back on rv530 hiz.Dave Airlie2010-12-241-1/+1
| | | | | | still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <[email protected]>
* r300g: hyperz fixing typo.Dave Airlie2010-12-241-2/+2
| | | | | | | | | Really no idea why I didn't see this before, but these values were opposite the register spec. this seems to fix rv530 HiZ on my laptop, will reenable in next commit. Signed-off-by: Dave Airlie <[email protected]>
* mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+4
| | | | The case of format being MESA_FORMAT_COUNT should never occur.
* i965: use align1 access mode for instructions with execSize=1 in VSXiang, Haihao2010-12-241-0/+2
| | | | | All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
* i965: fix register region descriptionXiang, Haihao2010-12-241-1/+1
| | | | | This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
* r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee2010-12-231-1/+1
|