On Tue, Dec 19, 2023 at 05:09:27PM +0800, Antonio Caggiano wrote:
> Hi Huang Rui,
>
> Thank you for this new version.
>
> All patches which I did not sign off are reviewed by me :)
Thanks Antonio! May I have your RB in next version?
Best Regards,
Ray
>
> Cheers,
> Antonio Caggiano
>
> On 19/12/2023 08:53, Huang Rui wrote:
> > Configure a new feature flag (context_create_with_flags) for
> > virglrenderer.
> >
> > Originally-by: Antonio Caggiano <antonio.caggiano@collabora.com>
> > Signed-off-by: Huang Rui <ray.huang@amd.com>
> > ---
> >
> > Changes in v6:
> > - Move macros configurations under virgl.found() and rename
> > HAVE_VIRGL_CONTEXT_CREATE_WITH_FLAGS.
> >
> > meson.build | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/meson.build b/meson.build
> > index ec01f8b138..ea52ef1b9c 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -1050,6 +1050,10 @@ if not get_option('virglrenderer').auto() or have_system or have_vhost_user_gpu
> > cc.has_member('struct virgl_renderer_resource_info_ext', 'd3d_tex2d',
> > prefix: '#include <virglrenderer.h>',
> > dependencies: virgl))
> > + config_host_data.set('HAVE_VIRGL_CONTEXT_CREATE_WITH_FLAGS',
> > + cc.has_function('virgl_renderer_context_create_with_flags',
> > + prefix: '#include <virglrenderer.h>',
> > + dependencies: virgl))
> > endif
> > endif
> > rutabaga = not_found