summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2015-08-25 23:43:34 -0700
committerStephen Hines <srhines@google.com>2015-09-10 18:52:27 -0700
commitca51c78b9e3097ee31dd24cdc5982f550ee563d1 (patch)
treeca514dadde6101640e5128ca58e2d8fcc80ca71e /cpp/RenderScript.cpp
parent97a1d01fc13bfe8eabed9f619904bc31997d2ced (diff)
Don't use anonymous literal structures for RS object types.
Bug: 22926131 Using an anonymous structure type prevents us from being able to use LLVM to determine the actual typename. This is problematic, because there are some cases where bcc needs to be able to detect/act on RS object types. Giving each of these structures a legitimate name has no impact on the generated code (since we are already using typedefs). This change is also safe for targeting prior Android releases with our toolchain. This change also adjusts the API generator to ensure that we can generate relevant code/docs/tests for handling RS objects. A new TypeKind is added for RS_OBJECT, instead of using SIMPLE. Change-Id: Iaff928f5821af66cfc9b3aea2ff5549d0c8a9408
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions