Lines Matching refs:dRect
33 …void Blitter::clear(void* pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigne… in clear() argument
35 if(fastClear(pixel, format, dest, dRect, rgbaMask)) in clear()
42 SliceRect sRect(dRect); in clear()
44 blit(color, sRect, dest, dRect, clearOptions); in clear()
48 …bool Blitter::fastClear(void* pixel, sw::Format format, Surface *dest, const SliceRect &dRect, uns… in fastClear() argument
103 …uint8_t *d = (uint8_t*)dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw:… in fastClear()
108 for(int i = dRect.y0; i < dRect.y1; i++) in fastClear()
110 sw::clear((uint16_t*)d, packed, dRect.x1 - dRect.x0); in fastClear()
115 for(int i = dRect.y0; i < dRect.y1; i++) in fastClear()
117 sw::clear((uint32_t*)d, packed, dRect.x1 - dRect.x0); in fastClear()
130 …void Blitter::blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect,… in blit() argument
141 blit(source, sRect, dest, dRect, options); in blit()
157 SliceRect dRect = destRect; in blit() local
164 swap(dRect.x0, dRect.x1); in blit()
169 swap(dRect.y0, dRect.y1); in blit()
174 dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUBLIC); in blit()
176 float w = static_cast<float>(sRect.x1 - sRect.x0) / static_cast<float>(dRect.x1 - dRect.x0); in blit()
177 float h = static_cast<float>(sRect.y1 - sRect.y0) / static_cast<float>(dRect.y1 - dRect.y0); in blit()
182 for(int j = dRect.y0; j < dRect.y1; j++) in blit()
186 for(int i = dRect.x0; i < dRect.x1; i++) in blit()
1306 Rect dRect = destRect; in blitReactor() local
1310 swap(dRect.x0, dRect.x1); in blitReactor()
1315 swap(dRect.y0, dRect.y1); in blitReactor()
1361 data.w = 1.0f / (dRect.x1 - dRect.x0) * (sRect.x1 - sRect.x0); in blitReactor()
1362 data.h = 1.0f / (dRect.y1 - dRect.y0) * (sRect.y1 - sRect.y0); in blitReactor()
1366 data.x0d = dRect.x0; in blitReactor()
1367 data.x1d = dRect.x1; in blitReactor()
1368 data.y0d = dRect.y0; in blitReactor()
1369 data.y1d = dRect.y1; in blitReactor()