Home
last modified time | relevance | path

Searched refs:dstRect (Results 1 – 6 of 6) sorted by relevance

/CafeSDK-2.12.13-1/system/src/lib/gx2ut/headers/cafe/gx2ut/
Dgx2utClear.h98 GX2ClearMode clearFlags, GX2HiStencilInfo *hiStencil, GX2UTRect *dstRect);
148 GX2UTRect dstRect = {0}; in GX2UTClearOp() local
154 dstRect.right = GX2Max(1, colorBuffer->surface.width >> colorBuffer->viewMip); in GX2UTClearOp()
155 dstRect.bottom = GX2Max(1, colorBuffer->surface.height >> colorBuffer->viewMip); in GX2UTClearOp()
159 dstRect.right = GX2Max(1, depthBuffer->surface.width >> depthBuffer->viewMip); in GX2UTClearOp()
160 dstRect.bottom = GX2Max(1, depthBuffer->surface.height >> depthBuffer->viewMip); in GX2UTClearOp()
166 depthClear, stencilClear, clearFlags, hiStencil, &dstRect); in GX2UTClearOp()
227 GX2UTRect *dstRect, void* dstAuxPtr, u32 dstAuxSize, in GX2UTClearSurfaceRect() argument
271 clearFlags, hiStencil, dstRect); in GX2UTClearSurfaceRect()
316 GX2Surface *dstSurface, u32 dstMip, u32 dstSlice, GX2UTRect *dstRect, in GX2UTSetAndClearSurfaceRect() argument
[all …]
Dgx2utCopy.h116 u32 dstMip, u32 dstSlice, GX2UTRect *dstRect,
178 GX2UTRect dstRect = {0}; in GX2UTCopySurfaceOp() local
186 dstRect.right = GX2Max(1, dstSurface->width >> dstMip); in GX2UTCopySurfaceOp()
187 dstRect.bottom = GX2Max(1, dstSurface->height >> dstMip); in GX2UTCopySurfaceOp()
190 dstSurface, dstMip, dstSlice, &dstRect, in GX2UTCopySurfaceOp()
259 GX2UTRect *dstRect, in GX2UTCopySurfaceRect() argument
273 dstSurface, dstMip, dstSlice, dstRect, in GX2UTCopySurfaceRect()
328 GX2UTRect *dstRect, in GX2UTSetAndCopySurfaceRect() argument
335 dstSurface, dstMip, dstSlice, dstRect, in GX2UTSetAndCopySurfaceRect()
386 GX2UTRect dstRect; in GX2UTCopySurfaceEx() local
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/gx2ut/
Dgx2utClear.h98 GX2ClearMode clearFlags, GX2HiStencilInfo *hiStencil, GX2UTRect *dstRect);
148 GX2UTRect dstRect = {0}; in GX2UTClearOp() local
154 dstRect.right = GX2Max(1, colorBuffer->surface.width >> colorBuffer->viewMip); in GX2UTClearOp()
155 dstRect.bottom = GX2Max(1, colorBuffer->surface.height >> colorBuffer->viewMip); in GX2UTClearOp()
159 dstRect.right = GX2Max(1, depthBuffer->surface.width >> depthBuffer->viewMip); in GX2UTClearOp()
160 dstRect.bottom = GX2Max(1, depthBuffer->surface.height >> depthBuffer->viewMip); in GX2UTClearOp()
166 depthClear, stencilClear, clearFlags, hiStencil, &dstRect); in GX2UTClearOp()
227 GX2UTRect *dstRect, void* dstAuxPtr, u32 dstAuxSize, in GX2UTClearSurfaceRect() argument
271 clearFlags, hiStencil, dstRect); in GX2UTClearSurfaceRect()
316 GX2Surface *dstSurface, u32 dstMip, u32 dstSlice, GX2UTRect *dstRect, in GX2UTSetAndClearSurfaceRect() argument
[all …]
Dgx2utCopy.h116 u32 dstMip, u32 dstSlice, GX2UTRect *dstRect,
178 GX2UTRect dstRect = {0}; in GX2UTCopySurfaceOp() local
186 dstRect.right = GX2Max(1, dstSurface->width >> dstMip); in GX2UTCopySurfaceOp()
187 dstRect.bottom = GX2Max(1, dstSurface->height >> dstMip); in GX2UTCopySurfaceOp()
190 dstSurface, dstMip, dstSlice, &dstRect, in GX2UTCopySurfaceOp()
259 GX2UTRect *dstRect, in GX2UTCopySurfaceRect() argument
273 dstSurface, dstMip, dstSlice, dstRect, in GX2UTCopySurfaceRect()
328 GX2UTRect *dstRect, in GX2UTSetAndCopySurfaceRect() argument
335 dstSurface, dstMip, dstSlice, dstRect, in GX2UTSetAndCopySurfaceRect()
386 GX2UTRect dstRect; in GX2UTCopySurfaceEx() local
[all …]
/CafeSDK-2.12.13-1/system/src/lib/gx2ut/
Dgx2utClear.cpp376 GX2Boolean ClearUsingDB(GX2ColorBuffer *colorBuffer, GX2UTRect *dstRect) in ClearUsingDB() argument
382 if ((dstRect->left != 0) || in ClearUsingDB()
383 (dstRect->top != 0) || in ClearUsingDB()
384 (dstRect->right != dstSurface->width >> dstMip) || in ClearUsingDB()
385 (dstRect->bottom != dstSurface->height >> dstMip)) in ClearUsingDB()
392 if ((dstRect->right & 0x7) || in ClearUsingDB()
393 (dstRect->bottom & 0x7)) in ClearUsingDB()
455 GX2UTRect *dstRect) in GX2UTClearRectOp() argument
472 ASSERT((colorBuffer != NULL || depthBuffer != NULL) && (dstRect != NULL)); in GX2UTClearRectOp()
473 …ASSERT((dstRect->bottom > dstRect->top) && (dstRect->right > dstRect->left) && "Invalid destinatio… in GX2UTClearRectOp()
[all …]
Dgx2utCopy.cpp211 u32 dstMip, u32 dstSlice, GX2UTRect *dstRect, in GX2UTCopySurfaceRectOp() argument
231 ASSERT((srcSurface != NULL) && (srcRect != NULL) && (dstSurface != NULL) && (dstRect != NULL)); in GX2UTCopySurfaceRectOp()
233 …ASSERT((dstRect->bottom > dstRect->top) && (dstRect->right > dstRect->left) && "Invalid destinatio… in GX2UTCopySurfaceRectOp()
253 ASSERT((dstRect->right - dstRect->left) == (srcRect->right - srcRect->left)); in GX2UTCopySurfaceRectOp()
254 ASSERT((dstRect->top - dstRect->bottom) == (srcRect->top - srcRect->bottom)); in GX2UTCopySurfaceRectOp()
406 destinationRect.left = dstRect->left / 4; in GX2UTCopySurfaceRectOp()
407 destinationRect.right = (dstRect->right + 3) / 4; in GX2UTCopySurfaceRectOp()
408 destinationRect.top = dstRect->top / 4; in GX2UTCopySurfaceRectOp()
409 destinationRect.bottom = (dstRect->bottom + 3) / 4; in GX2UTCopySurfaceRectOp()
411 dstRect = &destinationRect; in GX2UTCopySurfaceRectOp()
[all …]