95e71d3d05a583a807013de5c81f952e1ba054be |
|
24-Mar-2016 |
Yang Ni <yangni@google.com> |
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)
/frameworks/rs/driver/runtime/rs_element.c
|