Changeset 8aef01c in mainline for uspace/srv/hid/display/main.c
- Timestamp:
- 2020-06-07T10:18:14Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a65b0c8
- Parents:
- 6301a24f
- git-author:
- Jiri Svoboda <jiri@…> (2020-06-07 10:11:32)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-06-07 10:18:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/main.c
r6301a24f r8aef01c 59 59 static void display_client_ev_pending(void *); 60 60 61 #ifdef CONFIG_DISP_DOUBLE_BUF 62 /* 63 * Double buffering is one way to provide flicker-free display. 64 */ 65 static ds_display_flags_t disp_flags = df_disp_double_buf; 66 #else 67 /* 68 * With double buffering disabled, wet screen flicker since front-to-back 69 * rendering is not implemented. 70 */ 71 static ds_display_flags_t disp_flags = df_none; 72 #endif 73 61 74 static ds_client_cb_t display_client_cb = { 62 75 .ev_pending = display_client_ev_pending … … 81 94 log_msg(LOG_DEFAULT, LVL_DEBUG, "display_srv_init()"); 82 95 83 rc = ds_display_create(NULL, &disp);96 rc = ds_display_create(NULL, disp_flags, &disp); 84 97 if (rc != EOK) 85 98 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.