Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: target/dartuinoP0/include/target/display/LS013B7DH06.h

Issue 1755273004: [display] Add DISPLAY_FORMAT_RGB_x111 (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « target/dartuinoP0/display/LS013B7DH06.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: target/dartuinoP0/include/target/display/LS013B7DH06.h
diff --git a/target/dartuinoP0/include/target/display/LS013B7DH06.h b/target/dartuinoP0/include/target/display/LS013B7DH06.h
index 17564939423dfe9a19b8c7e458e160406ed9ddfc..e4cd964c8de09b060b8b0ede8350f219392d8200 100644
--- a/target/dartuinoP0/include/target/display/LS013B7DH06.h
+++ b/target/dartuinoP0/include/target/display/LS013B7DH06.h
@@ -33,7 +33,13 @@
// 3 bits per pixel (1 for each of RBG) divided by 8 bits per byte.
#define MLCD_BYTES_LINE ((MLCD_WIDTH * 3) / 8)
+#if 0
+// For gbskia
+#define FB_FORMAT (DISPLAY_FORMAT_RGB_x111)
+#define FB_STRIDE ((MLCD_WIDTH + 1) >> 1)
+#else
#define FB_FORMAT (DISPLAY_FORMAT_RGB_332)
#define FB_STRIDE (MLCD_WIDTH)
+#endif
uint8_t lcd_get_line(uint8_t *framebuffer, uint8_t idx, uint8_t *result);
« no previous file with comments | « target/dartuinoP0/display/LS013B7DH06.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698