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

Commit e62c5cb6 authored by Peiyong Lin's avatar Peiyong Lin
Browse files

[RenderEngine] Dump whether protected context is supported.

BUG: 131689674
Test: adb shell dumpsys SurfaceFlinger
Change-Id: Ib769f5c86bb57b6e818e25fde561cdf88c644645
parent 8b30c364
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1311,6 +1311,8 @@ void GLESRenderEngine::dump(std::string& result) {
    StringAppendF(&result, "GLES: %s, %s, %s\n", extensions.getVendor(), extensions.getRenderer(),
                  extensions.getVersion());
    StringAppendF(&result, "%s\n", extensions.getExtensions());
    StringAppendF(&result, "RenderEngine supports protected context: %d\n",
                  supportsProtectedContent());
    StringAppendF(&result, "RenderEngine is in protected context: %d\n", mInProtectedContext);
    StringAppendF(&result, "RenderEngine program cache size for unprotected context: %zu\n",
                  cache.getSize(mEGLContext));