{"id":19623108,"url":"https://github.com/robbwatershed/renderscript-alternatives-benchmark","last_synced_at":"2025-07-12T21:33:56.161Z","repository":{"id":169953499,"uuid":"646076687","full_name":"RobbWatershed/renderscript-alternatives-benchmark","owner":"RobbWatershed","description":"Benchmark of RenderScript, RenderEffect, Vulkan and OpenGL ES in the same Android app","archived":false,"fork":false,"pushed_at":"2024-11-30T17:33:34.000Z","size":4112,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T22:04:37.036Z","etag":null,"topics":["android","opengl-es","rendereffect","renderscript","vulkan"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobbWatershed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-27T07:54:00.000Z","updated_at":"2024-11-30T17:33:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e671b8d-f60e-478c-b929-3208ec01a657","html_url":"https://github.com/RobbWatershed/renderscript-alternatives-benchmark","commit_stats":null,"previous_names":["robbwatershed/renderscript-alternatives-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobbWatershed/renderscript-alternatives-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbWatershed%2Frenderscript-alternatives-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbWatershed%2Frenderscript-alternatives-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbWatershed%2Frenderscript-alternatives-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbWatershed%2Frenderscript-alternatives-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobbWatershed","download_url":"https://codeload.github.com/RobbWatershed/renderscript-alternatives-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbWatershed%2Frenderscript-alternatives-benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265059316,"owners_count":23705210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","opengl-es","rendereffect","renderscript","vulkan"],"created_at":"2024-11-11T11:31:44.095Z","updated_at":"2025-07-12T21:33:56.119Z","avatar_url":"https://github.com/RobbWatershed.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RenderScript Alternatives benchmark\n\nCredits and inspiration :\n- https://github.com/android/renderscript-samples (Project base)\n- https://github.com/ttddee/Cascade (Vulkan shaders)\n- https://github.com/cats-oss/android-gpuimage (GLES pipeline and shaders)\n- https://gitlab.com/higan/xml-shaders/-/tree/master/shaders/OpenGL/v1.0 (more GLES shaders)\n- https://github.com/awxkee/aire (fast image processing)\n\n## Introduction\n\n[RenderScript is being deprecated](https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html) since Android 12. We recommend computationally intensive applications to use [Vulkan](https://www.khronos.org/vulkan), the cross platform industry standard API. Please refer to the [RenderScript Migration Guide](https://developer.android.com/guide/topics/renderscript/migrate) for more details.\n\nTo help developers for the migration, this sample is created to demonstrate how to apply the image filtering to a bitmap with the Vulkan compute pipeline. The sample creates a common ImageProcessor interface, on the top of Vulkan Compute and RenderScript, that performs two compute tasks:\n- HUE rotation: A simple compute task with a single compute kernel.\n- Blur: A more complex compute task which executes two compute kernels sequentially.\n- Resize\n\nAll tasks are implemented with \n- RenderScript (intrinsics \u0026 custom scripts)\n- Vulkan\n- OpenGL ES 2.0\n- RenderEffect\n- Aire\n\nto demonstrate the migration from RenderScript to these various alternatives.\n\n\n## Getting Started\n\n1. Download Android Studio.\n2. Launch Android Studio.\n3. Open the sample directory.\n4. Click Tools/Android/Sync Project with Gradle Files.\n5. Click Run/Run 'app'.\n\n## Screenshots\n\n\u003cimg src=\"screenshots/hue.png\" height=\"400\" alt=\"Screenshot of Hue Rotation\"/\u003e\n\u003cimg src=\"screenshots/blur.png\" height=\"400\" alt=\"Screenshot of Blur\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbwatershed%2Frenderscript-alternatives-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbwatershed%2Frenderscript-alternatives-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbwatershed%2Frenderscript-alternatives-benchmark/lists"}