On 01/18/2018 12:03 AM, Rob Herring wrote:
On Mon, Jan 15, 2018 at 6:31 AM, Tapani Pälli <tapani.pa...@intel.com> wrote:
This can/should be modified depending on needs. AFAIK by default,
this is the only path that can be read/written to by anyone.
Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
---
Android.common.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Android.common.mk b/Android.common.mk
index 52dc7bff3b..7edbbfc0f2 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -47,6 +47,7 @@ LOCAL_CFLAGS += \
LOCAL_CFLAGS += \
-DANDROID_API_LEVEL=$(PLATFORM_SDK_VERSION) \
-DENABLE_SHADER_CACHE \
+ -DMESA_GLSL_CACHE_DIR="/sdcard" \
Isn't this a legacy path? I'm not really sure. Seems like somewhere
under /cache would be more appropriate.
I tested '/cache/', and '/data/cache' but got 'Operation not permitted'
for the apps :/ Only settings app was able to write cache there, rest of
the apps not. It was likely the first app that wrote cache or has
different set of permissions? Or is it possible that Android-IA has
messed up the permissions for these paths, not sure what the standard
permissions are?
-D__STDC_CONSTANT_MACROS \
-D__STDC_LIMIT_MACROS \
-DHAVE___BUILTIN_EXPECT \
--
2.14.3
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
// Tapani
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev