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

Commit 70626a86 authored by khmel@google.com's avatar khmel@google.com Committed by Yury Khmel
Browse files

arc: Switch to measure Hardware surfaces.

This switches SurfaceView performance measurement to hardware canvas
type. Sloweness of this sub-test is caused by CPU blit operation. This
type is not highest priority for ARC++ and hardware rendering has more
sense to check.

Bug: 116859584
Test: Manually, FPS is 60 for caroline, which is expected.
Change-Id: Ic683c040e6089b878772e902f7a975898848b364
(cherry picked from commit 10da79663169f5d59a50d1a24b53d89f9844977a)
(cherry picked from commit 198a8d4c3b879d54681515367e13347cd258672a)
parent cb1f2043
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class CustomSurfaceView extends SurfaceView implements SurfaceHolder.Call
            if (traceCalls) {
                Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, LOCAL_REQUEST_BUFFER);
            }
            Canvas canvas = mSurface.lockCanvas(null);
            Canvas canvas = mSurface.lockHardwareCanvas();
            if (traceCalls) {
                Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS);
            }