Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: clean up resource_copy_region function | Roland Scheidegger | 2010-05-17 | 2 | -6/+3 |
| | | | | | | | | | | Previously, surface_copy was said to allow overlapping blits, and it was "optional". However, some state trackers actually assumed it is always present, and quite some code (like in u_blit) assumed overlapping isn't allowed. Hence, resource_copy_region (and in the same spirit, resource_fill_region) is now mandatory, but overlapping blits are no longer allowed. A driver can plug in the cpu fallback util_resource_copy_region if it does not want to provide its own implementation, though this is not optimal. | ||||
* | gallium: another interface change for multisampling | Roland Scheidegger | 2010-05-17 | 2 | -21/+5 |
| | | | | | | | | | | due to popular request, use nr_samples parameter in is_format_supported() instead of new is_msaa_supported() query. This makes it easily possible to query if a format with a given sample count is also supported not only as render target, but for sampler views (note that texture sampling from multisampled resources isn't supported yet). It is not quite how dx10 format msaa queries work, but we might need to revisit format queries completely in the future anyway. | ||||
* | Merge commit 'origin/master' into gallium-msaa | Roland Scheidegger | 2010-05-04 | 236 | -5946/+7291 |
|\ | |||||
| * | intel: Enable GL_EXT_framebuffer_object for gles2 | Kristian Høgsberg | 2010-05-04 | 1 | -0/+1 |
| | | |||||
| * | gallivm: Proper implementation of TXL opcode. | José Fonseca | 2010-05-04 | 5 | -70/+100 |
| | | |||||
| * | gallivm: Fix several glitches introduced in the prev commit. | José Fonseca | 2010-05-04 | 3 | -6/+7 |
| | | |||||
| * | mesa: Forgot to add .pc.in files for gles | Kristian Høgsberg | 2010-05-04 | 2 | -0/+24 |
| | | | | | | | | Some day I'll grow up and remember to add new files when I commit. | ||||
| * | gallivm: Implement TXD. | José Fonseca | 2010-05-04 | 5 | -40/+62 |
| | | |||||
| * | gles: Add -I$(TOP)/include. | Chia-I Wu | 2010-05-04 | 1 | -1/+1 |
| | | |||||
| * | mesa: Only initialize TNL for OpenGL | Kristian Høgsberg | 2010-05-03 | 1 | -4/+5 |
| | | |||||
| * | mesa: Only initialize save dispatch table for OpenGL | Kristian Høgsberg | 2010-05-03 | 2 | -14/+14 |
| | | |||||
| * | progs/egl/opengles2: Add es2gears demo | Kristian Høgsberg | 2010-05-03 | 2 | -4/+429 |
| | | | | | | | | Because every subdirectory under progs has to have a version of gears. | ||||
| * | mesa: increase MAX_DRAW_BUFFERS to 8 | Brian Paul | 2010-05-03 | 2 | -1/+4 |
| | | | | | | | | Required for GL 3.x | ||||
| * | gallium: move surface utility functions into u_surface.c | Brian Paul | 2010-05-03 | 14 | -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é Fonseca | 2010-05-04 | 2 | -13/+69 |
| | | |||||
| * | gallicm: Newton-Raphson step to improve precision. | José Fonseca | 2010-05-04 | 1 | -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 functions | Brian Paul | 2010-05-03 | 1 | -41/+7 |
| | | |||||
| * | gallium: move framebuffer utility functions into a new file | Brian Paul | 2010-05-03 | 9 | -84/+165 |
| | | |||||
| * | st/mesa: remove dead code | Brian Paul | 2010-05-03 | 1 | -9/+0 |
| | | |||||
| * | st/mesa: remove unused needFlush parameter to st_finalize_texture() | Brian Paul | 2010-05-03 | 4 | -13/+7 |
| | | |||||
| * | st/mesa: updated comments and fix some formatting in texture storage code | Brian Paul | 2010-05-03 | 1 | -13/+18 |
| | | |||||
| * | st/mesa: rename srcImageStride -> srcRowStride and fix-up formatting | Brian Paul | 2010-05-03 | 1 | -8/+8 |
| | | |||||
| * | st/mesa: consolidate and clean-up texture memory allocation code | Brian Paul | 2010-05-03 | 1 | -22/+11 |
| | | |||||
| * | st/mesa: updated comments for st_texture_image_map() | Brian Paul | 2010-05-03 | 1 | -4/+6 |
| | | |||||
| * | st/mesa: move some texture size calculation code | Brian Paul | 2010-05-03 | 1 | -10/+6 |
| | | |||||
| * | st/mesa: remove old convolution-related vars and min pitch code | Brian Paul | 2010-05-03 | 1 | -15/+2 |
| | | |||||
| * | st/mesa: remove unsupported convolution code | Brian Paul | 2010-05-03 | 1 | -10/+6 |
| | | |||||
| * | progs/demos: check for GL_ARB_imaging if convolutions is requested | Brian Paul | 2010-05-03 | 1 | -0/+7 |
| | | |||||
| * | st/mesa: updated comment | Brian Paul | 2010-05-03 | 1 | -4/+5 |
| | | |||||
| * | glsl: change variable declared assertion into conditional | Brian Paul | 2010-05-03 | 2 | -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 Paul | 2010-05-03 | 1 | -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 code | Brian Paul | 2010-05-03 | 1 | -18/+0 |
| | | |||||
| * | st/mesa: restore original last_layer comparison | Brian Paul | 2010-05-03 | 1 | -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_plain | Marek Olšák | 2010-05-03 | 4 | -29/+17 |
| | | |||||
| * | util: add util_format_short_name | Marek Olšák | 2010-05-03 | 1 | -0/+13 |
| | | |||||
| * | util: add util_format_is_plain | Marek Olšák | 2010-05-03 | 1 | -0/+15 |
| | | |||||
| * | r300g: refuse to create a texture with size 0 | Marek Olšák | 2010-05-03 | 1 | -0/+11 |
| | | |||||
| * | r300g: improve texture debug output, split into TEX and TEXALLOC flags | Marek Olšák | 2010-05-03 | 3 | -6/+22 |
| | | |||||
| * | Reorder LLVM passes, running mem2reg earlier. | Török Edwin | 2010-05-03 | 2 | -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é Fonseca | 2010-05-03 | 1 | -1/+1 |
| | | |||||
| * | Generate es glapi files when es1 or es2 is enabled | Kristian Høgsberg | 2010-05-03 | 2 | -2/+11 |
| | | |||||
| * | gallivm: Display message instead of crashing when sampler generator was not ↵ | José Fonseca | 2010-05-03 | 1 | -0/+8 |
| | | | | | | | | supplied for tgsi translation. | ||||
| * | driswrast: Fix more context creation breakage | Kristian Høgsberg | 2010-05-03 | 1 | -1/+2 |
| | | | | | | | | Pointed out by Colin Harrison. | ||||
| * | translate: Make translate_generic truly generic. | José Fonseca | 2010-05-03 | 1 | -301/+90 |
| | | | | | | | | | | PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support. | ||||
| * | draw: Remove draw_pt_fetch_prepare call from llvm middle end. | José Fonseca | 2010-05-03 | 1 | -12/+0 |
| | | | | | | | | Unneeded since we code generate the vertex fecthes. | ||||
| * | tgsi: Parse and dump predicates. | José Fonseca | 2010-05-03 | 2 | -1/+63 |
| | | |||||
| * | gallium: Remove loop register file. | José Fonseca | 2010-05-03 | 9 | -44/+6 |
| | | | | | | | | | | It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now. | ||||
| * | gallivm: Replace predicate assertion failure with warning message. | José Fonseca | 2010-05-03 | 1 | -8/+6 |
| | | |||||
| * | draw: Disable rtasm compilation when using LLVM. | José Fonseca | 2010-05-03 | 1 | -6/+10 |
| | | | | | | | | Saves time and trouble. | ||||
| * | nouveau: fix nouveau_create_context decleration | Dave Airlie | 2010-05-03 | 1 | -1/+2 |
| | |