Roland Scheidegger
fd2492d244
gallium: fixes for srgb, new srgb formats
...
add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats
issues: the util code for generating mipmaps will not handle srgb formats
correctly (would need to use a linear->srgb conversion shader)
2008-12-12 05:12:55 +01:00
Brian
1d9360b678
gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ctx->Constants.MaxVertexTextureImageUnits
2008-12-04 09:58:54 -07:00
Brian Paul
6c46b49d12
gallium: added queries to determin GL_EXT_packed_depth_stencil support
2008-08-14 15:44:28 -06:00
Brian Paul
be66a8f431
gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT
...
Check for these caps in state tracker and enable corresponding GL extensions
if supported.
2008-08-06 17:22:29 -06:00
José Fonseca
8aafc03b26
gallium: Finer grained is_format_supported.
2008-07-19 12:32:29 +09:00
José Fonseca
18ec140ef2
mesa: Use appropriate unsigned/signed, float/integer types.
2008-06-24 11:34:46 +09:00
Alan Hourihane
54507125e7
Some changed for non-C99 compilers
2008-05-02 10:30:34 +00:00
Brian Paul
1cf1641427
gallium: remove unneeded st->bitmap_texcoord_bias
2008-04-25 16:12:11 -06:00
Brian Paul
e38f677e8f
gallium: finish-up and fix support for GL_COLOR matrix on pixel xfer path
2008-04-16 16:53:43 -06:00
Brian
b54225ccd6
gallium: set ctx->Const.MaxDrawBuffers
2008-04-14 20:56:08 -06:00
Brian
1307eebfa0
gallium: test if PIPE_FORMAT_YCBCR[_REV] is supported and enable GL_MESA_ycbcr_texture
...
Update texture format selection code too.
2008-04-03 16:37:30 -06:00
Brian
9d287a1841
gallium: init ctx->Const.MaxTextureUnits
2008-04-01 11:28:01 -06:00
Brian Paul
3600e7402c
gallium: use is_format_supported(PIPE_FORMAT_DXT5_RGBA) to check if s3tc is supported
...
The PIPE_CAP_S3TC token will be deprecated.
2008-03-21 11:06:52 -06:00
Brian Paul
13540d38d9
gallium: use is_format_supported() to determine if GL_EXT_texture_sRGB is supported
2008-03-21 11:06:52 -06:00
Brian
0df877a0ee
gallium: plug in and init GL_EXT_framebuffer_blit function/extension
2008-03-18 17:18:11 -06:00
Brian
8383f798b4
gallium: start removing pipe_context->get_name/vendor/param/paramf
...
These are now per-screen functions, not per-context.
State tracker updated, code in drivers and p_context.h disabled.
2008-02-27 11:24:35 -07:00
Brian
4650b35846
gallium: add bitmap/drawpixels texcoord bias support
...
The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS)
to get a bias factor for adjusting the texcoords used in bitmap/drawpixels.
This allows us to compensate for small differences in rasterization from
one device to another.
2008-02-06 09:35:38 -07:00
Brian
8ce6d6b97e
move EXT_shadow_funcs assignment
2007-11-08 09:33:33 -07:00
Brian
44254b9248
Added pipe->get_paramf() to query float limits.
...
So far max point size, line width, texture anistopy and lod bias.
2007-11-08 08:48:14 -07:00
Brian
03cfeb31af
enable GL_ARB/NV_point_sprite together
2007-11-07 16:08:04 -07:00
Brian
6c4447e6a8
fix typos, re-enable some extensions to get back to GL 2.1 level
2007-11-07 08:20:00 -07:00
Brian
e2feb80a90
Remove pipe->max_texture_size(), use get_param() instead.
...
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-06 09:41:45 -07:00
Brian
c6499a741c
Determine GL extensions/limits by making pipe queries.
...
The state tracker calls pipe->get_param() to determine the GL limits and
which OpenGL extensions are supported.
This is an initial implementation that'll probably change...
2007-11-05 18:04:30 -07:00