summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-05-12mesa/es: Merge back to core mesa.Chia-I Wu
With the omit list gone, there are not too many differences in building core mesa and ES overlay. Remove the mesa/es and build both of them in src/mesa/Makefile.
2010-05-11mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().José Fonseca
This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
2010-05-11llvmpipe: fix texture image size calculationBrian Paul
We were allocating too much memory for linear layouts. The block_size factor is already included in the row_stride and should not be used in the img_stride calculation. This is typically a 4x savings!
2010-05-11llvmpipe: add a simple resource tracking/debug featureBrian Paul
If debug build, keep a linked list of all allocated resources (textures). The llvmipe_print_resources() function can be called from a debugger to print a list of all resources, their sizes, total size, etc.
2010-05-11llvmpipe: remove trailing whitespace, rewrap commentBrian Paul
2010-05-11scons: Export shouldn't be part of the if stanza.José Fonseca
2010-05-11st/xorg: Fix SCons build.Michel Dänzer
2010-05-11tests/graw: raw -> grawJosé Fonseca
for consistency
2010-05-11gallium: Add llvmpipe support to st/egl.Chia-I Wu
Update Makefile rules for st/egl.
2010-05-10llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLEBrian Paul
This enables the GL_EXT_draw_buffers2 extension. Tested with progs/tests/drawbuffers2.
2010-05-10llvmpipe: fix up indexing of blend/colormask state for render targetsBrian Paul
2010-05-10llvmpipe: update image dump/debug codeBrian Paul
2010-05-10llvmpipe: add, update, rewrap commentsBrian Paul
2010-05-10gallivm/llvmpipe: move an old comment to a better locationBrian Paul
2010-05-10svga: Fill in is_resource_referenced callback.José Fonseca
2010-05-10gallivm: Silent warning.José Fonseca
2010-05-10gallivm: Add missing lvalue.José Fonseca
2010-05-10i965g: link with software- wrapper winsys and drm api helperJakob Bornecrantz
2010-05-10gallium: Add software drm api helper to scons buildJakob Bornecrantz
2010-05-10gallium: Add pipe wrapper software winsys to scons buildJakob Bornecrantz
2010-05-10i965g: fix resource creation recursion bugRoland Scheidegger
2010-05-10i965g: add brw_state_debug.c to SConscriptRoland Scheidegger
2010-05-10i965g: avoid void * arithmeticRoland Scheidegger
2010-05-10gallivm: Temporarily disable custom LLVMDumpValue on MSVC.José Fonseca
Seeing very weird crashes during std::cout initialization. The fault probably lies in the way I build LLVM on MSVC, but disable for now to allow more time to investigate.
2010-05-10gallivm: cosf/sinf are macros on MSVC.José Fonseca
So taking the function address does not work.
2010-05-08gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps.José Fonseca
2010-05-08gallivm: Fix mipfiltering with negative lod bias.José Fonseca
In particular, don't use the clamped lod to compute level + 1, or lod in [-1, 0] range will actually interpolate with level 1. This makes Mipfilter DCT pass 100%.
2010-05-08gallivm: Actually do floor/ceil/trunc for scalars.José Fonseca
Also start axing the code duplication for scalar case. The olution is to treat the scalar case specially in a few innermost functions, and leave outer functions untouched.
2010-05-08gallivm: Import the code to compute the minimax polynomials.José Fonseca
It's quite a pain to remember the details after a while, and it is quite likely we'll want to use this again, either for different polynomial orders or different functions, so commit it here.
2010-05-08gallivm: Use a minimax polynomial for exp2 in range [0,1] instead [-0.5,5].José Fonseca
The advantage of range[-0.5, 0.5] is that it doesn't require floor (for which intrinsics are only available in SSE4.1). But the EXP opcode pretty much forces us to use floor, and there is a good floor approximation around truncation available anyway. This fixes EXP failures in VShader DCT.
2010-05-08gallivm: Don't hardcode number of args twice.José Fonseca
2010-05-08r300g: follow pipe_rasterizer_state::light_twosideMarek Olšák
2010-05-08r300g: follow pipe_rasterizer_state::point_size_per_vertexMarek Olšák
2010-05-08r300g: move GA_POINT_MINMAX back to rs_stateMarek Olšák
This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264.
2010-05-08r300g: fix glean/pointSprite using lodbias correctionMarek Olšák
2010-05-08r300g: pass depth texture swizzle to the compiler if compare mode is enabledMarek Olšák
2010-05-08r300g: respect compare mode regardless of sampler typeMarek Olšák
2010-05-08r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák
2010-05-08r300g: consolidate common render code into one functionMarek Olšák
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
2010-05-08gallivm: The the JIT engine to use our sinf()/cosf() on Windows.José Fonseca
A quick hack to get the right results, as there are many DCT tests which use these opcodes to generate data to test other opcodes.
2010-05-08gallivm: Fix BREAK/CONT translation.José Fonseca
The cont_mask must be restored and exec mask recomputed in order to decide whether to repeat the loop or not. Unlike the continue mask, the break_mask must be preserved across loop iterations. Fixes several VShader DCT cases, and no regressions with glean.
2010-05-08llvmpipe: Cover more formats in unit test.José Fonseca
2010-05-08gallivm: Fix segfaul when inserting allocas in an empty function.José Fonseca
2010-05-08gallivm: Centralize SoA swizzling into a single place.José Fonseca
2010-05-08gallivm: Support predicates.José Fonseca
2010-05-08llvmpipe: Match p_screen.h's function prototype.José Fonseca
2010-05-08llvmpipe: Remove unnecessary header.Vinson Lee
2010-05-08egl: Build drivers in $(TOP)/$(LIB_DIR)/egl.Chia-I Wu
There are enough EGL modules that they deserve a subdirectory, to avoid polluting $(TOP)/$(LIB_DIR).
2010-05-08gallium: Add egl-apis target.Chia-I Wu
The new target installs client API modules to EGL_DRIVER_INSTALL_DIR. They are used by st/egl. The client APIs are built from OpenGL and OpenVG state trackers. For this to work, st/vega is modified to produce a static library, libvega.a, instead. st/es is also not needed any more. It is removed and --with-state-trackers=es is replaced by --enable-gles-overlay. As st/egl now has its own client API modules, this solves the ABI issue between st/egl and client APIs, as long as the client API modules are distributed with st/egl. Plus, this allows st/egl to support OpenGL with non-Gallium libGL.so.
2010-05-08egl_g3d: Check external modules for client APIs first.Chia-I Wu
dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules.