summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-24egl: Remove _eglFindAPIs.Chia-I Wu
This function is not used and should have been removed by last commit. My mistake.
2010-01-24egl: Remove unused helper functions.Chia-I Wu
_eglFillInConfigs and _eglFindAPIs have no user in Mesa and are unlikely to find one soon. It should be fine to remove them.
2010-01-24egl: Remove unused casting functions.Chia-I Wu
_eglUIntToPointer and _eglPointerToUInt are no longer used.
2010-01-24egl: Make surfaces and contexts resources.Chia-I Wu
Turn _EGLSurface and _EGLContext into _EGLResource so that they can be managed uniformly.
2010-01-24egl: Add _EGLResource and _EGLResourceType.Chia-I Wu
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.
2010-01-24egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]Chia-I Wu
Move functions to where they should be. There should be no real change here.
2010-01-24egl: Move context functions in egldisplay.[ch] to eglcontext.[ch].Chia-I Wu
Move functions to where they should be. There should be no real change here.
2010-01-24mesa/es: Improve Makefile rules.Chia-I Wu
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.
2010-01-24r300g: avoid the use of gotoDave Airlie
I was being lazy on Sunday morning, Droste on irc called me on it ;-)
2010-01-24r300g: fix flushing harder.Dave Airlie
I swear ipers runs here after this commit. After we flush we need to redo the space check
2010-01-23egl: Install drivers to ${libdir}/egl.Chia-I Wu
Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to ${libdir}/egl.
2010-01-23st/vega: Clean up Makefile.Chia-I Wu
2010-01-23st/es: Pass -linker and -ldflags to mklib.Chia-I Wu
2010-01-23r300: fix wrong call in last commitDave Airlie
2010-01-23r300g: fix up buffer emission ordering.Dave Airlie
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 <airlied@redhat.com>
2010-01-23r300: only enable half floats on r500s.Dave Airlie
Thank to MAD for point it out.
2010-01-23Merge branch 'arb_half_float_vertex'Dave Airlie
2010-01-23r300: half float supportDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23i965: add support for ARB_half_float_vertexDave Airlie
enables the extension on i965 and adds support to the draw upload for the vertex format. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23mesa: add core support for ARB_half_float_vertex.Dave Airlie
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 <airlied@redhat.com>
2010-01-23glapi: add GL_HALF_FLOAT enum support.Dave Airlie
Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23glapi: Include glheader.h in glapi_nop.c.Chia-I Wu
In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
2010-01-22glapi: define GLfixed, GLclampx types for ES 1Brian Paul
I'm not 100% sure this is the best fix, but it seems OK.
2010-01-22svga: fix up breakage from earlier 7.7 mergeBrian Paul
2010-01-22st/mesa: fix incorrect freeing of drawpixels vertex shadersBrian Paul
These shaders are not st_vertex_shaders, but tgsi ureg shaders. Fixes fd.o bug 25959.
2010-01-22gallium/util: add missing util/u_bitmask.c to MakefileBrian Paul
2010-01-22mesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()Brian Paul
2010-01-22mesa: use switch in _mesa_DeletePrograms()Brian Paul
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/shader/prog_execute.c
2010-01-22mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul
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).
2010-01-22mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul
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).
2010-01-22xlib/softpipe: more buffer free fixesBrian Paul
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.
2010-01-22Remove obsolete fileAlan Hourihane
2010-01-22gallium/aux: re-add pb_buffer_fenced.[ch] accidentally remove during mergeBrian Paul
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-22gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul
Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
2010-01-22gallium/draw: added comments, whitespace fixesBrian Paul
2010-01-22mesa: Add "shader/" path to #include statements in shader parser/lexer sourcesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Note sure why the compiler's -I paths aren't doing the job, but this is OK. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-22glapi: clean-up and simplify glapi_nop.c codeBrian Paul
Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func(). Just check the DEBUG env vars and call fprintf(stderr) with a warning message instead.
2010-01-22glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul
This unclutters the glapi.c file a bit.
2010-01-22glapi: fix int->pointer conversions warnings in no-op functionsBrian Paul
2010-01-22gallium/draw: fix-up comments, whitespaceBrian Paul
2010-01-22gallium/draw: replace int with booleanBrian Paul
2010-01-22Fix PowerPC related typo in spantmp2.hRuediger Oertel
Signed-off-by: Matthias Hopf <mhopf@suse.de> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-22r600: enable sampler lod* bitsAndre Maasikas
bits, settings derived from testing, might contain some errors...
2010-01-22r600: update vport z & clipping when depth_clamp is changedAndre Maasikas
fixes piglit depth_clamp
2010-01-22r600: fix brownbag, only align if we are dealing with cubemapAndre Maasikas
2010-01-22r600: cubemap levels seem to be aligned to 8 imagesAndre Maasikas
2010-01-22radeon/fbo: flush rendering before generating mipmapsAndre Maasikas
or maybe should flush(also) in finish_render_texture...
2010-01-22radeon/fbo: use correct depth texture offset for depth texturesAndre Maasikas