Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Add pipe_context::draw_vbo and pipe_context::set_index_buffer. | Chia-I Wu | 2010-07-29 | 2 | -0/+41 |
| | | | | | | This commit adds a new unified draw_vbo method to pipe_context. Unlike other draw methods, draw_vbo treats the index buffer as a state which is set with set_index_buffer. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | egl: Fix deref before NULL-check | Kristian Høgsberg | 2010-07-28 | 1 | -1/+2 |
| | |||||
* | intel: Implement EGL_KHR_surfaceless extension | Kristian Høgsberg | 2010-07-28 | 4 | -8/+28 |
| | |||||
* | egl_dri2: Implement EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | 2010-07-28 | 1 | -25/+55 |
| | |||||
* | egl: EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | 2010-07-28 | 4 | -36/+67 |
| | | | | | | | | | These extensions allow an application to make a context current by passing EGL_NO_SURFACE for the write and read surface in the call to eglMakeCurrent. The motivation is that applications that only want to render to client API targets (such as OpenGL framebuffer objects) should not need to create a throw-away EGL surface just to get a current context. | ||||
* | Untangle gallium/egl/glx source sharing mess and make it compile again | Kristian Høgsberg | 2010-07-28 | 3 | -114/+58 |
| | |||||
* | r600g: state context ptr in sampler_view & add I8/L8 buffer format | Jerome Glisse | 2010-07-28 | 2 | -0/+3 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: switch btw flat/linear interpolation | Jerome Glisse | 2010-07-28 | 3 | -3/+7 |
| | | | | | | | | | I am not sure how to properly handle flat shading regarding non color parameter to fragment shader. It seems we should still interpolate non color using linear interpolation and flat shade only apply to color. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: split pipe state creating/binding from hw state creation | Jerome Glisse | 2010-07-28 | 9 | -612/+1077 |
| | | | | | | | | | Split hw vs pipe states creation handling as hw states group doesn't match pipe state group exactly. Right now be dumb about that and rebuild all hw states on each draw call. More optimization on that side coming. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | glx: Split indirect and applegl implementations into different files | Kristian Høgsberg | 2010-07-28 | 7 | -547/+624 |
| | |||||
* | glx: Move bind and unbind to context vtable | Kristian Høgsberg | 2010-07-28 | 12 | -276/+206 |
| | |||||
* | glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. | Kristian Høgsberg | 2010-07-28 | 30 | -768/+781 |
| | |||||
* | glx: Rename __GLXscreenConfigs to struct glx_screen | Kristian Høgsberg | 2010-07-28 | 10 | -101/+99 |
| | | | | Because double underscores in private type names is painful. | ||||
* | glx: Use _X_EXPORT instead of our own PUBLIC macro | Kristian Høgsberg | 2010-07-28 | 7 | -101/+74 |
| | | | | We're an X client library, so we can use Xfuncproto.h. | ||||
* | glx: Rename glcontextmodes.[ch] to glxconfig.[ch] | Kristian Høgsberg | 2010-07-28 | 7 | -7/+4 |
| | |||||
* | glx: Rename __GLcontextModes to struct glx_config | Kristian Høgsberg | 2010-07-28 | 17 | -289/+258 |
| | | | | | With this rename, we use 'config' consitently to refer to GLX configurations instead of the modes/configs/visual mess before. | ||||
* | glx: Delete unused glcontextmodes.c functions | Kristian Høgsberg | 2010-07-28 | 3 | -101/+0 |
| | |||||
* | glx: Stop using glcore.h and glxint.h in glx | Kristian Høgsberg | 2010-07-28 | 3 | -93/+90 |
| | | | | We'd like to get rid of these header files. | ||||
* | Avoid a compiler warning about a potentially unused variable. | Carl Worth | 2010-07-28 | 1 | -1/+1 |
| | | | | | | | | | There is no assignment to the "ret" variable if X_DRI2SwapBuffers is not defined. In this case, the earlier explicit "return 0" is likely to be used, but the compiler can't be sure of that, (nor can I for that matter). We cover this case by explicitly initializing "ret" to 0. | ||||
* | Avoid compiler warning for unused glx_dpy variable. | Carl Worth | 2010-07-28 | 1 | -1/+1 |
| | | | | | | | | | | My earlier attempt to eliminate this warning (c0ca2bfb2ad8c) was invalid as it removed the variable declaration. Jerome correctly reverted that (600c85efdb0ff) since the variable is used when X_DRI2SwapBuffers is defined. Here, instead of removing the declaration, we move it to inside the correct #ifdef. | ||||
* | r600g: cleanup resource buffer/texture mess | Jerome Glisse | 2010-07-28 | 10 | -259/+217 |
| | | | | | | Use a common function, fix the mess it was before. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add lrp instruction support | Jerome Glisse | 2010-07-28 | 1 | -3/+80 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: actualy fix the literal emission | Jerome Glisse | 2010-07-28 | 1 | -3/+3 |
| | | | | | | | Previous patch added literal emission to wrong place, we want to emit literal before emitting a new alu group. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | glapi: Fix VMware spelling. | Vinson Lee | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | gallium/docs: Fix VMware spelling. | Vinson Lee | 2010-07-28 | 1 | -2/+2 |
| | |||||
* | draw: Fix VMware spelling. | Vinson Lee | 2010-07-28 | 3 | -3/+3 |
| | |||||
* | r600g: fix up segfault with variation between views and count. | Dave Airlie | 2010-07-28 | 1 | -4/+18 |
| | | | | | For some reason gallium hands us something with lots of empty views, and we are expected to deal with it, just do what r300g does for this bit. | ||||
* | gallium/docs: Fix VMware spelling. | Corbin Simpson | 2010-07-27 | 1 | -2/+2 |
| | |||||
* | r600g: use gallium util for float->ui conversion | Dave Airlie | 2010-07-28 | 2 | -19/+6 |
| | |||||
* | scons: Fix sunos5 build. | Vinson Lee | 2010-07-27 | 2 | -0/+6 |
| | |||||
* | r600g: texture support | Jerome Glisse | 2010-07-27 | 7 | -9/+610 |
| | | | | | | | | | | | | | Add texture mapping support, redbook/texbind works if you comment out glClear and second checkboard. Need to fix : - texture overwritting - lod & mip/map handling - unormalized coordinate handling - texture view with first leve > 0 - and many other things Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: pass face+slice to llvmpipe_unswizzle_cbuf_tile() | Brian Paul | 2010-07-27 | 1 | -2/+3 |
| | | | | | | | | Cube map faces and 3D texture slices are treated the same in llvmpipe textures. Need to pass the sum of these fields to llvmpipe_unswizzle_cbuf_tile() as we do elsewhere. Fixes piglit fbo-3d test (fd.o bug 29135). | ||||
* | r600g: Move declaration before code. | Vinson Lee | 2010-07-27 | 1 | -2/+5 |
| | | | | Fixes SCons build. | ||||
* | swrastg: Add SWRAST_NO_PRESENT option to not send updates to X server | Jakob Bornecrantz | 2010-07-27 | 1 | -1/+9 |
| | | | | | There seem to be a problem with this path and freeglut where the window wont open if SWRAST_NO_PRESENT is set to true. | ||||
* | intel: Remove unused intel/server files | Kristian Høgsberg | 2010-07-27 | 5 | -397/+2 |
| | |||||
* | r600g: always emit literal after emiting an alu instruction | Jerome Glisse | 2010-07-27 | 1 | -29/+32 |
| | | | | | | Make sure we always fill in the literal after alu instruction. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: Use lp_build_select_bitwise() where appropriate. | José Fonseca | 2010-07-27 | 1 | -11/+11 |
| | | | | Fixes fdo 29269. | ||||
* | gallivm: Add lp_build_select_bitwise() alternative to lp_build_select_bitwise | José Fonseca | 2010-07-27 | 2 | -22/+50 |
| | | | | | | | | | | When (mask & a) | (~mask & b) is meant instead of mask ? a : b | ||||
* | cell: comment-out unused fields, functions | Brian Paul | 2010-07-26 | 1 | -2/+4 |
| | |||||
* | cell: make functions static | Brian Paul | 2010-07-26 | 1 | -3/+3 |
| | |||||
* | cell: fix segfault when freeing samplers | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: comment-out unneeded padding field | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: added const qualifier | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | util: fix unused function warning on non-x86 | Brian Paul | 2010-07-26 | 1 | -0/+3 |
| | |||||
* | glx: Remove function prototypes no longer necessary | Kristian Høgsberg | 2010-07-26 | 1 | -7/+0 |
| | |||||
* | i965: Fix reversed naming of the operations in compute-to-mrf optimization. | Eric Anholt | 2010-07-26 | 3 | -6/+11 |
| | | | | | Also fix up comments, so that the difference between the two passes is clarified. | ||||
* | i965: Clean up a few magic numbers to use brw_defines.h defs. | Eric Anholt | 2010-07-26 | 3 | -18/+20 |
| | |||||
* | i965: Use MIN2, MAX2 instead of rolling our own. | Eric Anholt | 2010-07-26 | 1 | -15/+12 |
| | |||||
* | i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list. | Eric Anholt | 2010-07-26 | 1 | -50/+26 |
| |