Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-03 | mesa: update comments, remove dead code | Brian Paul | |
2010-12-03 | mesa: remove unneeded cast | Brian Paul | |
2010-12-03 | mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM | Brian Paul | |
In find_value() check if we've hit the 0th/invalid entry before checking if the pname matches. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31987 NOTE: This is a candidate for the 7.9 branch. | |||
2010-12-03 | swrast: restructure some glReadPixels() code | Brian Paul | |
2010-12-03 | swrast: accept GL_RG in glReadPixels() | Brian Paul | |
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32088 | |||
2010-12-03 | ir_print_visitor: Print out constant structure values. | Kenneth Graunke | |
In the form (constant type ((field1 value) (field2 value) ...)) | |||
2010-12-03 | swrast: fix indentation | Brian Paul | |
2010-12-03 | swrast: allow GL_RG format in glDrawPixels() | Brian Paul | |
Restructure the switch statement to avoid having to add additional color formats in the future. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32086 | |||
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 | mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type | Brian Paul | |
If querying the default/window-system FBO's attachment type, return GL_FRAMEBUFFER_DEFAULT (per the GL_ARB_framebuffer_object spec). See http://bugs.freedesktop.org/show_bug.cgi?id=31947 NOTE: This is a candidate for the 7.9 branch. | |||
2010-12-03 | mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query | Brian Paul | |
Return 0 instead of generating an error. See http://bugs.freedesktop.org/show_bug.cgi?id=30993 Note that piglit fbo-getframebufferattachmentparameter-01 still does not pass. But Mesa behaves the same as the NVIDIA driver in this case. Perhaps the test is incorrect. NOTE: This is a candidate for the 7.9 branch. | |||
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 | mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium | Marek Olšák | |
gl_FragCoord.y needs to be flipped upside down if a FBO is bound. This fixes: - piglit/fbo-fragcoord - https://bugs.freedesktop.org/show_bug.cgi?id=29420 Here I add a new program state STATE_FB_WPOS_Y_TRANSFORM, which is set based on whether a FBO is bound. The state contains a pair of transformations. It can be either (XY=identity, ZW=transformY) if a FBO is bound, or (XY=transformY, ZW=identity) otherwise, where identity = (1, 0), transformY = (-1, height-1). A classic driver (or st/mesa) may, based on some other state, choose whether to use XY or ZW, thus negate the conditional "if (is a FBO bound) ...". The reason for this is that a Gallium driver is allowed to only support WPOS relative to either the lower left or the upper left corner, so we must flip the Y axis accordingly again. (the "invert" parameter in emit_wpos_inversion) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
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-02 | mesa: replace more MAX_WIDTH stack allocations with heap allocations | Brian Paul | |
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 | st/mesa: avoid large stack allocations in readpixels code | Brian Paul | |
2010-12-02 | swrast: avoid large stack allocations in tex combine code | Brian Paul | |
2010-12-02 | swrast: avoid large stack allocations in blend code | Brian Paul | |
2010-12-02 | mesa: replace large/MAX_WIDTH stack allocations with heap allocations | Brian Paul | |
2010-12-02 | mesa: replace large/MAX_WIDTH stack allocations with heap allocations | Brian Paul | |
2010-12-02 | r600g: bump texture/cb limits appropriately for evergreen | Alex Deucher | |
2010-12-02 | r600c: bump texture limits to hw limits | Alex Deucher | |
2010-12-02 | gallium/util: add states relevant to geometry shaders | Zack Rusin | |
2010-12-02 | mesa: Temporary hack to prevent stack overflow on windows | José Fonseca | |
e.g. st_readpixels is trying to alloca() an huge ammount of memory from the stack. | |||
2010-12-02 | wgl: Fix visual's buffer_mask configuration. | José Fonseca | |
2010-12-02 | mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA. | José Fonseca | |
Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation. | |||
2010-12-02 | mesa: Add getters for ARB_copy_buffer's attachment points. | Eric Anholt | |
Fixes more complaints by oglconform. | |||
2010-12-02 | mesa: Add getters for the rest of the supported draw buffers. | Eric Anholt | |
MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform. | |||
2010-12-02 | glsl: Fix flipped return of has_value() for array constants. | Eric Anholt | |
Fixes glsl-array-uniform. |