Merge changes from topic "scdocs"
* changes: Use AVsyncId typedef in hwui. Use AVsyncId typedef.
This commit is contained in:
commit
abe5a0016f
@ -117,7 +117,7 @@ void RenderThread::extendedFrameCallback(const AChoreographerFrameCallbackData*
|
||||
RenderThread* rt = reinterpret_cast<RenderThread*>(data);
|
||||
size_t preferredFrameTimelineIndex =
|
||||
AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(cbData);
|
||||
int64_t vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
|
||||
AVsyncId vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
|
||||
cbData, preferredFrameTimelineIndex);
|
||||
int64_t frameDeadline = AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos(
|
||||
cbData, preferredFrameTimelineIndex);
|
||||
|
@ -67,7 +67,7 @@ size_t AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(
|
||||
const AChoreographerFrameCallbackData* data) {
|
||||
return AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex(data);
|
||||
}
|
||||
int64_t AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
|
||||
AVsyncId AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
|
||||
const AChoreographerFrameCallbackData* data, size_t index) {
|
||||
return AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId(data, index);
|
||||
}
|
||||
|
@ -661,7 +661,7 @@ void ASurfaceTransaction_setOnCommit(ASurfaceTransaction* aSurfaceTransaction, v
|
||||
}
|
||||
|
||||
void ASurfaceTransaction_setFrameTimeline(ASurfaceTransaction* aSurfaceTransaction,
|
||||
int64_t vsyncId) {
|
||||
AVsyncId vsyncId) {
|
||||
CHECK_NOT_NULL(aSurfaceTransaction);
|
||||
// TODO(b/210043506): Get start time from platform.
|
||||
ASurfaceTransaction_to_Transaction(aSurfaceTransaction)
|
||||
|
Loading…
x
Reference in New Issue
Block a user