| commit | bad807405b2b9764372af1ad24bcfd4fb1f33d8e | [log] [tgz] | 
|---|---|---|
| author | Jason Sams <rjsams@android.com> | Wed Mar 16 16:29:28 2011 -0700 | 
| committer | Jason Sams <rjsams@android.com> | Thu Mar 17 16:13:03 2011 -0700 | 
| tree | bd23d576a51ee4f7b18464d84643a1572f8b1d52 | |
| parent | 1809bde133e0d66f06cea65887d9ceb3c70f8b95 [diff] [blame] | 
Start seperating out RS compute implementation. Create hal layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
diff --git a/rsContext.cpp b/rsContext.cpp index a7c0180..7dc26d2 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -688,6 +688,10 @@ timerInit(); timerSet(RS_TIMER_INTERNAL); + if (!rsdHalInit(this, 0, 0)) { + return false; + } + int cpu = sysconf(_SC_NPROCESSORS_ONLN); LOGV("RS Launching thread(s), reported CPU count %i", cpu); if (cpu < 2) cpu = 0;