Mesa (master): intel: Use X tiling for DRM EGL Images

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Apr 26 10:28:32 PDT 2011


Module: Mesa
Branch: master
Commit: 63325a05862f28b1d4dd65af6e78c73f78f502d3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63325a05862f28b1d4dd65af6e78c73f78f502d3

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Fri Apr 22 21:05:40 2011 -0400

intel: Use X tiling for DRM EGL Images

---

 src/mesa/drivers/dri/intel/intel_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 64a21a1..8b3cb7c 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -247,7 +247,7 @@ intel_create_image(__DRIscreen *screen,
    cpp = _mesa_get_format_bytes(image->format);
 
    image->region =
-      intel_region_alloc(intelScreen, I915_TILING_NONE,
+      intel_region_alloc(intelScreen, I915_TILING_X,
 			 cpp, width, height, GL_TRUE);
    if (image->region == NULL) {
       FREE(image);



More information about the mesa-commit mailing list