summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-17nouveau: adapt to interface changesRoland Scheidegger
this probably needs further cleanup (just getting a surface for the resource seems quite nonoptimal and potentially cause unnecessary copies I think)
2010-05-17fo: adapt to interface changesRoland Scheidegger
2010-05-17identity: adapt to interface changesRoland Scheidegger
2010-05-17trace: adapt to interface changesRoland Scheidegger
2010-05-17i965g: adapt to interface changesRoland Scheidegger
2010-05-17i915g: adapt to interface changesRoland Scheidegger
2010-05-17softpipe: adapt to interface changesRoland Scheidegger
2010-05-17llvmpipe: adapt to interface changesRoland Scheidegger
2010-05-17cell: adapt to interface changesRoland Scheidegger
not even compile tested but fairly trivial
2010-05-17mesa/st: adapt to interface changesRoland Scheidegger
adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
2010-05-17gallium/util: adapt util code to interface changesRoland Scheidegger
The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
2010-05-17gallium: clean up resource_copy_region functionRoland Scheidegger
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.
2010-05-17gallium: another interface change for multisamplingRoland Scheidegger
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.
2010-05-04Merge commit 'origin/master' into gallium-msaaRoland Scheidegger
2010-05-04intel: Enable GL_EXT_framebuffer_object for gles2Kristian Høgsberg
2010-05-04gallivm: Proper implementation of TXL opcode.José Fonseca
2010-05-04gallivm: Fix several glitches introduced in the prev commit.José Fonseca
2010-05-04mesa: Forgot to add .pc.in files for glesKristian Høgsberg
Some day I'll grow up and remember to add new files when I commit.
2010-05-04gallivm: Implement TXD.José Fonseca
2010-05-04gles: Add -I$(TOP)/include.Chia-I Wu
2010-05-03mesa: Only initialize TNL for OpenGLKristian Høgsberg
2010-05-03mesa: Only initialize save dispatch table for OpenGLKristian Høgsberg
2010-05-03progs/egl/opengles2: Add es2gears demoKristian Høgsberg
Because every subdirectory under progs has to have a version of gears.
2010-05-03mesa: increase MAX_DRAW_BUFFERS to 8Brian Paul
Required for GL 3.x
2010-05-03gallium: move surface utility functions into u_surface.cBrian Paul
This is a better place than in u_rect.c
2010-05-04gallivm: Increase the TGSI translation limits and centralize them in a header.José Fonseca
2010-05-04gallicm: Newton-Raphson step to improve precision.José Fonseca
Disabled as it doesn't make VS/PSPrecision DCT happy, and it would unnecessarily slow some cases where it is not needed.
2010-05-03cso: use framebuffer utility functionsBrian Paul
2010-05-03gallium: move framebuffer utility functions into a new fileBrian Paul
2010-05-03st/mesa: remove dead codeBrian Paul
2010-05-03st/mesa: remove unused needFlush parameter to st_finalize_texture()Brian Paul
2010-05-03st/mesa: updated comments and fix some formatting in texture storage codeBrian Paul
2010-05-03st/mesa: rename srcImageStride -> srcRowStride and fix-up formattingBrian Paul
2010-05-03st/mesa: consolidate and clean-up texture memory allocation codeBrian Paul
2010-05-03st/mesa: updated comments for st_texture_image_map()Brian Paul
2010-05-03st/mesa: move some texture size calculation codeBrian Paul
2010-05-03st/mesa: remove old convolution-related vars and min pitch codeBrian Paul
2010-05-03st/mesa: remove unsupported convolution codeBrian Paul
2010-05-03progs/demos: check for GL_ARB_imaging if convolutions is requestedBrian Paul
2010-05-03st/mesa: updated commentBrian Paul
2010-05-03glsl: change variable declared assertion into conditionalBrian Paul
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.
2010-05-03Revert "glapi: s/strcpy/strncpy/"Brian Paul
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.
2010-05-03st/mesa: remove dead codeBrian Paul
2010-05-03st/mesa: restore original last_layer comparisonBrian Paul
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.
2010-05-03r300g: use util_format_short_name and util_format_is_plainMarek Olšák
2010-05-03util: add util_format_short_nameMarek Olšák
2010-05-03util: add util_format_is_plainMarek Olšák
2010-05-03r300g: refuse to create a texture with size 0Marek Olšák
2010-05-03r300g: improve texture debug output, split into TEX and TEXALLOC flagsMarek Olšák
2010-05-03Reorder LLVM passes, running mem2reg earlier.Török Edwin
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 <edwintorok@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>