Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: initial meta implementation of glCopyPixels() | Brian Paul | 2009-08-10 | 2 | -0/+166 |
| | |||||
* | mesa: remove debug flush call | Brian Paul | 2009-08-10 | 1 | -2/+0 |
| | |||||
* | intel: add missing \n to fprintf() | Brian Paul | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | intel: use new _mesa_meta_blit_framebuffer() function | Brian Paul | 2009-08-10 | 2 | -69/+7 |
| | | | | | The previous version of framebuffer blit was a quick hack. The new meta version works pretty well. | ||||
* | mesa: new driver meta-ops module | Brian Paul | 2009-08-10 | 3 | -1/+883 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | mesa: added GLcontext::Meta field for meta rendering state | Brian Paul | 2009-08-10 | 1 | -0/+3 |
| | |||||
* | radeon_fbo: switch short to byte for 565 | Dave Airlie | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | radeon: fix cut-n-paste in alphabits in fbo code | Dave Airlie | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | egl: Add depend and depend.bak to clean target | Pauli Nieminen | 2009-08-09 | 2 | -0/+2 |
| | | | | Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: looks like a typo | Dave Airlie | 2009-08-09 | 1 | -1/+1 |
| | |||||
* | r600: load per-pixel position into PS in order to use fragment.position. | Cooper Yuan | 2009-08-09 | 1 | -0/+27 |
| | | | | | This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite, tri-depthwrite2 and point-position. | ||||
* | mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists() | Brian Paul | 2009-08-08 | 1 | -4/+8 |
| | |||||
* | mesa: simplify glPushAttrib() list building code | Brian Paul | 2009-08-08 | 1 | -106/+40 |
| | |||||
* | mesa: remove old, prototype code | Brian Paul | 2009-08-08 | 1 | -65/+0 |
| | |||||
* | swrast: replace GLenum, GLint with GLbitfield for buffer vars | Brian Paul | 2009-08-08 | 1 | -3/+3 |
| | |||||
* | mesa: use _mesa_bufferobj_mapped() | Brian Paul | 2009-08-08 | 1 | -1/+1 |
| | |||||
* | r300g: Knock out another fragment of invariant state. | Corbin Simpson | 2009-08-07 | 1 | -8/+3 |
| | | | | Colorbuffer setup will always happen. | ||||
* | gallium: Move minify() to u_math. | Corbin Simpson | 2009-08-07 | 6 | -29/+5 |
| | | | | | minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3 | ||||
* | r300g: Remove r300_constant_buffer::user_count. | Corbin Simpson | 2009-08-07 | 3 | -6/+3 |
| | | | | Not needed with new compiler. | ||||
* | Revert "i965: Disable texture tiling by default." | Eric Anholt | 2009-08-07 | 1 | -1/+5 |
| | | | | | | | This reverts commit b8e638d4895d2d342306bb6443a455f73903ce20. Now that the known hangs and misrendering issues are fixed, I'm ready to start encouraging it by default again. | ||||
* | intel: Align region height as required for tiled regions. | Eric Anholt | 2009-08-07 | 1 | -0/+5 |
| | | | | | | | Otherwise, we would address beyond the end of our buffers. Fixes reliable GPU segfault with texture_tiling=true and oglconform shadow.c. Bug #22406. | ||||
* | i965: Add a note justifying domain choice for the SF VP. | Eric Anholt | 2009-08-07 | 1 | -0/+3 |
| | |||||
* | intel: Add some more safety asserts in the blit code. | Eric Anholt | 2009-08-07 | 1 | -0/+3 |
| | |||||
* | i965: Replace the subroutine-skipping jump in VS with a NOP if it's a NOP. | Eric Anholt | 2009-08-07 | 1 | -1/+5 |
| | | | | | This showed a 1.9% (+/-.3%, n=3) improvement in OA performance with high geometry settings. | ||||
* | i915g: Don't forget x/y coords in transfers | Jakob Bornecrantz | 2009-08-08 | 1 | -0/+2 |
| | | | | Fixes demos/ray. | ||||
* | i915g: Don't try to free a mapped buffer at shutdown | Jakob Bornecrantz | 2009-08-08 | 1 | -1/+0 |
| | |||||
* | radeon: correct fix for tiling with the legacy build | Alex Deucher | 2009-08-07 | 2 | -6/+6 |
| | |||||
* | intel: Fix googleearth by avoiding GL_VIEWPORT_BIT in meta clear push/pop | Eric Anholt | 2009-08-07 | 1 | -2/+5 |
| | | | | | | 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. | ||||
* | radeon: fix the build with older drm headers | Alex Deucher | 2009-08-07 | 1 | -0/+6 |
| | |||||
* | dri: Fix problems with unitialized values in dri screen object. | Pauli Nieminen | 2009-08-07 | 1 | -1/+1 |
| | | | | | | 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 <[email protected]> | ||||
* | util: fix incorrect assertion | Brian Paul | 2009-08-07 | 1 | -1/+1 |
| | | | | Check that the dest surface/format is renderable. | ||||
* | util: include u_surface.h, added comment | Brian Paul | 2009-08-07 | 1 | -0/+2 |
| | |||||
* | util: use util_same_surface() to compare surface pointers | Brian Paul | 2009-08-07 | 1 | -3/+3 |
| | |||||
* | util: added util_same_surface() helper function | Brian Paul | 2009-08-07 | 1 | -0/+17 |
| | |||||
* | tests: have getprocaddress return a return code | Robert Ellison | 2009-08-07 | 1 | -11/+26 |
| | | | | | | These minor changes allow getprocaddress to return an error code in the case of test failure. This allows the program to be integrated into the piglit test suite. | ||||
* | mesa: improve getprocaddress test | Robert Ellison | 2009-08-07 | 2 | -41/+3204 |
| | | | | | | | | | | | | | | | - Allow the getprocaddress test to test extensions not supported by Mesa. The original getprocaddress.py script only included OpenGL extension functions that were in Mesa dispatch tables. Now all known extension functions (as detailed in gl_API.xml) are included. As the test does not link against any extension function symbols (i.e. it uses glXGetProcAddress() for all extension functions), it still compiles and links against Mesa; but now the same binary can be used to test extensions not yet supported by Mesa. - Extend the list of tested extension functions. The last revision of this test exercised 16 extension functions; this revision adds support for 95 more. | ||||
* | st/mesa: remove redundant calls to _mesa_set_vp_override() | Brian Paul | 2009-08-07 | 1 | -4/+2 |
| | | | | Called from core Mesa now. | ||||
* | progs/xdemos: added multictx.c (multi-context rendering demo) | Brian Paul | 2009-08-07 | 2 | -0/+586 |
| | | | | | | Create one window and render into it with two GLX contexts. Setup the rendering state differently for each context to be sure there's no state "bleeding" between contexts. | ||||
* | mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmap | Brian Paul | 2009-08-07 | 1 | -14/+38 |
| | | | | | | | | 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. | ||||
* | mesa: reformat code to allow setting breakpoints on the true-statement | Brian Paul | 2009-08-07 | 1 | -4/+8 |
| | |||||
* | glxgears: make functions static, update comments | Brian Paul | 2009-08-07 | 1 | -10/+3 |
| | |||||
* | mesa: use _mesa_bufferobj_mapped() | Brian Paul | 2009-08-07 | 3 | -18/+18 |
| | |||||
* | mesa: new _mesa_bufferobj_mapped() helper function | Brian Paul | 2009-08-07 | 1 | -0/+8 |
| | |||||
* | mesa: use valid_fragment_program() helper | Brian Paul | 2009-08-07 | 1 | -3/+15 |
| | |||||
* | mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists() | Brian Paul | 2009-08-07 | 1 | -10/+12 |
| | | | | Also, update comments. | ||||
* | mesa: fix some incorrect error checks in _mesa_error_check_format_type() | Brian Paul | 2009-08-07 | 1 | -17/+34 |
| | | | | Plus, simplify the code a bit. | ||||
* | mesa: do error checking on glCopyPixels() type parameter | Brian Paul | 2009-08-07 | 1 | -8/+15 |
| | | | | | Plus, move some other error checks before state validation and update some comments. | ||||
* | mesa: use a more logical flag in _mesa_set_vp_override() | Brian Paul | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | mesa: new _mesa_copy_client_array() function | Brian Paul | 2009-08-07 | 2 | -0/+29 |
| | |||||
* | i965: minor context comments | Brian Paul | 2009-08-07 | 1 | -1/+5 |
| |