Skip to content
Snippets Groups Projects
  1. May 21, 2013
  2. May 17, 2013
  3. May 15, 2013
  4. May 14, 2013
  5. May 13, 2013
    • Emma Anholt's avatar
      i965: Disable write masking when setting up texturing m0. · 22f7bcd4
      Emma Anholt authored
      
      v2/Kayden: Also disable write masking in the vec4 backend.
      
      Fixes 78 oglconform glsl-bif-tex-* subcases.
      
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Paul Berry <stereotype441@gmail.com> [v1]
      Reviewed-by: Eric Anholt <eric@anholt.net> [v2]
      (cherry picked from commit 86536a32)
      22f7bcd4
    • Lina Versace's avatar
      egl/dri2: Fix min/max swap interval of configs · 3933e653
      Lina Versace authored
      The commit below exposed a bug in dri2_add_config.
      
          commit 3998f8c6
          Author: Ralf Jung <post@ralfj.de>
          Date:   Tue Apr 9 14:09:50 2013 +0200
      
      	egl/x11: Fix initialisation of swap_interval
      
      This little code snippet near the bottom of dri2_add_config,
      
          if (double_buffer) {
             ...
             conf->base.MinSwapInterval = dri2_dpy->min_swap_interval;
             conf->base.MaxSwapInterval = dri2_dpy->max_swap_interval;
          }
      
      it never did what it claimed to do. The assignment never changed the value
      of conf->base.MaxSwapInterval, because dri2_dpy->max_swap_interval was,
      until the above exposing commit, unitialized here. That is,
      conf->base.MaxSwapInterval was 0 before and after assignment. Ditto for
      the min swap interval.
      
      Above the troublesome code snippet, the call to _eglFilterArray rejects
      the config as unmatching if its swap interval bounds differ from the base
      config's.  Before the exposing commit, at the call to _eglFilterArray, the
      swap interval bounds were always [0,0], and hence no config was rejected
      due to swap interval.
      
      After the exposing commit, _eglFilterArray incorrectly rejected some
      configs, which prevented dri2_egl_config::dri_double_config from getting
      set for the rejected config, which resulted in a NULL pointer getting
      passed into dri2CreateNewDrawable, and then segfault.
      
      The solution: set the swap interval bounds before _eglFilterArray.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63447
      
      
      Tested-by: default avatarLu Hua <huax.lu@intel.com>
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
      (cherry picked from commit d3dfce32)
      3933e653
  6. May 10, 2013
Loading