Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: indentation fix | Jerome Glisse | 2010-12-03 | 7 | -105/+101 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: update polygon offset only when rasterizer or zbuffer change | Jerome Glisse | 2010-12-03 | 4 | -80/+114 |
| | | | | | | Aim is to build as little state as possible in draw functions. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: fix broken stencil writemask | Brian Paul | 2010-12-03 | 1 | -1/+1 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32070 | ||||
* | r600g: set address of pop instructions to next instruction | Fabian Bieler | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | r600g: dump raw shader output for debugging | Jerome Glisse | 2010-12-03 | 3 | -0/+27 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type | Brian Paul | 2010-12-03 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query | Brian Paul | 2010-12-03 | 1 | -2/+2 |
| | | | | | | | | | | | | 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. | ||||
* | gallivm: fix null builder pointers | Brian Paul | 2010-12-03 | 1 | -3/+2 |
| | |||||
* | st/vega: Add a missing break. | Chia-I Wu | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | st/vega: Move vertex transformation to shader. | Chia-I Wu | 2010-12-03 | 8 | -54/+116 |
| | | | | | | | 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. | ||||
* | st/vega: Set pipe_resource::array_size to 1. | Chia-I Wu | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | st/egl: Set pipe_resource::array_size to 1. | Chia-I Wu | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | r300g: do not remove unused constants if we are not near the limit | Marek Olšák | 2010-12-03 | 2 | -2/+9 |
| | |||||
* | r300g: fix pointer arithmetic with void* in transfer_inline_write | Marek Olšák | 2010-12-03 | 2 | -3/+3 |
| | |||||
* | mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium | Marek Olšák | 2010-12-03 | 3 | -15/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | r300g: implement simple transfer_inline_write for buffers | Marek Olšák | 2010-12-03 | 1 | -10/+38 |
| | | | | | r600g might need something like that as well. This speeds up constant buffer upload a bit. | ||||
* | r300g: use internal BO handle for add_buffer and write_reloc | Marek Olšák | 2010-12-03 | 13 | -49/+77 |
| | | | | | | | Small perf improvement in ipers. radeon_drm_get_cs_handle is exactly what this commit tries to avoid in every write_reloc. | ||||
* | gallivm/llvmpipe: remove lp_build_context::builder | Brian Paul | 2010-12-02 | 13 | -278/+359 |
| | | | | The field was redundant. Use the gallivm->builder value instead. | ||||
* | mesa: replace more MAX_WIDTH stack allocations with heap allocations | Brian Paul | 2010-12-02 | 2 | -38/+111 |
| | |||||
* | r300g: fix build | Marek Olšák | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | r300g: Drop unnecessary cast | nobled | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | r300g: Abort if draw_create() fails | nobled | 2010-12-03 | 1 | -0/+2 |
| | | | | The other drivers need to be updated to do this, too. | ||||
* | r300g: Abort if atom allocations fail | nobled | 2010-12-03 | 1 | -18/+28 |
| | |||||
* | nv50: silence some unknown get_param warnings | Ben Skeggs | 2010-12-03 | 1 | -0/+4 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | st/mesa: avoid large stack allocations in readpixels code | Brian Paul | 2010-12-02 | 1 | -1/+10 |
| | |||||
* | swrast: avoid large stack allocations in tex combine code | Brian Paul | 2010-12-02 | 1 | -6/+39 |
| | |||||
* | swrast: avoid large stack allocations in blend code | Brian Paul | 2010-12-02 | 1 | -1/+13 |
| | |||||
* | mesa: replace large/MAX_WIDTH stack allocations with heap allocations | Brian Paul | 2010-12-02 | 1 | -4/+34 |
| | |||||
* | mesa: replace large/MAX_WIDTH stack allocations with heap allocations | Brian Paul | 2010-12-02 | 1 | -3/+24 |
| | |||||
* | r600g: bump texture/cb limits appropriately for evergreen | Alex Deucher | 2010-12-02 | 1 | -2/+14 |
| | |||||
* | r600c: bump texture limits to hw limits | Alex Deucher | 2010-12-02 | 1 | -2/+7 |
| | |||||
* | gallium/util: add states relevant to geometry shaders | Zack Rusin | 2010-12-02 | 1 | -0/+4 |
| | |||||
* | mesa: Temporary hack to prevent stack overflow on windows | José Fonseca | 2010-12-02 | 1 | -0/+17 |
| | | | | | e.g. st_readpixels is trying to alloca() an huge ammount of memory from the stack. | ||||
* | wgl: Fix visual's buffer_mask configuration. | José Fonseca | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA. | José Fonseca | 2010-12-02 | 1 | -0/+3 |
| | | | | | Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation. | ||||
* | mesa: Add getters for ARB_copy_buffer's attachment points. | Eric Anholt | 2010-12-02 | 1 | -0/+13 |
| | | | | Fixes more complaints by oglconform. | ||||
* | mesa: Add getters for the rest of the supported draw buffers. | Eric Anholt | 2010-12-02 | 1 | -0/+8 |
| | | | | | MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform. | ||||
* | glsl: Fix flipped return of has_value() for array constants. | Eric Anholt | 2010-12-02 | 1 | -1/+1 |
| | | | | Fixes glsl-array-uniform. | ||||
* | WIN32_THREADS -> WIN32 | José Fonseca | 2010-12-02 | 12 | -22/+14 |
| | | | | | | | | | 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. | ||||
* | softpipe: increase max texture size to 16K | Brian Paul | 2010-12-02 | 6 | -23/+73 |
| | |||||
* | mesa: raise max texture sizes to 16K | Brian Paul | 2010-12-02 | 4 | -114/+213 |
| | | | | | | | | | | | This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size. | ||||
* | r300/compiler: disable the swizzle lowering pass in vertex shaders | Marek Olšák | 2010-12-02 | 1 | -1/+0 |
| | | | | It was a no-op because all swizzles are native there. | ||||
* | wgl: Unreference the current framebuffer after the make_current call. | José Fonseca | 2010-12-02 | 1 | -51/+58 |
| | | | | To prevent a dangling pointer dereference. | ||||
* | util: Don't try to use imagehlp on mingw. | José Fonseca | 2010-12-02 | 1 | -2/+2 |
| | |||||
* | util: __builtin_frame_address() doesn't work on mingw. | José Fonseca | 2010-12-02 | 1 | -1/+4 |
| | |||||
* | util: Plug leaks in util_destroy_gen_mipmap. | José Fonseca | 2010-12-02 | 1 | -2/+4 |
| | |||||
* | wgl: Fix double free. Remove dead code. | José Fonseca | 2010-12-02 | 1 | -62/+4 |
| | |||||
* | r300g: fix up cubemap texture offset computation | Marek Olšák | 2010-12-02 | 1 | -0/+1 |
| | | | | Broken since 4c7001462607e6e99e474d6271dd481d3f8f201c. | ||||
* | util: C++ safe. | José Fonseca | 2010-12-02 | 1 | -0/+11 |
| | |||||
* | retrace: Some fixes. | José Fonseca | 2010-12-02 | 1 | -1/+5 |
| |