Vinson Lee
3ee4ec99ea
llvmpipe: Remove unused variable.
2010-04-24 00:02:48 -07:00
Vinson Lee
c3c920ee2c
gallium: In option helpers, move assignment outside of if clause.
...
This silences Coverity assign_where_compare_meant warnings.
2010-04-23 22:06:19 -07:00
Brian Paul
4ff354f281
st/mesa: checkpoint WIP: mipmap generation for compressed textures
...
Something is wrong with the images strides when compressing/decompressing
images...
2010-04-23 18:12:45 -06:00
Brian Paul
63c9b4f3d2
xlib/sw: remove stray semicolon
2010-04-23 18:12:27 -06:00
Brian Paul
1a4383cd42
softpipe: compressed formats can't be render targets
2010-04-23 18:12:24 -06:00
Brian Paul
b806f2a239
gallium/util: document that pack/unpack strides are in bytes
2010-04-23 18:12:19 -06:00
Brian Paul
394ff065f3
st/mesa: minor improvements in fallback_generate_mipmap()
2010-04-23 16:04:55 -06:00
Brian Paul
51523f1144
st/mesa: remove unneeded #includes and add/update comments
2010-04-23 15:41:49 -06:00
Brian Paul
76c7ad2e7d
st/mesa: clean-up: use st_context() everywhere
2010-04-23 15:41:49 -06:00
Brian Paul
57fc2e7802
mesa: simplify some code in _mesa_generate_mipmap()
2010-04-23 15:41:49 -06:00
Brian Paul
67f928eef3
gallium/failover: include u_memory.h for MALLOC, FREE
2010-04-23 15:39:43 -06:00
Brian Paul
b695cbd57c
docs: add links to old mailing list archives
2010-04-23 15:36:40 -06:00
Brian Paul
06441af657
gallium/draw: remove old comment
2010-04-23 15:36:14 -06:00
Jakob Bornecrantz
1820d240cd
gallium: Convert some uses of get option to static
2010-04-23 21:57:49 +01:00
Jakob Bornecrantz
89aaaab79f
gallium: Add static get option helpers
2010-04-23 21:57:49 +01:00
Jakob Bornecrantz
7159303dbf
gallium: Add option to not print options
2010-04-23 21:57:49 +01:00
José Fonseca
2ce1d6696b
gallium: s/free/FREE/ and same for friends.
...
Based on Stephen Johnson's feedback.
2010-04-23 21:53:08 +01:00
Brian Paul
4aa4fe8e21
st/mesa: re-do binding flags in st_ChooseTextureFormat(), again
...
Try to specify render target bindings flags first. If that fails, try
again with just sampler view binding. Note that we try to create the
texture resource with render target binding flags later when we allocate
the texture. Then, in FBO validation, we check if we can actually render
to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT.
Changes suggested by Jose.
2010-04-23 13:16:37 -06:00
Brian Paul
8283db8841
st/mesa: replace 'usage' with 'bindings'
2010-04-23 13:16:37 -06:00
Brian Paul
eb2bd2158e
st/mesa: replace 'usage' with 'bindings' to be consistent
...
Plus, update comments and formatting.
2010-04-23 13:16:37 -06:00
Ian Romanick
e4c54d4049
Merge branch '7.8'
2010-04-23 11:52:14 -07:00
Aaron Plattner
ad7d36e919
Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig tags.
...
__glXInitializeVisualConfigFromTags doesn't skip the payload of
unrecognized tags. Instead, it treats the value as if it were the
next tag, which can happen if the server's GLX extension is not
Mesa's. For example, this falls down when NVIDIA sends a
GLX_FLOAT_COMPONENTS_NV = 0 pair, causing
__glXInitializeVisualConfigFromTags to bail out early.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-04-23 11:48:11 -07:00
Stephen Johnson
c09f370519
draw: use FREE() instead of free()
2010-04-23 19:34:55 +01:00
Brian Paul
70df04404b
st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures
2010-04-23 12:29:31 -06:00
Brian Paul
a8c78f3aa1
st/mesa: get rid of default_deep_rgba_format()
...
This special-case code used to be used for the accum buffer but
the accum buffer implementation was changed some time ago.
2010-04-23 12:29:31 -06:00
Brian Paul
c34feadd1c
mesa: make is_compressed_format() non-static
2010-04-23 12:29:31 -06:00
Brian Paul
3643841079
mesa: faster, simpler is_compressed_format()
2010-04-23 12:29:31 -06:00
Brian Paul
f855193796
llvmpipe: rename texture refs to resource refs
2010-04-23 12:29:31 -06:00
Alan Hourihane
00f8e5764d
llvmpipe: update for half float formats
2010-04-23 19:26:03 +01:00
José Fonseca
f73feb9cd6
st/xlib: Try to propagate failure to create framebuffer.
...
Doesn't help much, since it is ignored by st_framebuffer_validate.
2010-04-23 17:08:11 +01:00
José Fonseca
d7996beb4c
softpipe: YUV textures should be supported.
2010-04-23 17:08:11 +01:00
José Fonseca
99bee1570b
mesa/st: Remove dead members.
2010-04-23 17:08:11 +01:00
José Fonseca
405f925d4e
sw/xlib: Fallback to XPutImage when shmget fails.
...
After continuously running regression tests on Ubuntu for 2 days, shmget
mysteriously starts to fail. Even when the X server is reset.
This allow rendering to proceed, albeit using a slower presentation path.
2010-04-23 17:08:11 +01:00
Brian Paul
158f9d56e0
llvmpipe: increase max 2D texture / surface size to 4K x 4K
2010-04-23 09:13:27 -06:00
Brian Paul
4a72ec49f6
llvmpipe: rename MAXWIDTH, MAXHEIGHT
2010-04-23 09:13:26 -06:00
Brian Paul
2de31f2bf2
llvmpipe: rename lp_tile_size.h to lp_limits.h
...
Collect the various driver limits in one place since.
2010-04-23 09:13:26 -06:00
Brian Paul
71dfbb608a
llvmpipe: move LP_MAX_TEXTURE_x_LEVELS, etc to lp_tile_size.h
2010-04-23 09:13:26 -06:00
Jerome Glisse
ccd13da0fc
Merge remote branch 'origin/7.8'
2010-04-23 12:08:36 +02:00
Jerome Glisse
eb4dc54788
r600: don't enable depth test if there is no depth buffer
...
If there is no depth buffer bound to current context don't
enable depth test. GL states that if depth test is enabled
without depth buffer it's as if depth buffer always pass.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-04-23 11:56:06 +02:00
Michel Dänzer
ff20543c81
Merge branch '7.8'
2010-04-23 11:18:29 +02:00
Michel Dänzer
c37e275e77
glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.
2010-04-23 11:16:03 +02:00
Vinson Lee
749a8825a0
llvmpipe: Remove unused variable.
2010-04-23 00:59:12 -07:00
Eric Anholt
b2e52e7278
i965: Fix assertion for surface tile offset usage on Ironlake.
...
Fixes assertion failure in fbo-generatemipmap-npot.
2010-04-22 15:37:33 -07:00
Eric Anholt
64516430be
i965: Fix scissoring when width or height is 0.
...
We would run into trouble due to the hardware using inclusive numbers
and the subtraction to handle that producing negative (meaning large
positive) coordinates.
Bug #27643 .
2010-04-22 15:37:33 -07:00
Zack Rusin
021e0dc78b
gallivm: implement indirect addressing over temporaries
...
a bit more involved than indirect addressing over consts, but still
fairly reasonable. we allocate an array instead of individual alloca's,
and we do it only if the shader does indirect addressing.
2010-04-22 18:36:07 -04:00
Zack Rusin
ded2374e67
gallivm: implement indirect addressing over constants
...
implement indirect addressing (ARL and ARR instructions) when used
with CONST's. indirect addressing over other vars (temps, inputs, outputs)
is not supported yet.
2010-04-22 17:33:14 -04:00
Tormod Volden
355370e30b
radeon: 9800 SE has only one quadpipe
...
Although these cards have 2 pipelines on the silicon only
the first passed the QA and the other should be disabled.
http://www.digital-daily.com/video/ati-radeon9800se/
http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22 17:14:15 -04:00
Brian Paul
d888812324
gallium: use better param name
2010-04-22 14:39:12 -06:00
Brian Paul
19b26cb0a2
gallivm: remove Z/stencil special case code in lp_build_sample_offset()
...
Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c
2010-04-22 14:37:50 -06:00
Brian Paul
17249ae8e0
st/mesa: assert that binding flags are properly set for drawing surfaces
2010-04-22 14:37:50 -06:00