Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: fix 16-bit/channel rendering | Brian Paul | 2010-05-09 | 1 | -1/+1 |
| | | | | NOTE: This is a candidate for the 7.8 stable branch | ||||
* | osmesa: use unsigned 16-bit/channel format | Brian Paul | 2010-05-09 | 1 | -1/+1 |
| | |||||
* | osmesa: add mapi/glapi to SRC_DIRS to fix build | Brian Paul | 2010-05-09 | 3 | -3/+3 |
| | |||||
* | mesa: fix typos, comment in signed 16-bit tex fetch code | Brian Paul | 2010-05-09 | 1 | -4/+4 |
| | |||||
* | mesa: added unsigned 16-bit/channel tex format | Brian Paul | 2010-05-09 | 6 | -10/+127 |
| | |||||
* | mesa: added comments for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -4/+4 |
| | |||||
* | mesa: use GL_RGBA16_SNORM for accum buffer | Brian Paul | 2010-05-09 | 2 | -1/+3 |
| | |||||
* | mesa: added texstore function for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -4/+74 |
| | |||||
* | mesa: added UNCLAMPED_FLOAT_TO_SHORT macro | Brian Paul | 2010-05-09 | 1 | -0/+3 |
| | |||||
* | mesa: add missing cases for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -0/+13 |
| | |||||
* | st/mesa: Ignore internal_format in st_context_teximage. | Chia-I Wu | 2010-05-09 | 1 | -1/+10 |
| | | | | | | | When internal_format and tex->format differ, st_finailize_texture will surface_copy between surfaces with different formats. This commit works around the issue by ignoring internal_format. A sane fix is needed here. | ||||
* | gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps. | José Fonseca | 2010-05-08 | 7 | -9/+113 |
| | |||||
* | gallivm: Fix mipfiltering with negative lod bias. | José Fonseca | 2010-05-08 | 1 | -2/+4 |
| | | | | | | | 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%. | ||||
* | gallivm: Actually do floor/ceil/trunc for scalars. | José Fonseca | 2010-05-08 | 3 | -166/+34 |
| | | | | | | 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. | ||||
* | gallivm: Import the code to compute the minimax polynomials. | José Fonseca | 2010-05-08 | 1 | -0/+85 |
| | | | | | | 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. | ||||
* | gallivm: Use a minimax polynomial for exp2 in range [0,1] instead [-0.5,5]. | José Fonseca | 2010-05-08 | 1 | -14/+41 |
| | | | | | | | | | | 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. | ||||
* | gallivm: Don't hardcode number of args twice. | José Fonseca | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | r300g: follow pipe_rasterizer_state::light_twoside | Marek Olšák | 2010-05-08 | 3 | -5/+27 |
| | |||||
* | r300g: follow pipe_rasterizer_state::point_size_per_vertex | Marek Olšák | 2010-05-08 | 1 | -4/+15 |
| | |||||
* | r300g: move GA_POINT_MINMAX back to rs_state | Marek Olšák | 2010-05-08 | 3 | -6/+17 |
| | | | | This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264. | ||||
* | r300g: fix glean/pointSprite using lodbias correction | Marek Olšák | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | r300g: pass depth texture swizzle to the compiler if compare mode is enabled | Marek Olšák | 2010-05-08 | 6 | -68/+111 |
| | |||||
* | r300g: respect compare mode regardless of sampler type | Marek Olšák | 2010-05-08 | 3 | -1/+10 |
| | |||||
* | r300/compiler: fake equal/notequal for shadow samplers | Marek Olšák | 2010-05-08 | 1 | -0/+7 |
| | | | | | This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it). | ||||
* | r300/compiler: use perspective division only for TXP in shadow samplers | Marek Olšák | 2010-05-08 | 1 | -23/+36 |
| | |||||
* | r300/compiler: make shadow sampler codegen more readable, add comments | Marek Olšák | 2010-05-08 | 1 | -16/+28 |
| | |||||
* | r300/compiler: shorten RC_*SWIZZLE* expressions | Marek Olšák | 2010-05-08 | 4 | -4/+5 |
| | |||||
* | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | 2010-05-08 | 4 | -13/+9 |
| | |||||
* | r300/compiler: fix LIT instruction case 0^0 = 1 | Marek Olšák | 2010-05-08 | 1 | -0/+24 |
| | |||||
* | r300g: consolidate common render code into one function | Marek Olšák | 2010-05-08 | 4 | -85/+95 |
| | | | | | | | | | | This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering. | ||||
* | gallivm: The the JIT engine to use our sinf()/cosf() on Windows. | José Fonseca | 2010-05-08 | 1 | -18/+79 |
| | | | | | 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. | ||||
* | gallivm: Fix BREAK/CONT translation. | José Fonseca | 2010-05-08 | 1 | -44/+63 |
| | | | | | | | | | | 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. | ||||
* | llvmpipe: Cover more formats in unit test. | José Fonseca | 2010-05-08 | 1 | -29/+38 |
| | |||||
* | gallivm: Fix segfaul when inserting allocas in an empty function. | José Fonseca | 2010-05-08 | 1 | -3/+10 |
| | |||||
* | gallivm: Centralize SoA swizzling into a single place. | José Fonseca | 2010-05-08 | 5 | -70/+128 |
| | |||||
* | gallivm: Support predicates. | José Fonseca | 2010-05-08 | 2 | -8/+101 |
| | |||||
* | llvmpipe: Match p_screen.h's function prototype. | José Fonseca | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Update file list for the tarballs. | Chia-I Wu | 2010-05-08 | 1 | -23/+35 |
| | | | | | | | Mainly for the recent work on mapi and gles. The latter adds some sources to src/mesa/main that are generated on the fly. This makes python a requirement for building Mesa. An alternative is to package those sources into the tarballs. That may be done in another commit. | ||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-05-08 | 1 | -1/+0 |
| | |||||
* | docs: Update EGL and OpenGL ES docs. | Chia-I Wu | 2010-05-08 | 2 | -57/+67 |
| | | | | Update to reflect recent gles and mapi works. | ||||
* | egl: Build drivers in $(TOP)/$(LIB_DIR)/egl. | Chia-I Wu | 2010-05-08 | 2 | -5/+7 |
| | | | | | There are enough EGL modules that they deserve a subdirectory, to avoid polluting $(TOP)/$(LIB_DIR). | ||||
* | gallium: Add egl-apis target. | Chia-I Wu | 2010-05-08 | 12 | -161/+178 |
| | | | | | | | | | | | | | | | 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. | ||||
* | mapi: Add install rules for OpenGL ES. | Chia-I Wu | 2010-05-08 | 4 | -48/+43 |
| | | | | Move the install rules for OpenGL ES from src/mesa/Makefile to mapi. | ||||
* | mapi: Install .pc file for OpenVG. | Chia-I Wu | 2010-05-08 | 2 | -1/+31 |
| | |||||
* | mapi: Update vgapi to build libOpenVG.so. | Chia-I Wu | 2010-05-08 | 1 | -3/+24 |
| | | | | Unlike the one produced by st/vega, this is a dispatch-only library. | ||||
* | mapi: Merge src/gles/. | Chia-I Wu | 2010-05-08 | 3 | -90/+38 |
| | | | | | Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and libGLESv2.so. | ||||
* | Define OpenGL ES and OpenVG library names. | Chia-I Wu | 2010-05-08 | 4 | -2/+36 |
| | | | | | | Define <API>_LIB, <API>_LIB_NAME, <API>_LIB_GLOB, and some other variables in the configs. Fix a typo in glesv1_cm.pc.in where an inexistent variable is used. | ||||
* | egl_g3d: Check external modules for client APIs first. | Chia-I Wu | 2010-05-08 | 3 | -39/+157 |
| | | | | | dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules. | ||||
* | egl: Add _eglSearchPathForEach. | Chia-I Wu | 2010-05-08 | 2 | -0/+20 |
| | | | | The function can be used by a driver to check each search path of EGL. | ||||
* | gallium/draw: additional comments in the clipping code | Brian Paul | 2010-05-07 | 1 | -5/+10 |
| |