Searched refs:fences (Results 1 - 6 of 6) sorted by relevance
/frameworks/native/libs/gui/ |
H A D | FrameTimestamps.cpp | 527 auto fences = allFences(this); local 529 std::accumulate(fences.begin(), fences.end(), size_t(0), 536 auto fences = allFences(this); local 537 return std::accumulate(fences.begin(), fences.end(), size_t(0),
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 345 int fences[BUFFER_COUNT]; local 349 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 352 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); 368 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); 371 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0])); 382 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 385 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); 1299 // Signal acquire fences. Verify a sync call still isn't necessary. 1328 // Signal acquire fences. Verify a sync call still isn't necessary. 1368 // This test verifies that fences ca [all...] |
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Buffer.h | 54 * Events are analogous to std::promise<void>, whereas fences are to std::shared_future<void>. 66 * Fences can be backed by hardware. Hardware fences are guaranteed to signal NO MATTER WHAT within 75 * To be implemented by vendors if using HW fences. 83 * event, but fences are shared so canceling a wait will cancel all waits. 121 * \todo this must be compatible with fences used by gralloc 141 * Hardware backed events do not go through this object, and must be exposed directly as fences 164 * Trigger this event from the merging of the supplied fences. This means that it will be 165 * abandoned if any of these fences have been abandoned, and it will be fired if all of these 166 * fences have been signaled. 175 C2Error merge(std::vector<C2Fence> fences); [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2Test.cpp | 861 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to get release fences"; 1594 std::vector<int32_t> fences; local 1602 ASSERT_NO_FATAL_FAILURE(getReleaseFences(display, &layers, &fences)); 1603 EXPECT_EQ(layers.size(), fences.size()); 1605 for (int32_t fence : fences) { 4099 /* TESTCASE: Tests that the HWC2 cannot get release fences from a bad display. */ 4104 std::vector<int32_t> fences; local 4109 ASSERT_NO_FATAL_FAILURE(getReleaseFences(display, &layers, &fences, &err));
|
/frameworks/native/opengl/include/GLES/ |
H A D | glext.h | 1186 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 1187 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
|
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2ext.h | 2222 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 2223 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 2230 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 2231 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
|
Completed in 2562 milliseconds