Commit Graph

102 Commits (1003ed90830804738ea28833d786b9faf4630f42)

Author SHA1 Message Date
Jan Pochyla e89699817f modtrezorui: Display.save skips identical screens (#530)
6 years ago
Pavol Rusnak 0b7dbc12cb
format: start using clang-format with style=Google
6 years ago
Pavol Rusnak 4f28093d2e
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator
6 years ago
Jan Pochyla cfad075dcf sdl: allow HIDPI window
6 years ago
Pavol Rusnak 806805e296
replace all usage of memset(_, 0, _) with memzero
6 years ago
Jan Pochyla faa665a80b unix: fix SDL issues in MacOS Mojave
6 years ago
Pavol Rusnak b4894c3431
unix: add raspi target
6 years ago
Pavol Rusnak 0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
6 years ago
Pavol Rusnak 2a06ff4986
embed/firmware: add T1 display support, apply T1 fixes
6 years ago
Pavol Rusnak 72d1c457c2
embed/extmod/modtrezorui: fix minor issue in display_print
6 years ago
Pavol Rusnak 108d84051e
embed/extmod/modtrezorui: add more T1/T2 ifdefs to display functions
6 years ago
Pavol Rusnak fb816bd2de
embed/extmod/modtrezorui: properly set backlight and bpp for T1 display
6 years ago
Pavol Rusnak 7880b67451
embed/extmod/modtrezorui: display code reorg/cleanup
6 years ago
Pavol Rusnak 4a76756b75
embed/extmod/modtrezorui: use software renderer
6 years ago
Pavol Rusnak 8874925fb8
unix: support backgrounds for models T and 1
6 years ago
Pavol Rusnak f23f751ab0
extmod/modtrezorui: prepare display UI for model change
6 years ago
Pavol Rusnak e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI
6 years ago
Pavol Rusnak e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic
6 years ago
Pavol Rusnak 6801b61514
embed/extmod/modtrezorui: remove FONT_PY_TO_C/FONT_C_TO_PY, use (signed) int globally for font id
6 years ago
Pavol Rusnak 3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
6 years ago
Pavol Rusnak e3d18ecb47
embed: refactor display_identify into a "getter" function
6 years ago
Pavol Rusnak 3022cd50c8
embed: use runtime detection of connected display controller
6 years ago
Pavol Rusnak 7b8266221d
embed: use static where appropriate in display-stm32.h
6 years ago
Pavol Rusnak 68ef9b9322
embed: add comment about why first value of display_id is discarded
6 years ago
Pavol Rusnak bc5dba751a
embed: refactor display_identify in display-stm32
6 years ago
mcudev c0b5d33743 display_identify: improve identification of ILI9341
6 years ago
Pavol Rusnak 4ebd7d2ad8
embed/extmod/modtrezorui: fix typo in display-stm32.h
6 years ago
Pavol Rusnak f1dc43f951
embed: don't sync in display_refresh when using GC9307
6 years ago
Pavol Rusnak e7a74ccfee
embed: add support for GC9307 display driver
6 years ago
Pavol Rusnak f4252d755c
embed: introduce display_identify
6 years ago
Pavol Rusnak 32fbc69c30
embed: refactor BUFFER_OFFSET modification in display_set_orientation
6 years ago
Pavol Rusnak fecc6e53a0
tools: update tools to generate clang-format compatible output
6 years ago
Pavol Rusnak 657de0274d
embed/unix: save only cropped part of the screenshot
6 years ago
Pavol Rusnak 35dcd917dd
embed/unix: save screenshot on "P" press in emulator
6 years ago
Jan Pochyla 7630201a57 debug: do not rely on mp_optimise_value
6 years ago
Jan Pochyla 2603c477c5 embed/extmod/modtrezorui: distinguish font ids from colors
6 years ago
Jan Pochyla 6ceb3f2770 embed/extmod/modtrezorui: text functions return width
6 years ago
Pavol Rusnak 55f3edebda
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)
7 years ago
Jochen Hoenicke 5fc368e330 display: show qr-code correctly (was mirrored)
7 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
7 years ago
Pavol Rusnak c1f097f2b4
embed/extmod/modtrezorui: introduce frame numbering to display.save
7 years ago
Pavol Rusnak 081dcdd98f
embed/unix: resize emulator window if no background image found
7 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
7 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
7 years ago
Pavol Rusnak 64f7089d45
embed/extmod/modtrezorui: implement proper backlight
7 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
7 years ago
Pavol Rusnak d5ab82ae2b
embed/extmod/modtrezorui: refactor DISPLAY_OFFSET
7 years ago
Pavol Rusnak 30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures
7 years ago
Pavol Rusnak e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display
7 years ago
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
7 years ago