diff options
| author | Yang Ni <yangni@google.com> | 2016-03-23 16:00:11 -0700 |
|---|---|---|
| committer | Yang Ni <yangni@google.com> | 2016-03-24 08:57:39 -0700 |
| commit | 95e71d3d05a583a807013de5c81f952e1ba054be (patch) | |
| tree | 0dc94230d46753333e48d259e7468df4bfb84411 /cpp/RenderScript.cpp | |
| parent | e44bd78cd972469b1d8de478e1fbc8ffad5d340d (diff) | |
Bump sysRefCount for new objects from the runtime
Bug: 27814601
Slang expects any new rsObjects to have sysRefCount 1, and adds a
rsClearObject() call when the rsObject goes out of scope.
To match this expectation, all runtime functions that create
rsObjects need to bump up their sysRefCounts to 1.
Change-Id: I097c4ac6f00edf1d39fc1d88238be78d29a09257
(cherry picked from commit 0b8411471e7d2d332610ec16f555ab8cc434d167)
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions
