Ben Skeggs
b7f2b7e936
nouveau: use dri state tracker for dri1
16 years ago
Brian Paul
95b7771ea7
gallium: remove redundant cube face #defines
16 years ago
Brian Paul
79ada8c633
gallium: fix texcoords for cubemap mipmap generation
We need to use (s,t,r) cubemap coords when sampling from the cubemap texture
so the rendered quad gets texture samples from the correct cube face.
16 years ago
José Fonseca
c6bfb4c559
wgl: Implemente SwapLayerBuffers.
16 years ago
José Fonseca
3537c3420d
util: Limit the stack walk to avoid referencing undefined memory.
16 years ago
Keith Whitwell
b865501bda
gallium/tgsi: hack around linker/archiver breakage
Add a dummy function which exists only so that tgsi_text_translate()
doesn't get magic-ed out of the libtgsi.a archive by the build system.
Don't remove unless you know this has been fixed - check on
mingw/scons builds as well.
16 years ago
José Fonseca
6b89c35c9f
wgl: Include alpha bits in pixel format's cColorBits field.
16 years ago
Keith Whitwell
c6b3c2f34b
gallium/draw: cope with unused vertex_elements
16 years ago
José Fonseca
ccec9f76d5
wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.
16 years ago
José Fonseca
a47f15ba1d
pb: Save the stack backtrace when creating/mapping a debug buffer.
16 years ago
José Fonseca
4fd6f296f8
pb: Dump the fenced buffer sizes.
16 years ago
Stephane Marchesin
8edb50ff1e
nv04: small fix again
16 years ago
Stephane Marchesin
39ebeead56
Fix an nv04 bug (thanks Mhopf).
16 years ago
Brian Paul
986d4a9ec6
draw: added some inf/nan debug code (disabled)
16 years ago
Brian Paul
08bc3d1750
gallium/glx: say we're direct rendering
16 years ago
Brian Paul
b57b6c2d2c
xlib winsys: use new st_swapbuffers() function
The front/back buffer pointers are truly swapped (when there is an actual
front buffer).
This fixes some issues seen with apps/tests that draw to both the front
and back color buffers. The true swap allows us to avoid the (potentially)
slow surface_copy() call in update_framebuffer_state() and is cleaner
overall.
16 years ago
José Fonseca
293f576db7
egl_xlib: Pass RTLD_LAZY to dlopen.
dlopen manpage mandates that either RTLD_LAZY or RTLD_NOW flags must be
passed. Not doing so was causing a NULL return on debian unstable x86-64.
16 years ago
Corbin Simpson
2953b18004
radeon: Don't even bother with things too big to fit into our card.
16 years ago
Corbin Simpson
5b15cc312f
r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe.
16 years ago
Corbin Simpson
c11ad489e7
r300-gallium, radeon-winsys: Space accounting.
It is no longer optional in current libdrm, so it was time to actually
start counting our BOs.
16 years ago
Corbin Simpson
d7f4ac9f34
r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI.
Make things more consistent, prepare for more function hooks.
16 years ago
Corbin Simpson
a609f78cf6
r300-gallium: Don't bother with conditional double define.
We'll just forever leave it in r300_winsys.h since it's needed for
whichever winsys is hosting the pipe.
16 years ago
Corbin Simpson
1f43cc1d84
radeon: Fix cast and comment.
16 years ago
Tormod Volden
9cb3cdec76
mesa: Prepend "-Wl," to linking options
Let mklib ignore -Wl options inside the object list when building
static libraries
16 years ago
Brian Paul
60927f97f7
i915simple: remove duplicated i915_context.c in C_SOURCES
16 years ago
Michel Dänzer
ba27fe3710
gallium: Add SCons build support for the DRI state tracker.
16 years ago
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 years ago
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 years ago
Keith Whitwell
eb979cef85
gallium/draw: add ability to print out active pipeline stages
16 years ago
Keith Whitwell
b91e5f8e19
util/indices: remove debug prints
16 years ago
José Fonseca
43e24a5928
wgl: Store current HDC/HGLRC in stw_context.
Less TLS lookups.
16 years ago
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 years ago
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 years ago
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 years ago
Jakob Bornecrantz
c9b336bc93
gallium-intel: Fix build of dri driver
16 years ago
Thomas Hellstrom
171c7f91cd
gallium dri st: Fix up some comments and minor bugs.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
16 years ago
Corbin Simpson
81ded8092a
radeon-r300: Fix a bit of breakage.
Not really sure why reordering the ioctls makes them work again.
16 years ago
Corbin Simpson
1ae877d95a
radeon: Use PCI_MATCH_ANY for xorg driver.
Might as well.
16 years ago
Thomas Hellstrom
05af5a7f59
gallium: Rename the dri state tracker lib to libdridrm.a
16 years ago
Thomas Hellstrom
0929b2bf3c
gallium: indent and cleanfile the dri state-tracker.
16 years ago
Thomas Hellstrom
ca1f5f7e6c
gallium: Update the dri2 state tracker to support dri1.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
16 years ago
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 years ago
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 years ago
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 years ago
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 years ago
José Fonseca
c384ccb0c4
wgl: Implement WGL_EXT_extensions_string extension.
16 years ago
José Fonseca
3ebcf2dd74
util: Remove unix includes.
16 years ago
Keith Whitwell
5250eec652
util/time: add util_time_sleep() for windows userspace
Somebody with a clue could probably do a better implemenation...
16 years ago
Micah Dowty
b618827fac
util: Add debug_printf_once
16 years ago
José Fonseca
b504721cc7
stw: Use a statically initiallized gl proc table.
It doesn't change anyway.
16 years ago