Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53d2c2c5 authored by Jim Shargo's avatar Jim Shargo
Browse files

bqhelper: Remove support for passing GL fences into BQs

These are going away since they're prone to cause deadlocks,
overcomplicate the API, and have been superceded by normal fd-based
fences (that can be derived from GL fences on most platforms).

Bug: 339705065
Flag: EXEMPT refactor
Test: old tests
Change-Id: I53a1aac877975dc7dd1be70533290141031bd091
parent c3849ec2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -996,8 +996,7 @@ status_t GraphicBufferSource::acquireBuffer_l(VideoBuffer *ab) {
                    // somehow need to propagate frame number to that queue
                    if (buffer->isCached()) {
                        --mNumOutstandingAcquires;
                        mConsumer->releaseBuffer(
                                buffer->getSlot(), frameNum, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR,
                        mConsumer->releaseBuffer(buffer->getSlot(), frameNum,
                                                 buffer->getReleaseFence());
                    }
                },