/external/skia/src/pathops/ |
D | SkPathOpsCurve.cpp | 66 SkDRect dRect; in setConicBounds() local 67 dRect.setBounds(dCurve, fConic, tStart, tEnd); in setConicBounds() 68 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds() 69 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setConicBounds() 76 SkDRect dRect; in setCubicBounds() local 77 dRect.setBounds(dCurve, fCubic, tStart, tEnd); in setCubicBounds() 78 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds() 79 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setCubicBounds() 86 SkDRect dRect; in setQuadBounds() local 87 dRect.setBounds(dCurve, fQuad, tStart, tEnd); in setQuadBounds() [all …]
|
/external/skqp/src/pathops/ |
D | SkPathOpsCurve.cpp | 66 SkDRect dRect; in setConicBounds() local 67 dRect.setBounds(dCurve, fConic, tStart, tEnd); in setConicBounds() 68 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds() 69 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setConicBounds() 76 SkDRect dRect; in setCubicBounds() local 77 dRect.setBounds(dCurve, fCubic, tStart, tEnd); in setCubicBounds() 78 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds() 79 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setCubicBounds() 86 SkDRect dRect; in setQuadBounds() local 87 dRect.setBounds(dCurve, fQuad, tStart, tEnd); in setQuadBounds() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 482 SliceRect dRect; in stretchRect() local 512 dRect = *destRect; in stretchRect() 514 if(dRect.x0 > dRect.x1) in stretchRect() 516 swap(dRect.x0, dRect.x1); in stretchRect() 519 if(dRect.y0 > dRect.y1) in stretchRect() 521 swap(dRect.y0, dRect.y1); in stretchRect() 526 dRect.y0 = 0; in stretchRect() 527 dRect.x0 = 0; in stretchRect() 528 dRect.y1 = dHeight; in stretchRect() 529 dRect.x1 = dWidth; in stretchRect() [all …]
|
D | Context.h | 642 …rface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) override;
|
D | Context.cpp | 3725 …lit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) in blit() argument 3728 device->blit(source, sRectF, dest, dRect, false); in blit()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 332 SliceRect dRect; in stretchRect() local 348 dRect = *destRect; in stretchRect() 352 dRect.y0 = 0; in stretchRect() 353 dRect.x0 = 0; in stretchRect() 354 dRect.y1 = dHeight; in stretchRect() 355 dRect.x1 = dWidth; in stretchRect() 358 …bool scaling = (sRect.x1 - sRect.x0 != dRect.x1 - dRect.x0) || (sRect.y1 - sRect.y0 != dRect.y1 - … in stretchRect() 375 sw::byte *destBuffer = (sw::byte*)dest->lockInternal(0, 0, dRect.slice, LOCK_DISCARD, PUBLIC); in stretchRect() 415 …unsigned char *destBytes = (unsigned char*)dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, LOC… in stretchRect() 419 unsigned int width = dRect.x1 - dRect.x0; in stretchRect() [all …]
|
D | Context.h | 494 …rface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) override;
|
D | Context.cpp | 2870 …lit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) in blit() argument 2873 device->blit(source, sRectF, dest, dRect, false); in blit()
|
/external/swiftshader/src/Main/ |
D | FrameBufferDD.cpp | 293 RECT dRect; in blit() local 297 dRect.bottom = bounds.top + destRect->y1; in blit() 298 dRect.left = bounds.left + destRect->x0; in blit() 299 dRect.right = bounds.left + destRect->x1; in blit() 300 dRect.top = bounds.top + destRect->y0; in blit() 304 dRect.bottom = bounds.top + height; in blit() 305 dRect.left = bounds.left + 0; in blit() 306 dRect.right = bounds.left + width; in blit() 307 dRect.top = bounds.top + 0; in blit() 312 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit()
|
/external/swiftshader/src/Renderer/ |
D | Blitter.cpp | 36 …void Blitter::clear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigne… in clear() argument 38 if(fastClear(pixel, format, dest, dRect, rgbaMask)) in clear() 45 blit(color, sRect, dest, dRect, {rgbaMask}); in clear() 49 …bool Blitter::fastClear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, uns… 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 [all …]
|
D | Blitter.hpp | 98 …void clear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigned int rgb… 99 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, const O… 103 …bool fastClear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigned int… 114 …bool blitReactor(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, …
|
D | Renderer.hpp | 284 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool fi…
|
D | Renderer.cpp | 732 …Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool… in blit() argument 734 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
|
/external/swiftshader/src/OpenGL/libEGL/ |
D | Context.hpp | 43 …w::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) = 0;
|