Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-12 | cso: Remove set/save/restore_vertex_sampler_textures(). | Michal Krol | |
2010-03-12 | st/mesa: Associate a sampler view with an st texture object. | Michal Krol | |
Lazily create a sampler view when the texture is being bound for the first time. | |||
2010-03-12 | cso: Add entry points for vertex/fragment sampler views. | Michal Krol | |
2010-03-12 | st/xorg: context transfers | Keith Whitwell | |
2010-03-12 | gallium: fix BGRA vertex color swizzles | Marek Olšák | |
The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-03-12 | st/mesa: Always recalculate invalid index bounds. | Corbin Simpson | |
These should always be sanitized before heading towards the pipe driver, and if the calling function explicitly marked them as invalid, we need to regenerate them. Allows r300g to properly pass a bit more of Wine's d3d9 testing without dropping stuff on the floor. | |||
2010-03-12 | st/mesa: Update debug infos. | Corbin Simpson | |
Still commented out, of course. | |||
2010-03-12 | r300g: Properly clamp index limits. | Corbin Simpson | |
Make the kernel even less likely to barf on us. | |||
2010-03-12 | Merge commit 'origin/gallium-context-transfers-2' | Keith Whitwell | |
2010-03-12 | mesa: fix linux-dri and autogen builds since sw-api-2 merge | Keith Whitwell | |
2010-03-11 | radeon: Fix memory leaks from early return. | Vinson Lee | |
2010-03-12 | st/glx: Add xm_st.c to SConscript. | Chia-I Wu | |
2010-03-11 | llvmpipe: Remove unnecessary header. | Vinson Lee | |
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 | st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/ | Brian Paul | |
2010-03-11 | gallivm: enable 3D texture sampling | Brian Paul | |
2010-03-11 | progs/demos: added 'f' key to toggle filtering mode in stex3d.c | 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 | st/mesa: fix st_set_framebuffer_surface() state validation | Brian Paul | |
Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs. | |||
2010-03-11 | st/xorg: Fixup configure | Jakob Bornecrantz | |
Make sure we always test for XEXT version. Make sure that the user has a recent version of libkms and libdrm installed. Note that the st/xorg code requires so new versions to work but these are needed to make a proper vmwgfx_drv.so driver which is the only real user. Cherry picked from 46cf606cd35d6740b28fd26bd32dbdfdde2c7833 Conflicts: configure.ac | |||
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 | cell: adapt to context texture transfers (untested) | Roland Scheidegger | |
2010-03-11 | nv50: take format from sampler view, not the referenced texture | Christoph Bumiller | |
2010-03-11 | nv50: put correct value into the TIC MAX_LEVEL field | Christoph Bumiller | |
2010-03-11 | nv50: fix damage from merging master into sampler-view | Christoph Bumiller | |
Fixed the state array sizes at 3 (instead of PIPE_SHADER_TYPES) because we'll never have domain and hull shaders on nv50; also the numbering doesn't correspond to the hw numbering. | |||
2010-03-11 | gallium: remove pipe_context member from pipe_transfer | Keith Whitwell | |
There was very little use for this beyond permitting the pipe_context::tex_transfer_destroy() function to omit the pipe_context argument. This change adds the pipe_context argument into tex_transfer_destroy() so that it looks like other pipe_context functions, and removes the pipe_context pointer from pipe_transfer. | |||
2010-03-11 | windows: Add new file to project file. | Karl Schultz | |
2010-03-11 | ARB prog parser: added (float) casts and regenerate files | Brian Paul | |
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 | |