summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-30mesa: Prepend "-Wl," to linking optionsTormod Volden
Let mklib ignore -Wl options inside the object list when building static libraries
2009-04-30i915simple: remove duplicated i915_context.c in C_SOURCESBrian Paul
2009-04-30r300: Increase reference count of texture objects referenced by current state.Michel Dänzer
Fixes a use-after-free reported in http://bugs.freedesktop.org/show_bug.cgi?id=20539, so this possibly fixes that bug. It has been confirmed to fix http://bugs.freedesktop.org/show_bug.cgi?id=17895 .
2009-04-30gallium: Add SCons build support for the DRI state tracker.Michel Dänzer
2009-04-29egl: Don't install demodriverDan Nicholson
I don't think anyone besides a developer would ever want to use the demo egl driver. Furthermore, egl would only ever load demodriver if it was set via EGL_DRIVER in the environment. In that case, I think you can point it to your mesa source directory.
2009-04-29Use variable library name in pkg-config output.Tom Fogal
Previously the pkg-config output files would contain e.g. `-lGL' and `-lGLU', even if the user modified their configuration to build libraries with different names. This modifies the pkg-config inputs, and corresponding makery, so that modifying the output library name will cause the appropriate updated name to appear in the pkg-config `-l' option. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-04-29tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled)Brian Paul
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.
2009-04-29mesa: added _mesa_check_soa_dependencies() functionBrian Paul
This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.
2009-04-28softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()Brian Paul
This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though...
2009-04-28mesa/st: protect internal flushes with FLUSH_CURRENTKeith Whitwell
Already doing this for driver.flush()
2009-04-28mesa/main: protect driver.finish with FLUSH_CURRENTKeith Whitwell
Already doing this for driver.flush()
2009-04-28mesa/st: remove duplicate offset calculationKeith Whitwell
2009-04-28gallium/draw: add ability to print out active pipeline stagesKeith Whitwell
2009-04-28mesa/st: translate VERT_ATTRIB_GENERIC8..15 in st_translate_vertex_programKeith Whitwell
It seems quake4 can hit these attributes sometimes.
2009-04-28util/indices: remove debug printsKeith Whitwell
2009-04-28mesa/st: workaround for crashes in st_copy_texsubimageKeith Whitwell
Proper fix for this hasn't been identified, but avoid crashing.
2009-04-28wgl: Store current HDC/HGLRC in stw_context.José Fonseca
Less TLS lookups.
2009-04-28R300: add quadpipe overridesAlex Deucher
RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override
2009-04-28i965: avoid segfault in intel_update_renderbuffers() if using DRI1Brian Paul
2009-04-28swrast: add missing break in clamp_rect_coord_linear()Brian Paul
See bug 21461.
2009-04-28gallium dri st: Propagate the drawable info when we bind to new drawables.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT()Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28st: Add an st_get_current() function.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28gallium-intel: Create a i965_dri.so symlinkJakob Bornecrantz
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.
2009-04-28gallium-intel: Fix build of dri driverJakob Bornecrantz
2009-04-28gallium dri st: Fix up some comments and minor bugs.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28radeon-r300: Fix a bit of breakage.Corbin Simpson
Not really sure why reordering the ioctls makes them work again.
2009-04-28radeon: Use PCI_MATCH_ANY for xorg driver.Corbin Simpson
Might as well.
2009-04-28gallium: Rename the dri state tracker lib to libdridrm.aThomas Hellstrom
2009-04-28gallium: indent and cleanfile the dri state-tracker.Thomas Hellstrom
2009-04-28gallium: Update the dri2 state tracker to support dri1.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28gallium: Add a dri1 apiThomas Hellstrom
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>
2009-04-28gallium: Move the dri2 state tracker since we're about to extend it to dri1.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28gallium: Update the drm_api.Thomas Hellstrom
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>
2009-04-27Avoid a segfault in shader compilationRobert Ellison
If a shader reaches an out-of-memory condition while adding a new function (reallocating the function list), a segfault will occur during cleanup (because the num_functions field is non-zero, but the functions pointer is NULL). This fixes that segfault by zeroing out the num_functions field if reallocation fails.
2009-04-27wgl: Cope with pre-existing threads.José Fonseca
DllMain is called with DLL_THREAD_ATTACH only by threads created after the DLL is loaded by the process.
2009-04-27wgl: Implement WGL_EXT_extensions_string extension.José Fonseca
2009-04-27util: Remove unix includes.José Fonseca
2009-04-27i965: only upload constant buffer data when we actually need the const bufferBrian Paul
Make the use_const_buffer field per-program and only call the code which updates the constant buffer's data if the flag is set. This should undo the perf regression from 20f3497e4b6756e330f7b3f54e8acaa1d6c92052
2009-04-27util/time: add util_time_sleep() for windows userspaceKeith Whitwell
Somebody with a clue could probably do a better implemenation...
2009-04-27mesa/st: fix incorrect face, level in compress_with_blitKeith Whitwell
We were incorrectly applying the destination texture face and level when requesting a transfer to the temporary texture, which has only one face and level. This would obviously cause problems uploading to compressed cube and mipmap textures.
2009-04-24util: Add debug_printf_onceMicah Dowty
2009-04-27mesa: Call _mesa_snprintf instead of snprintf.José Fonseca
snprintf not directly available on Windows.
2009-04-27stw: Use a statically initiallized gl proc table.José Fonseca
It doesn't change anyway.
2009-04-27r300: always emit output insts after all KIL instsMaciej Cencora
2009-04-26r300-gallium: Correctly flush Draw.Corbin Simpson
Should help with a few non-TCL bugs.
2009-04-26r300-gallium: Add a draw_flush() to r300_flush().Mathias Gottschlag
This fixes some missing primitives which had been drawn right before the next glClear().
2009-04-25r300-gallium: Fix vertex shader OVM counting.Corbin Simpson
Attribs must be packed: position, point size, colors, texcoords. Thanks to osiris for pointing it out.
2009-04-25r300-gallium: Clean up FB state emit.Corbin Simpson
2009-04-25r300-gallium: Set framebuffer pitch on every framebuffer change.Mathias Gottschlag
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>