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)
This commit is contained in:
parent
cb1f204387
commit
70626a863a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user