summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2023-12-19 17:04:07 -0500
committer John Reck <jreck@google.com> 2024-01-10 18:08:16 -0500
commit434bc98a0fec826dfdffc19658ba12b9a9da606c (patch)
tree6a6f0292370de1e7665ef062cc1233b819e41783 /libs/gui/ConsumerBase.cpp
parent19db87d0b7c805825c8df79653bf3b58ef35aa4a (diff)
Move PlaneLayout lookup to GraphicBuffer
This keeps GraphicBufferMapper's lock closer to a raw lock avoiding the PlaneLayout query if nobody is asking for it, reduces code duplication between Gralloc 4 & 5, and enables caching of the PlaneLayout to minimize queries Partial step towards an extended lock buffer API Also begin modernizing the API surface using a proper Result<T> along with an error enum class Test: make && atest Bug: 288142323 Change-Id: Ib4590b7a3b839a993f6c747c5f09a6312f7ab329
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions