Brian Paul
88bb4b5935
swrast: check for single texture unit in _swrast_choose_triangle()
пре 16 година
Brian Paul
0103d7a47a
swrast: clean up and remove dead code in triangle functions
пре 16 година
Brian Paul
1e7517f059
swrast: fix texel decoding in opt_sample_rgba_2d()
пре 16 година
Brian Paul
7ac233ec15
mesa: choose texture format in _mesa_get_fallback_texture()
пре 16 година
Brian Paul
52374d7e4c
radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()
пре 16 година
Brian Paul
d8ded352ec
progs/tests: disable blending while drawing text
пре 16 година
Brian Paul
11caea687e
mesa: choose texture format in core mesa, not drivers
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's
_mesa_[Copy]TexImage functions instead of in the driver functions.
One less thing for drivers to do.
пре 16 година
Brian Paul
355b5bde50
mesa: remove _mesa_compressed_texture_size_glenum() stub
пре 16 година
Brian Paul
20c6c58532
mesa: remove _mesa_compressed_row_stride()
пре 16 година
Brian Paul
e3f2efc4f1
mesa: remove calls to _mesa_compressed_row_stride()
пре 16 година
Brian Paul
c83b758760
glide: remove _mesa_compressed_row_stride() calls
And fix incorrect first parameter.
пре 16 година
Brian Paul
253e7fee5d
mesa: remove _mesa_compressed_row_stride() calls
пре 16 година
Brian Paul
2594168e9f
mesa: begin removing _mesa_compressed_row_stride() calls
Use equivalent _mesa_format_row_stride() function instead.
пре 16 година
Brian Paul
82bcc1c5d2
mesa: simplify texture_row_stride() helper
пре 16 година
Brian Paul
07ad6393cb
mesa: fix-up error checking related to compressed texture block size
пре 16 година
Brian Paul
54bb414e00
mesa: clean-up, simplify compressed texture size checking
пре 16 година
Brian Paul
d6ee86c77a
mesa: remove _mesa_compressed_texture_size()
Use _mesa_format_image_size() instead.
пре 16 година
Brian Paul
4c00981b22
mesa: remove ctx->Driver.CompressedTextureSize() hook
It always just called _mesa_compressed_texture_size() anyway.
пре 16 година
Brian Paul
35efc6a1b3
mesa: change compressed texture size calls
Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
пре 16 година
Brian Paul
bea245ac2f
mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()
пре 16 година
Brian Paul
5c82827696
mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address()
_mesa_compressed_row_stride() can go away soon.
_mesa_compressed_image_address() can be generalized and moved to formats.c
пре 16 година
Brian Paul
1ad9671db7
mesa: s/GLuint/gl_format/
пре 16 година
Brian Paul
2c3787f513
mesa: move assertion after declaration
пре 16 година
Brian Paul
d255aaf54f
mesa: remove hard-coded block sizes
пре 16 година
Brian Paul
7b16c43e43
mesa: added _mesa_get_format_block_size()
пре 16 година
Brian Paul
51bc12d623
progs/tests: fix sub texture offsets
пре 16 година
Brian Paul
bee6794eb1
mesa: added _mesa_get_format_name()
пре 16 година
Brian Paul
eb732b1bbb
mesa: additional comments in format code
пре 16 година
Brian Paul
1160acbfea
dri/drivers: update driNewRenderbuffer() to take a gl_format
Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's
format. This is better than passing a GLenum and having to guess the
specific format.
I'm unable to test all the drivers, but any issues should be easy to fix.
пре 16 година
Brian Paul
cf0e25d4c8
radeon: simplify radeon_create_renderbuffer()
пре 16 година
Alex Deucher
dd36006a4e
r600: fix depth span macros for format changes
пре 16 година
Brian Paul
eb1b8ed148
radeon: fix some renderbuffer format bugs
пре 16 година
Brian Paul
82ffc5884c
progs/tests: draw Z values as luminance, no pixel zoom
пре 16 година
Brian Paul
3c68560866
i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
And change parameter type.
пре 16 година
Brian Paul
6e1ddd34c6
radeon: get rid of z24s8 <-> s8z24 conversions in span code
Can just use s8z24 everywhere.
Note: the WRITE_DEPTH macro for R600 may need to be fixed.
пре 16 година
Brian Paul
c18b022d0d
radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so
we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
пре 16 година
Brian Paul
68d94a608a
intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions
пре 16 година
Brian Paul
4bd70b5cff
i965: change parameter type to gl_format
пре 16 година
Brian Paul
c55b355fd4
mesa: use MESA_FORMAT_X8_Z24
пре 16 година
Brian Paul
832f29770d
mesa: use MESA_FORMAT_X8_Z24 format
пре 16 година
Brian Paul
e4c700dbbf
mesa: added MESA_FORMAT_X8_Z24 format
24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24
format but this there's a few places where we explicitly don't want stencil.
This format may go away at some point in the future.
пре 16 година
Brian Paul
fa3046431a
dri/common: updated #includes
пре 16 година
Brian Paul
a37c9ac8ee
dri/common: use _mesa_little_endian() and update comments
пре 16 година
Brian Paul
9bf2aa3329
dri/common: fix broken _dri_texformat_* initializations
пре 16 година
Brian Paul
c47b03ebeb
radeon: initialize renderbuffer Format field in radeon_create_renderbuffer()
Plus, use MESA_FORMAT_S8_Z24 everywhere.
пре 16 година
Brian Paul
45e76d2665
mesa: remove a bunch of gl_renderbuffer fields
_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
пре 16 година
Brian Paul
74d61d03b5
mesa: added MESA_FORMAT_XRGB8888
пре 16 година
Brian Paul
c5b7254892
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
пре 16 година
Brian Paul
c13b9a141d
mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers
пре 16 година
Brian Paul
f7b5e616e0
mesa: added _mesa_get_format_color_encoding()
пре 16 година