summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Remove obsolete fileAlan Hourihane2010-01-221-1/+0
| | |
* | | gallium/aux: re-add pb_buffer_fenced.[ch] accidentally remove during mergeBrian Paul2010-01-222-769/+333
| | |
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-22217-1108/+3172
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul2010-01-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | gallium/draw: added comments, whitespace fixesBrian Paul2010-01-221-8/+30
| | |
| * | Fix PowerPC related typo in spantmp2.hRuediger Oertel2010-01-221-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Hopf <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * | vmware/core: Update for pipebuffer changes.José Fonseca2010-01-222-14/+84
| | | | | | | | | | | | | | | In particular, delay patching GMR relocations until the buffers are validated, since the buffers relative offset can only be established then.
| * | st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee2010-01-211-1/+0
| | |
| * | progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.Vinson Lee2010-01-211-1/+0
| | |
| * | i915g: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
| | |
| * | pipebuffer: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
| | |
| * | draw: Remove unnecessary headers.Vinson Lee2010-01-217-9/+0
| | |
| * | svga: Remove unused variable.Vinson Lee2010-01-211-1/+0
| | |
| * | vmware/core: Flush preemptively the FIFO commands to keep the GMR working ↵José Fonseca2010-01-211-1/+37
| | | | | | | | | | | | set within reasonable bounds.
| * | vmware/core: Put GMR pool size in a define.José Fonseca2010-01-212-1/+5
| | |
| * | vmw/wgl: Update for pipebuffer changes.José Fonseca2010-01-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is a minimum change to keep things building and running minimally -- it might cause applications to fail to allocate buffers due to out of GMR memory. A proper update will be commited later.
| * | svga: Remove duplicate code.José Fonseca2010-01-211-4/+2
| | |
| * | svga: Remove unused code.José Fonseca2010-01-213-30/+4
| | |
| * | svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca2010-01-212-63/+0
| | |