[Mesa-dev] [PATCH] Update __DRI_TEX_BUFFER_VERSION to 3

Zhenyu Wang zhenyuw at linux.intel.com
Tue Jul 19 23:28:36 PDT 2011


On 2011.07.20 14:18:53 +0800, Zhao, Juan J wrote:
> :)
> Glad to see that you open this functionality.
> With this, you not only need to update this macro, but also need to add the NULL point for releaseTexBuffer to related driver.
> You can update your patch refer to " http://build.meego.com/package/view_file?file=update-__DRI_TEX_BUFFER_VERSION-to-3.patch&package=mesa&project=Trunk&srcmd5=12a2b599fa44ae289df0efeef6e308db" in meego.
> 

ok, explicit initialize them is fine. 

I just hope when this new interface was added, those should have done already
with version bump.

Thanks.

> > -----Original Message-----
> > From: Zhenyu Wang [mailto:zhenyuw at linux.intel.com]
> > Sent: Wednesday, July 20, 2011 2:05 PM
> > To: mesa-dev at lists.freedesktop.org
> > Cc: Zhao, Juan J; krh at bitplanet.net
> > Subject: [PATCH] Update __DRI_TEX_BUFFER_VERSION to 3
> > 
> > When new releaseTexBuffer function got added, the
> > __DRI_TEX_BUFFER_VERSION
> > didn't update as well, which just not enable new function at all.
> > This bumps version to 3.
> > ---
> >  include/GL/internal/dri_interface.h |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/include/GL/internal/dri_interface.h
> > b/include/GL/internal/dri_interface.h
> > index 4fe9e94..22f4ce7 100644
> > --- a/include/GL/internal/dri_interface.h
> > +++ b/include/GL/internal/dri_interface.h
> > @@ -226,7 +226,7 @@ struct __DRItexOffsetExtensionRec {
> >  #define __DRI_TEXTURE_FORMAT_RGBA        0x20DA
> > 
> >  #define __DRI_TEX_BUFFER "DRI_TexBuffer"
> > -#define __DRI_TEX_BUFFER_VERSION 2
> > +#define __DRI_TEX_BUFFER_VERSION 3
> >  struct __DRItexBufferExtensionRec {
> >      __DRIextension base;
> > 
> > --
> > 1.7.5.4
> 

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110720/2aab1930/attachment.pgp>


More information about the mesa-dev mailing list