Lines Matching defs:width

56     virtual void blitH(int x, int y, int width);
60 virtual void blitRect(int x, int y, int width, int height);
83 virtual void blitH(int x, int y, int width);
87 virtual void blitRect(int x, int y, int width, int height);
113 virtual void blitH(int x, int y, int width);
116 virtual void blitRect(int x, int y, int width, int height);
135 virtual void blitH(int x, int y, int width);
138 virtual void blitRect(int x, int y, int width, int height);
149 virtual void blitH(int x, int y, int width);
214 unsigned width = clip.width();
216 size_t deviceRB = fDevice.rowBytes() - (width << 1);
217 unsigned maskRB = mask.fRowBytes - width;
220 SkASSERT((int)width > 0);
225 unsigned w = width;
276 void SkRGB16_Opaque_Blitter::blitH(int x, int y, int width) {
277 SkASSERT(width > 0);
278 SkASSERT(x + width <= fDevice.width());
288 sk_dither_memset16(device, srcColor, ditherColor, width);
290 sk_memset16(device, srcColor, width);
384 int width = clip.width();
386 size_t deviceRB = fDevice.rowBytes() - (width << 1);
387 unsigned maskRB = mask.fRowBytes - width;
393 int w = width;
462 int w = width;
489 void SkRGB16_Opaque_Blitter::blitRect(int x, int y, int width, int height) {
490 SkASSERT(x + width <= fDevice.width() && y + height <= fDevice.height());
501 sk_dither_memset16(device, color16, ditherColor, width);
507 sk_memset16(device, color16, width);
565 void SkRGB16_Blitter::blitH(int x, int y, int width) {
566 SkASSERT(width > 0);
567 SkASSERT(x + width <= fDevice.width());
571 blend32_16_row(fSrcColor32, device, width);
634 int width = clip.width();
636 size_t deviceRB = fDevice.rowBytes() - (width << 1);
637 unsigned maskRB = mask.fRowBytes - width;
642 int w = width;
670 void SkRGB16_Blitter::blitRect(int x, int y, int width, int height) {
671 SkASSERT(x + width <= fDevice.width() && y + height <= fDevice.height());
677 blend32_16_row(src32, device, width);
691 void SkRGB16_Shader16_Blitter::blitH(int x, int y, int width) {
692 SkASSERT(x + width <= fDevice.width());
699 shaderContext->shadeSpan16(x, y, device, width);
702 shaderContext->shadeSpan16(x, y, span16, width);
703 SkBlendRGB16(span16, device, SkAlpha255To256(alpha), width);
707 void SkRGB16_Shader16_Blitter::blitRect(int x, int y, int width, int height) {
716 shaderContext->shadeSpan16(x, y, dst, width);
722 memcpy(dst, orig, width << 1);
727 shaderContext->shadeSpan16(x, y, dst, width);
736 shaderContext->shadeSpan16(x, y, span16, width);
738 SkBlendRGB16(span16, dst, scale, width);
743 shaderContext->shadeSpan16(x, y, span16, width);
744 SkBlendRGB16(span16, dst, scale, width);
768 SkASSERT(count <= fDevice.width()); // don't overrun fBuffer
790 SkASSERT(count <= fDevice.width()); // don't overrun fBuffer
814 fBuffer = (SkPMColor*)sk_malloc_throw(device.width() * sizeof(SkPMColor));
839 void SkRGB16_Shader_Blitter::blitH(int x, int y, int width) {
840 SkASSERT(x + width <= fDevice.width());
842 fShaderContext->shadeSpan(x, y, fBuffer, width);
844 fOpaqueProc(fDevice.getAddr16(x, y), fBuffer, width, 0xFF, x, y);
847 void SkRGB16_Shader_Blitter::blitRect(int x, int y, int width, int height) {
855 shaderContext->shadeSpan(x, y, buffer, width);
857 proc(dst, buffer, width, 0xFF, x, y);
863 shaderContext->shadeSpan(x, y, buffer, width);
864 proc(dst, buffer, width, 0xFF, x, y);
908 SkASSERT(nonZeroCount <= fDevice.width()); // don't overrun fBuffer
943 int width = device.width();
944 fBuffer = (SkPMColor*)sk_malloc_throw((width + (SkAlign4(width) >> 2)) * sizeof(SkPMColor));
945 fAAExpand = (uint8_t*)(fBuffer + width);
953 void SkRGB16_Shader_Xfermode_Blitter::blitH(int x, int y, int width) {
954 SkASSERT(x + width <= fDevice.width());
959 fShaderContext->shadeSpan(x, y, span, width);
960 fXfermode->xfer16(device, span, width, NULL);
989 SkASSERT(nonZeroCount <= fDevice.width()); // don't overrun fBuffer