Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glx: Compare old ctx against dummyCtx, not NULL | Kristian Høgsberg | 2010-07-29 | 3 | -2/+4 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=29302 | ||||
* | glx: Fix linked list deletion in __glXCloseDisplay() | Kristian Høgsberg | 2010-07-29 | 1 | -1/+1 |
| | | | | I hate single linked lists. | ||||
* | intel: Declare the various tracked state variables using "extern" | Kristian Høgsberg | 2010-07-29 | 1 | -62/+62 |
| | |||||
* | intel: Don't depend on context config values when picking texture formats | Kristian Høgsberg | 2010-07-29 | 1 | -24/+12 |
| | |||||
* | egl_dri2: Set API version for DRM display | Kristian Høgsberg | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | r300g/swtcl: fix crash in ETQW and minor fixups | Marek Olšák | 2010-07-29 | 3 | -26/+14 |
| | | | | | | | The Draw flush inside r300_flush was the culprit. Also, no need to flush Draw when changing a state since the flush is already inside swtcl_draw_vbo. | ||||
* | r300g/swtcl: fix crash after the draw_vbo merge | Marek Olšák | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | llvmpipe: also test the new lp_build_assert() function | Brian Paul | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | llvmpipe: don't call LLVMCreateJITCompiler() twice | Brian Paul | 2010-07-29 | 5 | -45/+14 |
| | | | | | | | | | Fixes a failed assertion with LLVM 2.6: <unnamed>::JITResolver::JITResolver(llvm::JIT&): Assertion `TheJITResolver == 0&& "Multiple JIT resolvers?"' failed. Though, not everyone seems to experience this problem. | ||||
* | gallivm: added lp_build_assert() function to make assertions in LLVM code | Brian Paul | 2010-07-29 | 4 | -0/+144 |
| | |||||
* | Revert "gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture" | José Fonseca | 2010-07-29 | 1 | -3/+0 |
| | | | | | | This reverts commit 5f90e76c54bbf4456c977b3cbca450d7a570179e. Bad cherry-pick. | ||||
* | gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture | Brian Paul | 2010-07-29 | 1 | -0/+3 |
| | | | | | If y==NULL and y_stride==NULL it means the texture is 1D. Return zero for out_i and the offset instead of garbage. | ||||
* | util: add uint version of pack_z_stencil | Keith Whitwell | 2010-07-29 | 1 | -0/+47 |
| | | | | Useful for packing mask values. | ||||
* | scons: Use the current python executable for code generation. | José Fonseca | 2010-07-29 | 2 | -3/+4 |
| | | | | Less susceptible to be broken. | ||||
* | draw: Also emit EMMS on generated LLVM IR. | José Fonseca | 2010-07-29 | 1 | -0/+11 |
| | |||||
* | llvmpipe: Avoid corrupting the FPU stack with MMX instructions on 32bit OSes. | José Fonseca | 2010-07-29 | 2 | -0/+29 |
| | | | | | | | Unfortunately LLVM doesn't emit EMMS itself, and there is no easy/effective way to disable MMX. http://llvm.org/bugs/show_bug.cgi?id=3287 | ||||
* | util: Don't include xmmintrin.h. | José Fonseca | 2010-07-29 | 1 | -1/+0 |
| | | | | Unnecessary. | ||||
* | mesa: implement RCC opcode | Brian Paul | 2010-07-29 | 1 | -0/+54 |
| | |||||
* | mesa: update table of opcodes used by GLSL | Brian Paul | 2010-07-29 | 1 | -8/+8 |
| | |||||
* | r600: since 8744c36e added asserts - use another random register for shader ↵ | Andre Maasikas | 2010-07-29 | 1 | -1/+1 |
| | | | | with no output | ||||
* | st/python: Adapt to interface change. | Chia-I Wu | 2010-07-29 | 1 | -21/+18 |
| | | | | This is only compile tested. | ||||
* | graw/tests: Use pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 7 | -17/+28 |
| | | | | | | | The other drawing variants such as draw_arrays or draw_elements_instanced were removed. This fixes fdo bug #29287. | ||||
* | gallium: Avoid void pointer arithmetic. | Chia-I Wu | 2010-07-29 | 4 | -7/+7 |
| | | | | This fixes fdo bug #29286. | ||||
* | mesa: Reduce arrayobj.h header file inclusion. | Vinson Lee | 2010-07-28 | 1 | -1/+1 |
| | | | | | Directly include mtypes.h instead of including context.h to include mtypes.h. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-07-28 | 1 | -1/+0 |
| | |||||
* | gallium/docs: Document draw_vbo and set_index_buffer. | Chia-I Wu | 2010-07-29 | 2 | -58/+27 |
| | | | | | Document the new unified drawing method and remove references to old ones. | ||||
* | gallium: Keep only pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 25 | -1188/+6 |
| | | | | | | | That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements. | ||||
* | gallium: Use unified pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 3 | -103/+71 |
| | | | | Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo. | ||||
* | gallium: Implement draw_vbo and set_index_buffer for all drivers. | Chia-I Wu | 2010-07-29 | 48 | -202/+1004 |
| | | | | | | | | | | | | | | | Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved. | ||||
* | 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. |