diff options
| author | 2021-05-04 13:47:34 -0400 | |
|---|---|---|
| committer | 2021-05-05 08:48:20 -0400 | |
| commit | b24258c10c7430f3cea3fe4cb207c35922bdca2f (patch) | |
| tree | 2ea5ef8fdbeed765ca87f771e6dca139953aebcc /libs/gui/SurfaceControl.cpp | |
| parent | f938c3002201876665b12117604ff4520aca53ce (diff) | |
Do not map protected buffers to GPU resources and cache the result
This is in line with the older version of RenderEngine and prevents
the device from exhausting its limited protected GPU memory on cached
objects.
This CL also ensures that upon switching to/from a protected context
that the Skia GPU state is properly initialized and any scratch
resources that were being held onto are purged.
Test: atest com.google.android.media.gts.WidevineDashPolicyTests
Bug: 186158883
Bug: 183391755
Change-Id: I31c03a7589feea6f5d2eb244f77b934e1868326d
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions