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

Commit 0476a0ce authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am 338ccf43: Merge change Id2906ad8 into eclair

Merge commit '338ccf43b6a4468aea6aa7d831be7d6c8d8d134d' into eclair-plus-aosp

* commit '338ccf43b6a4468aea6aa7d831be7d6c8d8d134d':
  Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.
parents 1d04f867 c6c6237a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -126,7 +126,8 @@ void QComHardwareRenderer::publishBuffers(uint32_t pmem_fd) {

    master->setDevice("/dev/pmem");

    mMemoryHeap = new MemoryHeapPmem(master, 0);
    uint32_t heap_flags = master->getFlags() & MemoryHeapBase::NO_CACHING;
    mMemoryHeap = new MemoryHeapPmem(master, heap_flags);
    mMemoryHeap->slap();

    ISurface::BufferHeap bufferHeap(