summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-01progs/objviewer: Wavefront .obj file loader/viewer demoBrian Paul
Adapted from code written by Nate Robins. See README.txt.
2009-10-01st/xorg: Check that ms->api->destroy is not NULL before calling it.Michel Dänzer
Fixes potential crash on X server shutdown.
2009-10-01util: Enable sockets on BSDRobert Noland
I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <rnoland@2hip.net> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-01util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.Robert Noland
Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-01mesa: better debug messageBrian Paul
2009-10-01gallium: remove depth.occlusion_count flagKeith Whitwell
This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
2009-10-01st/mesa: fix non-mipmap lastLevel calculation.Cooper Yuan
reviewed by Brian Paul.
2009-09-30st/xorg: Fix debug option function call typo.Michel Dänzer
2009-09-30mesa/main: New feature FEATURE_beginend.Chia-I Wu
This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
2009-09-30mesa/main: Make FEATURE_dlist follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
2009-09-30mesa/main: Make FEATURE_evaluators follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of eval.h to work without knowing if the feature is available.
2009-09-30mesa/main: New feature FEATURE_queryobj.Chia-I Wu
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
2009-09-30mesa/main: New feature FEATURE_arrayelt.Chia-I Wu
This allows the removal of AEcontext.
2009-09-30mesa/main: Make FEATURE_texgen follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of texgen.h to work without knowing if the feature is available.
2009-09-30mesa/main: Make FEATURE_feedback follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of feedback.h to work without knowing if the feature is available.
2009-09-30mesa/main: Make FEATURE_drawpix follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of drawpix.h to work without knowing if the feature is available.
2009-09-30mesa/main: New feature FEATURE_rastpos.Chia-I Wu
It is separated from FEATURE_drawpix and made to follow the feature conventions.
2009-09-30mesa/main: Make FEATURE_histogram follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of histogram.h to work without knowing if the feature is available.
2009-09-30mesa/main: Make FEATURE_attrib_stack follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of attrib.h to work without knowing if the feature is available.
2009-09-30mesa/main: Make FEATURE_accum follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of accum.h to work without knowing if the feature is available.
2009-09-30progs/egl: Make demo3 work again.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30progs/egl: Check EGL_MESA_screen_surface is supported in demo2.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30progs/egl: Fix a crash in demo1.Chia-I Wu
The variable "configs" in main() is used without initialization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30st/egl: Fix a double free in drm_destroy_context.Chia-I Wu
st_destroy_context has destroyed the pipe context for us. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30st/egl: Fix a crash when unbinding current context.Chia-I Wu
This fixes a NULL-pointer dereference when eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29mesa: added nopfrag/nopvert options for MESA_GLSLBrian Paul
These options can be used to force vertex/fragment shaders to be no-op shaders (actually, simple pass-through shaders). For debug/test purposes.
2009-09-29mesa: added _mesa_nop_vertex/fragment_program()Brian Paul
For debug/test purposes.
2009-09-29llvmpipe: Workaround for bug in llvm 2.5.José Fonseca
The combination of fptosi and sitofp (necessary for trunc/floor/ceil/round implementation) somehow becomes invalid code. Skip the instruction combining pass when SSE4.1 is not available.
2009-09-29llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca
2009-09-29llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca
2009-09-29llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca
2009-09-29Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
2009-09-29mesa: bump version to 7.6.1Brian Paul
2009-09-29docs: initial 7.6.1 release notesBrian Paul
2009-09-29mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state()Brian Paul
See bug 24217.
2009-09-29softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul
This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
2009-09-29softpipe: Grab a ref when the fb is set.Brian Paul
Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
2009-09-29egl_xdri: Report full list of supported configs.Chia-I Wu
Call _eglConfigFromContextModesRec to convert __GLcontextModes to _EGLConfig. Single-buffered configs are no longer skipped. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Add support for querying render buffer.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Add a function to convert __GLcontextModes to _EGLConfig.Chia-I Wu
_eglConfigFromContextModesRec is used to convert a __GLcontextModes to a _EGLConfig. Note that the config is not validated. An invalid mode is likely to give an invalid config. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Rework config lookup.Chia-I Wu
Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Rework configuration management.Chia-I Wu
This mainly implements the algorithms for configuration selection and sorting, described in the spec. User errors should also be correctly detected and reported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Introduce config keys.Chia-I Wu
Config keys are almost config attributes. A valid config attribute is a valid config key, but a valid config key may not be a valid config attribute. This commit does not distinguish the differences. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca
Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
2009-09-29util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca
I was waiting for the need to use this code to arise, and it finally came. I've tested building this on Linux and Windows, both x86 and x64_64. But it might break other platforms. Please bear with me and help me fix it. Many thanks to Dennis Smit who submitted this, and Eric Anholt whose work this was based on.
2009-09-29gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca
2009-09-29i915: Fix MSVC build.Vinson Lee
2009-09-29python: Update for surface_buffer_create change.José Fonseca
2009-09-29g3dvl: assert.h -> util/u_debug.hJosé Fonseca