summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2018-09-06 10:30:28 -0600
committerCody Northrop <cnorthrop@google.com>2018-10-18 09:16:57 -0600
commit7fd4421f7f85874efe0083cc7853f85e3d9d4e51 (patch)
tree3bb33e97b4b0af43f5d04327a4003247b9a893b6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc749e15a2b5ba498edb61feb4cbd2ccd595d093d (diff)
Find and load ANGLE rules, pass to libEGL
In order to load a text file from an APK, it must be present in the assets folder and be uncompressed. The AssetManager can find assets from any application, so we point it at ANGLE. We then pass the file descriptor, offset, and size, down to the loader so it can parse json from the asset. Bug: 80239516 Test: Manual build, ensure we can inspect rules from modified APK Test: cts-tradefed run singleCommand cts -m CtsAngleIntegrationHostTestCases Change-Id: Ib3ecce34b043753b2894915975b6dd8440154ae2 (cherry-picked from commit cfaa0ba52fcf60578acdd64bc4dc9a00f6e300ed)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions