search for: dst_off

Displaying 3 results from an estimated 3 matches for "dst_off".

2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...int bpp, uint32_t fg, uint32_t bg) { + int width = min(src_stride, dst_stride); uint32_t b, m, pxval; - int i, j; + int i, j, k; + + for (i = 0; i < width; i++) { + for (j = 0; j < width / SOURCE_MASK_INTERLEAVE; j++) { + int src_off = i*src_stride/SOURCE_MASK_INTERLEAVE + j; + int dst_off = i*dst_stride + j*SOURCE_MASK_INTERLEAVE; + + b = src[2*src_off]; + m = src[2*src_off + 1]; - for (i = 0; i < px / SOURCE_MASK_INTERLEAVE; i++) { - b = *src++; - m = *src++; - for (j = 0; j < SOURCE_MASK_INTERLEAVE; j++) { - pxval = TRANSPARENT_PIXEL; + for (k = 0; k < SOURCE...
2013 Oct 16
3
trivial cleanups
Hi gang, Here''s some trivial cleanups that I''ve built up while reading through the code. They''ve been run through xfstests -g quick. - z -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2010 Jan 06
3
Removal of Non-KMS support
I did a very quick pass at removing all the non-KMS support from the DDX. It's tested on G80 but nowhere else currently, I thought some discussion would be a good idea rather than just ripping it out :) The non-KMS paths are messy, and lets face it, rotting badly. IMO the KMS code is stable enough now that we can continue without the UMS crutch, and indeed, the KMS code supports a lot more