History log of /frameworks/rs/tests/cpp_api/cpp-globalguard/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7ed79afd917b18284784fdc5ae76f856821fbae0 04-Jan-2018 Dan Albert <danalbert@google.com> Move to libc++ from stlport.

Test: make checkbuild
Bug: None
Change-Id: I6bda6ed73cf2eb561f00c941d564a88bd4c4ff54
/frameworks/rs/tests/cpp_api/cpp-globalguard/Android.mk
296cd02e03565153f7dff971988adf8e8c6c365a 26-Apr-2017 Miao Wang <miaowang@google.com> Protect static global access with a global flag.

- The global objects are protected by a global flag, during
application teardown.
- The following APIs, which could potentially be called during
application teardown, will be NO-OP if global objects are no
longer alive.
rsContextCreate
rsContextCreateGL
rsContextDestroy
- Added a test of the problematic use-cases.

Detailed discussion:
https://goto.google.com/rs-static-destructor

Test: mm
Test: Before the change to rsApiStubs.cpp, the test hangs during
termination.
Test: After the change to rsApiStubs.cpp, the test passes without any
problems.
Change-Id: I7a43a61d9ccf848c17a88e047e97d087132addda
/frameworks/rs/tests/cpp_api/cpp-globalguard/Android.mk