/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | PixelTransfer11.cpp | 120 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 …]
|
D | Blit11.cpp | 53 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 …]
|
D | Blit11.h | 43 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,
|
D | Framebuffer11.cpp | 278 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()
|
D | PixelTransfer11.h | 54 const gl::Box &destArea); 70 static void setBufferToTextureCopyParams(const gl::Box &destArea,
|
D | Framebuffer11.h | 77 const gl::Rectangle &destArea,
|
D | Renderer11.cpp | 2371 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/ |
D | FramebufferVk.cpp | 513 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 …]
|
D | FramebufferVk.h | 82 const gl::Rectangle &destArea, 137 const gl::Rectangle &destArea,
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Framebuffer9.cpp | 217 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()
|
D | Framebuffer9.h | 72 const gl::Rectangle &destArea,
|
D | Renderer9.h | 359 const gl::Box &destArea) override;
|
/external/angle/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 54 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 …]
|
D | FramebufferGL.h | 69 const gl::Rectangle &destArea, 122 const gl::Rectangle &destArea, 128 const gl::Rectangle &destArea,
|
D | BlitGL.h | 71 const gl::Rectangle &destArea,
|
D | BlitGL.cpp | 414 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/ |
D | FramebufferD3D.h | 92 const gl::Rectangle &destArea, 125 const gl::Rectangle &destArea,
|
D | FramebufferD3D.cpp | 226 const gl::Rectangle &destArea, in blit() argument 233 ANGLE_TRY(blitImpl(context, sourceArea, destArea, scissor, (mask & GL_COLOR_BUFFER_BIT) != 0, in blit()
|
D | TextureD3D.cpp | 368 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()
|
D | RendererD3D.h | 353 const gl::Box &destArea) = 0;
|
/external/angle/src/libANGLE/renderer/null/ |
D | FramebufferNULL.h | 62 const gl::Rectangle &destArea,
|
D | FramebufferNULL.cpp | 149 const gl::Rectangle &destArea, in blit() argument
|
/external/angle/src/libANGLE/renderer/ |
D | FramebufferImpl.h | 76 const gl::Rectangle &destArea,
|
/external/angle/src/libANGLE/renderer/metal/ |
D | FrameBufferMtl.h | 71 const gl::Rectangle &destArea,
|
/external/angle/src/libANGLE/ |
D | Framebuffer.h | 354 const Rectangle &destArea,
|