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

Skip to content
Commit f0c65499 authored by Chong Zhang's avatar Chong Zhang
Browse files

Unbind texture buffer after each drawLayers call

This is to make sure that the source buffer gets removed from
the RenderEngine's image cache, otherwise it may leak memory.

bug: 162202251
test: CTS MetadataRetrieverTest; also test with local test app
that extracts many frames from hdr video clips, meminfo should
not show growing graphics memory before & after the app run.

Change-Id: Id970281732322da68a670a69bbe2f20a20881ebc
parent cb7e4189
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment