-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Wilson wrote:
> diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c > b/src/mesa/drivers/dri/intel/intel_extensions.c > index 5ac5ce1..a44ca2a 100644 > --- a/src/mesa/drivers/dri/intel/intel_extensions.c > +++ b/src/mesa/drivers/dri/intel/intel_extensions.c > @@ -57,6 +57,7 @@ > #define need_GL_EXT_secondary_color > #define need_GL_EXT_stencil_two_side > #define need_GL_APPLE_vertex_array_object > +#define need_GL_APPLE_object_purgeable > #define need_GL_ATI_separate_stencil > #define need_GL_ATI_envmap_bumpmap > #define need_GL_NV_point_sprite > @@ -178,6 +179,12 @@ static const struct dri_extension arb_oq_extensions[] = { > { NULL, NULL } > }; > > + > +static const struct dri_extension ttm_extensions[] = { > + { "GL_APPLE_object_purgeable", GL_APPLE_object_purgeable_functions > }, > + { NULL, NULL } > +}; > + If this extension is always available on all drivers, this should just be in the card_extensions list. > static const struct dri_extension fragment_shader_extensions[] = { > { "GL_ARB_fragment_shader", NULL }, > { NULL, NULL } > @@ -208,4 +215,6 @@ intelInitExtensions(GLcontext *ctx) > if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) > driInitExtensions(ctx, arb_oq_extensions, GL_FALSE); > } > + > + driInitExtensions(ctx, ttm_extensions, GL_FALSE); > } -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktONxwACgkQX1gOwKyEAw/CQgCgl7iTXueWbMquZC7EZRf93C0p 9OcAoIpY9CJ5YbD3WOM7cdeluT4o2iIK =+HpR -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev