Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-13 | st/egl: Fix eglCopyBuffers. | Chia-I Wu | |
Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying. | |||
2010-03-13 | st/glx: Fix leaks in xmesa_st_framebuffer. | Chia-I Wu | |
The textures and surface of a framebuffer should be unreferenced when the framebuffer is destroyed. | |||
2010-03-12 | st/glx: Add xm_st.c to SConscript. | Chia-I Wu | |
2010-03-12 | st/mesa: Check the format before adding depth/stencil buffers. | Chia-I Wu | |
The format might have depth bits, stencil bits, or both. Add the renderbuffers as needed. | |||
2010-03-12 | st/glx: Return a better format in choose_depth_stencil_format. | Chia-I Wu | |
Return a better format instead of an exact format in choose_depth_stencil_format. Also, prefer formats with stencil bits. | |||
2010-03-12 | st/glx: Fix an infinite recursion in flush_front. | Chia-I Wu | |
It was a stupid typo by me when I refactored the code. | |||
2010-03-12 | st/glx: Use st_api.h instead of st_public.h. | Chia-I Wu | |
2010-03-12 | st/egl: Use st_api.h instead of st_public.h. | Chia-I Wu | |
Switch from st_public.h to st_api.h. The latter has intrinsic multiple APIs support and allows various EGLImage extensions to be supported. | |||
2010-03-12 | winsys/xlib, st/es: Advertise st_api.h support. | Chia-I Wu | |
This is done by defining one of st_module_OpenGL_ES1, st_module_OpenGL_ES2, and st_module_OpenGL. | |||
2010-03-12 | st/mesa: Implement st_api.h. | Chia-I Wu | |
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. | |||
2010-03-12 | st/vega: Implement st_api.h. | Chia-I Wu | |
There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. | |||
2010-03-12 | gallium: Add st_api.h. | Chia-I Wu | |
This is a new interface to be implemented by st/mesa, st/vesa, and the window system APIs such as EGL or GLX. | |||
2010-03-11 | gallivm: checkpoint WIP cubemap code | Brian Paul | |
2010-03-11 | gallivm: added lp_build_sum_vector() | Brian Paul | |
2010-03-11 | softpipe: further tighen up sample_cube() | Brian Paul | |
The code can fairly easily be translated to llvm... | |||
2010-03-11 | softpipe: tighten up the code in sample_cube() | Brian Paul | |
2010-03-11 | gallivm: enable 3D texture sampling | Brian Paul | |
2010-03-11 | gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]' | Brian Paul | |
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. | |||
2010-03-11 | llvmpipe: fix comment typo | Brian Paul | |
2010-03-11 | gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h | Brian Paul | |
2010-03-11 | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | |
2010-03-11 | r200: support additional blit formats | Alex Deucher | |
swizzle in the pixel shader | |||
2010-03-11 | gallivm: fix some bugs on the 1D texture paths | Brian Paul | |
2010-03-11 | st/mesa: don't enable extensions which aren't actually supported | Roland Scheidegger | |
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. | |||
2010-03-11 | gallivm: include tgsi_dump.h to silence warning | Brian Paul | |
2010-03-11 | gallivm: move declarations to silence unused var warnings | Brian Paul | |
2010-03-11 | gallium/util: use memset() to initialize vars to avoid warnings | Brian Paul | |
2010-03-11 | svga: use memset() to initialize u to avoid warnings | Brian Paul | |
2010-03-11 | gallivm: Use bitmasks for scalar masks. | José Fonseca | |
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. | |||
2010-03-11 | gallivm: Handle scalar types in lp_build_*_type. | José Fonseca | |
2010-03-11 | mesa/es: Validate the state in st_DrawTex. | Chia-I Wu | |
Without the validation, the function might draw with outdated textures. | |||
2010-03-11 | mesa/es: Fix GL_OES_draw_texture support. | Chia-I Wu | |
st_DrawTex calls util_draw_vertex_buffer. Since ac4abaecd5f52e416c89bfe19b34ed7f4e014b21, the caller is expected to set vertex elements before calling. | |||
2010-03-11 | softpipe: Dummy fence functions. | José Fonseca | |
2010-03-11 | st/dri: move extension initilization to st/mesa completely | Marek Olšák | |
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. | |||
2010-03-11 | Merge remote branch 'origin/7.8' | Michel Dänzer | |
2010-03-11 | winsys/xlib: Fix memory leak. | Vinson Lee | |
Memory for xm_dt was allocated twice. | |||
2010-03-11 | st/mesa: always advertise texture_rectangle | Marek Olšák | |
2010-03-10 | gallivm: overhaul of texture sampling code | Brian Paul | |
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. | |||
2010-03-10 | gallivm: handle scalar floats in lp_build_floor() and lp_build_iround() | Brian Paul | |
2010-03-10 | gallivm: constant building for scalar zero | Brian Paul | |
2010-03-10 | gallivm: implement bilinear sampling with nearest mipmapping | Brian Paul | |
Time to start consolidating some code... | |||
2010-03-10 | gallivm: remove debug code. nearest minification works now. | Brian Paul | |
2010-03-10 | llvmpipe: fix loop over mipmap levels | Brian Paul | |
2010-03-11 | st/xorg: Include cursorstr.h | Jakob Bornecrantz | |
2010-03-11 | dri/nouveau: Just reemit the BO state on pushbuf flush. | Francisco Jerez | |
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. | |||
2010-03-10 | i965: Use the PLN instruction when possible in interpolation. | Eric Anholt | |
Saves an instruction in PINTERP, LINTERP, and PIXEL_W from brw_wm_glsl.c For non-GLSL it isn't used yet because the deltas have to be laid out differently. | |||
2010-03-10 | i965: Set up the execution size before relying on it. | Eric Anholt | |
Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7 | |||
2010-03-10 | windows: fix compilation errors and warnings | Karl Schultz | |
2010-03-10 | gallivm: simplify conditional branching | Jose Fonseca | |
Instead of testing each component individually, we can test the entire vector at once. | |||
2010-03-10 | gallivm: properly test the if condition and branch to the proper label | Zack Rusin | |
makes loops work |