Mesa (gallium-resources): 54 new commits
Keith Whitwell
keithw at kemper.freedesktop.org
Tue Mar 16 09:13:30 UTC 2010
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad88ac79034a91670940276e722bdd398d5c9023
Merge: 77bc770c991ea025c82eaa4e0e2390efd825d96d 8cdfd1219a2d13d252a8691ee6dddb0d773bdc77
Author: Keith Whitwell <keithw at vmware.com>
Date: Tue Mar 16 09:13:07 2010 +0000
Merge branch 'gallium-sampler-view' into gallium-resources
Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_texture.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cdfd1219a2d13d252a8691ee6dddb0d773bdc77
Merge: 6420aca08ba6910dce22ab9f813cc57d611b0aa8 e0ce4a4a0994211ead8e5a77cccdd2a084e8a288
Author: Keith Whitwell <keithw at vmware.com>
Date: Tue Mar 16 09:02:38 2010 +0000
Merge commit 'origin/master' into gallium-sampler-view
This branch already seems to have the nv50_tex.c fix.
Conflicts:
src/gallium/drivers/nv50/nv50_tex.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0ce4a4a0994211ead8e5a77cccdd2a084e8a288
Author: Chia-I Wu <olv at lunarg.com>
Date: Tue Mar 16 15:48:03 2010 +0800
i965g: Fix use of an uninitialized variable.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d3a873f425fde83628b547c4b4638f39d78c1b9
Merge: 95d43bccde9ba5c0727bb2b9e52d050dacfa0cfa a66d0081044bfcbfbe72ecbc27692387e4716e5c
Author: Chia-I Wu <olv at lunarg.com>
Date: Tue Mar 16 15:12:46 2010 +0800
Merge remote branch 'origin/gallium-st-api'
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95d43bccde9ba5c0727bb2b9e52d050dacfa0cfa
Author: Ben Skeggs <bskeggs at redhat.com>
Date: Tue Mar 16 13:18:39 2010 +1000
nv50: fix texturing from >=4GiB mark
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b586774016e2f5dd1541cd3b0c93f8ea69fe9e9a
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Tue Mar 16 01:17:33 2010 +0000
llvmpipe: Fix rebase typo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b63f9b497c22cb59678588d921699189f8b712f
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Thu Mar 11 03:33:03 2010 +0000
winsys/sw: Add a software winsys layered on a pipe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaee22ac880e431028ac4c6854af1873d5765869
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Tue Mar 16 00:12:37 2010 +0000
i965g: Fix after context transfers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb1b0b4bec9a1c05bbb762ed04a78dfdf584e3a6
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 18:19:04 2010 -0600
gallivm: checkpoint: stencil test code
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=185be3a87a5b38e8821a560c073975c11dcbd3e9
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 14:00:23 2010 -0600
gallivm/llvmpipe: rename some constant building functions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c86a499769d56fc59fa41b9c2d73ac181ab33e36
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 13:54:43 2010 -0600
gallivm: fix up some #includes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d71ba46e613230c84165106c1fcc9027dec4cd3
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 13:50:40 2010 -0600
gallivm/llvmpipe: rename os_llvm.h to lp_bld.h
The llvm wrapper wasn't really an OS thing.
Use lp_bld.h for now but we eventually should rename/re-prefix all the
files/functions in the gallivm/ directory.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb4b7bbecc013f25a9d77b50c745514350f99f9
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Mar 15 21:03:59 2010 +0000
libgl-xlib: Obey GALLIUM_SOFTPIPE define.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e848d682e74f9ae3e105635fe55d19ed8c94547
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Mar 16 06:49:38 2010 +1000
gallium: fix frontbuffer rendering with r300g
No idea if this is the correct fix, but it makes it work again at least.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0b35352ed27b1e66785c45ee95a352ed06b47ce
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 11:46:41 2010 -0600
llvmpipe: updated status in README file
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 11:31:59 2010 -0600
progs/objviewer: remove debug code
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d25d3cc0086a1a2a5b6c41ad37c035c33d56a487
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 11:27:24 2010 -0600
gallivm: fix typo/bug in lp_build_sgn()
We were never returning -1 as a result. This fixes some inverted/flipped
faces with cube mapping.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6420aca08ba6910dce22ab9f813cc57d611b0aa8
Author: Keith Whitwell <keithw at vmware.com>
Date: Mon Mar 15 17:56:19 2010 +0100
cso: Do not hold references to bound textures.
Sampler views already hold references to those.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d6d51413e546299010666ef64ce7e6c4a92064d
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 10:51:56 2010 -0600
gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()
When min_lod==max_lod we don't need to go through all the work of
computing the lod from partial derivatives. This is hit by the mipmap
generation utility code.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9a81b626a4659d6d611516c8afea012d39b0e4a
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 10:43:05 2010 -0600
gallivm: asst clean-ups, comments, etc.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eecf9c85b071973cc54d8e8bb7e9982a1f5714a5
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 10:36:56 2010 -0600
gallivm: implement minification/magnification selection
Use the LOD value to determine whether to use the minification vs.
magnification filter.
All mipmap sampling modes work now.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0f7c3cbf09c4425852d805a91991ca6ce8a0ad6
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 10:31:20 2010 -0600
gallivm: fix incorrect clamp in lp_build_linear_mip_levels()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9d753787e6c566d3481cca07dee939239eb7071
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 15 10:29:04 2010 -0600
gallivm: fix incorrect floor(), itrunc()
LLVMBuildFPTrunc() should be used for double->float conversion, not
float->int conversion.
There should be a better way to compute floor(), ceil(), etc that doesn't
involve float->int->float conversion.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3949388ca34c4578455be6db65d140c8e8f2184a
Author: Michal Krol <michal at vmware.com>
Date: Mon Mar 15 15:04:12 2010 +0100
st/mesa: Fix a call to st_get_stobj_sampler_view().
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b60820fde8596966b1ffdb5d008e94773b2f321
Author: Michal Krol <michal at vmware.com>
Date: Mon Mar 15 15:03:44 2010 +0100
st/mesa: Pass in correct sampler view object to blitter.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df65fc8100f267b3167012d4f8502cf9eed526df
Author: Michal Krol <michal at vmware.com>
Date: Mon Mar 15 14:42:44 2010 +0100
util: Fix nil pointer reference.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50d96f741e59678a19dd3308d532add1350ad441
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Mon Mar 15 14:35:41 2010 +0100
nv40: remove leftover nv40_transfer.c from unification into nvfx
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2bc089d148253d7a411e94257633ce40ec1c6a9
Author: Michal Krol <michal at vmware.com>
Date: Mon Mar 15 13:20:37 2010 +0100
gallium: util_blit_pixels() takes source sampler view as argument.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbf20a1f0fa7965254aa8a0e2ea35a6b8576fd7d
Author: Michal Krol <michal at vmware.com>
Date: Mon Mar 15 13:18:30 2010 +0100
st/mesa: Cache FBO texture's sampler view object.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a66d0081044bfcbfbe72ecbc27692387e4716e5c
Author: Chia-I Wu <olv at lunarg.com>
Date: Mon Mar 15 19:15:29 2010 +0800
st/mesa: Update the comments in st_manager.c.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08189e639195ecb619ed37250b6dbb63017584b8
Author: Keith Whitwell <keithw at vmware.com>
Date: Mon Mar 15 10:27:25 2010 +0000
nvfx: fix up after merge
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=506130fff5685742d280bde8800be036c8e8ebfa
Author: Keith Whitwell <keithw at vmware.com>
Date: Mon Mar 15 10:24:55 2010 +0000
r300g: fix up after merge
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23e9a25e1ff01d9f3ef5cc99f59e0fda0ac2d421
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Mar 14 14:58:27 2010 +0800
st/glx: Fix glXCopySubBufferMESA.
Honor the (x, y) and (width, height) pairs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6262bdcfb64e1f88f6a890829f5c30c26bc372b
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Mar 14 12:01:27 2010 +0800
st/glx: Sync the back buffer to the front buffer.
Consider this rendering sequence
* render to the back buffer
* swap buffers
* read from the front buffer
The front buffer is expected to have the contents of the back buffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48bc3cca89f7aecc40d1661e695796113df6e583
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Mar 14 11:34:16 2010 +0800
st/glx: Add support for GLX_MESA_copy_sub_buffer.
Create a per-display pipe_context as needed to copy the contents between
framebuffer attachments. This allows us to support
GLX_MESA_copy_sub_buffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6632915e957149c153a3f793c400a532b4995b18
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Mar 14 11:20:58 2010 +0800
st/glx: Add xmesa_display to hold per-display variables.
This basically adds a static xmesa_display to collect per-display static
variables in xm_api.c. Multiple display support is still missing, but
this is a step forward.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a30330b26b543dfa864a05a1e8072f764369a25
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Mar 14 00:10:09 2010 +0800
st/mesa: Fix handling of FBO.
FBOs are created by st_new_framebuffer and cannot be casted to
st_framebuffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c210c1b3b5e63eebae2b73814d2000520576ce7
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 20:30:03 2010 +0800
st/mesa: Validate the state in st_readpixels.
The front renderbuffer of a framebuffer is usually added as needed when
glReadBuffer(GL_FRONT) is called. When the call is followed by
glReadPixels, we should validate the state before reading from the
renderbuffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66cd38f465499863de106e1ae83b5de85072c29b
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 17:40:24 2010 +0800
st/glx: Fix framebuffer validation.
When xmesa_st_framebuffer_validate was called twice with different sets
of attachments, the second call was ignored. Add a texture_mask to
remember which textures have been requested to make sure the missing
ones get created.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=418b9ac2990fc6809de359a862ee809d3b86343c
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 17:39:14 2010 +0800
st/glx: Correctly set buffer_mask of a visual.
Stupid typos again..
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f91d8c6885c8944322991115b739cee3e2fdf6bd
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 17:00:24 2010 +0800
st/mesa: Set revalidate in st_framebuffer_update_attachments.
There are two conditions that a validation is required. One is when the
the framebuffer becomes invalid. The other is when we request for
textures that we did not request before.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=813c58d77e21cb59adb914b4b4ee26be758ff0ea
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 15:57:15 2010 +0800
st/glx: Make xmesa_create_st_api a callback of xm_driver.
Instead of guessing the API in st/glx, let the target decide how to
create st_api.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fecb97aab42e1a099f12cc7a47ed7219cd041809
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 14:57:32 2010 +0800
st/egl: Fix eglCopyBuffers.
Use a (real) pipe context to copy between pipe surfaces. Fix a NULL
dereference of the temporary native surface created for copying.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=495bfb0ad2e60638e7b2e94f36f0079e3f450091
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Mar 13 00:52:47 2010 +0800
st/glx: Fix leaks in xmesa_st_framebuffer.
The textures and surface of a framebuffer should be unreferenced when
the framebuffer is destroyed.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dae0e0ff88957d16db47130a2646179fb5fc267
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Mar 12 13:26:18 2010 +0800
st/glx: Add xm_st.c to SConscript.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=543a29f1a16cc46c6d019d2cf2bd13a96b5a3f2f
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Mar 12 11:27:50 2010 +0800
st/mesa: Check the format before adding depth/stencil buffers.
The format might have depth bits, stencil bits, or both. Add the
renderbuffers as needed.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3475e88442c16fb2b50b903fe246b3ebe49da226
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Mar 12 11:20:27 2010 +0800
st/glx: Return a better format in choose_depth_stencil_format.
Return a better format instead of an exact format in
choose_depth_stencil_format. Also, prefer formats with stencil bits.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72ed7eb15a12ad88647dddefde5999ddd308b9e4
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Mar 12 10:04:47 2010 +0800
st/glx: Fix an infinite recursion in flush_front.
It was a stupid typo by me when I refactored the code.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=576d9af505bd19ccaac04a68c8744f36f887bd5c
Author: Chia-I Wu <olv at lunarg.com>
Date: Wed Mar 10 17:22:56 2010 +0800
st/glx: Use st_api.h instead of st_public.h.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a924dd18c32bbc0056a799cf621dc2835644c16e
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 14 16:05:36 2010 +0800
st/egl: Use st_api.h instead of st_public.h.
Switch from st_public.h to st_api.h. The latter has intrinsic multiple
APIs support and allows various EGLImage extensions to be supported.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a3a31bf88c42890fbc2e4211981f97bd43dff4a
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Feb 7 20:17:48 2010 +0800
winsys/xlib, st/es: Advertise st_api.h support.
This is done by defining one of st_module_OpenGL_ES1,
st_module_OpenGL_ES2, and st_module_OpenGL.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de8a879f5c77dbf5c31251e07b2f1b8d2635716c
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Feb 7 19:20:52 2010 +0800
st/mesa: Implement st_api.h.
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.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bcd616a3ffd040ef28b61b38b22da2dad9e2242
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jan 14 12:19:32 2010 +0800
st/vega: Implement st_api.h.
There is currently no user of this new interface. As the inteface can
coexist with st_public.h, everthing should work as before.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2083056d56990a9bfba774d5bda272b74d27a6f
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Feb 7 00:52:02 2010 +0800
gallium: Add st_api.h.
This is a new interface to be implemented by st/mesa, st/vesa, and the
window system APIs such as EGL or GLX.
More information about the mesa-commit
mailing list