summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-02-20egl_dri2: Return NULL when xcb_get_geometry_reply fails.Chia-I Wu
This should fix bug #33946.
2011-02-19scons: Add aliases for the llvmpipe unit tests.José Fonseca
Now one can simply do scons lp_test_format
2011-02-19gallivm: Use simple scaling plus casting in more unorm->float cases.José Fonseca
2011-02-19glsl: Remove $(PWD) from Makefile in favor of .Kenneth Graunke
Hopefully should fix bug #34468.
2011-02-19r300g: fix a possible race when counting contextsMarek Olšák
Atomics aren't sufficient here.
2011-02-19r300g: fix invalid dereference in winsysMarek Olšák
radeon_bo_unref may destroy the buffer, so call it after p_atomic_dec, not before.
2011-02-18svga: Fix NULL dereference.José Fonseca
Probably introduced with the surface view move from screen to context.
2011-02-18vbo: add debug code to verify that buffers are unmapped before drawingBrian Paul
2011-02-18mesa: MESA_VERBOSE logging for glRead/Draw/CopyPixels, glBlitFramebufferBrian Paul
2011-02-18st/mesa: set renderbuffer _BaseFormat in a few placesBrian Paul
NOTE: This is a candidate for the 7.9 and 7.10 branches
2011-02-18st/mesa: check buffer orientation in blit_copy_pixels()Brian Paul
Can't invert the region if copying between surfaces with different orientations.
2011-02-18svga: Ensure pending drawing commands other surface operations are emitted ↵José Fonseca
before DMAs. This behavior was last when moving the transfers to the contexts. This fixes several piglit failures, which were reading the color renderbuffer before the draw operations were emitted.
2011-02-18svga: Cannot use negate or abs on source to dsx/dsy instructions.José Fonseca
2011-02-18svga: Ensure SWTNL is created after HWTNL.José Fonseca
Matches the internal driver layering, and prevents null svga->hwtnl dereferencing from inside the swtnl.
2011-02-18svga: Ensure LRP's restrictions are observed in all uses.José Fonseca
The dst reg must be a temporary, and not be the same as src0 or src2.
2011-02-18svga: Preserve src swizzles in submit_op2/3/4.José Fonseca
Several opcodes require scalar swizzle, and this requirement was being was not being observed when creating temporaries for other reasons.
2011-02-18r300g: remove tracking whether vertex buffers need to be validatedMarek Olšák
This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty.
2011-02-18st/mesa: fix geometry corruption by always re-binding vertex arraysMarek Olšák
This is a temporary workaround. It fixes sauerbrauten with shaders enabled. I guess we might be changing vertex attribs somewhere and not updating the appropriate dirty flags, therefore we can't rely on them for now. Or maybe we need to make this state dependent on some other flags too. More info: https://bugs.freedesktop.org/show_bug.cgi?id=34378
2011-02-18svga: Disable surface cache for texturesJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18svga: Describe svga_sampler_views for refcnt debuggingJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18svga: Make sure that refcnt debugger gets the correct backtrace for createJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18util: Make refcnt and symbol debuggers work on windowsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18Point to bugs.freedesktop.org rather than bugzilla.freedesktop.orgCyril Brulebois
Suggested by a freedesktop.org admin. Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-02-18u_vbuf_mgr: initialize flag indicating that buffers have been updatedMarek Olšák
This fixes r300g errors: r300: Cannot get a relocation in radeon_drm_cs_write_reloc.
2011-02-18gallium/svga: Fix unnecessary swtnl fallbacksThomas Hellstrom
When we drop the in_swtnl_draw flag, we must force a rerun of update_need_swtnl to reset the need_swtnl flag to its correct value outside of a swtnl vbo draw. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-02-18r600g: reorganise rgtc pieces.Dave Airlie
when the cs checker fixes go upstream a lot of this can disappear into a drm version check. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-17st/mesa: implement blit-based path for glCopyPixelsBrian Paul
If doing a simple non-overlapping glCopyPixels with no per-fragment ops we can use pipe_context::resource_copy_region().
2011-02-17mesa: fix comments for _mesa_clip_readpixels()Brian Paul
2011-02-17st/mesa: indentation fixBrian Paul
2011-02-18r600g: Start a new TEX clause if the texture lookup address was fetched in ↵Fabian Bieler
the current clause Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-18r600g: Add support to dump vertex- and texture-fetch clausesFabian Bieler
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-18r600g: add BC4/5 to RGTC conversionDave Airlie
this doesn't do anything much since the rest of mesa doesn't support RGTC yet.
2011-02-17util: Fix typo in last commit.José Fonseca
2011-02-17st/mesa: fix incorrect glCopyPixels position on fallback pathBrian Paul
If we hit the pipe_get/put_tile() path for setting up the glCopyPixels texture we were passing the wrong x/y position to pipe_get_tile(). The x/y position was already accounted for in the pipe_get_transfer() call so we were effectively reading from 2*readX, 2*readY. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-17draw: update comments, rename vars in pstipple codeBrian Paul
2011-02-17svga: Don't use more than one constant per IFC instruction.José Fonseca
2011-02-17mesa: Do copy propagation across if-else-endif.José Fonseca
Addresses excessive TEMP allocation in vertex shaders where all CONSTs are stored into TEMPS at the start, but copy propagation was failing due to the presence of IFs. We could do something about loops, but ifs are easy enough.
2011-02-17util: Cleanup symbol name resolution on Windows.José Fonseca
- Support symbol name resolution on MinGW. - Use dbghelp.dll (which should allow 64bit support), but untested yet. - Cleanup.
2011-02-17st/mesa: remove unused screen variablesBrian Paul
2011-02-17mesa: remove the MESA_NO_DITHER env varBrian Paul
This was sometimes useful back when 16-bit framebuffers were prominent.
2011-02-17softpipe: rename env vars to be consistentBrian Paul
2011-02-16egl_dri2: add swrastHaitao Feng
This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are not available, such as in VM. Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-17r600g: get s3tc working on cards with crappy 64/128 bit types.Dave Airlie
Some cards don't appear to work correctly with the UNORM type, so switch to the integer type, however since gallium has no integer types yet from what I can see we need to do a hack to workaround it for the blitter. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-17r600g: add missing type to color buffer swap.Dave Airlie
2011-02-16gallium/util: init key with memset()Brian Paul
To silence missing initializers warning.
2011-02-16svga: flush when transitioning between HW and SW rendering pathsBrian Paul
To avoid mixing HW and SW rendering with the same vertex buffer.
2011-02-16rtasm: add dummy return statement to silence MSVC warningBrian Paul
And use assert(0) instead of abort() to be consistent with rest of Gallium.
2011-02-16svga: use TRUE/FALSE instead of 0/1Brian Paul
Some fields are booleans, others are bitmasks. Use TRUE/FALSE to clarify what's what.
2011-02-16svga: fix incorrect commentBrian Paul
2011-02-16svga: dimension the dirty[] array with SVGA_STATE_MAXBrian Paul