History log of /frameworks/base/rs/java/android/renderscript/Mesh.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6484b6be5ca5233614d0a8991a5d909543824fc7 24-Mar-2016 Yang Ni <yangni@google.com> Added CloseGuard for BaseObj

Bug: 27719830

To turn on warnings, apps have to add to their Activity.onCreate() method
the following code.

StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectLeakedClosableObjects()
.penaltyLog()
.build());

For Slang generated ScriptC derived classes, we assume their
constructors won't throw exceptions after calling the ScriptC
constructor. In addition, ScriptIntrinsic derived classes do not seem
to throw exceptions in their constructors either. Therefore, we can
leave the guard.open() call in the Script constructor. This may be
only an approximation, but allows us to add CloseGuard for script
objects without making changes to slang.

Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060
(cherry picked from commit eb4dd08ec132f83745b8b28fa7da58eb4478b5b9)
/frameworks/base/rs/java/android/renderscript/Mesh.java
ae5be38ebbfdfa3a6ff18a5ced00e57adefd7348 26-Mar-2015 Jason Sams <jsams@google.com> Fix potential npe

bug 19805515

Change-Id: Id36b145d3ce1c81311e88f5cdd2441880e98f737
/frameworks/base/rs/java/android/renderscript/Mesh.java
16720c184946f3665dd034abaef2d648efdae627 18-Mar-2015 Andreas Gampe <agampe@google.com> Frameworks/base: Remove duplicate check in Mesh

Bug: 19797138
Change-Id: I0b11c4ff63a8031d5e58a06ac13f91ae0bbac5dc
/frameworks/base/rs/java/android/renderscript/Mesh.java
11e4317555fdabeecf28fe8a70bfecb216224ad1 28-Feb-2014 Narayan Kamath <narayan@google.com> am 62d675c2: am 0d3548be: am d138029d: am 14420e29: Merge "AArch64: Use long[] for RS id array"

* commit '62d675c240fd87cb987c86ae4f6ac17dc13374c8':
AArch64: Use long[] for RS id array
9807155b11a25fb6068edc9b1cd82928ac2f05de 12-Feb-2014 Ashok Bhat <ashok.bhat@arm.com> AArch64: Use long[] for RS id array

Change-Id: Ia5145a547c0d13c7d6f1bb4d8f5472be62481bd9
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/base/rs/java/android/renderscript/Mesh.java
355707e4f665904e31d9f5fcff1e3921f7db8cdd 17-Dec-2013 Tim Murray <timmurray@google.com> Move RenderScript from graphics/ to new fw/base subdirectory rs.

Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
/frameworks/base/rs/java/android/renderscript/Mesh.java
d1576fb039f018ea4d55abbb2c03d542011be399 17-Dec-2013 Tim Murray <timmurray@google.com> Move RenderScript from graphics/ to new fw/base subdirectory rs.

Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
/frameworks/base/rs/java/android/renderscript/Mesh.java