summaryrefslogtreecommitdiff
path: root/native/android/choreographer.cpp
AgeCommit message (Collapse)Author
2020-05-07Dispatch refresh rate callbacks from DMSAlec Mouri
AChoreographer will consume these callbacks in lieu of going through SF for the callbacks. This is so that DMS can update its view of display configs before apps receive the refresh rate callback so that apps can get consistent information. Bug: 154874011 Test: ChoreographerNativeTest Test: Manually verify that HWUI is receiving callbacks Change-Id: I992c247fd16ef414f94a259bbd300bea3e4c9467
2019-11-11[AChoreographer] Consolidate AChoreographer source filesAlec Mouri
Now that AChroeographer is defined in libnativedisplay, libandroid should not need its own copy. Instead what we do is: * Statically link libnativedisplay into libandroid * Delete choreographer.cpp This structure is the same as that of ANativeWindow. Bug: 136262896 Test: builds Change-Id: I159d69398bb33ccd7b01aae798d14c04438355c1
2019-03-06Add explicit 64-bit postFrameCallback APIsSantos Cordon
Bug: 123660572 Test: atest -a android.view.cts.ChoreographerNativeTest Change-Id: Idff869a435ddb9b858a95993c1e4c6a5c668322f
2019-02-22DisplayEventDispatcher: add DISPLAY_EVENT_CONFIG_CHANGEDAdy Abraham
Add a new event for display configuration change. This event will be sent by SF anytime it changes the display config. Test: Generate DISPLAY_EVENT_CONFIG_CHANGED and observe the log Bug: 122905403 Change-Id: Ifa473a34d7b313501e5e4e8a67186fb82754fdcd
2019-02-04Generalize physical display managementDominik Laskowski
This CL enables the framework to manage an arbitrary number of physical displays. It also surfaces physical display IDs, which are stable across reboots and encode (model, port) information that will be propagated further up in a follow-up CL. Bug: 116025192 Test: Boot with more than two displays Test: Hotplug works with any number of displays Test: Verify stable display IDs with "dumpsys display" Change-Id: Idb2eaff66b2e0873be6ad27d337ff18b730d1331
2016-04-27Fix google-explicit-constructor warnings.Chih-Hung Hsieh
Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
2016-04-14Change storage duration to static for native choreographer.Michael Wright
This ensures that the region is zero initialized, regardless of compiler. Change-Id: Ie0bfa5d2cd2486ba31a45aee4de6c370513bfc62
2016-04-08Add choreographer API to the NDK.Michael Wright
Change-Id: Icb8cffd3cd3bd06814466be72db3e26f6a62cbc6