Yang Ni
5024f20a85
am 09339053: am 6ca1e45a: am 8704ae46: Merge "Add name to ScriptGroup2.Builder.create() method"
...
* commit '0933905375790eb850334b53fd6d0981bd40e007':
Add name to ScriptGroup2.Builder.create() method
2015-04-14 17:02:33 +00:00
Yang Ni
35be56cce8
Add name to ScriptGroup2.Builder.create() method
...
This name will be used to name the .so file generated for the
script group with fused kernels.
Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
2015-04-13 17:24:44 -07:00
Yang Ni
ad6b44aaa1
Add a name to ScriptGroup2.Builder.create method
...
The name is not used in any meaningful way yet, but would be used
to name the file for generated code for fused kernels in other
coming CLs.
A script group name cannot be null or empty, or longer than 100
characters. It can only contain letters, digits, '-', or '_'.
Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
2015-04-13 14:32:18 -07:00
Tim Murray
9509bfe46a
am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the cache directory."
...
* commit '72fcf9eb1079312afd7bdbee167c759109af4244':
Add support for setting the cache directory.
2015-04-10 04:35:04 +00:00
Tim Murray
47f31582b6
Add support for setting the cache directory.
...
Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
2015-04-09 17:50:39 -07:00
Stephen Hines
b6b17a575f
resolved conflicts for merge of 764f08ad to master
...
Change-Id: I0a22225b2d26b6d806de2dcc70ffba29c96865b3
2015-04-07 14:47:32 -07:00
Tim Murray
e1e6c66198
Move cache dir to its own class.
...
This prevents us from loading the RS static initializer all the time.
Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
2015-04-07 13:24:14 -07:00
Yang Ni
922346c0b2
Merge "Add a name to ScriptGroup2.Builder.create method"
2015-04-07 19:54:31 +00:00
Yang Ni
1709856238
Add a name to ScriptGroup2.Builder.create method
...
The name is not used in any meaningful way yet, but would be used
to name the file for generated code for fused kernels in other
coming CLs.
A script group name cannot be null or empty, or longer than 100
characters. It can only contain letters, digits, '-', or '_'.
Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
2015-04-07 09:37:50 -07:00
Jason Sams
217a36b193
am ef2279a1: am 283e5ce3: am 7200f661: Merge "Fix minor blur doc bug"
...
* commit 'ef2279a1f1a12b9ba16cd18c7ec2be97111307a8':
Fix minor blur doc bug
2015-04-07 00:17:24 +00:00
Yang Ni
a9d76d153d
am 249968b4: am 6bef5eb4: am 6422ee71: Merge "Rewrote FieldPack::createFieldPack for alignment"
...
* commit '249968b421a8dcfe5a26ec7f524e76295ec5eef5':
Rewrote FieldPack::createFieldPack for alignment
2015-04-07 00:06:34 +00:00
Jason Sams
7200f661c1
Merge "Fix minor blur doc bug"
2015-04-06 23:38:05 +00:00
Yang Ni
8bcbf47245
Rewrote FieldPack::createFieldPack for alignment
...
b/20032217
Some data types requires data alignment. This has an impact on the
total data size for the FieldPack. Fixed createFiledPack()
implementation to handle this correctly.
Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
2015-04-06 14:49:53 -07:00
Miao Wang
edea751f64
am 1327fa9e: am 511eb660: am 6aed9ec1: Merge "[RenderScript] update exception reporting for copyTo() after autoPadding added."
...
* commit '1327fa9eb155eb57fe24a8aa90a18f57d706e86b':
[RenderScript] update exception reporting for copyTo() after autoPadding added.
2015-04-03 18:18:01 +00:00
Miao Wang
d9b6328509
[RenderScript] update exception reporting for copyTo() after
...
autoPadding added.
- This CL fixes recent CTS failures about copyPadded after
lmp-mr1-dev changes pushed to aosp.
Change-Id: Ica1f4fd934cd83ca4357ea7e7c82dcc7f844b689
2015-04-03 09:15:39 -07:00
Jason Sams
37192dcde3
Fix minor blur doc bug
...
Change-Id: I4c129d9d3c93d8a36c887e5c594b4402aca5745e
2015-04-02 14:10:53 -07:00
Yang Ni
249e6c8cd8
am 02dff422: am 5db6f1fa: am 63dde9c8: Merge "Fix value size data type in closure creation."
...
* commit '02dff422a7734764e3ce00179f62ba115f2081a5':
Fix value size data type in closure creation.
2015-04-01 02:19:41 +00:00
Yang Ni
4470d68a89
Unhide new ScriptGroup API
...
This includes the new class ScriptGroup2 and a related change in
class Script to add InvokeID.
Change-Id: I012dc0a32c65803453022fa534ef05f855ea5ace
2015-03-31 15:00:13 -07:00
Miao Wang
eb9a10c829
Merge "[RenderScript] Remove @hide for setAutoPadding(boolean)."
2015-03-31 19:41:02 +00:00
Jason Sams
8610f837bc
Update LaunchOptions description
...
Change-Id: I7425c9ea9d82ed54950557e93aa46b69ebc02c23
2015-03-30 17:01:10 -07:00
Jason Sams
6a420b5e0b
unhide RS apis
...
Change-Id: I30c3349c9222765ad7850890e0431bc6a6d3757a
2015-03-30 15:31:26 -07:00
Yang Ni
4c93c8c93a
Fix value size data type in closure creation.
...
b/19944127
Also added references to arguments and global values in a closure to
keep them live in Java while native code may access them.
Change-Id: I1179d34aa67f845578740e71cc2da4f82419f251
2015-03-30 10:45:34 -07:00
Jason Sams
756ecf7bbb
am 5f786f0d: am 226fc774: am ee80414d: Merge "Fix doc bug for object size."
...
* commit '5f786f0dabe93eb1bf391ffc3f57f03b9b9ce575':
Fix doc bug for object size.
2015-03-27 01:50:56 +00:00
Miao Wang
d7ecab1e87
[RenderScript] Remove @hide for setAutoPadding(boolean).
...
Change-Id: I9e018436866989090be3896f894078ca0422189b
2015-03-26 18:00:15 -07:00
Jason Sams
fb4f5cf614
Fix doc bug for object size.
...
Change-Id: I3c810abcb9734196bd8804a22efc010dd3a73291
2015-03-26 17:39:34 -07:00
Miao Wang
aac10a21e3
Merge "[RenderScript] Remove @hide for the new APIs for Allocation.CopyTo"
2015-03-27 00:35:31 +00:00
Miao Wang
258db504bc
[RenderScript] Remove @hide for the new APIs for Allocation.CopyTo
...
Change-Id: I9ef476ae3e659d98d21c9246aa8e4969e00c14f1
2015-03-26 17:25:01 -07:00
Jason Sams
d640b7a6c7
am 9b25b77f: am d641bb00: am 73ffe0cc: Merge "Catch errors for unknown object types."
...
* commit '9b25b77feb09119710713a81978dbbcdcb2f0c40':
Catch errors for unknown object types.
2015-03-26 22:59:40 +00:00
Jason Sams
8c0c880bba
am b04f9944: am 22580b83: Merge "Fix potential npe"
...
* commit 'b04f9944fb0062541512447a952405ba4b084d30':
Fix potential npe
2015-03-26 22:53:57 +00:00
Jason Sams
bca8e6d35f
Catch errors for unknown object types.
...
bug 19805334
Change-Id: I71e172b8123076896737d352403f8ddefca544b6
2015-03-26 15:29:56 -07:00
Jason Sams
ae5be38ebb
Fix potential npe
...
bug 19805515
Change-Id: Id36b145d3ce1c81311e88f5cdd2441880e98f737
2015-03-26 14:47:17 -07:00
Miao Wang
ab452f70fc
am 2b30b73b: am 6f6f44b0: am b2b0c4c2: Merge "[RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks."
...
* commit '2b30b73b017f10bc2ce514981b577c2efaeab739':
[RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks.
2015-03-24 02:59:12 +00:00
Miao Wang
a4e5adf955
[RenderScript] Add create(Context, int) to be compatible with
...
the thunker layer & minor tweaks.
bug:19888167
bug:19888339
Change-Id: Ib264c4ca48c990b3476456838047f73d95f6752f
2015-03-23 11:50:18 -07:00
Jason Sams
0590423d71
Merge "unhide AllocationAdapter APIs"
2015-03-20 22:14:26 +00:00
Jason Sams
206666790a
unhide AllocationAdapter APIs
...
Change-Id: Id7ff10c7b09a5bedd9952602dd394e76b4fae8b1
2015-03-20 15:09:35 -07:00
Yang Ni
4778caae50
am 53699ec6: am d3e6428a: Merge "New API methods for Script Group"
...
* commit '53699ec613acf76277b69db57bf2f378d0dc374a':
New API methods for Script Group
2015-03-19 23:42:34 +00:00
Yang Ni
c6dbfececd
am f2ea0171: am c077ee31: Merge "Added copyright notice and formatted to convention"
...
* commit 'f2ea01717b918471b050bea46529e1843d36fc84':
Added copyright notice and formatted to convention
2015-03-19 21:47:31 +00:00
Yang Ni
8ff2980f31
New API methods for Script Group
...
Use a single vararg Object array for both kernel/invoke arguments
and global bindings. The assumption is that global bindings are in
the end after the kernel/invoke arguments.
This simplifies the api to add a kernel or invoke to a script group.
Change-Id: I7efb1035c5967e2cadd15e6fe27f20c80ba197a2
2015-03-19 14:38:20 -07:00
Yang Ni
c077ee316e
Merge "Added copyright notice and formatted to convention"
2015-03-19 21:28:13 +00:00
Jason Sams
db8cfd062e
am d8e891f4: am f75e4ca3: Merge "Make it harder to leak contexts"
...
* commit 'd8e891f474096c310f60ca6d2f737cdc0251003e':
Make it harder to leak contexts
2015-03-19 18:59:00 +00:00
Jason Sams
f75e4ca394
Merge "Make it harder to leak contexts"
2015-03-19 18:38:16 +00:00
Jason Sams
e16da12b7b
Make it harder to leak contexts
...
Change-Id: Ied60b6428bedb200d7b5b627e8196fbf2b4151e1
2015-03-18 17:04:18 -07:00
Andreas Gampe
e09a941585
am 4f0a96d2: am 9cc36ac2: Merge "Frameworks/base: Remove duplicate check in Mesh"
...
* commit '4f0a96d2d923bd1f4c7f46ec25c83711565b77db':
Frameworks/base: Remove duplicate check in Mesh
2015-03-18 23:50:47 +00:00
Andreas Gampe
3c4ca688ce
am 1dae2f93: am 8df1bedc: Merge "Frameworks/base: Fix potential NPE in Script"
...
* commit '1dae2f9341c05eee5d77489c579ffd621fbe108b':
Frameworks/base: Fix potential NPE in Script
2015-03-18 23:50:25 +00:00
Jason Sams
68af9a9904
am b533f3e1: am 1aadd347: Merge "Avoid duplicate surface creation."
...
* commit 'b533f3e1ad098b38070369609e6b1892828bc111':
Avoid duplicate surface creation.
2015-03-18 23:48:52 +00:00
Andreas Gampe
9cc36ac2a2
Merge "Frameworks/base: Remove duplicate check in Mesh"
2015-03-18 22:19:27 +00:00
Andreas Gampe
8df1bedcba
Merge "Frameworks/base: Fix potential NPE in Script"
2015-03-18 22:18:26 +00:00
Andreas Gampe
ad555f91a0
Frameworks/base: Fix potential NPE in Script
...
Bug: 19797138
Change-Id: I5cd9394bd2c0f7c044c1f2f24665384fa797cd97
2015-03-18 12:24:57 -07:00
Andreas Gampe
16720c1849
Frameworks/base: Remove duplicate check in Mesh
...
Bug: 19797138
Change-Id: I0b11c4ff63a8031d5e58a06ac13f91ae0bbac5dc
2015-03-17 19:10:14 -07:00
Jason Sams
1e68bac5f8
Avoid duplicate surface creation.
...
Change-Id: I43104c8b48dd26681735940e6b2e1ba902af2020
2015-03-17 16:36:55 -07:00