Deprecate RS Java APIs.
This CL marks RenderScript Java APIs as deprecated.
Bug: 168711199
Test: m
Test: CtsRenderscriptTestCases
Test: CtsRsCppTestCases
Test: CtsRsBlasTestCases
Change-Id: Id271a794679d445c480d62c87ae6c8150f6901f8
Merged-In: Id271a794679d445c480d62c87ae6c8150f6901f8
(cherry picked from commit 8b4548c43a)
This commit is contained in:
@@ -25,7 +25,12 @@ package android.renderscript;
|
||||
* android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on
|
||||
* an {@link android.renderscript.Allocation} that was not created with {@link
|
||||
* android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE} is undefined.
|
||||
*
|
||||
* @deprecated Renderscript has been deprecated in API level 31. Please refer to the <a
|
||||
* href="https://developer.android.com/guide/topics/renderscript/migration-guide">migration
|
||||
* guide</a> for the proposed alternatives.
|
||||
**/
|
||||
@Deprecated
|
||||
public class Sampler extends BaseObj {
|
||||
public enum Value {
|
||||
NEAREST (0),
|
||||
|
||||
Reference in New Issue
Block a user