summaryrefslogtreecommitdiff
path: root/rsScript.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-05-14 15:30:29 -0700
committerJason Sams <rjsams@android.com>2010-05-14 15:30:29 -0700
commit771565f47fc44608444c00aa8fa3bda769ceaece (patch)
tree21f490bcde4e02604df7c8eacbf5bdacd0277eef /rsScript.cpp
parentccc010bb7c0f89e162bf60033968a20be90a903a (diff)
Change RS to use the passed surface size rather than EGL size.
Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h
Diffstat (limited to 'rsScript.cpp')
-rw-r--r--rsScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsScript.cpp b/rsScript.cpp
index 1c63c115..1dd9554f 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -145,7 +145,7 @@ void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *dat
}
s->setupScript();
- LOGE("rsi_ScriptInvokeV, len=%i", len);
+ //LOGE("rsi_ScriptInvokeV, len=%i", len);
const uint32_t * dPtr = (const uint32_t *)data;
switch(len) {
case 0: