Lines Matching refs:fenceFd
124 ANativeWindowBuffer** buffer, int* fenceFd) {
126 return c->dequeueBuffer(buffer, fenceFd);
130 ANativeWindowBuffer* buffer, int fenceFd) {
132 return c->cancelBuffer(buffer, fenceFd);
136 ANativeWindowBuffer* buffer, int fenceFd) {
138 return c->queueBuffer(buffer, fenceFd);
145 int fenceFd = -1;
146 int result = c->dequeueBuffer(&buf, &fenceFd);
147 sp<Fence> fence(new Fence(fenceFd));
207 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) {
261 *fenceFd = fence->dup();
262 if (*fenceFd == -1) {
269 *fenceFd = -1;
277 int fenceFd) {
283 if (fenceFd >= 0) {
284 close(fenceFd);
288 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
311 int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) {
327 if (fenceFd >= 0) {
328 close(fenceFd);
338 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
1010 int fenceFd = -1;
1011 status_t err = dequeueBuffer(&out, &fenceFd);
1067 newDirtyRegion.bounds(), &vaddr, fenceFd);