summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-01-25Fix compressed texture loads for non-minimal pitches againLuca Barbieri
My commit eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 does a memcpy of height lines, but that's wrong because the texture has a block layout and we must thus use the number of vertical blocks instead of the height. Signed-off-by: Brian Paul <brianp@vmware.com>
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-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-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-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-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-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-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
2010-01-22r600: enable draw_offsetAndre Maasikas
fixes some fbo cases (mipmaps, cube textures ..)
2010-01-21st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee
2010-01-22egl: Remove USING_EGL and the related drivers.Chia-I Wu
They do not build for a long while and there seems to be no active users. It might be better for them to live in the git histroy.
2010-01-21mesa: Use pipe_buffer_write_nooverlap where appropriate.José Fonseca
2010-01-21r200: fix CS section size mismatchRoland Scheidegger
Partial fix for fdo bug 25544 The tex handling will still need CS drm changes, see bug 25544 for more.
2010-01-21mesa: minor whitespace fixBrian Paul
2010-01-21mesa: support for GL_ARB_fragment_coord_conventionsLuca Barbieri
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-21dri: Remove unnecessary glapi headers.Chia-I Wu
They are not used at all.
2010-01-21Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
2010-01-20mach64: Remove unnecessary headers.Vinson Lee
2010-01-20i810: Remove unnecessary headers.Vinson Lee
2010-01-20ffb: Remove unnecessary headers.Vinson Lee
2010-01-20r200: re-adding missing pitch alignment check in blit codeAlex Deucher
lost after switch to common code
2010-01-20mesa: replace questionable CPU_TO_LE32 macro with functionBrian Paul
2010-01-20st/mesa: fix format logic in compatible_src_dst_formats()Brian Paul
We need to consider the user-requested formats, not the actual device- chosen formats. See code comments for more details.
2010-01-20r200: fix some breakage after move to common blit codeAlex Deucher
2010-01-20r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9cAlex Deucher
noticed by Maciej on IRC.
2010-01-19Remove hardcoded -Wall from Radeon DRI makefilesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-19mesa: added comment about future FBO formatsBrian Paul
2010-01-19st/mesa: enable EXT_framebuffer_multisampleMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-19r100/r200: fix Y coord flipping in accelerated blitsAlex Deucher