<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 25, 2020 at 5:17 AM Elie Tournier <<a href="mailto:tournier.elie@gmail.com" target="_blank">tournier.elie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I'm currently working on OpenGL 4.5 support for virgl.<br>
For that, we need to implement ARB_clear_texture and ARB_buffer_storage.<br>
The first one is almost finish, and I should submit a MR soon-ish.<br>
The second one, ARB_buffer_storage is trickier to implement.<br>
<br>
So I'm wondering if any of you started something already?<br>
Do you have a design in mind?<br></blockquote><div><br></div><div>Hmm, depends on where you want to implement ARB_buffer_storage:</div><div><br></div><div>1) Single process, host GL drivers (normal QEMU) -- yes, I think RESOURCE_CREATE_BLOB here[1] should do the trick.  A bunch of virglrenderer cleanups need to land first though.</div><div>2) multi-process, host GL drivers (vhost-user gpu) -- trickier, need emulated coherent memory [2] for the general case.</div><div>3) multi-process, host GLES drivers (crosvm) -- even trickier and driver specific, since GLES doesn't have GL_MAP_COHERENT_BIT.</div><div><br></div><div>[1] <a href="https://gitlab.freedesktop.org/virgl/drm-misc-next/-/commits/virtio-gpu-next" target="_blank">https://gitlab.freedesktop.org/virgl/drm-misc-next/-/commits/virtio-gpu-next</a></div><div>[2] <a href="https://lists.freedesktop.org/archives/dri-devel/2019-April/215731.html" target="_blank">https://lists.freedesktop.org/archives/dri-devel/2019-April/215731.html</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks, have a nice day,<br>
Elie<br>
_______________________________________________<br>
virglrenderer-devel mailing list<br>
<a href="mailto:virglrenderer-devel@lists.freedesktop.org" target="_blank">virglrenderer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel</a><br>
</blockquote></div></div>