summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-04-27pipebuffer: Be extra cautious with the incoming buffers.José Fonseca
A common mistake is trying to fence user or malloc buffers. So don't let the crash happen inside pipebuffer lib.
2008-04-27rtasm: Implement x86_retw.José Fonseca
2008-04-25gallium: fix broken SGT, SLEBrian
2008-04-25use PIPE_ARCH_X86Brian
2008-04-25gallium: tweak comments, minor var renamingBrian Paul
2008-04-25gallium: tweak comments, minor var renamingBrian Paul
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-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-25draw: emit extra flags whenever pipeline is activeKeith Whitwell
The assert was in fact over-sensitive, but emitting the extra flags is pretty trivial & we may as well just do it whenever we know the pipeline is running.
2008-04-25gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate.Michel Dänzer
2008-04-25gallium: Add draw_pt_varray.c to scons build.Michel Dänzer
2008-04-25tgsi: fix compile when HIGH_PRECISION not definedKeith Whitwell
2008-04-25draw: no need to special-case elts/get_elts for varray frontendKeith Whitwell
2008-04-25draw: remove unused varsKeith Whitwell
2008-04-25frontend for rendering without eltsZack Rusin
2008-04-25gallium: Tell the driver the texture is updated when we finish rendering to it.Michel Dänzer
2008-04-25gallium: Windows user mode portability fixes.José Fonseca
2008-04-25gallium: New configuration header.José Fonseca
To abstract all those weird #ifdef (__???__) checks. It should typically be the first included header.
2008-04-24gallium: fix an edgeflags crashBrian Paul
2008-04-24draw: remove old assignment of edgeflag valueKeith Whitwell
2008-04-24gallium: initial edgeflags codeBrian Paul
2008-04-24gallium: plug in softpipe_set_edgeflags() functionBrian Paul
2008-04-24gallium: commentsBrian Paul
2008-04-24draw: default edgeflag should be oneKeith Whitwell
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: make cso_release_all() publicBrian Paul
2008-04-24gallium: minor clean-ups, commentsBrian Paul
2008-04-24gallium: tweak the new shader delete funcsBrian Paul
2008-04-24gallium: added cso_delete_vertex_fragment_shader() functionsBrian Paul
The state tracker now uses these functions to free shaders, rather than the pipe->delete_vs/fs-state() functions. Before, we could get in a situation where we free() a shader and happen to alloc() a new one at the same address. The cso_set_vertex/fragment_shader() function would no-op the state change since the pointers were the same. This led to problems elsewhere, of course. The new delete functions null-out the CSO's current shader pointers.
2008-04-24gallium: Make sure the size of non-existent storage components is set to 0.Michel Dänzer
Before adding support for formats with unused storage components, the size of components swizzled to 0 or 1 was ignored, so this didn't matter.
2008-04-24i915: Fix for wrong texture in texobj with VBUFJakob Bornecrantz
2008-04-24translate: Actually return a value from translate_cache_create().Michal Krol
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-24xlib: only shortcircuit makecurrent if NO_RAST set, otherwise window size ↵Keith Whitwell
updates fail
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: reorder code to fix a recursive flushBrian Paul
2008-04-23gallium: fix issues in recursive flushingBrian Paul
When flushing/rendering, some stages (like AA line/point) need to set pipe/driver state. Those driver functions often call draw_flush(). That leads to recursion. Use new draw->suspend_flush flag to explicitly prevent that in the key places. Remove the draw->vcache_flushing field. Reuse draw->flushing as a debug/assertion var.
2008-04-23gallium: fix commentsBrian Paul
2008-04-23gallium: fix comments, whitespace changesBrian Paul
2008-04-23gallium: passthrough tri, not pointBrian Paul