summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* radeong: do not emit a zero-sized command streamMarek Olšák2010-01-241-0/+5
| | | | | Fixing a hardlock introduced in fcbd285e421903ee0a65f19f5d633b25b5923c24 and reproducible with piglit/bugs/fdo23489.
* egl: Native types are renamed in EGL 1.3.Chia-I Wu2010-01-259-23/+26
| | | | Rename Native*Type to EGLNative*Type.
* egl: Make resource void pointer in _eglCheckResource.Chia-I Wu2010-01-255-11/+11
| | | | | This emphasizes the fact that the resource to be checked could really be invalid and have an unknown type.
* egl: Install EGL headers.Chia-I Wu2010-01-251-1/+9
| | | | Install EGL (and KHR) headers along with the library.
* egl: Add support for EGL_KHR_image.Chia-I Wu2010-01-259-1/+233
| | | | Individual drivers still need to implement the API hooks.
* egl: Update headers.Chia-I Wu2010-01-256-77/+441
| | | | | | Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.
* egl: check if driver_name is nullIgor Oliveira2010-01-251-1/+2
|
* nv50: fix uninitialized variable in nv50_revdep_reorderMarcin Slusarz2010-01-251-1/+1
| | | | | "unsafe" is never initialized, but used (found by valgrind)
* nv50: fix crash in nv50_pre_pipebuffer_map (nv50_screen->cur_ctx)Marcin Slusarz2010-01-251-0/+4
| | | | | | nv50_pre_pipebuffer_map references screen->cur_ctx which points to freed memory after the context is destroyed. This crash is easily triggerable by progs/xdemos/glxcontexts.
* nouveau/winsys: be nice and close the device on destroyMarcin Slusarz2010-01-251-0/+2
|
* nouveau: fix winsys object leakMarcin Slusarz2010-01-252-0/+11
|
* nv50: fix handling of FragCoord inputChristoph Bumiller2010-01-241-12/+11
|
* nv50: only flush texture caches on st requestChristoph Bumiller2010-01-242-3/+5
|
* nv50: implement render_conditionChristoph Bumiller2010-01-241-4/+36
| | | | Still not handling queries on multiple contexts though.
* egl: Add and use make_library_path.Chia-I Wu2010-01-241-27/+49
| | | | | | Add a platform specific function to turn a library name to a library path. It is used to convert EGL_DRIVER or the default driver to a library path that can be loaded.
* egl: Remove _eglFindAPIs.Chia-I Wu2010-01-242-56/+0
| | | | | This function is not used and should have been removed by last commit. My mistake.
* egl: Remove unused helper functions.Chia-I Wu2010-01-242-217/+0
| | | | | _eglFillInConfigs and _eglFindAPIs have no user in Mesa and are unlikely to find one soon. It should be fine to remove them.
* egl: Remove unused casting functions.Chia-I Wu2010-01-241-21/+0
| | | | _eglUIntToPointer and _eglPointerToUInt are no longer used.
* egl: Make surfaces and contexts resources.Chia-I Wu2010-01-249-221/+79
| | | | | Turn _EGLSurface and _EGLContext into _EGLResource so that they can be managed uniformly.
* egl: Add _EGLResource and _EGLResourceType.Chia-I Wu2010-01-243-0/+113
| | | | | | Resources are objects managed by a display. They can be linked to or unlinked from a display. It is also possible to check if a resource is valid.
* egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]Chia-I Wu2010-01-244-119/+133
| | | | | Move functions to where they should be. There should be no real change here.
* egl: Move context functions in egldisplay.[ch] to eglcontext.[ch].Chia-I Wu2010-01-244-118/+132
| | | | | Move functions to where they should be. There should be no real change here.
* mesa/es: Improve Makefile rules.Chia-I Wu2010-01-242-18/+20
| | | | | | | | | | Make sure glapi headers are cleaned when "make clean". Make sure all sources depend on subdirs-stamp-tmp so that sources/headers are generated first. subdirs-stamp-tmp will be removed after a successful build. It might be a problem when a build fails. But it is much better than where we currently are: glapi headers are never cleaned or re-generated.
* r300g: avoid the use of gotoDave Airlie2010-01-241-3/+1
| | | | I was being lazy on Sunday morning, Droste on irc called me on it ;-)
* r300g: fix flushing harder.Dave Airlie2010-01-242-3/+4
| | | | | | I swear ipers runs here after this commit. After we flush we need to redo the space check
* egl: Install drivers to ${libdir}/egl.Chia-I Wu2010-01-236-12/+22
| | | | | Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to ${libdir}/egl.
* st/vega: Clean up Makefile.Chia-I Wu2010-01-231-54/+26
|
* st/es: Pass -linker and -ldflags to mklib.Chia-I Wu2010-01-231-2/+2
|
* r300: fix wrong call in last commitDave Airlie2010-01-231-1/+1
|
* r300g: fix up buffer emission ordering.Dave Airlie2010-01-233-22/+34
| | | | | | | This fixes the code space checking VBOs, then resetting the space list and space checking other buffers. it fixes demos/ipers Signed-off-by: Dave Airlie <[email protected]>
* r300: only enable half floats on r500s.Dave Airlie2010-01-231-1/+2
| | | | Thank to MAD for point it out.
* Merge branch 'arb_half_float_vertex'Dave Airlie2010-01-2314-2228/+2524
|\
| * r300: half float supportDave Airlie2010-01-233-0/+18
| | | | | | | | Signed-off-by: Dave Airlie <[email protected]>
| * i965: add support for ARB_half_float_vertexDave Airlie2010-01-232-0/+12
| | | | | | | | | | | | | | enables the extension on i965 and adds support to the draw upload for the vertex format. Signed-off-by: Dave Airlie <[email protected]>
| * mesa: add core support for ARB_half_float_vertex.Dave Airlie2010-01-234-0/+43
| | | | | | | | | | | | | | | | Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <[email protected]>
| * glapi: add GL_HALF_FLOAT enum support.Dave Airlie2010-01-233-2228/+2235
| | | | | | | | | | | | Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <[email protected]>
| * progs: add trivial ARB_half_float_vertex support.Dave Airlie2010-01-232-0/+216
| | | | | | | | | | | | This is just a trivial port of vp-array.c Signed-off-by: Dave Airlie <[email protected]>
* | Revert "add segl"Chia-I Wu2010-01-235-424/+0
| | | | | | | | | | This reverts commit fe33b7083b0081b91ee338acbe966400c6b9a7b9. It was not supposed to be pushed yet.
* | glapi: Include glheader.h in glapi_nop.c.Chia-I Wu2010-01-231-7/+1
| | | | | | | | | | In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
* | add seglChia-I Wu2010-01-235-0/+424
| |
* | glapi: define GLfixed, GLclampx types for ES 1Brian Paul2010-01-221-0/+7
| | | | | | | | I'm not 100% sure this is the best fix, but it seems OK.
* | svga: fix up breakage from earlier 7.7 mergeBrian Paul2010-01-221-2/+2
| |
* | st/mesa: fix incorrect freeing of drawpixels vertex shadersBrian Paul2010-01-222-3/+5
| | | | | | | | | | These shaders are not st_vertex_shaders, but tgsi ureg shaders. Fixes fd.o bug 25959.
* | gallium/util: add missing util/u_bitmask.c to MakefileBrian Paul2010-01-221-0/+1
| |
* | mesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()Brian Paul2010-01-221-15/+5
| |
* | mesa: use switch in _mesa_DeletePrograms()Brian Paul2010-01-221-7/+8
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-223-44/+84
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c
| * | mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul2010-01-221-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is faster and ensures that NaN floats get stored properly. Before, NaN values (which might be used with UP2H, UP2US, UP4B and UP4UB) weren't getting stored properly with gcc -O3. This is the second part of the fix for the piglit fp-unpack-01 failure (bug 25973).
| * | mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul2010-01-221-24/+42
| | | | | | | | | | | | | | | | | | | | | The UP2H, UP2US, UP4B and UP4UB instructions interpret the float registers as integers. With gcc -O3 some bits were getting mixed up somewhere. This is part of the fix for the piglit fp-unpack-01 test failure (bug 25973).
| * | xlib/softpipe: more buffer free fixesBrian Paul2010-01-221-12/+11
| | | | | | | | | | | | | | | | | | The previous memory leak fix didn't always work properly. Now check the xm_buffer::smh field (now documented!) to see if the buffer points to shared memory.