Changeset 84e74ea in mainline
- Timestamp:
- 2020-06-08T18:30:52Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc492d5
- Parents:
- a65b0c8
- Location:
- uspace/srv/hid/display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/cursor.c
ra65b0c8 r84e74ea 103 103 errno_t rc; 104 104 105 dgc = ds_display_get_gc(cursor->display); // XXX105 dgc = ds_display_get_gc(cursor->display); 106 106 if (dgc == NULL) 107 107 return EOK; -
uspace/srv/hid/display/display.c
ra65b0c8 r84e74ea 585 585 } 586 586 587 // XXX 587 /** Get unbuffered GC. 588 * 589 * Get the display's (unbuffered) graphic context. If the display 590 * is double-buffered, this returns GC of the front buffer. If the display 591 * is unbuffered, this is the same as @c ds_display_get_gc(). 592 * 593 * @param display Display 594 * @return Unbuffered GC 595 */ 588 596 static gfx_context_t *ds_display_get_unbuf_gc(ds_display_t *display) 589 597 { 590 598 ds_ddev_t *ddev; 591 599 600 /* 601 * XXX To properly support multiple display devices, create 602 * a cloning GC that copies rendering operation to each output. 603 */ 592 604 ddev = ds_display_first_ddev(display); 593 605 if (ddev == NULL) … … 597 609 } 598 610 599 // XXX 611 /** Get display GC. 612 * 613 * Get the graphic context used to paint the display. This is to be used 614 * for all display server paint operations. 615 * 616 * @param display Display 617 * @return Graphic context for painting to the display 618 */ 600 619 gfx_context_t *ds_display_get_gc(ds_display_t *display) 601 620 { … … 622 641 crect = disp->rect; 623 642 624 gc = ds_display_get_gc(disp); // XXX643 gc = ds_display_get_gc(disp); 625 644 if (gc == NULL) 626 645 return EOK; -
uspace/srv/hid/display/window.c
ra65b0c8 r84e74ea 84 84 bparams.rect = params->rect; 85 85 86 dgc = ds_display_get_gc(wnd->display); // XXX86 dgc = ds_display_get_gc(wnd->display); 87 87 if (dgc != NULL) { 88 88 rc = gfx_bitmap_create(dgc, &bparams, NULL, &wnd->bitmap); … … 268 268 return rc; 269 269 270 gc = ds_display_get_gc(wnd->display); // XXX270 gc = ds_display_get_gc(wnd->display); 271 271 if (gc != NULL) { 272 272 gfx_set_color(gc, color); … … 695 695 errno_t rc; 696 696 697 dgc = ds_display_get_gc(wnd->display); // XXX697 dgc = ds_display_get_gc(wnd->display); 698 698 if (dgc != NULL) { 699 699 gfx_bitmap_params_init(&bparams);
Note:
See TracChangeset
for help on using the changeset viewer.