summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-04-30gallium: use new buffer wrapper functions in p_inlines.hBrian Paul
This allows us to remove most of the direct references to winsys in the state tracker.
2008-04-30gallium: consolidate the bitmap->texel conversion codeBrian Paul
2008-04-30gallium: create a new texture each time we init/flush the bitmap cacheBrian Paul
2008-04-30gallium: simplify texture format selectionBrian Paul
2008-04-30intel: test cpp to ensure mipmap tree matches texture image.Xiang, Haihao
2008-04-29mesa: adjust glBitmap coords by a small epsilonBrian Paul
Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. Cherry picked from gallium-0.1 branch
2008-04-29gallium: flush pipe before updating bitmap textureBrian Paul
Fixes duplicated text bug in progs/tests/texwrap.c
2008-04-29r200: fix state submission issue causing bogus textures (bug 15730)Ove Kaaven
2008-04-29gallium: added some assertions to st_render_texture() to check surface formatBrian Paul
Make sure we can really render to the texture surface given its format.
2008-04-29gallium: fix broken GL_DEPTH_COMPONENT case in fallback_copy_texsubimage()Brian Paul
Also, make sure surfaces are suitable for blitting before calling util_blit_pixels().
2008-04-29mesa: added _mesa_scale_and_bias_depth_uint()Brian Paul
2008-04-29Change default of driconf "allow_large_textures" to announce hardware limits.Michel Dänzer
The previous default these days served mostly to cause artifical problems with GLX compositing managers like compiz (see e.g. http://bugs.freedesktop.org/show_bug.cgi?id=10501).
2008-04-29gallium: set border colorRoland Scheidegger
2008-04-28build fix for xorg driverAlan Hourihane
2008-04-28gallium: fix incorrect level param in copy_image_data_to_texture()Brian Paul
This fixes a weird conform test failure that depended on something that happened several tests earlier. This took waaaaaay too long to find/fix.
2008-04-28gallium: check for PIPE_FORMAT_X8Z24_UNORM formatBrian Paul
2008-04-28gallium: replace some code with a call to st_choose_format()Brian Paul
2008-04-28gallium: return enum pipe_format, not uint, for a few functionsBrian Paul
2008-04-25[i965] short immediate values must be replicated to both halves of the dwordKeith Packard
The 32-bit immediate value in the i965 instruction word must contain two copies of any 16-bit constants. brw_imm_uw and brw_imm_w just needed to copy the value into both halves of the immediate value instruction field.
2008-04-25gallium: remove unneeded st->bitmap_texcoord_biasBrian Paul
2008-04-25gallium: use simple color pass-through fragment shader if textures don't existBrian Paul
If we run out of texture memory we may not have the texture needed by the fragment shader. If this happens, plug in a color passthrough shader. So instead of crashing, we just don't see the texture. GL_OUT_OF_MEMORY is raised, of course.
2008-04-25gallium: added null ptr checkBrian Paul
2008-04-25gallium: added a null ptr checkBrian Paul
2008-04-25gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul
2008-04-25gallium: consolidate quad drawing codeBrian Paul
2008-04-25gallium: remove unused st_draw_vertices()Brian Paul
2008-04-25gallium: use util_draw_vertex_buffer() instead of st_draw_vertices()Brian Paul
2008-04-25glcore: Respect DESTDIRDan Nicholson
2008-04-25gallium: fix the compressed texture hack in st_texture_image_copy()Brian Paul
Actually, the hack is still there and needs to be revisited, but I get a bit further with compressed textures now.
2008-04-26scons: A few fixes for building mesa on windows.José Fonseca
2008-04-25gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate.Michel Dänzer
2008-04-25silence warningAlan Hourihane
2008-04-25gallium: Tell the driver the texture is updated when we finish rendering to it.Michel Dänzer
2008-04-24gallium: fix an edgeflags crashBrian Paul
2008-04-24enable GL_EXT_multi_draw_arrays (see bug 15670)Pierre Beyssac
2008-04-24gallium: initial edgeflags codeBrian Paul
2008-04-24gallium: disable the bitmap/texcoord biasBrian Paul
Doesn't seem to be needed after fixing the float->int conversion problem.
2008-04-24mesa: adjust glBitmap coords by a small epsilonBrian Paul
Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check.
2008-04-24gallium: use cso_destroy_vertex/fragment_shader() functionsBrian Paul
Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down.
2008-04-24gallium: Initial support for pixel formats with unused storage components.Michel Dänzer
Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
2008-04-23gallium: fix potential divide by zero in fog computationBrian Paul
It's legal for Fog.Start == Fog.End and conformance testing does so.
2008-04-23drop stray includes of glapiGeorge Sapountzis
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-23glcore: tree sharing for DRI and XMesaGeorge Sapountzis
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-04-22gallium: fix some bitmap frag shader issuesBrian Paul
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
2008-04-22gallium: don't set buffer status to undefined in display_front_buffer()Brian Paul
2008-04-22revert part of the previous cleanup - it only appliesAlan Hourihane
to the 7.0 branch
2008-04-22gallium: st_translate_fragment_program() is void nowBrian Paul
The return value was never used.
2008-04-22Fix error stringAlan Hourihane