George Sapountzis
3bfa23317c
drisw: add comment to libGL about stride
pirms 15 gadiem
George Sapountzis
f4e561ce12
drisw: make stride issue profound
pirms 15 gadiem
Vinson Lee
02ee7c2950
identity: Add id_drm.c to SCons build.
This was missed in commit f7cbaae13d
.
pirms 15 gadiem
Chia-I Wu
077570c12b
st/egl: Fix missing symbols.
ximage backend calls gallium_wrap_screen, which requires libidentity.a
and libtrace.a. There are also some missing symbols in i965 due to the
use of sw wrapper.
pirms 15 gadiem
Mathias Fröhlich
a43618fdc4
r300g: fix macrotiling for non-square textures
FDO bug #27338 .
Signed-off-by: Marek Olšák <maraeo@gmail.com>
pirms 15 gadiem
George Sapountzis
29ec84b0a8
glx: try swrastg_dri, if swrast_dri fails
This needs a patch for xserver/glx also. An enviroment variable will be added
at some point, it chould be for swrastg only or all gallium drivers.
pirms 15 gadiem
Corbin Simpson
c8844c5549
r300g: Make SWTCL clear work again.
Kind of surprised that this was as little as it took. Worrying.
pirms 15 gadiem
Vinson Lee
42f14a76a6
r300g: Remove unnecessary header.
pirms 15 gadiem
Vinson Lee
9503006285
gallium: Fix Windows SCons build.
pirms 15 gadiem
Vinson Lee
0383288132
st/dri: Fix SCons build.
This was missed in commit 4b722bf9fd
.
dri_extensions.c was removed from Makefile but not from SConscript.
pirms 15 gadiem
Chris Li
8260e9a821
gallium/llvmpipe: add PROGS target/rule to Makefile.template
So other directory can share it.
Also remove the libllvmpipe.a dependency from test
programs. It is not needed any more.
Signed-Off-By: Christopher Li <chrisl@vmware.com>
pirms 15 gadiem
Vinson Lee
e9a25089f9
rtasm: Silence gnu_printf format warnings.
pirms 15 gadiem
Michel Dänzer
7996f0fc2c
dri/swrast: Fix frontbuffer rendering.
Was broken since the endianness fixes.
(cherry picked from commit 4cf14fa80b
)
pirms 15 gadiem
Michel Dänzer
b005e75177
dri/swrast: Fix missed conversion of one pixel pointer increment.
This probably broke the swrast DRI driver when running X in depth 16.
(cherry picked from commit 6ec259eb17
)
pirms 15 gadiem
George Sapountzis
3ae082f00c
swrastg: allow for any of the software rasterizers.
This function should be put in targets/common or winsys/sw/common and shared
with targers/libgl-xlib and winsys/sw/drm.
For targets/common, you get layering violations in the build system unless
all of drm_api's are moved under targets.
pirms 15 gadiem
George Sapountzis
d9b6552d85
dri/common: add comment about DRISW wrt DRI1 / DRI2
pirms 15 gadiem
George Sapountzis
fc35d203c7
st/dri: add comment about the ifdef in dri_screen.c
pirms 15 gadiem
George Sapountzis
5b07257fdb
st/dri: factor out common init_screen code
pirms 15 gadiem
George Sapountzis
1fbfc22d85
st/dri mv __driDriverExtensions to drisw.c and dri2.c
pirms 15 gadiem
George Sapountzis
4b722bf9fd
st/dri: fold dri_extensions.c into dri_context.c
pirms 15 gadiem
Brian Paul
22cd6f2cb4
mesa: only call _mesa_update_state() when necessary in glGet functions
Only a few state vars require state validation before querying them.
This potentially speeds up state queries.
Encode that info into the state tuple table.
Also, use the new tuple field to indicate when FLUSH_CURRENT() must
be called to validate other state vars.
Based on a patch submitted by Robert Bragg on Feb 12, 2010.
pirms 15 gadiem
Jakob Bornecrantz
e57405e8d5
swrastg: Use llvmpipe if built but only on scons
pirms 15 gadiem
Jakob Bornecrantz
7f91f2efb5
swrastg: Build with scons
pirms 15 gadiem
Jakob Bornecrantz
711529153c
gallium: Fix DRI driver build warnings under scons
When building more then one dri driver we would get warnings because
we where defining the same build target multiple times.
Also move all the dri scons targets related code into its own file.
pirms 15 gadiem
Jakob Bornecrantz
fb70f456fc
svga/drm: Fix build under scons
pirms 15 gadiem
Corbin Simpson
b6df7aed60
r300/compiler: Lower CMP for vertex programs.
I think my maths is right?
pirms 15 gadiem
Corbin Simpson
38c7a01b6c
Revert "r300g: add generating texture coordinates for point sprites (WIP)"
This reverts commit cba6430524
.
Breaks celestia with a hardlock. :T
We really need to sit down and study texture stuffing further.
pirms 15 gadiem
Christoph Bumiller
1f19aba1ea
nv50: fix FACE semantic check in FP input slot assignments
Fixes for instance noise with material shaders in FlightGear.
pirms 15 gadiem
Vinson Lee
b1e3e03d67
rtasm: Fix typos in comments.
pirms 15 gadiem
Vinson Lee
8edf085c77
identity: Remove unnecessary header.
pirms 15 gadiem
Eric Anholt
77c30c5915
i965: Fix readpixels from ReadBuffer != DrawBuffer.
Fixes piglit fbo-readdrawpix.
(cherry picked from commit 5782b2a968
)
pirms 15 gadiem
Eric Anholt
63fbae81e0
i965: Fix inversion for glCopyPixels to/from FBOs.
fixes piglit fbo-copypix.
(cherry picked from commit a589da14de
)
pirms 15 gadiem
Eric Anholt
fdbe1ca0bd
intel: Rely on allocated region pitch for the miptree pitch.
Bug #26966 : 945 miptree pitch disagreement with libdrm.
(cherry picked from commit da011faf48
)
pirms 15 gadiem
Eric Anholt
57e793644f
intel: Remove extra tiling setting after allocating a tiled region.
(cherry picked from commit 32f143b432
)
pirms 15 gadiem
Eric Anholt
4980891252
intel: Respect src pitch in _mesa_copy_rect().
If a non-zero src_y was used, this would break piglit
depth-level-clamp.
(cherry picked from commit e1e48ea15c
)
pirms 15 gadiem
Jakob Bornecrantz
fe306e7ea5
draw: Add EMIT_4UB_BGRA format
Needed for i915g, also fixed swizzle in draw_vs_aos_io.
pirms 15 gadiem
Jakob Bornecrantz
84a8347b9f
draw: Use translate function instead of switch cases
pirms 15 gadiem
Jakob Bornecrantz
bc88c95990
i915g: Rename winsys prefix to i915_ from intel_
Since the winsys isn't shared with i965 and never will be
pirms 15 gadiem
Jakob Bornecrantz
80672e84cf
st/dri: Move common files to common directory
27 files changed, 15 insertions(+), 15 deletions(-)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
pirms 15 gadiem
Jakob Bornecrantz
5b1fc14627
st/dri: Reshuffle files and make it obvious which files are shared
In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
pirms 15 gadiem
Brian Paul
8814bb652a
Revert "llvmpipe: optimize the lp_setup_fence() function"
This reverts commit a9063cad0f
.
Not too surprisingly, this change caused some regressions.
Revert it for the time being.
See fd.o bug 27320.
pirms 15 gadiem
Brian Paul
67e377bda6
llvmpipe: disable an assertion
We shouldn't try to clear a non-existant z/stencil buffer, so there's
probably a bug elsewhere. Disable the assertion for now to allow things
to at least run.
pirms 15 gadiem
Brian Paul
59258498dc
glapi: return int = 0 from NoOpGeneric()
If a GL function is called w/out a current rendering context, this stub
gets called. It should return 0 so that non-void-valued functions return
0/NULL instead of a random number.
pirms 15 gadiem
Vinson Lee
80f5f7d17a
glslcompiler: Fix build.
pirms 15 gadiem
Jakob Bornecrantz
9eaadfeaa5
st/dri: Don't include sw vs drm dri headers
pirms 15 gadiem
Jakob Bornecrantz
8f47f5320f
st/dri: Add dri2 prefix for all dri2.c functions
pirms 15 gadiem
George Sapountzis
1570e30b48
st/dri: add TODO list for DRISW
pirms 15 gadiem
George Sapountzis
bb289a8a70
swrastg_dri: hack for loader hardcoded stride
pirms 15 gadiem
George Sapountzis
007e0e3ef9
swrastg_dri: add winsys and target
pirms 15 gadiem
George Sapountzis
992e9572bd
swrastg_dri: add state_tracker
pirms 15 gadiem