Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 75baf6e in mainline


Ignore:
Timestamp:
2014-03-01T22:58:23Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d9be488
Parents:
440f57f
Message:

cstyle (no change in functionality)

Location:
uspace/lib/draw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/drawctx.c

    r440f57f r75baf6e  
    129129        }
    130130
    131         bool transfer_fast = source_is_fast(context->source)
    132             && (context->shall_clip == false)
    133             && (context->mask == NULL)
    134             && (context->compose == compose_src || context->compose == compose_over);
     131        bool transfer_fast = source_is_fast(context->source) &&
     132            (context->shall_clip == false) &&
     133            (context->mask == NULL) &&
     134            (context->compose == compose_src || context->compose == compose_over);
    135135
    136136        if (transfer_fast) {
  • uspace/lib/draw/source.c

    r440f57f r75baf6e  
    9292bool source_is_fast(source_t *source)
    9393{
    94         return (source->mask == NULL)
    95             && (source->alpha == (pixel_t) PIXEL(255, 0, 0, 0))
    96             && (source->texture != NULL)
    97             && (source->texture_tile == false)
    98             && transform_is_fast(&source->transform);
     94        return ((source->mask == NULL) &&
     95            (source->alpha == (pixel_t) PIXEL(255, 0, 0, 0)) &&
     96            (source->texture != NULL) &&
     97            (source->texture_tile == false) &&
     98            (transform_is_fast(&source->transform)));
    9999}
    100100
Note: See TracChangeset for help on using the changeset viewer.