[Mesa-dev] Mesa (master): swrastg: Add __DRI_TEX_BUFFER support (patches}

nobled nobled at dreamwidth.org
Tue Apr 19 12:02:47 PDT 2011


> http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b64886c8122227ffa2d86abb9b4a5d79d1e2451
> 2011-03-11 19:49:28 (GMT)
>
> Without this, EXT_texture_from_pixmap is trivially broken.  With it,
> it's merely subtly broken.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>

What does 'subtly broken' mean in this case? Is it related to this
backtrace from August? Or the lack of GLX direct-rendering support?

> http://cgit.freedesktop.org/mesa/mesa/commit/?id=c14b4371ed58859d264b7b2581cfedc9cfd8401f
> 2010-08-13 19:58:11 (GMT)
>
> st/dri: move TFP code to dri_drawable.c
> This is based on a patch by nobled <nobled at dreamwidth.org> and allows the TFP
> extension to be enabled for DRISW also. This patch does not enable TFP for DRISW
> though, because testing on xephyr segfaults here (for both classic and gallium):
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788
> 788	   ASSERT_OUTSIDE_BEGIN_END(ctx);
> (gdb)
> (gdb) where
> \#0  0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788
> \#1  0x0817a004 in __glXDisp_GenTextures ()
> \#2  0x08168498 in __glXDispatch ()
> \#3  0x0808b6ce in Dispatch ()
> \#4  0x08084435 in main ()
>
> The TFP code is generic except for the teximage call. We need to verify that
> DRISW correclty implements whatever hook teximage finally calls.

Do we have a bug report about that somewhere? I'm wondering if it
happens with swrast-classic's TFP implementation, too...

Anyway, hey, anyone remember these GLX patches from September? Anyone
want to commit them? Because other bugs aside, indirect-only
texture-from-pixmap sucks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-glx-Add-teximage-vfuncs-to-drisw.patch
Type: text/x-patch
Size: 2675 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/6ef71504/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002c-glx-Enable-GLX_EXT_texture_from_pixmap-in-software.patch
Type: text/x-patch
Size: 1745 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/6ef71504/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-glx-Check-flush-DRI-extension-version-at-runtime.patch
Type: text/x-patch
Size: 1154 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/6ef71504/attachment-0002.bin>


More information about the mesa-dev mailing list