summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-08-10mesa: for meta blit, check max texture size, use glCopyTexSubImage2D() when ↵Brian Paul
possible
2009-08-10mesa: initial meta implementation of glCopyPixels()Brian Paul
2009-08-10mesa: remove debug flush callBrian Paul
2009-08-10intel: add missing \n to fprintf()Brian Paul
2009-08-10intel: use new _mesa_meta_blit_framebuffer() functionBrian Paul
The previous version of framebuffer blit was a quick hack. The new meta version works pretty well.
2009-08-10mesa: new driver meta-ops moduleBrian Paul
Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates.
2009-08-10mesa: added GLcontext::Meta field for meta rendering stateBrian Paul
2009-08-10radeon_fbo: switch short to byte for 565Dave Airlie
2009-08-10radeon: fix cut-n-paste in alphabits in fbo codeDave Airlie
2009-08-09r600: looks like a typoDave Airlie
2009-08-09r600: load per-pixel position into PS in order to use fragment.position.Cooper Yuan
This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite, tri-depthwrite2 and point-position.
2009-08-08mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()Brian Paul
2009-08-08mesa: simplify glPushAttrib() list building codeBrian Paul
2009-08-08mesa: remove old, prototype codeBrian Paul
2009-08-08swrast: replace GLenum, GLint with GLbitfield for buffer varsBrian Paul
2009-08-08mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07Revert "i965: Disable texture tiling by default."Eric Anholt
This reverts commit b8e638d4895d2d342306bb6443a455f73903ce20. Now that the known hangs and misrendering issues are fixed, I'm ready to start encouraging it by default again.
2009-08-07intel: Align region height as required for tiled regions.Eric Anholt
Otherwise, we would address beyond the end of our buffers. Fixes reliable GPU segfault with texture_tiling=true and oglconform shadow.c. Bug #22406.
2009-08-07i965: Add a note justifying domain choice for the SF VP.Eric Anholt
2009-08-07intel: Add some more safety asserts in the blit code.Eric Anholt
2009-08-07i965: Replace the subroutine-skipping jump in VS with a NOP if it's a NOP.Eric Anholt
This showed a 1.9% (+/-.3%, n=3) improvement in OA performance with high geometry settings.
2009-08-07radeon: correct fix for tiling with the legacy buildAlex Deucher
2009-08-07intel: Fix googleearth by avoiding GL_VIEWPORT_BIT in meta clear push/popEric Anholt
I have no idea why this fixes things, but being more efficient sounds good anyway. Fixes regression in 99d07d0f91ddd37926d08f4e7f10d55cac28d9a7 where most of the lit half of the world was not drawn.
2009-08-07radeon: fix the build with older drm headersAlex Deucher
2009-08-07dri: Fix problems with unitialized values in dri screen object.Pauli Nieminen
This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-07st/mesa: remove redundant calls to _mesa_set_vp_override()Brian Paul
Called from core Mesa now.
2009-08-07mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmapBrian Paul
We don't use the vertex program in these functions and the driver may install its own. This fixes the broken glCopyPixels swrast fallback in i965 and possibly other drivers. In particular, glCopyPixels sometimes didn't work because the fixed-function fragment program was replacing all fragment colors with the current raster color.
2009-08-07mesa: reformat code to allow setting breakpoints on the true-statementBrian Paul
2009-08-07mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: new _mesa_bufferobj_mapped() helper functionBrian Paul
2009-08-07mesa: use valid_fragment_program() helperBrian Paul
2009-08-07mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()Brian Paul
Also, update comments.
2009-08-07mesa: fix some incorrect error checks in _mesa_error_check_format_type()Brian Paul
Plus, simplify the code a bit.
2009-08-07mesa: do error checking on glCopyPixels() type parameterBrian Paul
Plus, move some other error checks before state validation and update some comments.
2009-08-07mesa: use a more logical flag in _mesa_set_vp_override()Brian Paul
2009-08-07mesa: new _mesa_copy_client_array() functionBrian Paul
2009-08-07i965: minor context commentsBrian Paul
2009-08-07intel: minor context commentsBrian Paul
2009-08-07intel: move blit call out of assert()Brian Paul
2009-08-07intel: fix typo: s/softare/software/Brian Paul
2009-08-07mesa: fix commentBrian Paul
2009-08-07radeon: enable tiling fallbacks in 3D driver.Dave Airlie
Only really got good testing on r500 so far, need to enable in DDX and play some more.
2009-08-07radeon span: add r200 depth/stencil span read/writingDave Airlie
this should only really affect DRI2 since we mostly have a surface in DRI1. I don't think this is perfect yet, but it is a better start than nothing.
2009-08-07r200: fix scissor emission for r200 under kmsDave Airlie
2009-08-06GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT versionIan Romanick
2009-08-06Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane
2009-08-06mesa: IgnoresJakob Bornecrantz
Got tired of seeing these files in git status all the time
2009-08-05i965: Fix source depth reg setting for FSes reading and writing to depth.Eric Anholt
For some IZ setups, we'd forget to account for the source depth register being present, so we'd both read the wrong reg, and write output depth to the wrong reg. Bug #22603.
2009-08-05mesa/st: Add support for binding pipe surface to texture.Chia-I Wu
This commit adds functions to bind a pipe surface to a texture. This allows texturing directly from the surface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05mesa/main: Add functions to clear and dirty texture objects.Chia-I Wu
This commit adds a function to clear a texture object such that there is no image data associated with it, and a function to dirty it so that it will be re-tested for completeness. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>