Skip to content
Snippets Groups Projects
  1. Aug 23, 2018
  2. Aug 22, 2018
    • Dave Airlie's avatar
      r600/eg: rework atomic counter emission with flushes · 97ecabee
      Dave Airlie authored and Dylan Baker's avatar Dylan Baker committed
      With the current code, we didn't do the space checks prior
      to atomic counter setup emission, but we also didn't add
      atomic counters to the space check so we could get a flush
      later as well.
      
      These flushes would be bad, and lead to problems with
      parallel tests. We have to ensure the atomic counter copy in,
      draw emits and counter copy out are kept in the same command
      submission unit.
      
      This reworks the code to drop some useless masks, make the
      counting separate to the emits, and make the space checker
      handle atomic counter space.
      
      [airlied: want this in 18.2]
      
      Fixes: 06993e4e (r600: add support for hw atomic counters. (v3))
      (cherry picked from commit 32529e60)
      97ecabee
    • Dylan Baker's avatar
      cherry-ignore: more 18.2 patches · cafb53fe
      Dylan Baker authored
      cafb53fe
  3. Aug 21, 2018
  4. Aug 20, 2018
  5. Aug 16, 2018
  6. Aug 15, 2018
  7. Aug 13, 2018
  8. Aug 10, 2018
  9. Aug 09, 2018
    • Vadym Shovkoplias's avatar
      drirc: Allow extension midshader for Metro Redux · 894fdbf0
      Vadym Shovkoplias authored
      This fixes both Metro 2033 Redux and Metro Last Light Redux
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99730
      
      
      Signed-off-by: default avatarEero Tamminen <eero.t.tamminen@intel.com>
      Signed-off-by: default avatarVadym Shovkoplias <vadym.shovkoplias@globallogic.com>
      Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
      (cherry picked from commit e0de26ea)
      894fdbf0
    • Juan A. Suárez's avatar
      wayland/egl: initialize window surface size to window size · 4395919b
      Juan A. Suárez authored and Dylan Baker's avatar Dylan Baker committed
      
      When creating a windows surface with eglCreateWindowSurface(), the
      width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is
      invalid until buffers are updated (like calling glClear()).
      
      But according to EGL 1.5 spec, section 3.5.6 ("Surface Attributes"):
      
        "Querying EGL_WIDTH and EGL_HEIGHT returns respectively the width and
         height, in pixels, of the surface. For a window or pixmap surface,
         these values are initially equal to the width and height of the
         native window or pixmap with respect to which the surface was
         created"
      
      This fixes dEQP-EGL.functional.color_clears.* CTS tests
      
      v2:
      - Do not modify attached_{width,height} (Daniel)
      - Do not update size on resizing window (Brendan)
      
      CC: Daniel Stone <daniel@fooishbar.org>
      CC: Brendan King <brendan.king@imgtec.com>
      CC: mesa-stable@lists.freedesktop.org
      Tested-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
      Tested-by: default avatarChad Versace <chadversary@chromium.org>
      Reviewed-by: default avatarChad Versace <chadversary@chromium.org>
      Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
      (cherry picked from commit 1fe7cbdf)
      Conflicts resolved by Dylan
      
      Conflicts:
      	src/egl/drivers/dri2/platform_wayland.c
      4395919b
    • Juan A. Suárez's avatar
      wayland/egl: update surface size on window resize · 6cffbd96
      Juan A. Suárez authored and Dylan Baker's avatar Dylan Baker committed
      
      According to EGL 1.5 spec, section 3.10.1.1 ("Native Window Resizing"):
      
        "If the native window corresponding to _surface_ has been resized
         prior to the swap, _surface_ must be resized to match. _surface_ will
         normally be resized by the EGL implementation at the time the native
         window is resized. If the implementation cannot do this transparently
         to the client, then *eglSwapBuffers* must detect the change and
         resize surface prior to copying its pixels to the native window."
      
      So far, resizing a native window in Wayland/EGL was interpreted in Mesa
      as a request to resize, which is not executed until the first draw call.
      And hence, surface size is not updated until executing it. Thus,
      querying the surface size with eglQuerySurface() after a window resize
      still returns the old values.
      
      This commit updates the surface size values as soon as the resize is
      done, even when the real resize is done in the draw call. This makes the
      semantics that any native window resize request take effect inmediately,
      and if user calls eglQuerySurface() it will return the new resized
      values.
      
      v2: update surface size if there isn't a back surface (Daniel)
      
      CC: Daniel Stone <daniel@fooishbar.org>
      CC: mesa-stable@lists.freedesktop.org
      Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
      (cherry picked from commit a9fb331e)
      6cffbd96
  10. Aug 08, 2018
  11. Aug 07, 2018
  12. Aug 06, 2018
  13. Aug 02, 2018
Loading