neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit 95a78e650f715d1d1708810804fc32a3e9e925bc
parent 82330e04258648c24541260b39b4ff0e3f7ffaa8
Author: Michael Forney <mforney@mforney.org>
Date:   Fri,  6 Sep 2013 21:15:08 -0700

intel: Don't tile buffers if width is small

Diffstat:
Mintel.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/intel.c b/intel.c @@ -150,7 +150,7 @@ struct drm_drawable * intel_create_drawable uint32_t format) { struct intel_drawable * intel; - uint32_t tiling_mode = I915_TILING_X; + uint32_t tiling_mode = width >= 128 ? I915_TILING_X : I915_TILING_NONE; if (!(intel = new_drawable(context, width, height))) return NULL;