summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-05-06llvmpipe: Fix fence wait.José Fonseca
Avoids crashing when fence is NULL (LP_NUM_THREADS=0) and leaking when it is not.
2010-05-06scons: Disable graw-null on msvc until linkage works.José Fonseca
2010-05-06graw-null: Try to fix MSVC linkage problems.José Fonseca
2010-05-06svga: Fix scons buildJakob Bornecrantz
2010-05-06llvmpipe: implement occlusion queryQicheng Christopher Li
OpenGL occlusion queries work now. The Mesa demos, glean test and piglit tests all pass. A few enhancements are possible in the future. -Brian Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-06util: Recognize FALSE and F in debug_get_bool_optionJakob Bornecrantz
Concidering that we actually print FALSE when displaying the option we should also accept that value.
2010-05-06gallium: untrack u_indices_gen.c and u_indices_gen.cJosé Fonseca
These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-06raw/clear: Make it portable.José Fonseca
2010-05-06graw-null: New target to ensure we always have a graw implementation available.José Fonseca
2010-05-06graw-xlib: Remove duplicate graw.h file.José Fonseca
2010-05-06Revert "gallium: untrack u_indices_gen.c and u_indices_gen.c"José Fonseca
This incomplete patch got commited by mistake. This reverts commit 2142c769a4ebfe1a7c3facb036af8b75c5288616.
2010-05-06gallium: untrack u_indices_gen.c and u_indices_gen.cXavier Chantry
These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-06gallium: untrack u_indices_gen.c and u_indices_gen.cXavier Chantry
These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-05gallium: still more provoking vertex fixesBrian Paul
This fixes edge flags for polygons and provoking vertex for filled quads.
2010-05-05gallium: added edge flag print/debug code (disabled)Brian Paul
2010-05-05gallium: rename draw() to draw_elements() in vbuf codeBrian Paul
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
2010-05-05llvmpipe: update driver's provoking vertex codeBrian Paul
Note that the lp_setup_vbuf.c code is very, very similar to the corresponding code in softpipe. It could probably be shared.
2010-05-05gallium: rework provoking vertex codeBrian Paul
Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro.
2010-05-05tgsi: make dumping work on non-debug buildsMarek Olšák
2010-05-05llvmpipe: added a new assertion as a hint to CoverityBrian Paul
Looks like coverity found a false positive for an out of bounds array write.
2010-05-05nouveau: only advertise PIPE_FORMAT_DXT* if s3tc availableXavier Chantry
2010-05-05graw-xlib: Revert the output dir lib change.José Fonseca
2010-05-04svga: Remove unnecessary header.Vinson Lee
2010-05-04draw: Remove unnecessary header.Vinson Lee
2010-05-04util: Remove unnecessary headers.Vinson Lee
2010-05-04llvmpipe: Remove unnecessary headers.Vinson Lee
2010-05-04r300g: Fix memory leak on error path.Vinson Lee
2010-05-04gallium: remove trailing comma in enum listBrian Paul
2010-05-04llvmpipe: predicate LLVMDumpModule() on DEBUG_JITBrian Paul
2010-05-05tests/raw: Get it building with scons.José Fonseca
2010-05-05draw: Preserve the provoking vertex both when decomposing and clipping.José Fonseca
Based on John Lawless' feedback.
2010-05-05draw: Adjust wideline vertex coords for D3D.Brian Paul
2010-05-04llvmpipe: fix broken compressed cube mapsBrian Paul
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.
2010-05-04gallium/util: added is_format_compressed()Brian Paul
2010-05-04llvmpipe: do some null pointer checkingBrian Paul
2010-05-04llvmpipe: add some tests for malloc() returning NULL.Brian Paul
Start propogating NULL pointers from allocation functions and checks for NULL in the callers...
2010-05-04r300g: advertise S3TC only when it's available in GalliumMarek Olšák
2010-05-04u_blitter: fix creating fragment shadersWiktor Janas
See FDO bug #27887. Signed-off-by: Marek Olšák <maraeo@gmail.com>
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-04gallivm: Implement TXD.José Fonseca
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-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