Vinson Lee
c7bb271f0d
llvmpipe: Remove unnecessary header.
15 лет назад
José Fonseca
e54a86c677
llvmpipe: Implement shader bias.
Fixes glean glsl1 test: texture2D(), with bias.
15 лет назад
José Fonseca
cca8abe20e
mesa: Eliminate multiple va_list usage.
va_list is a mutable iterator. When passed to a function it will likely
point to somewhere else.
This fixes segmentation fault in glean vertProg1 on Ubuntu 9.10.
15 лет назад
José Fonseca
1eeae05441
util: Add missing static keyword.
15 лет назад
José Fonseca
ee15d5a0c4
util: Fix unsigned <-> ptr conversions.
15 лет назад
José Fonseca
aa7a47dcbd
llvmpipe: Initialize dummy variable.
15 лет назад
José Fonseca
bd6e9e3350
llvmpipe: Don't use fences when not using threads.
lp_setup_flush has effect immediately.
15 лет назад
José Fonseca
39be50dcde
llvmpipe: Move the determination of the number of threads to the screen.
15 лет назад
José Fonseca
e7a8cfc877
gallivm: Centralize the cpu caps detection.
15 лет назад
José Fonseca
30a1c36dc8
llvmpipe: Pass flatshade_first to setup.
Fixes piglit provoking-vertex.
15 лет назад
José Fonseca
e94a092437
svga: D3DCOLOR actually stands for B8G8R8A8.
15 лет назад
José Fonseca
e6c3f594e9
svga: Translate recently added vertex formats.
15 лет назад
José Fonseca
53499c64b2
cso_cache: Ensure irrelevant state of the blend state is zeroed.
Otherwise drivers that bake the full blend state in a key end up having
uninitialized memory in their key.
Courtesy of valgrind.
15 лет назад
Jakob Bornecrantz
a523b62203
st/dri: DRI2 give proper binding to depth buffer
15 лет назад
José Fonseca
94b04d3d1c
sw/xlib: Fix bad logic in shm allocation.
Fixes fdo 27823.
15 лет назад
José Fonseca
35a920e83b
gallivm: LLVMConstBitCast -> LLVMBuildBitCast
As the argument in general might not be a constant.
15 лет назад
Dave Airlie
81fe19843a
llvmpipe: add initial autoconf support.
allows the swrastg_dri.so to be built with llvmpipe, also links llvm
to all dri drivers
use --enable-gallium-llvm to use it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
15 лет назад
Vinson Lee
e3eed8bf21
nouveau: Add to SCons build.
15 лет назад
Vinson Lee
dda8046a64
gallium/docs: Update Gallium version number to 0.4.
15 лет назад
Vinson Lee
3ee4ec99ea
llvmpipe: Remove unused variable.
15 лет назад
Vinson Lee
c3c920ee2c
gallium: In option helpers, move assignment outside of if clause.
This silences Coverity assign_where_compare_meant warnings.
15 лет назад
Brian Paul
4ff354f281
st/mesa: checkpoint WIP: mipmap generation for compressed textures
Something is wrong with the images strides when compressing/decompressing
images...
15 лет назад
Brian Paul
63c9b4f3d2
xlib/sw: remove stray semicolon
15 лет назад
Brian Paul
1a4383cd42
softpipe: compressed formats can't be render targets
15 лет назад
Brian Paul
b806f2a239
gallium/util: document that pack/unpack strides are in bytes
15 лет назад
Brian Paul
394ff065f3
st/mesa: minor improvements in fallback_generate_mipmap()
15 лет назад
Brian Paul
51523f1144
st/mesa: remove unneeded #includes and add/update comments
15 лет назад
Brian Paul
76c7ad2e7d
st/mesa: clean-up: use st_context() everywhere
15 лет назад
Brian Paul
57fc2e7802
mesa: simplify some code in _mesa_generate_mipmap()
15 лет назад
Brian Paul
67f928eef3
gallium/failover: include u_memory.h for MALLOC, FREE
15 лет назад
Brian Paul
06441af657
gallium/draw: remove old comment
15 лет назад
Jakob Bornecrantz
1820d240cd
gallium: Convert some uses of get option to static
15 лет назад
Jakob Bornecrantz
89aaaab79f
gallium: Add static get option helpers
15 лет назад
Jakob Bornecrantz
7159303dbf
gallium: Add option to not print options
15 лет назад
José Fonseca
2ce1d6696b
gallium: s/free/FREE/ and same for friends.
Based on Stephen Johnson's feedback.
15 лет назад
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.
15 лет назад
Brian Paul
8283db8841
st/mesa: replace 'usage' with 'bindings'
15 лет назад
Brian Paul
eb2bd2158e
st/mesa: replace 'usage' with 'bindings' to be consistent
Plus, update comments and formatting.
15 лет назад
Ian Romanick
e4c54d4049
Merge branch '7.8'
15 лет назад
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>
15 лет назад
Stephen Johnson
c09f370519
draw: use FREE() instead of free()
15 лет назад
Brian Paul
70df04404b
st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures
15 лет назад
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.
15 лет назад
Brian Paul
c34feadd1c
mesa: make is_compressed_format() non-static
15 лет назад
Brian Paul
3643841079
mesa: faster, simpler is_compressed_format()
15 лет назад
Brian Paul
f855193796
llvmpipe: rename texture refs to resource refs
15 лет назад
Alan Hourihane
00f8e5764d
llvmpipe: update for half float formats
15 лет назад
José Fonseca
f73feb9cd6
st/xlib: Try to propagate failure to create framebuffer.
Doesn't help much, since it is ignored by st_framebuffer_validate.
15 лет назад
José Fonseca
d7996beb4c
softpipe: YUV textures should be supported.
15 лет назад
José Fonseca
99bee1570b
mesa/st: Remove dead members.
15 лет назад