https://github.com/android/renderscript-samples
Multiple samples showing renderscript best practices in Android.
https://github.com/android/renderscript-samples
renderscript samples
Last synced: 2 months ago
JSON representation
Multiple samples showing renderscript best practices in Android.
- Host: GitHub
- URL: https://github.com/android/renderscript-samples
- Owner: android
- License: apache-2.0
- Archived: true
- Created: 2019-08-08T04:45:19.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T18:37:40.000Z (about 2 years ago)
- Last Synced: 2025-01-10T19:23:54.596Z (12 months ago)
- Topics: renderscript, samples
- Language: C++
- Homepage:
- Size: 74 MB
- Stars: 223
- Watchers: 74
- Forks: 75
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Renderscript Samples
This repository contains a set of individual Android Studio projects:
- [RenderScriptMigrationSample](./RenderScriptMigrationSample): A sample that demonstrates how to migrate RenderScript to Vulkan.
- [BasicRenderScript](./BasicRenderScript): A legacy sample that demonstrates how to use RenderScript to perform some basic image processing.
- [RenderScriptIntrinsic](./RenderScriptIntrinsic): A legacy sample that demonstrates how to use RenderScript intrinsics.
## Renderscript Support Status
Renderscript has been deprecated since Android 12, the samples here are part of the Renderscript deprecation toolkits which also includes:
- [renderscript deprecation blog](https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html)
- [the migration guide](https://developer.android.com/guide/topics/renderscript/migrate)
- [the migration toolkit library](https://github.com/android/renderscript-intrinsics-replacement-toolkit)
## Support
We highly recommend to use [Stack Overflow](http://stackoverflow.com/questions/tagged/android) to get help from the Andorid community.
If you've found an error in this sample, please file an issue:
https://github.com/android/renderscript-samples
Patches are encouraged, and may be submitted by forking this project and
submitting a pull request through GitHub.
## License
```
Copyright 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```