• Home
  • Raw
  • Download

Lines Matching refs:dRect

34 …void Blitter::clear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsigned …  in clear()  argument
36 if(fastClear(pixel, format, dest, dRect, rgbaMask)) in clear()
43 blit(color, sRect, dest, dRect, {rgbaMask}); in clear()
47 …bool Blitter::fastClear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsig… in fastClear() argument
105 …uint8_t *slice = (uint8_t*)dest->lock(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUB… in fastClear()
114 for(int i = dRect.y0; i < dRect.y1; i++) in fastClear()
116 sw::clear((uint16_t*)d, packed, dRect.x1 - dRect.x0); in fastClear()
121 for(int i = dRect.y0; i < dRect.y1; i++) in fastClear()
123 sw::clear((uint32_t*)d, packed, dRect.x1 - dRect.x0); in fastClear()
152 SliceRect dRect = destRect; in blit() local
159 swap(dRect.x0, dRect.x1); in blit()
164 swap(dRect.y0, dRect.y1); in blit()
169 dest->lockInternal(0, 0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUBLIC); in blit()
171 float w = sRect.width() / dRect.width(); in blit()
172 float h = sRect.height() / dRect.height(); in blit()
174 float xStart = sRect.x0 + (0.5f - dRect.x0) * w; in blit()
175 float yStart = sRect.y0 + (0.5f - dRect.y0) * h; in blit()
177 for(int j = dRect.y0; j < dRect.y1; j++) in blit()
181 for(int i = dRect.x0; i < dRect.x1; i++) in blit()
1635 Rect dRect = destRect; in blitReactor() local
1639 swap(dRect.x0, dRect.x1); in blitReactor()
1644 swap(dRect.y0, dRect.y1); in blitReactor()
1695 data.w = sRect.width() / dRect.width(); in blitReactor()
1696 data.h = sRect.height() / dRect.height(); in blitReactor()
1697 data.x0 = sRect.x0 + (0.5f - dRect.x0) * data.w; in blitReactor()
1698 data.y0 = sRect.y0 + (0.5f - dRect.y0) * data.h; in blitReactor()
1700 data.x0d = dRect.x0; in blitReactor()
1701 data.x1d = dRect.x1; in blitReactor()
1702 data.y0d = dRect.y0; in blitReactor()
1703 data.y1d = dRect.y1; in blitReactor()