aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/egl: Make demo3 work again.Chia-I Wu2009-09-301-10/+15
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: Check EGL_MESA_screen_surface is supported in demo2.Chia-I Wu2009-09-301-0/+6
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: Fix a crash in demo1.Chia-I Wu2009-09-301-10/+11
| | | | | | The variable "configs" in main() is used without initialization. Signed-off-by: Chia-I Wu <[email protected]>
* st/egl: Fix a double free in drm_destroy_context.Chia-I Wu2009-09-301-1/+0
| | | | | | st_destroy_context has destroyed the pipe context for us. Signed-off-by: Chia-I Wu <[email protected]>
* st/egl: Fix a crash when unbinding current context.Chia-I Wu2009-09-303-14/+4
| | | | | | | | 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 <[email protected]>
* progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.Chia-I Wu2009-09-308-18/+6
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa: added nopfrag/nopvert options for MESA_GLSLBrian Paul2009-09-293-0/+16
| | | | | These options can be used to force vertex/fragment shaders to be no-op shaders (actually, simple pass-through shaders). For debug/test purposes.
* mesa: added _mesa_nop_vertex/fragment_program()Brian Paul2009-09-292-0/+98
| | | | For debug/test purposes.
* llvmpipe: Workaround for bug in llvm 2.5.José Fonseca2009-09-291-1/+14
| | | | | | | | 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.
* llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca2009-09-291-5/+5
|
* llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca2009-09-291-10/+9
|
* llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca2009-09-293-35/+159
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-295-8/+75
|\ | | | | | | | | | | | | | | | | | | | | 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
| * mesa: bump version to 7.6.1Brian Paul2009-09-293-5/+5
| |
| * docs: initial 7.6.1 release notesBrian Paul2009-09-292-0/+45
| |
| * mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state()Brian Paul2009-09-291-8/+14
| | | | | | | | See bug 24217.
| * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * docs: update news.html file with 7.5.2 and 7.6 releaseBrian Paul2009-09-281-0/+11
| |
* | egl_xdri: Report full list of supported configs.Chia-I Wu2009-09-291-31/+66
| | | | | | | | | | | | | | Call _eglConfigFromContextModesRec to convert __GLcontextModes to _EGLConfig. Single-buffered configs are no longer skipped. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Add support for querying render buffer.Chia-I Wu2009-09-292-7/+36
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Add a function to convert __GLcontextModes to _EGLConfig.Chia-I Wu2009-09-292-0/+77
| | | | | | | | | | | | | | | | _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 <[email protected]>
* | egl: Rework config lookup.Chia-I Wu2009-09-293-53/+89
| | | | | | | | | | | | | | 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 <[email protected]>
* | egl: Rework configuration management.Chia-I Wu2009-09-292-199/+661
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | egl: Introduce config keys.Chia-I Wu2009-09-294-38/+84
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca2009-09-294-51/+37
| | | | | | | | | | | | | | 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.
* | util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca2009-09-294-415/+410
| | | | | | | | | | | | | | | | | | | | 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.
* | gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca2009-09-291-0/+5
| |
* | i915: Fix MSVC build.Vinson Lee2009-09-291-1/+1
| |
* | python: Update for surface_buffer_create change.José Fonseca2009-09-291-0/+1
| |
* | g3dvl: assert.h -> util/u_debug.hJosé Fonseca2009-09-291-1/+1
| |
* | g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.José Fonseca2009-09-292-3/+3
| | | | | | | | gcc 4.4 seems particularly picky with int -> enum conversions.
* | r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas2009-09-291-3/+3
| | | | | | | | | | | | makes blend functions work better Signed-off-by: Dave Airlie <[email protected]>
* | r600: user correct alpha blend factorAndre Maasikas2009-09-291-2/+2
| | | | | | | | Signed-off-by: Dave Airlie <[email protected]>
* | r600: clear position enable bit when when wpos is not used by FPAndre Maasikas2009-09-291-0/+5
| | | | | | | | Makes doom3 alot nicer..
* | st/xorg: Add debug for fallbacksJakob Bornecrantz2009-09-284-34/+54
| |
* | st/xorg: Make debug printing optionalJakob Bornecrantz2009-09-282-2/+15
| |
* | meta: Fix invalid PBO access from DrawPixels when trying to just alloc.Eric Anholt2009-09-281-6/+15
| | | | | | | | | | | | | | | | | | This whole reuse of buffers (TexSubImage instead of TexImage, SubData instead of Data) is bad for hardware drivers, but it's even worse when we accidentally try to access the 2x2 PBO to fill the new 16x16 texture we're creating, producing GL errors. Fixes piglit pbo-drawpixels. Bug #14163.
* | intel: Drop my generatemipmap code in favor of the new shared code.Eric Anholt2009-09-288-309/+1
| |
* | intel: Remove some dead metaops code.Eric Anholt2009-09-287-68/+2
| |
* | Merge branch 'mesa_7_6_branch'Ian Romanick2009-09-282-10/+20
|\| | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchIan Romanick2009-09-281-3/+10
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/version.h
| | * docs: 7.5.2 md5 sumsmesa_7_5_2Ian Romanick2009-09-281-1/+9
| | |
| | * Prep for 7.5.2 releaseIan Romanick2009-09-282-3/+2
| | |
| * | docs: 7.6 md5 sumsIan Romanick2009-09-281-1/+9
| | |
| * | Prep for 7.6 releaseIan Romanick2009-09-283-8/+3
| | |
* | | st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmemBrian Paul2009-09-281-0/+3
| | | | | | | | | | | | | | | In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap field as another hint as to whether to allocate space for a whole mipmap.
* | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-287-56/+116
|\| |
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-286-56/+115
| |\|
| | * Fix build on non GLIBC platforms (FreeBSD at least)Robert Noland2009-09-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build was broken by commit 9666529b5a5be1fcde82caadc2fe2efa5ea81e49 I'm not certain that this is entirely the correct fix since the demo from bug #23774 seemed to work before the commit that broke the build. Signed-off-by: Robert Noland <[email protected]> Signed-off-by: Brian Paul <[email protected]>