/frameworks/av/media/codec2/vndk/ |
D | C2Fence.cpp | 375 SyncFenceImpl(const std::vector<sp<Fence>>& fences, const sp<Fence> &finalFence) : in SyncFenceImpl() argument 376 mListFences(fences), in SyncFenceImpl() 404 std::vector<sp<Fence>> fences; in CreateFromNativeHandle() local 413 fences.push_back(fence); in CreateFromNativeHandle() 421 if (fences.size() == 0) { in CreateFromNativeHandle() 424 } else if (fences.size() == 1) { in CreateFromNativeHandle() 425 p = std::make_shared<SyncFenceImpl>(fences[0]); in CreateFromNativeHandle() 430 sp<Fence> finalFence = fences.back(); in CreateFromNativeHandle() 431 fences.pop_back(); in CreateFromNativeHandle() 437 if (fences.size() == 1) { in CreateFromNativeHandle() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | PresentLatencyTrackerTest.cpp | 49 std::array<FenceToFenceTimeMap::FencePair, PresentLatencyTracker::kMaxPendingFrames> fences; in TEST() local 50 std::generate(fences.begin(), fences.end(), in TEST() 55 for (const auto& [fence, fenceTime] : fences) { in TEST() 60 constexpr size_t kPresentCount = fences.size() / 2; in TEST() 62 fences[i].second->signalForTest(kCompositeTime.ns() + static_cast<nsecs_t>(i)); in TEST()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncReactorTest.cpp | 161 std::array<std::shared_ptr<android::FenceTime>, kPendingLimit * 2> fences; in TEST_F() local 162 std::array<nsecs_t, fences.size()> fakeTimes; in TEST_F() 163 std::generate(fences.begin(), fences.end(), [] { return generatePendingFence(); }); in TEST_F() 169 for (auto const& fence : fences) { in TEST_F() 173 for (auto i = fences.size() - kPendingLimit; i < fences.size(); i++) { in TEST_F() 177 for (auto i = 0u; i < fences.size(); i++) { in TEST_F() 178 signalFenceWithTime(fences[i], fakeTimes[i]); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Display.cpp | 374 auto fences = impl::Output::presentFrame(); in presentFrame() local 378 return fences; in presentFrame() 395 fences.presentFence = hwc.getPresentFence(*halDisplayIdOpt); in presentFrame() 404 fences.layerFences.emplace(hwcLayer, hwc.getLayerReleaseFence(*halDisplayIdOpt, hwcLayer)); in presentFrame() 409 return fences; in presentFrame()
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 610 auto fences = allFences(this); in getFlattenedSize() local 612 std::accumulate(fences.begin(), fences.end(), size_t(0), in getFlattenedSize() 619 auto fences = allFences(this); in getFdCount() local 620 return std::accumulate(fences.begin(), fences.end(), size_t(0), in getFdCount()
|
/frameworks/av/media/codec2/tests/aidl/ |
D | GraphicsTracker_test.cpp | 575 sp<Fence> fences[maxNumAlloc]; in TEST_F() local 583 0, 0, 0, kTestUsageFlag, &bufs[i], &fences[i])); in TEST_F() 586 ASSERT_EQ(true, frameQueue.queueItem(bufs[i], fences[i])); in TEST_F() 591 0, 0, 0, kTestUsageFlag, &bufs[numAlloc], &fences[numAlloc]); in TEST_F() 631 ASSERT_EQ(true, frameQueue.queueItem(bufs[i], fences[i])); in TEST_F() 685 0, 0, 0, kTestUsageFlag, &bufs[0], &fences[0])); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger_flags_new.aconfig | 16 description: "Moves logic for buffer release fences into LayerFE"
|
D | surfaceflinger_flags.aconfig | 172 description: "Bug fix around screenshot fences"
|
D | SurfaceFlinger.cpp | 8615 const auto& fences = compositionResult.releaseFences; in renderScreenImpl() local 8618 return fences.empty() ? Fence::NO_FENCE in renderScreenImpl() 8619 : fences.back().first.get(); in renderScreenImpl()
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | glext_api.in | 388 void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { 389 CALL_GL_API(glDeleteFencesNV, n, fences); 391 void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { 392 CALL_GL_API(glGenFencesNV, n, fences);
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 505 int fences[BUFFER_COUNT]; in TEST_F() local 509 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); in TEST_F() 512 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); in TEST_F() 528 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); in TEST_F() 531 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0])); in TEST_F() 542 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); in TEST_F() 545 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); in TEST_F()
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 812 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 813 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 820 GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 821 GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | AidlComposerHal.cpp | 655 std::vector<ReleaseFences::Layer> fences; in getReleaseFences() local 659 fences = reader->get().takeReleaseFences(translate<int64_t>(display)); in getReleaseFences() 665 outLayers->reserve(fences.size()); in getReleaseFences() 666 outReleaseFences->reserve(fences.size()); in getReleaseFences() 668 for (auto& fence : fences) { in getReleaseFences()
|
/frameworks/native/opengl/libs/ |
D | entries_gles1.in | 48 GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint *fences) 113 GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint *fences)
|
D | entries.in | 146 GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint *fences) 304 GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint *fences)
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 949 void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { 950 CALL_GL_API(glDeleteFencesNV, n, fences); 952 void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { 953 CALL_GL_API(glGenFencesNV, n, fences);
|
/frameworks/native/services/surfaceflinger/sysprop/ |
D | SurfaceFlingerProperties.sysprop | 136 # Specify the offset in nanoseconds to add to vsync time when timestamping present fences.
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 176 c2_status_t merge(std::vector<C2Fence> fences);
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2ext.h | 2682 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 2683 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 2690 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 2691 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
|