summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-19llvmpipe: twoside for specular color alsolp-offset-twosideKeith Whitwell4-20/+42
2010-11-19llvmpipe: fix up twoside after recent changesKeith Whitwell1-8/+7
Fix my slot/attr confusion.
2010-11-19llvmpipe: fix such that offset/twoside function only does in-place modificationHui Qi Tay1-155/+159
2010-11-15llvmpipe: clean up polygon offset function in lp setup codeHui Qi Tay1-44/+16
2010-11-04llvmpipe: added llvm offset setup codeHui Qi Tay4-46/+143
2010-11-01llvmpipe: Moved draw pipeline twoside function to llvm setup codeHui Qi Tay4-5/+103
2010-10-22llvmpipe: turn off draw offset/twoside when we can handle itKeith Whitwell1-27/+72
2010-10-22mesa: move declaration before codeBrian Paul1-1/+2
2010-10-22galahad: silence warningsBrian Paul2-3/+3
2010-10-22dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer.Francisco Jerez1-0/+12
2010-10-22egl: Move fallback routines to eglfallbacks.c.Chia-I Wu17-465/+102
We do not want them to be all over the places.
2010-10-22egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu4-162/+92
Avoid code duplications.
2010-10-22egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu5-28/+42
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists.
2010-10-22egl_glx: Fix borken driver.Chia-I Wu1-107/+185
The driver was broken since 6eda3f311bc24999835003e404d5eda5599bc5de. All configs fail to pass _eglValidateConfig.
2010-10-22egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.Chia-I Wu2-28/+14
_EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too.
2010-10-22egl_dri2: Drop the use of _egl[SG]etConfigKey.Chia-I Wu1-11/+9
_EGLConfig can be directly dereferenced now.
2010-10-21winsys/xlib: rename xm->xlibBrian Paul1-147/+147
Move away from the old Mesa-oriented names.
2010-10-21winsys/xlib: fix up allocation/dealloction of XImageBrian Paul1-1/+8
Fixes a crash upon exit when using remote display.
2010-10-21winsys/xlib: use Bool type for shm fieldBrian Paul1-5/+5
2010-10-21winsys/xlib: formatting fixesBrian Paul1-10/+9
2010-10-21Merge branch 'primitive-restart-cleanup'Brian Paul32-4046/+4458
Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
2010-10-21docs: added GL_NV_primitive_restart extensionBrian Paul1-0/+1
2010-10-21llvmpipe: enable primitive restartBrian Paul1-0/+2
2010-10-21softpipe: enable primitive restartBrian Paul1-0/+2
2010-10-21draw: implement primitive splitting for primitive restartBrian Paul1-1/+85
2010-10-21st/mesa: support for primitive restartBrian Paul2-0/+7
2010-10-21gallium: new CAP, state for primitive restartBrian Paul3-0/+16
2010-10-21vbo: support for primitive restartBrian Paul3-86/+186
We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it.
2010-10-21mesa: plug in primitive restart functionBrian Paul3-0/+18
2010-10-21mesa: regenerated files with primitive restartBrian Paul10-3953/+4074
2010-10-21mesa: API spec for primitive restartBrian Paul3-0/+26
2010-10-21mesa: set/get primitive restart stateBrian Paul3-6/+40
2010-10-21mesa: driver hook for primitive restartBrian Paul1-0/+1
2010-10-21i965: Be more aggressive in tracking live/dead intervals within loops.Eric Anholt1-13/+41
Fixes glsl-fs-convolution-2, which was blowing up due to the array access insanity getting at the uniform values within the loop. Each temporary was considered live across the whole loop.
2010-10-21docs: add GL_ARB_texture_rg to release notesBrian Paul1-0/+1
2010-10-21docs: update texture red/green support in GL3.txtBrian Paul1-1/+1
2010-10-21st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()Brian Paul1-0/+2
2010-10-21mesa: add missing cases for packing red/green imagesBrian Paul1-0/+48
2010-10-21mesa: add GL_RG case to _mesa_source_buffer_exists()Brian Paul1-0/+1
Fixes failure with glReadPixels(format=GL_RG)
2010-10-21draw: fix typo in commentBrian Paul1-1/+1
2010-10-21i965: Correct scratch space allocation.Eric Anholt3-12/+15
One, it was allocating increments of 1kb, but per thread scratch space is a power of two. Two, the new FS wasn't getting total_scratch set at all, so everyone thought they had 1kb and writes beyond 1kb would go stomping on a neighbor thread. With this plus the previous register spilling for the new FS, glsl-fs-convolution-1 passes.
2010-10-21i965: Don't emit register spill offsets directly into g0.Eric Anholt1-6/+22
g0 is used by others, and is expected to be left exactly as it was dispatched to us. So manually move g0 into our message reg when spilling/unspilling and update the offset in the MRF. Fixes failures in texture sampling after having spilled a register.
2010-10-21i965: Add support for register spilling.Eric Anholt8-55/+380
It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail.
2010-10-21i965: Fix gl_FrontFacing emit on pre-gen6.Eric Anholt1-1/+0
It's amazing this code worked. Basically, we would get lucky in register allocation and the tests using frontfacing would happen to allocate gl_FrontFacing storage and the instructions generating gl_FrontFacing but pointing at another register to the same hardware register. Noticed during register spilling debug, when suddenly they didn't get allocatd the same storage.
2010-10-21i965: Split register allocation out of the ever-growing brw_fs.cpp.Eric Anholt3-216/+266
2010-10-21Refresh autogenerated file builtin_function.cpp.Kenneth Graunke1-3160/+205
Since this is just generated by python, it's questionable whether this should continue to live in the repository - Mesa already has other things generated from python as part of the build process.
2010-10-21generate_builtins.py: Output large strings as arrays of characters.Kenneth Graunke1-2/+14
This works around MSVC's 65535 byte limit, unfortunately at the expense of any semblance of readability and much larger file size. Hopefully I can implement a better solution later, but for now this fixes the build.
2010-10-21gallivm: Silence uninitialized variable warning.Vinson Lee1-1/+1
Fixes this GCC warning. gallivm/lp_bld_tgsi_aos.c: In function 'lp_build_tgsi_aos': gallivm/lp_bld_tgsi_aos.c:516: warning: 'dst0' may be used uninitialized in this function gallivm/lp_bld_tgsi_aos.c:516: note: 'dst0' was declared here
2010-10-21gallivm: Silence uninitialized variable warnings.Vinson Lee1-1/+1
Fixes these GCC warnings. gallivm/lp_bld_sample_aos.c: In function 'lp_build_sample_image_nearest': gallivm/lp_bld_sample_aos.c:271: warning: 't_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:271: warning: 'r_ipart' may be used uninitialized in this function
2010-10-21gallivm: Silence uninitialized variable warnings.Vinson Lee1-2/+2
Fixes these GCC warnings. gallivm/lp_bld_sample_aos.c: In function 'lp_build_sample_image_linear': gallivm/lp_bld_sample_aos.c:439: warning: 'r_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart_hi' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart_lo' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart_hi' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart_lo' may be used uninitialized in this function