Changeset 75baf6e in mainline
- Timestamp:
- 2014-03-01T22:58:23Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9be488
- Parents:
- 440f57f
- Location:
- uspace/lib/draw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/drawctx.c
r440f57f r75baf6e 129 129 } 130 130 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); 135 135 136 136 if (transfer_fast) { -
uspace/lib/draw/source.c
r440f57f r75baf6e 92 92 bool source_is_fast(source_t *source) 93 93 { 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))); 99 99 } 100 100
Note:
See TracChangeset
for help on using the changeset viewer.