Lines Matching refs:point
179 for (auto& point : mRemoteSyncPoints) {
180 point->setTransactionApplied();
182 for (auto& point : mLocalSyncPoints) {
183 point->setFrameAvailable();
406 // a viewport clipping and a window transform. we should use floating point to fix this.
1107 bool Layer::addSyncPoint(const std::shared_ptr<SyncPoint>& point) {
1108 if (point->getFrameNumber() <= mCurrentFrameNumber) {
1115 mLocalSyncPoints.push_back(point);
1151 static void boundPoint(vec2* point, const Rect& crop) {
1152 if (point->x < crop.left) {
1153 point->x = crop.left;
1155 if (point->x > crop.right) {
1156 point->x = crop.right;
1158 if (point->y < crop.top) {
1159 point->y = crop.top;
1161 if (point->y > crop.bottom) {
1162 point->y = crop.bottom;
1272 // point and send it to the remote layer.
1314 // If we don't have a sync point for this, apply it anyway. It
1317 ALOGE("[%s] No local sync point found", mName.string());
1325 ALOGE("[%s] Unexpected sync point frame number found",
1328 // Signal our end of the sync point and then dispose of it
1339 // Signal our end of the sync point and then dispose of it
1351 // If we still have pending updates, wake SurfaceFlinger back up and point
1365 for (auto& point : mLocalSyncPoints) {
1366 if (headFrameNumber >= point->getFrameNumber()) {
1367 point->setFrameAvailable();
1413 // record the new size, form this point on, when the client request
1478 for (auto& point : mLocalSyncPoints) {
1479 point->setFrameAvailable();
1749 // a composition step, we have to skip this layer at this point
1888 for (auto& point : mLocalSyncPoints) {
1889 if (point->getFrameNumber() > headFrameNumber) {
1895 if (!point->frameIsAvailable()) {
1897 // this point is available yet. Notify it now, and then
1899 point->setFrameAvailable();
1904 allTransactionsApplied &= point->transactionIsApplied();
2034 auto point = mLocalSyncPoints.begin();
2035 while (point != mLocalSyncPoints.end()) {
2036 if (!(*point)->frameIsAvailable() ||
2037 !(*point)->transactionIsApplied()) {
2038 // This sync point must have been added since we started
2040 ++point;
2044 if ((*point)->getFrameNumber() <= mCurrentFrameNumber) {
2045 point = mLocalSyncPoints.erase(point);
2047 ++point;