Stephen Hines
514f9790fd
Call .rs.dtor() when tearing down Scripts.
...
BUG=5186750
This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.
Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
2011-08-31 17:41:39 -07:00
Stephen Hines
1222393e35
Issue proper parameters to root() calls for RS.
...
BUG=5076887
Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Jason Sams
c1b4c1ff9b
Add structure to pack params for forEach.
...
This allows the driver to not pass all the sub-params.
Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
2011-08-17 14:13:50 -07:00
Stephen Hines
8f019d6305
Merge "Start using bcinfo components within librs."
2011-08-05 13:47:00 -07:00
Stephen Hines
4382467a80
Start using bcinfo components within librs.
...
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Logan Chien
8ce8a1af76
Finish the refactor work of bccPrepareExecutable
...
Rename bccPrepareExecutableEx to bccPrepareExecutable.
(These functions are the same, and we will remove
bccPrepareExecutableEx several commits later.)
Change-Id: I519130bb3b731bf927cb92924f355d7d1ea0242c
2011-07-30 16:55:02 +08:00
Stephen Hines
c27d187569
Extract BC metadata using a single call.
...
BUG=4278636
Change-Id: Idc056c4fa50240aadbc81d300fbed759c5a187cf
2011-07-18 17:49:44 -07:00
Jason Sams
3ac60ada27
Merge "Add slot number to forEach hal."
2011-07-13 12:28:38 -07:00
Jason Sams
92b0eab07e
Add slot number to forEach hal.
...
Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
2011-07-13 11:26:26 -07:00
Logan Chien
ef72ff220c
Use resource entry name instead of mangled name.
...
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
2011-07-11 15:32:24 +08:00
Logan Chien
e723caee39
Fix typo: mFieldCount -> mPragmaCount.
...
Change-Id: I081a521c13a78bc5ec1bf9faecb066bed5ca8ab4
2011-07-11 07:57:24 +08:00
Jason Sams
be8ac6ace9
Move TLS behind hal.
...
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Jason Sams
fcf7231249
Create runtime stubs for compute driver.
...
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Stephen Hines
97837c9172
Fix broken assert (if input allocation is NULL).
...
Change-Id: If02e86eee4ec059402edd6f8c408fd89b248bc80
2011-04-11 14:02:22 -07:00
Stephen Hines
623cb9585e
Properly handle script teardown.
...
If libbcc optimizes away a global variable, we need to make sure that
RenderScript's ~Context() doesn't attempt to clear away the slot's NULL
pointer that denotes this.
Change-Id: I77d0f740ab333338e53db481e4a3eca338aba411
2011-03-24 20:07:23 -07:00
Stephen Hines
044d7d99f8
Revert "Fix cleanup bug clearing script references."
...
This change was actually incorrect and causes crashes in ~Context.
This reverts commit 88728ecaeab1358e1748cbbf6ed954fd9a960692.
2011-03-24 11:50:40 -07:00
Jason Sams
88728ecaea
Fix cleanup bug clearing script references.
...
Change-Id: I693dd7523658a32837764854c12a6b690e8fb7c6
2011-03-18 17:38:40 -07:00
Jason Sams
55d2a25402
Migrate thread launch to driver.
...
Change-Id: If182c524cceb327547640f22f956856d291d1787
2011-03-17 16:14:27 -07:00
Jason Sams
e4a06c5fc7
Start seperating out RS compute implementation. Create hal
...
layer to seperate from runtime.
Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-17 16:13:03 -07:00