Changeset 7c3fb9b in mainline for uspace/srv/hid


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/srv/hid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/compositor/compositor.c

    rfac0ac7 r7c3fb9b  
    7777#define NAMESPACE  "comp"
    7878
    79 /* Until there is blitter support and some further optimizations, window
    80  * animations are too slow to be practically usable. */
     79/*
     80 * Until there is blitter support and some further optimizations, window
     81 * animations are too slow to be practically usable.
     82 */
    8183#ifndef ANIMATE_WINDOW_TRANSFORMS
    8284#define ANIMATE_WINDOW_TRANSFORMS 0
     
    422424                            link != &window_list.head; link = link->prev) {
    423425
    424                                 /* Determine what part of the window intersects with the
    425                                  * updated area of the current viewport. */
     426                                /*
     427                                 * Determine what part of the window intersects with the
     428                                 * updated area of the current viewport.
     429                                 */
    426430                                window_t *win = list_get_instance(link, window_t, link);
    427431                                if (!win->surface) {
     
    438442
    439443                                if (isec_win) {
    440                                         /* Prepare conversion from global coordinates to viewport
    441                                          * coordinates. */
     444                                        /*
     445                                         * Prepare conversion from global coordinates to viewport
     446                                         * coordinates.
     447                                         */
    442448                                        transform = win->transform;
    443449                                        double_point_t pos;
     
    470476
    471477                                        if (isec_ghost) {
    472                                                 /* FIXME: Ghost is currently drawn based on the bounding
     478                                                /*
     479                                                 * FIXME: Ghost is currently drawn based on the bounding
    473480                                                 * rectangle of the window, which is sufficient as long
    474481                                                 * as the windows can be rotated only by 90 degrees.
     
    476483                                                 * rotation, it should be drawn as four lines adjusted
    477484                                                 * by the transformation matrix. That would however
    478                                                  * require to equip libdraw with line drawing functionality. */
     485                                                 * require to equip libdraw with line drawing functionality.
     486                                                 */
    479487
    480488                                                transform_t transform = ptr->ghost.transform;
     
    532540                        list_foreach(pointer_list, link, pointer_t, ptr) {
    533541
    534                                 /* Determine what part of the pointer intersects with the
    535                                  * updated area of the current viewport. */
     542                                /*
     543                                 * Determine what part of the pointer intersects with the
     544                                 * updated area of the current viewport.
     545                                 */
    536546                                sysarg_t x_dmg_ptr, y_dmg_ptr, w_dmg_ptr, h_dmg_ptr;
    537547                                surface_t *sf_ptr = ptr->cursor.states[ptr->state];
     
    543553
    544554                                if (isec_ptr) {
    545                                         /* Pointer is currently painted directly by copying pixels.
     555                                        /*
     556                                         * Pointer is currently painted directly by copying pixels.
    546557                                         * However, it is possible to draw the pointer similarly
    547558                                         * as window by using drawctx_transfer. It would allow
    548559                                         * more sophisticated control over drawing, but would also
    549                                          * cost more regarding the performance. */
     560                                         * cost more regarding the performance.
     561                                         */
    550562
    551563                                        sysarg_t x_vp = x_dmg_ptr - vp->pos.x;
     
    857869        loc_service_unregister(win->out_dsid);
    858870
    859         /* In case the client was killed, input fibril of the window might be
    860          * still blocked on the condition within comp_window_get_event. */
     871        /*
     872         * In case the client was killed, input fibril of the window might be
     873         * still blocked on the condition within comp_window_get_event.
     874         */
    861875        window_event_t *event_dummy = (window_event_t *) malloc(sizeof(window_event_t));
    862876        if (event_dummy) {
  • uspace/srv/hid/rfb/rfb.c

    rfac0ac7 r7c3fb9b  
    612612        }
    613613
    614         /* Security handshake
     614        /*
     615         * Security handshake
    615616         * 1 security type supported, which is 1 - None
    616617         */
Note: See TracChangeset for help on using the changeset viewer.