History log of /frameworks/rs/cpp/RenderScript.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ca49acfcc784355bd806f87701747a4c1ab9749 04-Apr-2016 Yang Ni <yangni@google.com> Avoid destroying Device separately

Bug: 27983025

Device should be destroyed inside the destructor of the associated
Context.

Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
/frameworks/rs/cpp/RenderScript.cpp
672dd1d7021ce09a3045d1316d80ac2f42edc72a 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Derive the bcc optimization level from the input bitcode."
fda559674cb1bd16b885f97951bda775cdc3af5c 12-Jan-2016 Miao Wang <miaowang@google.com> Add back RS::init(const char*, uint32_t)

Bug: 26202632
Change-Id: Ia6610623fe8444abfbe95f8d3170b9ed9677d526
/frameworks/rs/cpp/RenderScript.cpp
d9a0257f82cf4c634f6d2005c7fe1b46b1f7e1f1 12-Oct-2015 Miao Wang <miaowang@google.com> Allow developers to specify a target RS API level for C++

Bug: 23165318
Change-Id: I557e63f5abf3628df7545db3bdec4a6de59d3083
/frameworks/rs/cpp/RenderScript.cpp
cf067b8c4d1e53bc4768fbad239851c579717f2c 15-Sep-2015 Miao Wang <miaowang@google.com> Comments clean up for C++ API

Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
/frameworks/rs/cpp/RenderScript.cpp
e8f9651ed5678846959771bc32a310674408e8a8 11-Sep-2015 Miao Wang <miaowang@google.com> C++ API call RS::finish() before destroy rsContext

Change-Id: I54e78db8bc36d5c7432b8233ebace0d66f83c549
/frameworks/rs/cpp/RenderScript.cpp
15c1d06c654c246b8e8047f64f781add32483576 02-Sep-2015 Stephen McGroarty <stephen@codeplay.com> Derive the bcc optimization level from the input bitcode.

This patch derives the optimization level of the slang bitcode
and passes that to bcc. This patch replaces the old method, where
a flag was passed to the RenderScript context and the context
would set the optimization level accordingly.

Change-Id: Ie64a2d0125ca30da4ae7522961dca144d0457f03
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
/frameworks/rs/cpp/RenderScript.cpp
e5e18cca3eefccf3a6aabd254ceb2c59f120a7d2 13-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS in frameworks/rs.

Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
/frameworks/rs/cpp/RenderScript.cpp
f5029803ae6ce9d92d70b76e7a7cdd8d484f31ca 22-May-2015 verena beckham <verena@codeplay.com> Add a flag to the API to specify -O0 on the bcc command line.

Add a flag RS_CONTEXT_OPT_LEVEL_0 which sets a field mOptLevel in the Context
to 0 when calling bcc.
Using this flag will result in an object file that is easier to debug.

Change-Id: I9673506710cc9f34c415b694fe5d6bc7e967f1db
Signed-off-by: verena beckham <verena@codeplay.com>
/frameworks/rs/cpp/RenderScript.cpp
d5164d537c84867880694327727b5f22b0a3ccbd 08-May-2015 Stephen McGroarty <stephen@codeplay.com> Added in wait for attach context flag.

Added in a small flag which is passed to the context from the Java/C++ API
which causes the context to delay execution until a debugger is a attached.
This gives time to the developer to attach a debugger to the process before
the kernel is executed.

Change-Id: I5bb8e75100436920f9e1a0f414f3b0bcf0d2b439
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
/frameworks/rs/cpp/RenderScript.cpp
bc10dff26207bb8c02051b28326bb134a8f28eb3 04-Apr-2015 Miao Wang <miaowang@google.com> remove STL from rs C++ public interface. Nuke stlport.

Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
/frameworks/rs/cpp/RenderScript.cpp
e5428e661ce6f9d24f838cab0a8fb0fa8c76dbca 10-Mar-2015 Miao Wang <miaowang@google.com> Update RenderScript C++ API

- Add Copy3DRangeTo API
- Add AutoPadding & unPadding for CopyTo and CopyFrom APIs
- Add IntrinsicResize

Change-Id: I1138225f8a7b738929a09636bf2669f5d68b0c7d
/frameworks/rs/cpp/RenderScript.cpp
48d2eae90f08dc33754a9d280337249690a954d6 16-Oct-2014 Miao Wang <miaowang@google.com> Create a separate static lib that provides a dispatch table to both
fw/support/v8/renderscript/jni and libRScpp to reduce code duplication.

- This CL contains the static lib (libDispatch)
and related changes to libRScpp.

Change-Id: I65a4a74370720869eacf197ab31314c1df8dadcb

Merged Conflicts:
cpp/Android.mk
cpp/RenderScript.cpp
/frameworks/rs/cpp/RenderScript.cpp
66f0a168c4227d4e302f4ffb21ec7e9d7b9ca828 11-Nov-2014 Jason Sams <jsams@google.com> Cleanup includes for rs/cpp to not expose internal details.

Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
/frameworks/rs/cpp/RenderScript.cpp
c503150963e76e6d55153b8d45d884750513effb 11-Sep-2014 Tim Murray <timmurray@google.com> am cbbac9f5: Disable property_get for 64-bit.

* commit 'cbbac9f5916b9253d88bc10c3661b1ecaa80afd8':
Disable property_get for 64-bit.
cbbac9f5916b9253d88bc10c3661b1ecaa80afd8 11-Sep-2014 Tim Murray <timmurray@google.com> Disable property_get for 64-bit.

bug 17417839

Change-Id: I93ba5dd2d755a174cfd79d65e99bb045bd96df65
/frameworks/rs/cpp/RenderScript.cpp
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/cpp/RenderScript.cpp
bfa5a8e76fd9469cdecb3115685ded677d2d210a 21-May-2014 Jason Sams <jsams@google.com> Add flags for low power context.

Change-Id: I46b4fb7555f088dd90a9f8b7283d5b3aa75ceb1c
/frameworks/rs/cpp/RenderScript.cpp
fea96e8d145b1915b7bd66f68e973dd572a469e3 31-Mar-2014 Xiaofei Wan <xiaofei.wan@intel.com> Add error check when init RS thread in sync mode.

RS should return false and stop further waiting when it failed to init RS thread,
otherwise it will cause RS caller ANR errors.
Update destructor function for the exception handling accordingly.

Change-Id: I80a946e6be6b23cc93388b5f56d58ad6dc809d8b
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
/frameworks/rs/cpp/RenderScript.cpp
b8a94e26c0a5e8f58d5b6ed04e46b411e95b77a4 25-Feb-2014 Jason Sams <jsams@google.com> Add getPointer for USAGE_SHARED allocations.

Change-Id: I13a2af09bbbeec6cc6131b935979ac21c02820be
/frameworks/rs/cpp/RenderScript.cpp
0f98d50a8128e68760aa6e819b962e9a1d4b5bed 15-Jan-2014 Tim Murray <timmurray@google.com> Fix NDK API on old devices.

Change-Id: Ie2b1b57735a79febc0937fcc4b65cddd0eb80c16
/frameworks/rs/cpp/RenderScript.cpp
caf4126512b2152ea5f6573ce5d9ca29767b9678 13-Dec-2013 Tim Murray <timmurray@google.com> Add user-defined cache path.

Change-Id: I7374d8e84d8dc6e74a6faa526c6e68ae11da6500
/frameworks/rs/cpp/RenderScript.cpp
87c9d77a3be0dff4a4413bbb6f5b91014896e048 03-Dec-2013 Tim Murray <timmurray@google.com> Remove excessive ALOGE.

Change-Id: I66d5c073b08c036aba87182585b123ed88bdabb9
/frameworks/rs/cpp/RenderScript.cpp
75e877d157f9429eb6d8fb1b09c75c5472db161a 11-Sep-2013 Tim Murray <timmurray@google.com> Add docs to C++ API.

bug 10427951

Change-Id: I51805b6fb43781c57dfbbdc5b3e77f200af19ed8
/frameworks/rs/cpp/RenderScript.cpp
84e3dea053bea25c1cec44ffb298f8b5b9b9141a 10-Sep-2013 Tim Murray <timmurray@google.com> Add flags word to context initialization.

bug 10427951

Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
/frameworks/rs/cpp/RenderScript.cpp
eeaf7142d7e06efb3e0ddc7ef542884ab1d527dc 10-Sep-2013 Tim Murray <timmurray@google.com> Fix build/dependency issue.

bug 10427951

Change-Id: I798a0014f299b22c26bea3205823fcbb64f7ec70
/frameworks/rs/cpp/RenderScript.cpp
10913a5c37ba119bef335320d3e8be25212c05ad 21-Aug-2013 Tim Murray <timmurray@google.com> Make error handling kill context activity. Add parameter validation.

bug 10427951

Change-Id: I4abba969e34903265b84ee88d6a90bc9b9df5481
/frameworks/rs/cpp/RenderScript.cpp
21fa7a0a23eddab88ff261017f6d7a2548b4d89a 16-Aug-2013 Tim Murray <timmurray@google.com> Add error handling, move to create methods for intrinsics.

Change-Id: I81a0d481fef8b9396c648fdf18aee716a2056612
/frameworks/rs/cpp/RenderScript.cpp
89daad6bae798779e57f252e9da4fe4e62337124 29-Jul-2013 Tim Murray <timmurray@google.com> Add basic support for intrinsics. Move sp<> into RScpp.

Change-Id: I74cdee7069a624ded5091d53db3a4b8ce9894033
/frameworks/rs/cpp/RenderScript.cpp
47666f52468d8ce14498fac635125f24f79d3257 29-Jul-2013 Tim Murray <timmurray@google.com> Fix initialization problem in rsCPP.

bug 10018717

Change-Id: I623435268219b5c4f6aa5183032e833fd56d5099
/frameworks/rs/cpp/RenderScript.cpp
729b6fe58aff47c4f666b22bbb7a6d6114ddefa9 24-Jul-2013 Tim Murray <timmurray@google.com> Add Sampler support to C++ API.

Change-Id: I9a6ada9cf16b5e9f92bcecc12e87d66585df1d33
/frameworks/rs/cpp/RenderScript.cpp
4a92d1268983edaf329f73c8a5b8860cdbb11596 22-Jul-2013 Tim Murray <timmurray@google.com> Move to dynamic dispatch. Add support for IoAllocation* in rs.spec.

Change-Id: I013409cbb758ce5aae78347acb39c43d07aeb9bf
/frameworks/rs/cpp/RenderScript.cpp
0b8a2be7eb9322ec221383de325be8f30b36fe9a 24-Jul-2013 Tim Murray <timmurray@google.com> Load from libRS or libRSSupport.

Change-Id: I93678b42f9d56033a8563f09705cb88011c12828

Conflicts:
cpp/RenderScript.cpp
/frameworks/rs/cpp/RenderScript.cpp
a423096c0d49e5cfe13a400b4323a76f89c6885c 18-Jul-2013 Tim Murray <timmurray@google.com> Move C++ API over to function tables rather than linking libRS directly.

Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
/frameworks/rs/cpp/RenderScript.cpp
f9e077a531c6a83e978d55f427b5d8ff6d2c943f 21-Mar-2013 Jason Sams <jsams@google.com> Fix logging defined in external header.

Change-Id: I40cc2696b99350b52ac1904b05485db2f567b4ef
/frameworks/rs/cpp/RenderScript.cpp
0b575de8ed0b628d84d256f5846500b0385979bd 15-Mar-2013 Tim Murray <timmurray@google.com> Add x86 server support.

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/cpp/RenderScript.cpp
14982c8eb9a17a95a817c1fd2571829be5b7017e 23-Feb-2013 Jason Sams <jsams@google.com> Add support for debug and profile context.

Change-Id: If67bc23b457d50ced7bfa5ac21a63d14de8193b9
/frameworks/rs/cpp/RenderScript.cpp
4d252d6e807b89764dad123ac845df298c52ca97 29-Nov-2012 Tim Murray <timmurray@google.com> enable synchronous mode (functional)

Change-Id: I613610013e7e4d1623620ab94d2d25d8a1bd82b3
Bug: 5972398
/frameworks/rs/cpp/RenderScript.cpp
76a1be4a35267cf0814fb85fb9b1b5bf887e6ae7 27-Nov-2012 Stephen Hines <srhines@google.com> Handle NONE/RESIZE message types properly in C++ API.

Change-Id: Id8d5d6fd922719615706d86cc4997fcd4c0ebba4
/frameworks/rs/cpp/RenderScript.cpp
9eb7f4b90120ebe4be74343856e86b46495f72df 16-Nov-2012 Tim Murray <timmurray@google.com> Change namespace from renderscriptCpp to RSC

Change-Id: I6c40a91d3afad8411d0ad49088a8e52c251b7038
/frameworks/rs/cpp/RenderScript.cpp
baca6c3c3d79a324c7976ba873afdded0b6bcfb5 15-Nov-2012 Tim Murray <timmurray@google.com> Fix uninitialized variable bug, add finish()

Change-Id: I79fb54800ad8657c93c7989a5c21838d41f24050
/frameworks/rs/cpp/RenderScript.cpp
7e0acabf072cda5bdff63e502c1e8e4c2727676b 06-Nov-2012 Tim Murray <timmurray@google.com> Add support for CPU-only execution in C++ API.

Change-Id: Ifa6c211965eb14bfb9408404971e19827e7f5dc8
/frameworks/rs/cpp/RenderScript.cpp
84bf2b877024aaa154b66e0f2338d54bdabd855a 01-Nov-2012 Tim Murray <timmurray@google.com> Move to smart pointers for refcounting RS contexts

Change-Id: I0dc6adc4e02c7427a4234c549d3555a501fe5f90
/frameworks/rs/cpp/RenderScript.cpp
69cccdf0659a193d6a75420ec745421fb5c436e6 03-Apr-2012 Jason Sams <jsams@google.com> Make all references use smart pointers.

BUG=5972398

Change-Id: I7b8c2930ccf7d64623270cd3d0550aa6a852f2e5
/frameworks/rs/cpp/RenderScript.cpp
a662edd85843c2eb7078900b0279e38d6635795e 03-Apr-2012 Jason Sams <jsams@google.com> Split cpp frontend to its own lib.

Change-Id: I6ff1c620ec28ca1b96bce569ad5a09b41130ee88
/frameworks/rs/cpp/RenderScript.cpp