Home | History | Annotate | Download | only in gui

Lines Matching defs:fenceFd

177         ANativeWindowBuffer** buffer, int* fenceFd) {
179 return c->dequeueBuffer(buffer, fenceFd);
183 ANativeWindowBuffer* buffer, int fenceFd) {
185 return c->cancelBuffer(buffer, fenceFd);
189 ANativeWindowBuffer* buffer, int fenceFd) {
191 return c->queueBuffer(buffer, fenceFd);
198 int fenceFd = -1;
199 int result = c->dequeueBuffer(&buf, &fenceFd);
203 sp<Fence> fence(new Fence(fenceFd));
266 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) {
289 *fenceFd = -1;
330 *fenceFd = fence->dup();
331 if (*fenceFd == -1) {
338 *fenceFd = -1;
355 int fenceFd) {
361 if (fenceFd >= 0) {
362 close(fenceFd);
367 if (fenceFd >= 0) {
368 close(fenceFd);
372 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
400 int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) {
417 if (fenceFd >= 0) {
418 close(fenceFd);
423 if (fenceFd >= 0) {
424 close(fenceFd);
434 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
1247 int fenceFd = -1;
1248 status_t err = dequeueBuffer(&out, &fenceFd);
1304 newDirtyRegion.bounds(), &vaddr, fenceFd);