summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-27i965: #include prog_print.h to silence warningBrian Paul
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 (cherry picked from master, commit dc9705d12d162ba6d087eb762e315de9f97bc456)
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-24i965: rework GLSL/WM register allocationBrian Paul
Use a bitvector of used/free flags. If we run out of temps, examine the live intervals of the temp regs in the program and free those which are no longer alive. Also, enable the new WM const buffer code.
2009-04-24mesa: refactor code and make _mesa_find_temp_intervals() publicBrian Paul
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>
2009-04-25gallium-intel: Fix warningJakob Bornecrantz
2009-04-25gallium-intel: Cache software switchJakob Bornecrantz
2009-04-25gallium-intel: Link dri2 driver with softpipeJakob Bornecrantz
2009-04-24intel: Fix more issues with the combined depth-stencil attachmentIan Romanick
2009-04-24intel: Initialize region ptr to prevent assertion in intel_region_referenceIan Romanick
2009-04-24tgis: SSE code generator doesn't yet support indirect addressing of temp regsBrian Paul
Fall back to interpreter in this case.
2009-04-24intel / DRI2: When available, use DRI2GetBuffersWithFormatIan Romanick
This interface gives the driver two important features. First, it can allocate the (fake) front-buffer only when needed. Second, it can tell the buffer allocator the format of buffers being allocated. This enables support for back-buffer and depth-buffer with different bits per pixel. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-24DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormatIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-24DRI2: Implement protocol for DRI2GetBuffersWithFormatIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-24mesa: fix up error/warning/debug output newlinesBrian Paul
As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go through output_if_debug(). Add new parameter to output_if_debug() to indicate whether to emit a newline. _mesa_warning() and _mesa_error() calls should not end their strings with \n. _mesa_debug() calls should end their text with \n.
2009-04-24i965: use drm_intel_gem_bo_map/unmap_gtt() when possible, otherwise ↵Brian Paul
dri_bo_subdata() This wraps up the unfinished business from commit a9a363f8298e9d534e60e3d2869f8677138a1e7e
2009-04-24mesa: signal _NEW_PROGRAM_CONSTANTS instead of _NEW_PROGRAMBrian Paul
Use _NEW_PROGRAM_CONSTANTS when changing constant/uniform buffer values. Binding a new program/shader sets both _NEW_PROGRAM and _NEW_PROGRAM_CONSTANTS.
2009-04-24pipebuffer: don't fail when validating mapped buffersKeith Whitwell
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.
2009-04-24util: Add more entry points for dumping to bmpJakob Bornecrantz
2009-04-24i965: fix point size issueRoland Scheidegger
need to clamp point size to user set min/max values, even for constant point size. Fixes glean pointAtten test.
2009-04-23mesa: more informative error messagesBrian Paul
2009-04-23i965: revert part of commit 4f4907d69f9020ce17aef21b6431d2dd65e01982Brian Paul
The drm_intel_gem_bo_map_gtt() call that replaced dri_bo_map() is producing errors like: intel_bufmgr_gem.c:689: Error preparing buffer map 39 (vp_const_buffer): Invalid argument . and returning NULL, causing a segfault in the memcpy(). Just reverting until we can get to the root issue...
2009-04-23i915: fix fix for anisotropic filteringRoland Scheidegger
forgot to commit the changes to actually support 4x aniso filtering...
2009-04-23i965: Support drawing to FBO cube faces other than positive X.Eric Anholt
Also fixes drawing to 3D texture depth levels.
2009-04-23intel: Take advantage of GL_READ_ONLY_ARB to map to GEM bo_map write flag.Eric Anholt
This is a CPU win in general, but in particular reduces the pain of Mesa's calculation of min/max indices in DrawElements (wtf?).