On 17 October 2017 at 21:49, Gurchetan Singh <gurchetansi...@chromium.org> wrote: > Can you wrap color_buffers around: > > #if defined(HAVE_WAYLAND_PLATFORM) || defined(HAVE_DRM_PLATFORM) || > defined(HAVE_ANDROID_PLATFORM) > > flags? This is because platform_surfaceless has no native surfaces and it's > good to be explicit in that regard. > Analogous to my reply in 1/8, I'd vote to keep it.
Sure surfaceless does not have native surfaces, yet - one should be able to swap the separate __DRIimage *{front,back?} with the struct - using the locked/age variables + associated helpers one could implement EXT_buffer_age for the platform Just an idea for the future and I think it sounds reasonable? -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev