| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
https://android.googlesource.com/platform/frameworks/rs into HEAD
Change-Id: I57a1494bb6ad77b495cef47259ed5f55faed92e5
|
| |
|
|
|
|
|
|
| |
Bug: 31992305
Test: Build and CTS RsCpp test pass.
Change-Id: I5d55dd3cfa1b6eff1c4d9dfa5315e7e962bf6588
(cherry picked from commit 93ddf62ab18ed17d96189a602a8cbde83712a3e9)
|
| |
|
|
|
| |
Bug: 27298560
Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
|
| |
|
|
|
|
|
|
|
| |
Bug: 27983025
Device should be destroyed inside the destructor of the associated
Context.
Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
|
| |
|
|
|
|
|
| |
Bug: 27746233
Change-Id: I9a5a270dd299d21171b442902f3e31bea095c48f
(cherry picked from commit d999344a046d0c02a71d84494f6bb78b6505147f)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requires corresponding change in frameworks/support.
Note that the new RSTest_CompatLib test cases were copied from RsTest.
Also:
- Change LOCAL_RENDERSCRIPT_TARGET_API to 0.
- Change manifest targetSdkVersion from 8 to 24 (see Bug: 27367665).
- Change compile-only RSTest_CompatLib test apitest.rs to use N rather than pre-N
rsForEach() API.
Bug: 23535724
Change-Id: I872f2b5a83fb78f4b54b8f6710e1d49df3bea3d1
(cherry picked from commit 328245ae4aecdae3ec23a640efc454959f2ff98c)
|
| |
|
|
|
|
|
|
|
|
|
| |
Bug: 27230989
- Clean up the makefile
- For NDK libs, use c++_static
- Avoid exposing symbols for C++ lib
- Use nullptr instead of NULL
Change-Id: I60cf11cb6a6044584a3e484979da231f72772f86
|
| |
|
|
|
| |
Bug: 27323830
Change-Id: I9da69782cccbf42761cbd82d99df2bab80e9e57c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 25972767
Add float16 elements to C++ API and test the ability to create float16
allocations.
Caveats:
- Element::F16 and such are accessible to the host-side code
irrespective of the target API level. This is because right now,
target API level seems to be set at runtime instead of compile time.
- We added float16 to RenderScript starting API level 23. Since we
cannot compile RS CPP apps targeting this level, Scripts cannot
manipulate float16 data yet.
Change-Id: I2bfba13fcad1c3aa984e97b44765fd2a57a054ac
(cherry picked from commit 566168431399086c146b2f845f6d0128852c9686)
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| | |
Bug: 26202632
Change-Id: Ia6610623fe8444abfbe95f8d3170b9ed9677d526
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 25602504
1) Fixed setting 64-bit globals on a 32-bit platform.
The long values were casted to pointer-size integers (uintptr_t) or void*
in the runtime implementation. This caused the upper 32 bits to be lost
on 32-bit platforms. Fixed that by casting to int64_t instead.
2) Fixed setting Allocation values (either as arg or a global) in a script
group.
The size for a value in a script is signed, with -1 indicating that the
value is an Allocation. The sign has to be kept across different layers
of our stack.
3) Added a test for both native and support libraries for passing
floating point values to a script group, and for passing 64-bit values
(long or double) to a script group.
Change-Id: Ifff099a76be7707df7b67c388395f5a00f9cae66
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove definition of RSYuvFormat from the C++ API's headers and use the
newly added enum in rsDefines.h (which is distributed as a part of the
NDK). The new enum is named 'RsYuvFormat' for sake of consistency with
the rest of rsDefines.h.
The new enum also uses the Camera's pixel formats as the enum values.
This requires minor updates.
Change-Id: Ia04e320c45d0e13cb476d2ad4deefeb2f8da60d3
|
| | |
| |
| |
| |
| | |
Bug: 25226912
Change-Id: I26eed3223d37a0c49efc2d4fdf33dd64ad52d22f
|
| | |
| |
| |
| |
| | |
Bug: 23165318
Change-Id: I557e63f5abf3628df7545db3bdec4a6de59d3083
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I2337340ce9ed43ab49b55b37d349b696bb0679a1
|
| | | |
| | |
| | |
| | | |
Change-Id: Ic1c430eec6840af4a8c19a1c13e8559ddf971eb3
|
| | | |
| | |
| | |
| | | |
Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
|
| |/ /
| |
| |
| | |
Change-Id: I2b1cce8ab964e9ddd6b039fd8d7b8f8bf5f0eed1
|
| | |
| |
| |
| | |
Change-Id: I54e78db8bc36d5c7432b8233ebace0d66f83c549
|
| |/
|
|
|
|
|
|
| |
These aren't host modules, so they shouldn't be checking what host
they're building on. We don't use target libraries that are built when
HOST_OS == windows.
Change-Id: I4db86dce039150612cd4ea8ba773adc2915b46f9
|
| |
|
|
|
| |
Bug: 22631253
Change-Id: I06eec227e122075c8a81ed501cd9efcd4e0ef13a
|
| |
|
|
| |
Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Able to create Allocations with arbitrary alignment requirement,
making Incremental Intrinsic Support able to run with different
native GPU RS runtime.
- Make compat mode CPU driver using an additional rs_compat.spec.
- Add a compat mode only USAGE_INCREMENTAL_SUPPORT.
- Add AllocationCreateStrided() to take an Alignment requirement (power
of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT.
Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
bug: 21028875
Change-Id: I6d4aa8973de523aef7ced48105737eb5ee471e5d
(cherry picked from commit 549f8a500d72edda06f1f1a4986a57aba7f66294)
|
| |
|
|
|
| |
Bug: 21785137
Change-Id: I460b3070eda67477148ff3da1db5fdc7ebb5386d
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Allow OEMs to pass data from other HW blocks via internal
extension.
Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
|
| |
|
|
| |
Change-Id: I49415d85c3ec4ddb42c587b20c30df4d5fe25842
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I5326c2b6551953e19da50aff1848557231b908e5
|
| |\| |
|
| | |
| |
| |
| | |
Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
|
| |/
|
|
|
|
|
| |
Implemented in the runtime and CPU driver the new script group name.
Code caching is not implemented yet, and to be added in another CL.
Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
|
| |
|
|
| |
Change-Id: I53ac88ce3f482e01bd70df57a1aaf0b71b1f49af
|
| |
|
|
|
|
|
|
|
|
| |
Java API.
- min/mag, wrapS/wrapT was incorrectly swapped
- When creating MIP_LINEAR related sampler, mag should be set to LINEAR
and min to LINEAR_MIP_LINEAR
Change-Id: Iaa354281d6dba73fca452e04452c88bfe5af0469
|
| |
|
|
| |
Change-Id: Iacc3cdaa6d58c8f7739ac173fb5ac5de14482133
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- Add Copy3DRangeTo API
- Add AutoPadding & unPadding for CopyTo and CopyFrom APIs
- Add IntrinsicResize
Change-Id: I1138225f8a7b738929a09636bf2669f5d68b0c7d
|
| |/
|
|
| |
Change-Id: Ice2523e7803cc50822840e47d13df3b2e059a5ca
|
| |
|
|
|
|
|
|
|
| |
used via C++ bindings.
Correct checks for compatible elements within ScriptIntrinsicHistogram.
Add missing setVar within variable setters.
Change-Id: I404058d231676d9c7403d4327053421a624f5ae9
|
| |\
| |
| |
| |
| |
| |
| | |
device api >= L"
* commit 'ff523842e4b001886b39ad4b79dddb762433e492':
Make dispatchTable load AllocationGetPointer only when device api >= L
|
| | |
| |
| |
| | |
Change-Id: Idfc739e8f810f55108d5b7b598f71948dfeb40bf
|
| |\|
| |
| |
| |
| |
| |
| | |
Allocation correctly. Add the following functions to make it symmetric for read and write."
* commit 'ceb8d321879ba542b708910f9c835bc94eb6c4c8':
Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
correctly.
Add the following functions to make it symmetric for read and write.
- AllocationElementData
- AllocationElementRead
- Allocation3DRead
Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
|
| |\|
| |
| |
| |
| |
| |
| | |
dlsymed will depend on the device API level. (default: only load functions in API <= 21);"
* commit '7321136880c7dc427c77af07d16f9f6a97c4808f':
Add API check for loadSymbols(), so that functions being dlsymed will depend on the device API level. (default: only load functions in API <= 21);
|
| | |
| |
| |
| |
| |
| |
| | |
will depend on the device API level.
(default: only load functions in API <= 21);
Change-Id: I4b65df7f228a23d713b69983ddb81ce67075d9cc
|