commit | 31f2b3c097188cad216db84a45df172de149bd14 | [log] [tgz] |
---|---|---|
author | Ana Krulec <akrulec@google.com> | Mon Dec 14 14:30:09 2020 -0800 |
committer | Ana Krulec <akrulec@google.com> | Tue Dec 15 16:35:49 2020 -0800 |
tree | 2012a7d65687c35dc1b4ee099fd1c0136e978d9b | |
parent | 91a8a22a02318a192290c508b63d08de114405b7 [diff] [blame] |
Plumbing through GPU context priority TODO: Actually return priority from Render engine, instead of random number. Test: Compile and observe logcat. Bug: 168740533 Change-Id: Id8d93e315162708a2a8afa1e87ebdf97ab53a20f
diff --git a/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h b/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h index 030073c..7f05a75 100644 --- a/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h +++ b/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h
@@ -388,6 +388,8 @@ return mFlinger->onTransact(code, data, reply, flags); } + auto getGPUContextPriority() { return mFlinger->getGPUContextPriority(); } + /* ------------------------------------------------------------------------ * Read-only access to private data to assert post-conditions. */