Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel: Drop intelFlush() | Kristian Høgsberg | 2010-05-10 | 12 | -26/+19 |
| | | | | | Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions. | ||||
* | intel: Only flush fake front buffer on API level glFlush() | Kristian Høgsberg | 2010-05-10 | 1 | -17/+29 |
| | | | | | | | | | | Without this patch, any old intel_flush() call will cause a round trip to the server and do a copy from fake to real front. We only actually guarantee that frontbuffer results show up when glFlush() ia called, so move the flushing to intel_glFlush(). We also need to flush fake to front before getting new buffers, but we just handle that manually. | ||||
* | intel: Don't mark front buffer dirty if we're only reading | Kristian Høgsberg | 2010-05-10 | 1 | -1/+12 |
| | | | | | | | | | When we call intel_prepare_render() from intelReadPixels(), we'll mark the front buffer dirty. That's silly, since we're only reading from it and marking it dirty will cause us to copy from fake front to front eventually. Just clear the dirty flag after doing the read. | ||||
* | intel: Mark frontbuffer dirty in intel_prepare_render() | Kristian Høgsberg | 2010-05-10 | 1 | -9/+8 |
| | | | | | | Now that we have intel_prepare_render() in place, we can use it to mark the front buffer dirty if we're rendering to the front buffer once we get there. | ||||
* | glx: Only call DRI2 invalidate when necessary | Kristian Høgsberg | 2010-05-10 | 1 | -12/+4 |
| | | | | | | | | | We only need this when the server may have swapped the buffers or when we receive an invalidate event from the server. The default behaviour is still that the DRI driver will invalidate its own buffers when glViewport is called. https://bugs.freedesktop.org/show_bug.cgi?id=27277 | ||||
* | svga: Fill in is_resource_referenced callback. | José Fonseca | 2010-05-10 | 1 | -0/+1 |
| | |||||
* | gallivm: Silent warning. | José Fonseca | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | gallivm: Add missing lvalue. | José Fonseca | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | st/mesa: only set prevInstWrotePsiz if translating a vertex program | Brian Paul | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | st/mesa: additional assertions in dst_register() | Brian Paul | 2010-05-10 | 1 | -0/+10 |
| | |||||
* | i965g: link with software- wrapper winsys and drm api helper | Jakob Bornecrantz | 2010-05-10 | 1 | -0/+2 |
| | |||||
* | gallium: Add software drm api helper to scons build | Jakob Bornecrantz | 2010-05-10 | 2 | -0/+22 |
| | |||||
* | gallium: Add pipe wrapper software winsys to scons build | Jakob Bornecrantz | 2010-05-10 | 2 | -0/+26 |
| | |||||
* | i965g: fix resource creation recursion bug | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | i965g: add brw_state_debug.c to SConscript | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | i965g: avoid void * arithmetic | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | gallivm: Temporarily disable custom LLVMDumpValue on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+3 |
| | | | | | | | 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. | ||||
* | gallivm: cosf/sinf are macros on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+12 |
| | | | | So taking the function address does not work. | ||||
* | mesa: Update comments in get_gen_es.py. | Vinson Lee | 2010-05-09 | 1 | -2/+2 |
| | |||||
* | 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. |