summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* draw: Preserve the provoking vertex both when decomposing and clipping.José Fonseca2010-05-052-23/+31
| | | | Based on John Lawless' feedback.
* draw: Adjust wideline vertex coords for D3D.Brian Paul2010-05-051-27/+34
|
* st/mesa: need to pass srcLevel to st_texture_image_copy()Brian Paul2010-05-043-7/+6
| | | | Fixes a regression in mipmap setup.
* llvmpipe: fix broken compressed cube mapsBrian Paul2010-05-041-27/+47
| | | | | | When the cube faces were stored in a compressed format, the img_stride values were wrong and didn't match the per-face size computed in the tex_image_face_size() function. This caused bad rendering or segfaults.
* gallium/util: added is_format_compressed()Brian Paul2010-05-041-0/+20
|
* llvmpipe: do some null pointer checkingBrian Paul2010-05-041-17/+22
|
* llvmpipe: add some tests for malloc() returning NULL.Brian Paul2010-05-042-22/+38
| | | | | Start propogating NULL pointers from allocation functions and checks for NULL in the callers...
* Add egl.pc fileKristian Høgsberg2010-05-042-1/+30
|
* r300g: advertise S3TC only when it's available in GalliumMarek Olšák2010-05-041-0/+5
|
* u_blitter: fix creating fragment shadersWiktor Janas2010-05-041-7/+6
| | | | | | See FDO bug #27887. Signed-off-by: Marek Olšák <[email protected]>
* intel: Update renderbuffers unconditionally in intelSetTexBuffer2()Kristian Høgsberg2010-05-041-2/+1
|
* st/mesa: return success/fail from guess_and_alloc_texture()Brian Paul2010-05-041-7/+10
| | | | | | Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before.
* st/mesa: improved st_texture_image_copy()Brian Paul2010-05-041-29/+47
| | | | | | | No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function.
* mesa/st: Fill in native program limits.José Fonseca2010-05-041-0/+91
| | | | | | | In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)
* intel: Enable GL_EXT_framebuffer_object for gles2Kristian Høgsberg2010-05-041-0/+1
|
* gallivm: Proper implementation of TXL opcode.José Fonseca2010-05-045-70/+100
|
* gallivm: Fix several glitches introduced in the prev commit.José Fonseca2010-05-043-6/+7
|
* mesa: Forgot to add .pc.in files for glesKristian Høgsberg2010-05-042-0/+24
| | | | Some day I'll grow up and remember to add new files when I commit.
* gallivm: Implement TXD.José Fonseca2010-05-045-40/+62
|
* gles: Add -I$(TOP)/include.Chia-I Wu2010-05-041-1/+1
|
* mesa: Only initialize TNL for OpenGLKristian Høgsberg2010-05-031-4/+5
|
* mesa: Only initialize save dispatch table for OpenGLKristian Høgsberg2010-05-032-14/+14
|
* mesa: increase MAX_DRAW_BUFFERS to 8Brian Paul2010-05-032-1/+4
| | | | Required for GL 3.x
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-0314-181/+183
| | | | This is a better place than in u_rect.c
* gallivm: Increase the TGSI translation limits and centralize them in a header.José Fonseca2010-05-042-13/+69
|
* gallicm: Newton-Raphson step to improve precision.José Fonseca2010-05-041-2/+27
| | | | | Disabled as it doesn't make VS/PSPrecision DCT happy, and it would unnecessarily slow some cases where it is not needed.
* cso: use framebuffer utility functionsBrian Paul2010-05-031-41/+7
|
* gallium: move framebuffer utility functions into a new fileBrian Paul2010-05-039-84/+165
|
* st/mesa: remove dead codeBrian Paul2010-05-031-9/+0
|
* st/mesa: remove unused needFlush parameter to st_finalize_texture()Brian Paul2010-05-034-13/+7
|
* st/mesa: updated comments and fix some formatting in texture storage codeBrian Paul2010-05-031-13/+18
|
* st/mesa: rename srcImageStride -> srcRowStride and fix-up formattingBrian Paul2010-05-031-8/+8
|
* st/mesa: consolidate and clean-up texture memory allocation codeBrian Paul2010-05-031-22/+11
|
* st/mesa: updated comments for st_texture_image_map()Brian Paul2010-05-031-4/+6
|
* st/mesa: move some texture size calculation codeBrian Paul2010-05-031-10/+6
|
* st/mesa: remove old convolution-related vars and min pitch codeBrian Paul2010-05-031-15/+2
|
* st/mesa: remove unsupported convolution codeBrian Paul2010-05-031-10/+6
|
* st/mesa: updated commentBrian Paul2010-05-031-4/+5
|
* glsl: change variable declared assertion into conditionalBrian Paul2010-05-032-3/+2
| | | | | | | | | The slang_variable::declared field originated as a debug field but can be promoted for use during sematic error checking. Fixes fd.o bug 27921. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
* Revert "glapi: s/strcpy/strncpy/"Brian Paul2010-05-031-2/+1
| | | | | | | This reverts commit 9446fd8f69564e09ffd0f28735a99c510f84bb62. It doesn't make sense to replace strcpy(a,b) with strncpy(a,b,strlen(b)). The preceeding code effectively does bounds checking, btw.
* st/mesa: remove dead codeBrian Paul2010-05-031-18/+0
|
* st/mesa: restore original last_layer comparisonBrian Paul2010-05-031-1/+1
| | | | | | | | | | | | | Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933.
* r300g: use util_format_short_name and util_format_is_plainMarek Olšák2010-05-034-29/+17
|
* util: add util_format_short_nameMarek Olšák2010-05-031-0/+13
|
* util: add util_format_is_plainMarek Olšák2010-05-031-0/+15
|
* r300g: refuse to create a texture with size 0Marek Olšák2010-05-031-0/+11
|
* r300g: improve texture debug output, split into TEX and TEXALLOC flagsMarek Olšák2010-05-033-6/+22
|
* Reorder LLVM passes, running mem2reg earlier.Török Edwin2010-05-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a ~30% shader optimization time improvement on blender. Tested by comparing the dumped LLVM modules. Current ordering: time ~/llvm-git/obj/Release-Asserts/bin/opt l.bc -constprop -instcombine -mem2reg -gvn -simplifycfg real 0m1.126s user 0m1.108s sys 0m0.012s With this patch: time ~/llvm-git/obj/Release-Asserts/bin/opt l.bc -mem2reg -constprop -instcombine -gvn -simplifycfg real 0m0.885s user 0m0.880s sys 0m0.000s The overall improvement in blender is ~15%. Blender without the patch takes 1m13s: edwin 5934 87.6 11.5 729440 458296 pts/5 SLl+ 17:35 1:13 blender Blender with the patch takes 1m3s: edwin 5726 94.2 11.2 716424 446168 pts/5 SLl+ 17:32 1:03 blender It is still slow with the patch, but better (most of the optimization time is taken up by GVN, see LLVM PR7023). Signed-off-by: Török Edwin <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* svga: Silent warning.José Fonseca2010-05-031-1/+1
|
* Generate es glapi files when es1 or es2 is enabledKristian Høgsberg2010-05-032-2/+11
|