Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-05 | r300g: do not use the index parameter in set_constant_buffer | Marek Olšák | |
It appears to be a constant buffer index (in case there are more constant buffers explicitly used by a shader), i.e. something that Gallium currently does not use. We treated it incorrectly as the offset to a constant buffer. | |||
2010-12-04 | gallium/noop: Add prototype for noop_init_state_functions. | Vinson Lee | |
Silences this GCC warning. noop_state.c:247: warning: no previous prototype for 'noop_init_state_functions' | |||
2010-12-04 | st/vega: Fix pipe blend state for various blend modes. | Chia-I Wu | |
rgb_src_factor and rgb_dst_factor should be PIPE_BLENDFACTOR_ONE for VG_BLEND_SRC_IN and VG_BLEND_DST_IN respectively. VG_BLEND_SRC_OVER can be supported only when the fb has no alpha channel. VG_BLEND_DST_OVER and VG_BLEND_ADDITIVE have to be supported with a shader. Note that Porter-Duff blending rules assume premultiplied alpha. | |||
2010-12-04 | st/vega: Add blend shaders for all blend modes. | Chia-I Wu | |
2010-12-04 | st/vega: Fix VG_BLEND_MULTIPLY. | Chia-I Wu | |
TEMP[1].w will be needed for OUT.w just below. Use TEMP[0] to store the intermediate value. | |||
2010-12-04 | st/vega: Silence uninitialized variable warning. | Vinson Lee | |
Fixes this GCC warning. api_filters.c: In function 'execute_filter': api_filters.c:184: warning: 'tex_wrap' may be used uninitialized in this function | |||
2010-12-04 | st/vega: Blending should use premultiplied alpha. | Chia-I Wu | |
Convert color values to and back from premultiplied form for blending. Finally the rendering result of the blend demo looks much closer to that of the reference implementation. | |||
2010-12-04 | st/vega: Add support for per-channel alpha. | Chia-I Wu | |
Drawing an image in VG_DRAW_IMAGE_STENCIL mode produces per-channel alpha for use in blending. Add a new shader stage to produce and save it in TEMP[1]. For other modes that do not need per-channel alpha, the stage does MOV TEMP[1], TEMP[0].wwww | |||
2010-12-04 | st/vega: Move masking after blending. | Chia-I Wu | |
Masking should happen after blending. The shader is not entirely correct, but leave it as is for now. | |||
2010-12-04 | st/vega: Refactor blend shaders. | Chia-I Wu | |
Add a helper function, blend_generic, that supports all blend modes and per-channel alpha. Make other blend generators a wrapper to it. Both the old and new code expects premultiplied colors, yet the input is non-premultiplied. Per-channel alpha is also not used for stencil image. They still need to be fixed. | |||
2010-12-04 | st/vega: Add some comments to pipeline shaders. | Chia-I Wu | |
2010-12-03 | mesa: consolidate some compiler -D flags | Brian Paul | |
-D__STDC_CONSTANT_MACROS and -D__STDC_LIMIT_MACROS are only needed for LLVM build. | |||
2010-12-03 | r300g: one more r500_index_bias_supported leftover | Marek Olšák | |
2010-12-03 | r300g: add capability bit index_bias_supported | Marek Olšák | |
.. instead of calling r500_index_bias_supported(..) every draw call. | |||
2010-12-03 | r600g: more indentation fix + warning silencing + dead code removal | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-03 | r600g: indentation fix | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-03 | r600g: update polygon offset only when rasterizer or zbuffer change | Jerome Glisse | |
Aim is to build as little state as possible in draw functions. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-03 | llvmpipe: fix broken stencil writemask | Brian Paul | |
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32070 | |||
2010-12-03 | r600g: set address of pop instructions to next instruction | Fabian Bieler | |
2010-12-03 | r600g: dump raw shader output for debugging | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-03 | gallivm: fix null builder pointers | Brian Paul | |
2010-12-03 | st/vega: Add a missing break. | Chia-I Wu | |
2010-12-03 | st/vega: Move vertex transformation to shader. | Chia-I Wu | |
It was done in path-to-polygon conversion. That meant that the results were invalidated when the transformation was modified, and CPU had to recreate the vertex buffer with new vertices. It could be a performance hit for apps that animate. | |||
2010-12-03 | st/vega: Set pipe_resource::array_size to 1. | Chia-I Wu | |
2010-12-03 | st/egl: Set pipe_resource::array_size to 1. | Chia-I Wu | |
2010-12-03 | r300g: do not remove unused constants if we are not near the limit | Marek Olšák | |
2010-12-03 | r300g: fix pointer arithmetic with void* in transfer_inline_write | Marek Olšák | |
2010-12-03 | r300g: implement simple transfer_inline_write for buffers | Marek Olšák | |
r600g might need something like that as well. This speeds up constant buffer upload a bit. | |||
2010-12-03 | r300g: use internal BO handle for add_buffer and write_reloc | Marek Olšák | |
Small perf improvement in ipers. radeon_drm_get_cs_handle is exactly what this commit tries to avoid in every write_reloc. | |||
2010-12-02 | gallivm/llvmpipe: remove lp_build_context::builder | Brian Paul | |
The field was redundant. Use the gallivm->builder value instead. | |||
2010-12-03 | r300g: fix build | Marek Olšák | |
2010-12-03 | r300g: Drop unnecessary cast | nobled | |
2010-12-03 | r300g: Abort if draw_create() fails | nobled | |
The other drivers need to be updated to do this, too. | |||
2010-12-03 | r300g: Abort if atom allocations fail | nobled | |
2010-12-03 | nv50: silence some unknown get_param warnings | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2010-12-02 | r600g: bump texture/cb limits appropriately for evergreen | Alex Deucher | |
2010-12-02 | gallium/util: add states relevant to geometry shaders | Zack Rusin | |
2010-12-02 | wgl: Fix visual's buffer_mask configuration. | José Fonseca | |
2010-12-02 | WIN32_THREADS -> WIN32 | José Fonseca | |
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads. | |||
2010-12-02 | softpipe: increase max texture size to 16K | Brian Paul | |
2010-12-02 | wgl: Unreference the current framebuffer after the make_current call. | José Fonseca | |
To prevent a dangling pointer dereference. | |||
2010-12-02 | util: Don't try to use imagehlp on mingw. | José Fonseca | |
2010-12-02 | util: __builtin_frame_address() doesn't work on mingw. | José Fonseca | |
2010-12-02 | util: Plug leaks in util_destroy_gen_mipmap. | José Fonseca | |
2010-12-02 | wgl: Fix double free. Remove dead code. | José Fonseca | |
2010-12-02 | r300g: fix up cubemap texture offset computation | Marek Olšák | |
Broken since 4c7001462607e6e99e474d6271dd481d3f8f201c. | |||
2010-12-02 | util: C++ safe. | José Fonseca | |
2010-12-02 | retrace: Some fixes. | José Fonseca | |
2010-12-02 | st/vega: polygon_array requires a deep free. | Chia-I Wu | |
A polygon array is an array of pointers to polygons. The polygons should be freed with the array. | |||
2010-12-02 | st/vega: Destroy the pipe context with vg_context. | Chia-I Wu | |