Mesa (refs/tags/android-x86-4.4-r1): android: enlarge cache_resources

Emil Velikov evelikov at kemper.freedesktop.org
Mon Sep 1 00:17:33 UTC 2014


Module: Mesa
Branch: refs/tags/android-x86-4.4-r1
Commit: 2af6b7090a48c8f60f249606abbb36a3fa5d1ef9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2af6b7090a48c8f60f249606abbb36a3fa5d1ef9

Author: Chih-Wei Huang <cwhuang at linux.org.tw>
Date:   Thu Jun  5 10:51:43 2014 +0800

android: enlarge cache_resources

---

 src/gallium/state_trackers/egl/android/native_android.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/egl/android/native_android.cpp b/src/gallium/state_trackers/egl/android/native_android.cpp
index 4eb0497..1263162 100644
--- a/src/gallium/state_trackers/egl/android/native_android.cpp
+++ b/src/gallium/state_trackers/egl/android/native_android.cpp
@@ -98,8 +98,8 @@ struct android_surface {
       int height;
       int format;
    } cache_key;
-   void *cache_handles[2];
-   struct pipe_resource *cache_resources[2];
+   void *cache_handles[4];
+   struct pipe_resource *cache_resources[4];
 };
 
 struct android_config {




More information about the mesa-commit mailing list