From 841fbef8a6c61fd6dccf04f640abb5d3701957a3 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Mon, 6 Apr 2020 22:03:54 +0100 Subject: [PATCH] wasp: testapp: Add RLE drawing benchmarks. --- wasp/apps/testapp.py | 70 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/wasp/apps/testapp.py b/wasp/apps/testapp.py index 478249f..eece822 100644 --- a/wasp/apps/testapp.py +++ b/wasp/apps/testapp.py @@ -11,8 +11,42 @@ class TestApp(): NAME = 'Self Test' ICON = icons.app + # 2-bit RLE, generated from res/app_icon.png, 457 bytes + RLE_2BIT = ( + 96, 64, + b'\x1e@md