DescriptionRevert of Android: Free GLHelper context ashmem when it makes sense (patchset #4 id:60001 of https://codereview.chromium.org/2336043004/ )
Reason for revert:
Causes a null pointer crash. And also apparently doesn't work?
BUG=652050
Original issue's description:
> Android: Free GLHelper context ashmem when it makes sense
>
> Free the 'mapped_memory' that is used in readbacks through
> CopyFromCompositingSurface() when there is memory pressure
> in the system (or no activities are running and a readback
> completes).
>
> This memory gets lazily allocated during the first readback
> and it'd be the size of the texture after scaling. Freeing it
> is harmless at a slight reallocation cost when the next readback
> is triggered.
>
> BUG=641962
> TBR=boliu@chromium.org
>
> Committed: https://crrev.com/98f7c133cdef22c26922c56371f84989f7a2cd60
> Cr-Commit-Position: refs/heads/master@{#421357}
TBR=danakj@chromium.org,sievers@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=641962
Committed: https://crrev.com/4201167e8b04762db61cc037cc83537c298e2f53
Cr-Commit-Position: refs/heads/master@{#422574}
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|