OSDN Git Service

i915: Drop broken front_buffer_reading/drawing optimization
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Nov 2014 12:28:33 +0000 (14:28 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit12e50d648fe81e9a9e4af2379f44914ff0eff447
tree9a2ade2a6a7bce2c36811ef3aab0792c715a0acd
parent32a4d5ad7f72f05d40da5d2c9b84e49d7006242a
i915: Drop broken front_buffer_reading/drawing optimization

Bring the following commit over to i915:
 commit ec542d74578bbef6b55125dd6aba1dc7f5079e65
 Author: Eric Anholt <eric@anholt.net>
 Date:   Mon Mar 3 10:43:10 2014 -0800

    i965: Drop broken front_buffer_reading/drawing optimization.

Not sure if it might fix anything, but since the i965 and i915 used to
share a bunch of that code, it would seem reasonable the same problems
could be present in the i915 code still, and the i965 approach is well
tested by now so bringing it over seems fairly safe.

No piglit regressions on 855.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/drivers/dri/i915/intel_buffers.c
src/mesa/drivers/dri/i915/intel_buffers.h
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h