summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa/st: cope with non-ibo index data in st_draw_feedback.cKeith Whitwell2009-05-081-8/+15
| | | | | | Previously only non-indexed or indicies-in-a-vbo cases were handled in this code. This change adds the missing regular indices-in-memory case.
* util/upload: catch failures to map_range and return errorKeith Whitwell2009-05-081-13/+17
| | | | Caller may be able to do something about this - eg flush and retry.
* stw: fix potential uninitialized use of curctxKeith Whitwell2009-05-081-1/+1
|
* wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca2009-05-081-8/+19
|
* wgl: Add assertion for missing function.José Fonseca2009-05-081-0/+1
|
* wgl: Remove unused variable.José Fonseca2009-05-081-1/+0
|
* mesa: Make _mesa_share_state thread safe.José Fonseca2009-05-081-2/+9
|
* wgl: Implement ShareLists.José Fonseca2009-05-084-7/+28
|
* mesa: more complete fix for transform_invarient glitchesKeith Whitwell2009-05-086-11/+153
| | | | | | Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
* mesa/main: set PREFER_DP4 to match position_invarient codeKeith Whitwell2009-05-081-1/+1
| | | | | | | | This is a quick fix for z fighting in quake4 caused by the mismatch between vertex transformation here and in the position_invarient code. Full fix would be to make this driver-tunable and adjust both position_invarient and ffvertex_prog.c code to respect driver preferences.
* wgl: Implemente SwapLayerBuffers.José Fonseca2009-05-084-5/+17
|
* util: Limit the stack walk to avoid referencing undefined memory.José Fonseca2009-05-081-1/+10
|
* gallium/tgsi: hack around linker/archiver breakageKeith Whitwell2009-05-081-0/+27
| | | | | | | 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.
* wgl: Include alpha bits in pixel format's cColorBits field.José Fonseca2009-05-081-1/+1
|
* gallium/draw: cope with unused vertex_elementsKeith Whitwell2009-05-083-2/+9
|
* wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.José Fonseca2009-05-081-2/+2
|
* pb: Save the stack backtrace when creating/mapping a debug buffer.José Fonseca2009-05-081-1/+101
|
* pb: Dump the fenced buffer sizes.José Fonseca2009-05-081-4/+6
|
* swrast: fix span clipping bugBrian Paul2009-05-072-22/+71
| | | | | If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds.
* mesa: unmap buffer objects during context tear-downBrian Paul2009-05-071-0/+4
|
* gallium: fix texcoords for cubemap mipmap generationBrian Paul2009-05-051-10/+86
| | | | | 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.
* glx: replace Xmalloc() calls with Xcalloc()Brian Paul2009-05-042-2/+2
| | | | Fixes a bug where psp->WaitX was uninitialized. Reported by Chris Clayton.
* st: create renderbuffer's pipe_surface in st_render_texture()Brian Paul2009-05-011-1/+11
| | | | | | Previously we created the pipe_surface during framebuffer validation. But if we did a glCopyTex[Sub]Image() before anything else we wouldn't yet have the surface. This fixes that.
* mesa: fix state validation bug for glCopyTex[Sub]Image()Brian Paul2009-05-011-5/+16
| | | | | We need to make sure the framebuffer state is up to date to make sure we read pixels from the right buffer when doing a texture image copy.
* Fix symbol list for mangled Mesa on Darwin.Tom Fogal2009-05-011-59/+59
| | | | | | | | | | | | | | When building mangled Mesa on Darwin, the exported symbols are named `_mgluWhatever' instead of simply `_gluWhatever'. When using a list of exported symbols via the system ld's `-exported_symbols_list' command line option (as done by mklib), this resulted in error messages about exporting symbols which do not exist. Fortunately the file format accepts simple wildcards. This throws a wildcard so that the symbol list will match both the mangled and non-mangled names, preventing the warning and actually exporting the correct symbols in one shot.
* mesa: remove -devel suffix from versionBrian Paul2009-05-011-1/+1
|
* radeon: Don't even bother with things too big to fit into our card.Corbin Simpson2009-05-011-1/+3
|
* r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe.Corbin Simpson2009-05-014-20/+36
|
* r300-gallium, radeon-winsys: Space accounting.Corbin Simpson2009-05-017-9/+126
| | | | | It is no longer optional in current libdrm, so it was time to actually start counting our BOs.
* r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI.Corbin Simpson2009-05-013-47/+70
| | | | Make things more consistent, prepare for more function hooks.
* r300-gallium: Don't bother with conditional double define.Corbin Simpson2009-05-011-7/+0
| | | | | We'll just forever leave it in r300_winsys.h since it's needed for whichever winsys is hosting the pipe.
* radeon: Fix cast and comment.Corbin Simpson2009-05-011-2/+1
|
* mesa: Prepend "-Wl," to linking optionsTormod Volden2009-04-302-2/+2
| | | | | Let mklib ignore -Wl options inside the object list when building static libraries
* i915simple: remove duplicated i915_context.c in C_SOURCESBrian Paul2009-04-301-1/+0
|
* r300: Increase reference count of texture objects referenced by current state.Michel Dänzer2009-04-304-9/+11
| | | | | | | 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 .
* gallium: Add SCons build support for the DRI state tracker.Michel Dänzer2009-04-302-0/+24
|
* egl: Don't install demodriverDan Nicholson2009-04-291-2/+0
| | | | | | | 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.
* Use variable library name in pkg-config output.Tom Fogal2009-04-2910-10/+15
| | | | | | | | | | | 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 <[email protected]>
* tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled)Brian Paul2009-04-291-0/+62
| | | | | | | 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.
* mesa: added _mesa_check_soa_dependencies() functionBrian Paul2009-04-292-0/+53
| | | | | 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.
* softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()Brian Paul2009-04-281-2/+2
| | | | | This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though...
* mesa/st: protect internal flushes with FLUSH_CURRENTKeith Whitwell2009-04-281-1/+1
| | | | Already doing this for driver.flush()
* mesa/main: protect driver.finish with FLUSH_CURRENTKeith Whitwell2009-04-281-0/+1
| | | | Already doing this for driver.flush()
* mesa/st: remove duplicate offset calculationKeith Whitwell2009-04-282-18/+1
|
* gallium/draw: add ability to print out active pipeline stagesKeith Whitwell2009-04-2815-1/+24
|
* mesa/st: translate VERT_ATTRIB_GENERIC8..15 in st_translate_vertex_programKeith Whitwell2009-04-281-0/+8
| | | | It seems quake4 can hit these attributes sometimes.
* util/indices: remove debug printsKeith Whitwell2009-04-282-161/+0
|
* mesa/st: workaround for crashes in st_copy_texsubimageKeith Whitwell2009-04-281-0/+10
| | | | Proper fix for this hasn't been identified, but avoid crashing.
* wgl: Store current HDC/HGLRC in stw_context.José Fonseca2009-04-283-25/+44
| | | | Less TLS lookups.
* R300: add quadpipe overridesAlex Deucher2009-04-281-4/+13
| | | | | RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override