Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/egl: Fix eglCopyBuffers. | Chia-I Wu | 2010-03-13 | 2 | -13/+22 |
| | | | | | Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying. | ||||
* | st/glx: Fix leaks in xmesa_st_framebuffer. | Chia-I Wu | 2010-03-13 | 1 | -0/+6 |
| | | | | | The textures and surface of a framebuffer should be unreferenced when the framebuffer is destroyed. | ||||
* | st/glx: Add xm_st.c to SConscript. | Chia-I Wu | 2010-03-12 | 1 | -0/+1 |
| | |||||
* | st/mesa: Check the format before adding depth/stencil buffers. | Chia-I Wu | 2010-03-12 | 1 | -3/+9 |
| | | | | | The format might have depth bits, stencil bits, or both. Add the renderbuffers as needed. | ||||
* | st/glx: Return a better format in choose_depth_stencil_format. | Chia-I Wu | 2010-03-12 | 1 | -13/+9 |
| | | | | | Return a better format instead of an exact format in choose_depth_stencil_format. Also, prefer formats with stencil bits. | ||||
* | st/glx: Fix an infinite recursion in flush_front. | Chia-I Wu | 2010-03-12 | 1 | -1/+1 |
| | | | | It was a stupid typo by me when I refactored the code. | ||||
* | st/glx: Use st_api.h instead of st_public.h. | Chia-I Wu | 2010-03-12 | 6 | -165/+470 |
| | |||||
* | st/egl: Use st_api.h instead of st_public.h. | Chia-I Wu | 2010-03-12 | 6 | -576/+474 |
| | | | | | Switch from st_public.h to st_api.h. The latter has intrinsic multiple APIs support and allows various EGLImage extensions to be supported. | ||||
* | winsys/xlib, st/es: Advertise st_api.h support. | Chia-I Wu | 2010-03-12 | 4 | -2/+19 |
| | | | | | This is done by defining one of st_module_OpenGL_ES1, st_module_OpenGL_ES2, and st_module_OpenGL. | ||||
* | st/mesa: Implement st_api.h. | Chia-I Wu | 2010-03-12 | 11 | -11/+861 |
| | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts. | ||||
* | st/vega: Implement st_api.h. | Chia-I Wu | 2010-03-12 | 7 | -4/+427 |
| | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. | ||||
* | gallium: Add st_api.h. | Chia-I Wu | 2010-03-12 | 1 | -0/+407 |
| | | | | | This is a new interface to be implemented by st/mesa, st/vesa, and the window system APIs such as EGL or GLX. | ||||
* | gallivm: checkpoint WIP cubemap code | Brian Paul | 2010-03-11 | 1 | -1/+90 |
| | |||||
* | gallivm: added lp_build_sum_vector() | Brian Paul | 2010-03-11 | 2 | -0/+35 |
| | |||||
* | softpipe: further tighen up sample_cube() | Brian Paul | 2010-03-11 | 1 | -45/+21 |
| | | | | The code can fairly easily be translated to llvm... | ||||
* | softpipe: tighten up the code in sample_cube() | Brian Paul | 2010-03-11 | 1 | -62/+38 |
| | |||||
* | gallivm: enable 3D texture sampling | Brian Paul | 2010-03-11 | 1 | -0/+5 |
| | |||||
* | progs/demos: added 'f' key to toggle filtering mode in stex3d.c | Brian Paul | 2010-03-11 | 1 | -4/+11 |
| | |||||
* | gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]' | Brian Paul | 2010-03-11 | 6 | -20/+54 |
| | | | | | | | The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels. | ||||
* | llvmpipe: fix comment typo | Brian Paul | 2010-03-11 | 1 | -1/+1 |
| | |||||
* | gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h | Brian Paul | 2010-03-11 | 26 | -27/+28 |
| | |||||
* | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | 2010-03-11 | 1 | -0/+47 |
| | |||||
* | r200: support additional blit formats | Alex Deucher | 2010-03-11 | 2 | -18/+138 |
| | | | | swizzle in the pixel shader | ||||
* | gallivm: fix some bugs on the 1D texture paths | Brian Paul | 2010-03-11 | 1 | -8/+11 |
| | |||||
* | st/mesa: don't enable extensions which aren't actually supported | Roland Scheidegger | 2010-03-11 | 2 | -5/+4 |
| | | | | | | | don't enable APPLE_client_storage, TDFX_texture_compression_FXT1, EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 - the latter two might work somewhat with some luck. Also don't enable ARB_imaging. | ||||
* | windows: Add new file to project file. | Karl Schultz | 2010-03-11 | 1 | -0/+4 |
| | |||||
* | gallivm: include tgsi_dump.h to silence warning | Brian Paul | 2010-03-11 | 1 | -0/+1 |
| | |||||
* | gallivm: move declarations to silence unused var warnings | Brian Paul | 2010-03-11 | 1 | -2/+6 |
| | |||||
* | gallium/util: use memset() to initialize vars to avoid warnings | Brian Paul | 2010-03-11 | 1 | -3/+5 |
| | |||||
* | svga: use memset() to initialize u to avoid warnings | Brian Paul | 2010-03-11 | 1 | -1/+3 |
| | |||||
* | gallivm: Use bitmasks for scalar masks. | José Fonseca | 2010-03-11 | 1 | -4/+11 |
| | | | | | | | | | We could use single 1 bit conditions for scalar masks, but a lot of code expects masks. The compiler easily optimzes away masks extensions/truncations so consistency is preferable. We can revisit this when LLVM backends have more support for vector conditions. | ||||
* | gallivm: Handle scalar types in lp_build_*_type. | José Fonseca | 2010-03-11 | 1 | -2/+11 |
| | |||||
* | mesa/es: Validate the state in st_DrawTex. | Chia-I Wu | 2010-03-11 | 1 | -0/+2 |
| | | | | Without the validation, the function might draw with outdated textures. | ||||
* | mesa/es: Fix GL_OES_draw_texture support. | Chia-I Wu | 2010-03-11 | 1 | -0/+11 |
| | | | | | | st_DrawTex calls util_draw_vertex_buffer. Since ac4abaecd5f52e416c89bfe19b34ed7f4e014b21, the caller is expected to set vertex elements before calling. | ||||
* | softpipe: Dummy fence functions. | José Fonseca | 2010-03-11 | 5 | -0/+114 |
| | |||||
* | st/dri: move extension initilization to st/mesa completely | Marek Olšák | 2010-03-11 | 2 | -99/+12 |
| | | | | | | | | | Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri. | ||||
* | Merge remote branch 'origin/7.8' | Michel Dänzer | 2010-03-11 | 6 | -21/+58 |
|\ | |||||
| * | st/xorg: Include cursorstr.h | Jakob Bornecrantz | 2010-03-11 | 1 | -0/+1 |
| | | |||||
| * | windows: fix compilation errors and warnings | Karl Schultz | 2010-03-10 | 5 | -21/+57 |
| | | |||||
| * | windows: Quiet warning by not defining YY_NO_UNISTD_H. | Karl Schultz | 2010-03-10 | 1 | -32/+32 |
| | | |||||
* | | winsys/xlib: Fix memory leak. | Vinson Lee | 2010-03-11 | 1 | -1/+1 |
| | | | | | | | | Memory for xm_dt was allocated twice. | ||||
* | | progs/fpglsl: Fix GLSL compilation failures on Mac OS X. | Vinson Lee | 2010-03-11 | 2 | -2/+2 |
| | | |||||
* | | st/mesa: always advertise texture_rectangle | Marek Olšák | 2010-03-11 | 1 | -1/+1 |
| | | |||||
* | | gallivm: overhaul of texture sampling code | Brian Paul | 2010-03-10 | 3 | -250/+420 |
| | | | | | | | | | | | | | | | | | | The new lp_build_sample_general() function will handle all sampling modes for all texture types. Still incomplete, but a few additional sampling modes are now supported. 1D textures should work and most of the code for 3D textures is in place. No support for cube maps yet. No support for different min/mag filters. | ||||
* | | gallivm: handle scalar floats in lp_build_floor() and lp_build_iround() | Brian Paul | 2010-03-10 | 1 | -0/+15 |
| | | |||||
* | | gallivm: constant building for scalar zero | Brian Paul | 2010-03-10 | 1 | -2/+10 |
| | | |||||
* | | gallivm: implement bilinear sampling with nearest mipmapping | Brian Paul | 2010-03-10 | 1 | -0/+79 |
| | | | | | | | | Time to start consolidating some code... | ||||
* | | gallivm: remove debug code. nearest minification works now. | Brian Paul | 2010-03-10 | 1 | -6/+3 |
| | | |||||
* | | llvmpipe: fix loop over mipmap levels | Brian Paul | 2010-03-10 | 1 | -1/+1 |
| | | |||||
* | | dri/nouveau: Just reemit the BO state on pushbuf flush. | Francisco Jerez | 2010-03-11 | 3 | -14/+14 |
| | | | | | | | | | | | | Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead. |