i965: Implement EGL_KHR_mutable_render_buffer
authorChad Versace <chadversary@chromium.org>
Wed, 11 Apr 2018 06:22:03 +0000 (23:22 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 21 Aug 2018 16:56:20 +0000 (09:56 -0700)
commitaa79cc2bc8e27febc159bafe7bdb52e866b8a9ec
tree50335c7c697bc42a93a5e6b9f2fc1761df2d5d12
parented7c694688a527708ef2e0c34a9a106fe59c1ada
i965: Implement EGL_KHR_mutable_render_buffer

Testing:
  - Manually tested a low-latency handwriting demo that toggles
    EGL_RENDER_BUFFER. Toggling changed the display latency as expected.
    Used Android on Chrome OS, Kabylake GT2.
  - No change in dEQP-EGL.functional.* on Fedora 27, Wayland, Skylake
    GT2.  Used deqp at tag android-p-preview-5.
  - No regressions in dEQP-EGL.functional.*, ran on Android on Chrome
    OS, Kabylake GT2. Some dEQP-EGL.functional.mutable_render_buffer.*
    test change from NotSupported to Pass.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/intel_screen.c