diff options
author | Jason Sams <rjsams@android.com> | 2010-10-10 17:58:25 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-10-10 17:58:25 -0700 |
commit | 2222aa90031604e9752ebc2909303a84139b8b18 (patch) | |
tree | 221332fe04b58b792d1c40cfca730948cf4ccca5 /libs/rs/rsScriptC.cpp | |
parent | 7499a1ca68ba115efcf53f6a06520c579c44364d (diff) | |
download | frameworks_base-2222aa90031604e9752ebc2909303a84139b8b18.zip frameworks_base-2222aa90031604e9752ebc2909303a84139b8b18.tar.gz frameworks_base-2222aa90031604e9752ebc2909303a84139b8b18.tar.bz2 |
Cleanup error message for null binding address.
Only print the debug if script debugging is enabled.
Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6
Implement inner utiliy class to specify surface formats.
Remove boxed bitmap upload functions.
Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r-- | libs/rs/rsScriptC.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index d961fed..e60255a 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -81,7 +81,9 @@ void ScriptC::setupScript(Context *rsc) if (dest) { *dest = ptr; } else { - LOGE("ScriptC::setupScript, NULL var binding address."); + if (rsc->props.mLogScripts) { + LOGV("ScriptC::setupScript, NULL var binding address."); + } } } } |