Home
last modified time | relevance | path

Searched refs:destArea (Results 1 – 25 of 31) sorted by relevance

12

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp120 void PixelTransfer11::setBufferToTextureCopyParams(const gl::Box &destArea, in setBufferToTextureCopyParams() argument
139 static_cast<unsigned int>((unpack.rowLength > 0) ? unpack.rowLength : destArea.width); in setBufferToTextureCopyParams()
141 parametersOut->RowsPerSlice = static_cast<unsigned int>(destArea.height); in setBufferToTextureCopyParams()
143 texelCenterX + (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
145 texelCenterY + ((destSize.height - destArea.y - 1) / float(destSize.height)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
148 parametersOut->FirstSlice = destArea.z; in setBufferToTextureCopyParams()
158 const gl::Box &destArea) in copyBufferToTexture() argument
166 ASSERT(destArea.x >= 0 && destArea.x + destArea.width <= destSize.width && destArea.y >= 0 && in copyBufferToTexture()
167 destArea.y + destArea.height <= destSize.height && destArea.z >= 0 && in copyBufferToTexture()
168 destArea.z + destArea.depth <= destSize.depth); in copyBufferToTexture()
[all …]
DBlit11.cpp53 const gl::Box &destArea, in StretchedBlitNearest_RowByRow() argument
63 size_t copySize = pixelSize * destArea.width; in StretchedBlitNearest_RowByRow()
65 size_t destOffset = destArea.x * pixelSize; in StretchedBlitNearest_RowByRow()
69 float yPerc = static_cast<float>(y - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_RowByRow()
84 const gl::Box &destArea, in StretchedBlitNearest_PixelByPixel() argument
104 float yPerc = static_cast<float>(writeRow - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_PixelByPixel()
113 float xPerc = static_cast<float>(writeColumn - destArea.x) / (destArea.width - 1); in StretchedBlitNearest_PixelByPixel()
130 const gl::Box &destArea, in StretchedBlitNearest() argument
143 gl::Rectangle clippedDestArea(destArea.x, destArea.y, destArea.width, destArea.height); in StretchedBlitNearest()
152 StretchedBlitNearest_RowByRow(sourceArea, destArea, clippedDestArea, sourceSize, in StretchedBlitNearest()
[all …]
DBlit11.h43 const gl::Box &destArea,
60 const gl::Box &destArea,
69 const gl::Box &destArea,
80 const gl::Box &destArea,
94 const gl::Box &destArea,
129 const gl::Box &destArea,
189 const gl::Box &destArea,
200 const gl::Box &destArea,
217 const gl::Box &destArea,
DFramebuffer11.cpp278 const gl::Rectangle &destArea, in blitImpl() argument
320 gl::Rectangle actualDestArea = destArea; in blitImpl()
324 actualDestArea.y = drawRenderTarget11->getHeight() - destArea.y; in blitImpl()
325 actualDestArea.height = -destArea.height; in blitImpl()
361 gl::Rectangle actualDestArea = destArea; in blitImpl()
365 actualDestArea.y = drawRenderTarget11->getHeight() - destArea.y; in blitImpl()
366 actualDestArea.height = -destArea.height; in blitImpl()
DPixelTransfer11.h54 const gl::Box &destArea);
70 static void setBufferToTextureCopyParams(const gl::Box &destArea,
DFramebuffer11.h77 const gl::Rectangle &destArea,
DRenderer11.cpp2371 gl::Box destArea(destOffset.x, destOffset.y, 0, sourceRect.width, sourceRect.height, 1); in copyImageInternal() local
2395 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2407 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2644 gl::Box destArea(destOffset.x, destOffset.y, destOffset.z, sourceBox.width, in copyTexture() local
2654 sourceFormat, destRTV, destArea, destSize, nullptr, destFormat, in copyTexture()
3112 const gl::Box &destArea) in fastCopyBufferToTexture() argument
3117 sourcePixelsType, destArea); in fastCopyBufferToTexture()
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp513 const gl::Rectangle &destArea, in blitWithCommand() argument
560 blit.dstOffsets[0] = {destArea.x0(), destArea.y0(), 0}; in blitWithCommand()
561 blit.dstOffsets[1] = {destArea.x1(), destArea.y1(), 1}; in blitWithCommand()
595 gl::Rectangle destArea = destAreaIn; in blit() local
600 (sourceArea.x == destArea.x && sourceArea.y == destArea.y && in blit()
601 sourceArea.width == destArea.width && sourceArea.height == destArea.height)); in blit()
608 sourceArea = sourceArea.flip(destArea.isReversedX(), destArea.isReversedY()); in blit()
609 destArea = destArea.removeReversal(); in blit()
613 std::abs(sourceArea.width / static_cast<float>(destArea.width)), in blit()
614 std::abs(sourceArea.height / static_cast<float>(destArea.height)), in blit()
[all …]
DFramebufferVk.h82 const gl::Rectangle &destArea,
137 const gl::Rectangle &destArea,
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp217 const gl::Rectangle &destArea, in blitImpl() argument
268 dstRect.left = destArea.x; in blitImpl()
269 dstRect.right = destArea.x + destArea.width; in blitImpl()
270 dstRect.top = destArea.y; in blitImpl()
271 dstRect.bottom = destArea.y + destArea.height; in blitImpl()
DFramebuffer9.h72 const gl::Rectangle &destArea,
DRenderer9.h359 const gl::Box &destArea) override;
/external/angle/src/libANGLE/renderer/gl/
DFramebufferGL.cpp54 const gl::Rectangle &destArea) in GetBlitFramebufferBounds() argument
68 bounds.destRegion = destArea.removeReversal(); in GetBlitFramebufferBounds()
70 bounds.xFlipped = sourceArea.isReversedX() != destArea.isReversedX(); in GetBlitFramebufferBounds()
71 bounds.yFlipped = sourceArea.isReversedY() != destArea.isReversedY(); in GetBlitFramebufferBounds()
703 const gl::Rectangle &destArea, in blit() argument
778 sourceArea, destArea, filter)); in blit()
792 gl::Rectangle finalDestArea(destArea); in blit()
797 adjustSrcDstRegion(context, sourceArea, destArea, &finalSourceArea, &finalDestArea); in blit()
806 clipSrcRegion(context, sourceArea, destArea, &finalSourceArea, &finalDestArea); in blit()
822 const gl::Rectangle &destArea, in adjustSrcDstRegion() argument
[all …]
DFramebufferGL.h69 const gl::Rectangle &destArea,
122 const gl::Rectangle &destArea,
128 const gl::Rectangle &destArea,
DBlitGL.h71 const gl::Rectangle &destArea,
DBlitGL.cpp414 gl::Rectangle destArea = destAreaIn.removeReversal(); in blitColorBufferWithShader() local
486 ANGLE_TRY(scopedState.enter(context, destArea, ScopedGLState::KEEP_SCISSOR)); in blitColorBufferWithShader()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.h92 const gl::Rectangle &destArea,
125 const gl::Rectangle &destArea,
DFramebufferD3D.cpp226 const gl::Rectangle &destArea, in blit() argument
233 ANGLE_TRY(blitImpl(context, sourceArea, destArea, scissor, (mask & GL_COLOR_BUFFER_BIT) != 0, in blit()
DTextureD3D.cpp368 const gl::Box &destArea, in fastUnpackPixels() argument
379 if (destArea.width <= 0 && destArea.height <= 0 && destArea.depth <= 0) in fastUnpackPixels()
392 sizedInternalFormat, type, destArea)); in fastUnpackPixels()
919 gl::Box destArea(0, 0, 0, getWidth(index.getLevelIndex()), getHeight(index.getLevelIndex()), in setImage() local
922 ANGLE_TRY(fastUnpackPixels(context, unpack, unpackBuffer, pixels, destArea, in setImage()
2450 gl::Box destArea(0, 0, 0, getWidth(index.getLevelIndex()), getHeight(index.getLevelIndex()), in setImage() local
2453 ANGLE_TRY(fastUnpackPixels(context, unpack, unpackBuffer, pixels, destArea, in setImage()
DRendererD3D.h353 const gl::Box &destArea) = 0;
/external/angle/src/libANGLE/renderer/null/
DFramebufferNULL.h62 const gl::Rectangle &destArea,
DFramebufferNULL.cpp149 const gl::Rectangle &destArea, in blit() argument
/external/angle/src/libANGLE/renderer/
DFramebufferImpl.h76 const gl::Rectangle &destArea,
/external/angle/src/libANGLE/renderer/metal/
DFrameBufferMtl.h71 const gl::Rectangle &destArea,
/external/angle/src/libANGLE/
DFramebuffer.h354 const Rectangle &destArea,

12