Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: fix texture array dimensions | Brian Paul | 2011-01-28 | 3 | -18/+122 |
| | | | | | | | | | | | | | For 1D/2D texture arrays use the pipe_resource::array_size field. In OpenGL 1D arrays texture use the height dimension as the array size and 2D array textures use the depth dimension as the array size. Gallium uses a special array_size field instead. When setting up gallium textures or comparing Mesa textures to gallium textures we need to be extra careful that we're comparing the right fields. The new st_gl_texture_dims_to_pipe_dims() function maps OpenGL texture dimensions to gallium texture dimensions and simplifies this quite a bit. | ||||
* | st/mesa: pass layers param to st_texture_create() | Brian Paul | 2011-01-28 | 7 | -4/+9 |
| | |||||
* | st/mesa: support for 1D/2D texture arrays | Brian Paul | 2011-01-25 | 3 | -5/+12 |
| | |||||
* | st/mesa: add comments in emit_wpos() | Brian Paul | 2011-01-25 | 1 | -0/+12 |
| | |||||
* | st/mesa: fix incorrect fragcoord.x translation | Brian Paul | 2011-01-25 | 1 | -4/+6 |
| | | | | | | | | | emit_adjusted_wpos() needs separate x,y translation values. If we invert Y, we don't want to effect X. Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795 NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | st/mesa: Enable EXT_texture_format_BGRA8888 for gles1/2 | Benjamin Franzke | 2011-01-24 | 1 | -0/+2 |
| | |||||
* | st/mesa: support internalFormat=GL_BGRA in TexImage2D | Benjamin Franzke | 2011-01-24 | 1 | -1/+10 |
| | |||||
* | st/mesa: ensure that all pixel paths operation on linear RGB data, not sRGB | Brian Paul | 2011-01-22 | 5 | -18/+39 |
| | | | | | | | | | | | | Before, we were converting between linear/sRGB in glReadPixels, glDrawPixels, glAccum, etc if the renderbuffer was an sRGB texture. Those all need to operate on pixel values as-is without conversion. Also, when setting up render-to-texture, if the texture is sRGB the pipe_surface view must be linear RGB. This will change when we support GL_ARB_framebuffer_sRGB. This fixes http://bugs.freedesktop.org/show_bug.cgi?id=33353 | ||||
* | st/mesa: update comment, use st_fb_orientation() | Brian Paul | 2011-01-22 | 1 | -6/+8 |
| | |||||
* | st/mesa: comments in update_viewport() | Brian Paul | 2011-01-22 | 1 | -0/+4 |
| | |||||
* | st/mesa: clean up the sampler view format code | Brian Paul | 2011-01-20 | 1 | -7/+14 |
| | |||||
* | st/mesa: formatting, whitespace fixes | Brian Paul | 2011-01-20 | 2 | -17/+18 |
| | |||||
* | st/mesa: move PIPE_CAP_INDEP_BLEND_FUNC code | Brian Paul | 2011-01-17 | 1 | -4/+4 |
| | |||||
* | gallium: add EXT_texture_sRGB_decode. | Dave Airlie | 2011-01-16 | 2 | -0/+5 |
| | | | | | | This uses a sampler view to access the texture with the alternate format. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: begin implementation of GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 2 | -14/+25 |
| | |||||
* | st/mesa: GL_ARB_instanced_arrays support | Brian Paul | 2011-01-15 | 2 | -3/+15 |
| | |||||
* | st/mesa: move/consolidate an assignment | Brian Paul | 2011-01-15 | 1 | -2/+1 |
| | |||||
* | Merge branch 'draw-instanced' | Brian Paul | 2011-01-15 | 2 | -0/+31 |
|\ | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c | ||||
| * | st/mesa: translate shader system inputs | Brian Paul | 2010-12-08 | 1 | -0/+27 |
| | | |||||
| * | st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWING | Brian Paul | 2010-12-05 | 1 | -0/+4 |
| | | |||||
* | | st/mesa: fix a regression from cae2bb76 | Fredrik Höglund | 2011-01-13 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | stObj->pt is null when a TFP texture is passed to st_finalize_texture, and with the changes introduced in the above commit this resulted in a new texture being created and the existing image being copied into it. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | | st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSED | Brian Paul | 2011-01-12 | 1 | -0/+2 |
| | | | | | | | | Fixes piglit occlusion_query2 failure. | ||||
* | | st/mesa: Include mfeatures.h in files that perform feature tests. | Vinson Lee | 2011-01-09 | 26 | -0/+26 |
| | | |||||
* | | st/mesa: remove unused members in st_context | Marek Olšák | 2011-01-06 | 1 | -9/+0 |
| | | | | | | | | What were these for? | ||||
* | | st/mesa: optimize constant buffer uploads | Marek Olšák | 2011-01-06 | 4 | -34/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The overhead of resource_create, transfer_inline_write, and resource_destroy to upload constant data is very visible with some apps in sysprof, and as such should be eliminated. My approach uses a user buffer to pass a pointer to a driver. This gives the driver the freedom it needs to take the fast path, which may differ for each driver. This commit addresses the same issue as Jakob's one that suballocates out of a big constant buffer, but it also eliminates the copy to the buffer. | ||||
* | | st/mesa: do sanity checks on states only in debug builds | Marek Olšák | 2011-01-06 | 1 | -0/+4 |
| | | |||||
* | | st/mesa: Include mtypes.h in st_cb_drawpixels.c. | Vinson Lee | 2011-01-05 | 1 | -0/+1 |
| | | | | | | | | Include mtypes.h for gl_context symbol. | ||||
* | | st/mesa: advertise GL_ARB_half_float_pixel | Marek Olšák | 2011-01-04 | 1 | -0/+1 |
| | | | | | | | | This extension doesn't appear to need any driver-specific parts. | ||||
* | | st/mesa: skip glDrawPixels/glBitmap-related code for ES build | Brian Paul | 2011-01-04 | 1 | -0/+2 |
| | | | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560 | ||||
* | | st/mesa: fix renderbuffer pointer check in st_Clear() | Brian Paul | 2011-01-03 | 1 | -6/+2 |
| | | | | | | | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=30694 NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | | st/mesa: 80-column wrapping | Brian Paul | 2011-01-03 | 1 | -2/+4 |
| | | |||||
* | | st/mesa: 80-column wrapping | Brian Paul | 2011-01-03 | 1 | -2/+4 |
| | | |||||
* | | st/mesa: Handle wrapped depth buffers in st_copy_texsubimage(). | Henri Verbeet | 2010-12-31 | 1 | -0/+3 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h. | Vinson Lee | 2010-12-24 | 1 | -7/+9 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_gen_mipmap.h. | Vinson Lee | 2010-12-24 | 1 | -1/+3 |
| | | |||||
* | | mesa/st: set the color write cbuf property for fragColor writes | Dave Airlie | 2010-12-24 | 1 | -0/+5 |
| | | |||||
* | | st/mesa: do not require all texture formats to be renderable | Marek Olšák | 2010-12-23 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | This is a bandaid on the problem that if some formats were not renderable (like luminance_alpha), st/mesa fell back to some RGBA format, so basically some non-renderable formats were actually not used at all. This is only a problem with hardware drivers, softpipe can render to anything. Instead, require only RGB8/RGBA8 to be renderable. | ||||
* | | st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16 | Marek Olšák | 2010-12-23 | 1 | -17/+78 |
| | | |||||
* | | st/mesa: if Z32 is unsupported, prefer Z24 to Z16 | Marek Olšák | 2010-12-23 | 1 | -2/+2 |
| | | |||||
* | | st/mesa: use RGBA16 for RGB12 and RGB16 | Marek Olšák | 2010-12-23 | 1 | -2/+2 |
| | | | | | | | | To provide enough precision if a user wants it. | ||||
* | | st/mesa: use DXT SRGB formats for COMPRESSED_SRGB | Marek Olšák | 2010-12-23 | 1 | -4/+16 |
| | | | | | | | | | | And also check if the formats are supported to return something meaningful if compression cannot be used. | ||||
* | | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-12-23 | 1 | -1/+0 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_format.h. | Vinson Lee | 2010-12-21 | 1 | -1/+2 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_draw.h. | Vinson Lee | 2010-12-21 | 1 | -1/+2 |
| | | |||||
* | | gallium: remove unused 'buf' parameter in pipe_buffer_unmap | Marek Olšák | 2010-12-20 | 3 | -9/+7 |
| | | |||||
* | | st/mesa: Remove comment cruft from st_context.h. | Vinson Lee | 2010-12-20 | 1 | -1/+0 |
| | | | | | | | | | | This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3. | ||||
* | | st/mesa: Clean up header file inclusion in st_cb_texture.h. | Vinson Lee | 2010-12-20 | 1 | -1/+2 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_cb_readpixels.h. | Vinson Lee | 2010-12-20 | 1 | -1/+3 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_cb_program.h. | Vinson Lee | 2010-12-18 | 1 | -2/+0 |
| | | |||||
* | | st/mesa: Clean up header file inclusion in st_cb_accum.h. | Vinson Lee | 2010-12-18 | 1 | -1/+5 |
| | |