Tormod Volden
9cb3cdec76
mesa: Prepend "-Wl," to linking options
Let mklib ignore -Wl options inside the object list when building
static libraries
пре 16 година
Brian Paul
60927f97f7
i915simple: remove duplicated i915_context.c in C_SOURCES
пре 16 година
Michel Dänzer
ba27fe3710
gallium: Add SCons build support for the DRI state tracker.
пре 16 година
Brian Paul
8fa6c1ac92
tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled)
The TGSI interpeter operates in SOA style. We need to check for data
dependencies in instructions which read from and write to the same register.
For now just adding some debug code to detect that condition. Actual fixes
to follow.
пре 16 година
Brian Paul
46ddcbc1a9
softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()
This allows the engine demo to run again (avoid crash in VBO code).
This stuff still needs to be revisited someday though...
пре 16 година
Keith Whitwell
eb979cef85
gallium/draw: add ability to print out active pipeline stages
пре 16 година
Keith Whitwell
b91e5f8e19
util/indices: remove debug prints
пре 16 година
José Fonseca
43e24a5928
wgl: Store current HDC/HGLRC in stw_context.
Less TLS lookups.
пре 16 година
Thomas Hellstrom
2c994ad3cb
gallium dri st: Propagate the drawable info when we bind to new drawables.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Thomas Hellstrom
8cfa6546c9
gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT()
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Jakob Bornecrantz
aef3bccbda
gallium-intel: Create a i965_dri.so symlink
This is only used for debuging the gem backend on i965
chipset using the softpipe pipe driver.
Usage: "export INTEL_SOFTPIPE=y" and point LIBGL_DRIVERS_PATH
to "$MESA/lib/gallium" where $MESA is the mesa root.
пре 16 година
Jakob Bornecrantz
c9b336bc93
gallium-intel: Fix build of dri driver
пре 16 година
Thomas Hellstrom
171c7f91cd
gallium dri st: Fix up some comments and minor bugs.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Corbin Simpson
81ded8092a
radeon-r300: Fix a bit of breakage.
Not really sure why reordering the ioctls makes them work again.
пре 16 година
Corbin Simpson
1ae877d95a
radeon: Use PCI_MATCH_ANY for xorg driver.
Might as well.
пре 16 година
Thomas Hellstrom
05af5a7f59
gallium: Rename the dri state tracker lib to libdridrm.a
пре 16 година
Thomas Hellstrom
0929b2bf3c
gallium: indent and cleanfile the dri state-tracker.
пре 16 година
Thomas Hellstrom
ca1f5f7e6c
gallium: Update the dri2 state tracker to support dri1.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Thomas Hellstrom
a70c4f352e
gallium: Add a dri1 api
that a driver needs to implement on top of the drm api to support dri1.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Thomas Hellstrom
2e5acd24b0
gallium: Move the dri2 state tracker since we're about to extend it to dri1.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
Thomas Hellstrom
638261b353
gallium: Update the drm_api.
Make it possible to pass state-tracker-specific data to the
init_screen function, and even open the door for device-specific
state-tracker screen initialization.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
пре 16 година
José Fonseca
76b9da9e98
wgl: Cope with pre-existing threads.
DllMain is called with DLL_THREAD_ATTACH only by threads created after
the DLL is loaded by the process.
пре 16 година
José Fonseca
c384ccb0c4
wgl: Implement WGL_EXT_extensions_string extension.
пре 16 година
José Fonseca
3ebcf2dd74
util: Remove unix includes.
пре 16 година
Keith Whitwell
5250eec652
util/time: add util_time_sleep() for windows userspace
Somebody with a clue could probably do a better implemenation...
пре 16 година
Micah Dowty
b618827fac
util: Add debug_printf_once
пре 16 година
José Fonseca
b504721cc7
stw: Use a statically initiallized gl proc table.
It doesn't change anyway.
пре 16 година
Corbin Simpson
904b563fd0
r300-gallium: Correctly flush Draw.
Should help with a few non-TCL bugs.
пре 16 година
Mathias Gottschlag
86d2144412
r300-gallium: Add a draw_flush() to r300_flush().
This fixes some missing primitives which had been drawn right before the next glClear().
пре 16 година
Corbin Simpson
233c6fb694
r300-gallium: Fix vertex shader OVM counting.
Attribs must be packed: position, point size, colors, texcoords.
Thanks to osiris for pointing it out.
пре 16 година
Corbin Simpson
f45a7a1d1f
r300-gallium: Clean up FB state emit.
пре 16 година
Mathias Gottschlag
d9f2d0752b
r300-gallium: Set framebuffer pitch on every framebuffer change.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
пре 16 година
Jakob Bornecrantz
a098e60903
gallium-intel: Fix warning
пре 16 година
Jakob Bornecrantz
5f701f22f0
gallium-intel: Cache software switch
пре 16 година
Jakob Bornecrantz
f44f1155a9
gallium-intel: Link dri2 driver with softpipe
пре 16 година
Brian Paul
91eb8baaca
tgis: SSE code generator doesn't yet support indirect addressing of temp regs
Fall back to interpreter in this case.
пре 16 година
Keith Whitwell
29d9abf72d
pipebuffer: don't fail when validating mapped buffers
This can be almost impossible to avoid - hopefully we won't encounter
a situation where this is a true requirement. Would probably require
drivers to flush between hardware and software vertex processing.
пре 16 година
Jakob Bornecrantz
f4a286e5f5
util: Add more entry points for dumping to bmp
пре 16 година
Michel Dänzer
f3c7d6ff86
gallium: Handle non-NULL data pointer in EXA ModifyPixmapHeader hook.
Need to use the data pointed to for pixmap contents in that case.
Fixes RENDER based text rendering.
пре 16 година
Michel Dänzer
e0da812c5b
gallium: Make the intel xorg winsys start up with any Intel chipset.
For unsupported devices the screen/context creation should fail cleanly later
on.
пре 16 година
Michel Dänzer
13cb8264d8
gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set.
пре 16 година
Michel Dänzer
49ba80dff3
gallium: Always include xorg-server.h before other X server headers.
Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading
to inconsistent definitions of X server internal structs.
пре 16 година
Michel Dänzer
17ee25ba6f
gallium: Fix up xorg state tracker build.
пре 16 година
Brian Paul
c5a97eda32
gallium: license, copyright
пре 16 година
Mathias Gottschlag
b8fff1f9f1
r300-gallium: Fix CS size mismatch
This fixes some warnings which appear because the driver assumes a wrong
cs size (13 vs 16 register writes in some cases).
пре 16 година
Brian Paul
d27d79db4a
softpipe: fix softpipe_is_buffer/texture_referenced() regression
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE
value for now.
This fixes a bunch of regressions seen in piglit and glean.
пре 16 година
José Fonseca
be6037d459
wgl: Don't implement broken gl_dispatch_stub_xxx.
These don't respect the stdcall, so they crash upon return.
пре 16 година
Keith Whitwell
c7c76ba561
util: don't set unused blend state
Try to avoid creating multiple blend atoms.
пре 16 година
Jakob Bornecrantz
8ae52413c7
trace: Add initializer for static variables
пре 16 година
Jakob Bornecrantz
f2d2b3d8e2
trace: Enable dumping to be turned on and off
пре 16 година