Home
last modified time | relevance | path

Searched refs:fences (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp160 std::array<std::shared_ptr<android::FenceTime>, kPendingLimit * 2> fences; in TEST_F() local
161 std::array<nsecs_t, fences.size()> fakeTimes; in TEST_F()
162 std::generate(fences.begin(), fences.end(), [] { return generatePendingFence(); }); in TEST_F()
168 for (auto const& fence : fences) { in TEST_F()
172 for (auto i = fences.size() - kPendingLimit; i < fences.size(); i++) { in TEST_F()
176 for (auto i = 0u; i < fences.size(); i++) { in TEST_F()
177 signalFenceWithTime(fences[i], fakeTimes[i]); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp326 auto fences = impl::Output::presentAndGetFrameFences(); in presentAndGetFrameFences() local
330 return fences; in presentAndGetFrameFences()
337 fences.presentFence = hwc.getPresentFence(*halDisplayIdOpt); in presentAndGetFrameFences()
346 fences.layerFences.emplace(hwcLayer, hwc.getLayerReleaseFence(*halDisplayIdOpt, hwcLayer)); in presentAndGetFrameFences()
351 return fences; in presentAndGetFrameFences()
/frameworks/native/libs/gui/
DFrameTimestamps.cpp539 auto fences = allFences(this); in getFlattenedSize() local
541 std::accumulate(fences.begin(), fences.end(), size_t(0), in getFlattenedSize()
548 auto fences = allFences(this); in getFdCount() local
549 return std::accumulate(fences.begin(), fences.end(), size_t(0), in getFdCount()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in388 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/
DSurface_test.cpp556 int fences[BUFFER_COUNT]; in TEST_F() local
560 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); in TEST_F()
563 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); in TEST_F()
579 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); in TEST_F()
582 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0])); in TEST_F()
593 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); in TEST_F()
596 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); in TEST_F()
/frameworks/native/opengl/include/GLES/
Dglext.h812 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/opengl/libs/
Dentries_gles1.in48 GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint *fences)
113 GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint *fences)
Dentries.in146 GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint *fences)
304 GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint *fences)
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop136 # Specify the offset in nanoseconds to add to vsync time when timestamping present fences.
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in949 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/av/media/codec2/core/include/
DC2Buffer.h173 c2_status_t merge(std::vector<C2Fence> fences);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2682 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);