Home
last modified time | relevance | path

Searched refs:dRect (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/pathops/
DSkPathOpsCurve.cpp66 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/skia/src/pathops/
DSkPathOpsCurve.cpp66 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/
DDevice.cpp474 SliceRect dRect; in stretchRect() local
504 dRect = *destRect; in stretchRect()
506 if(dRect.x0 > dRect.x1) in stretchRect()
508 swap(dRect.x0, dRect.x1); in stretchRect()
511 if(dRect.y0 > dRect.y1) in stretchRect()
513 swap(dRect.y0, dRect.y1); in stretchRect()
518 dRect.y0 = 0; in stretchRect()
519 dRect.x0 = 0; in stretchRect()
520 dRect.y1 = dHeight; in stretchRect()
521 dRect.x1 = dWidth; in stretchRect()
[all …]
DContext.h669 …rface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) override;
DContext.cpp3713 …lit(sw::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) in blit() argument
3716 device->blit(source, sRectF, dest, dRect, false); in blit()
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp332 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()
417 …unsigned char *destBytes = (unsigned char*)dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, LOC… in stretchRect()
421 unsigned int width = dRect.x1 - dRect.x0; in stretchRect()
[all …]
DContext.h494 …rface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) override;
DContext.cpp2870 …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/WSI/
DFrameBufferDD.cpp286 RECT dRect; in blit() local
290 dRect.bottom = bounds.top + destRect->y1; in blit()
291 dRect.left = bounds.left + destRect->x0; in blit()
292 dRect.right = bounds.left + destRect->x1; in blit()
293 dRect.top = bounds.top + destRect->y0; in blit()
297 dRect.bottom = bounds.top + height; in blit()
298 dRect.left = bounds.left + 0; in blit()
299 dRect.right = bounds.left + width; in blit()
300 dRect.top = bounds.top + 0; in blit()
305 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit()
/external/swiftshader/src/Main/
DFrameBufferDD.cpp293 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/
DBlitter.cpp36 …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 …]
DBlitter.hpp97 …void clear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigned int rgb…
98 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, const O…
102 …bool fastClear(void *pixel, sw::Format format, Surface *dest, const SliceRect &dRect, unsigned int…
113 …bool blitReactor(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, …
DRenderer.hpp285 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool fi…
DRenderer.cpp731 …Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool… in blit() argument
733 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/external/swiftshader/src/D3D8/
DDirect3DSwapChain8.cpp91 sw::Rect dRect(0, 0, 0, 0); in Present() local
103 dRect.x0 = destRect->left; in Present()
104 dRect.y0 = destRect->top; in Present()
105 dRect.x1 = destRect->right; in Present()
106 dRect.y1 = destRect->bottom; in Present()
109 …lit(destWindowOverride, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dRect : nullptr); in Present()
DDirect3DDevice8.cpp455 RECT dRect; in CopyRects() local
457 dRect.top = dPoint.y; in CopyRects()
458 dRect.left = dPoint.x; in CopyRects()
459 dRect.bottom = dPoint.y + rHeight; in CopyRects()
460 dRect.right = dPoint.x + rWidth; in CopyRects()
466 destinationSurface->LockRect(&destLock, &dRect, D3DLOCK_DISCARD); in CopyRects()
4157 RECT dRect; in updateSurface() local
4166 dRect.left = destPoint->x; in updateSurface()
4167 dRect.top = destPoint->y; in updateSurface()
4168 dRect.right = destPoint->x + sourceRect->right - sourceRect->left; in updateSurface()
[all …]
/external/swiftshader/src/Device/
DBlitter.cpp34 …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
[all …]
DBlitter.hpp97 …void clear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsigned int rgbaM…
98 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, const O…
102 …bool fastClear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsigned int r…
113 …bool blitReactor(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, …
DRenderer.hpp256 …void blit(Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool fi…
DRenderer.cpp604 …Surface *source, const SliceRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool… in blit() argument
606 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/external/swiftshader/src/D3D9/
DDirect3DSwapChain9.cpp166 sw::Rect dRect(0, 0, 0, 0); in Present() local
178 dRect.x0 = destRect->left; in Present()
179 dRect.y0 = destRect->top; in Present()
180 dRect.x1 = destRect->right; in Present()
181 dRect.y1 = destRect->bottom; in Present()
184 …frameBuffer->blit(window, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dRect : nullpt… in Present()
DDirect3DDevice9.cpp5404 RECT dRect; in UpdateSurface() local
5423 dRect.left = destPoint->x; in UpdateSurface()
5424 dRect.top = destPoint->y; in UpdateSurface()
5425 dRect.right = destPoint->x + sRect.right - sRect.left; in UpdateSurface()
5426 dRect.bottom = destPoint->y + sRect.bottom - sRect.top; in UpdateSurface()
5430 dRect.left = 0; in UpdateSurface()
5431 dRect.top = 0; in UpdateSurface()
5432 dRect.right = sRect.right - sRect.left; in UpdateSurface()
5433 dRect.bottom = sRect.bottom - sRect.top; in UpdateSurface()
5436 if(!validRectangle(&sRect, sourceSurface) || !validRectangle(&dRect, destinationSurface)) in UpdateSurface()
[all …]
/external/swiftshader/src/Vulkan/
DVkImage.cpp471 sw::SliceRect dRect(region.dstOffsets[0].x, region.dstOffsets[0].y, in blit() local
476 blitter->blit(srcSurface, sRect, dstSurface, dRect, in blit()
479 dRect.slice++; in blit()
526 const sw::SliceRect dRect(0, 0, mipLevelExtent.width, mipLevelExtent.height, s); in clear() local
528 blitter->clear(pixelData, format, surface, dRect, 0xF); in clear()
543 sw::SliceRect dRect(renderArea.offset.x, renderArea.offset.y, in clear() local
553 dRect.slice = s; in clear()
555 blitter->clear(pixelData, format, surface, dRect, 0xF); in clear()
/external/swiftshader/src/OpenGL/libEGL/
DContext.hpp41 …w::Surface *source, const sw::SliceRect &sRect, sw::Surface *dest, const sw::SliceRect &dRect) = 0;