Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/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
70 float yPerc = static_cast<float>(y - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_RowByRow()
85 const gl::Box &destArea, in StretchedBlitNearest_PixelByPixel() argument
105 float yPerc = static_cast<float>(writeRow - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_PixelByPixel()
114 float xPerc = static_cast<float>(writeColumn - destArea.x) / (destArea.width - 1); in StretchedBlitNearest_PixelByPixel()
131 const gl::Box &destArea, in StretchedBlitNearest() argument
144 gl::Rectangle clippedDestArea(destArea.x, destArea.y, destArea.width, destArea.height); in StretchedBlitNearest()
156 StretchedBlitNearest_RowByRow(sourceArea, destArea, clippedDestArea, sourceSize, in StretchedBlitNearest()
162 StretchedBlitNearest_PixelByPixel(sourceArea, destArea, clippedDestArea, sourceSize, in StretchedBlitNearest()
216 const gl::Box &destArea, in CopyDepthStencil() argument
[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()
329 actualDestArea.y = drawRenderTarget11->getHeight() - destArea.y; in blitImpl()
330 actualDestArea.height = -destArea.height; in blitImpl()
366 gl::Rectangle actualDestArea = destArea; in blitImpl()
370 actualDestArea.y = drawRenderTarget11->getHeight() - destArea.y; in blitImpl()
371 actualDestArea.height = -destArea.height; in blitImpl()
DPixelTransfer11.h54 const gl::Box &destArea);
70 static void setBufferToTextureCopyParams(const gl::Box &destArea,
DFramebuffer11.h79 const gl::Rectangle &destArea,
DRenderer11.cpp2497 gl::Box destArea(destOffset.x, destOffset.y, 0, sourceRect.width, sourceRect.height, 1); in copyImageInternal() local
2521 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2533 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2770 gl::Box destArea(destOffset.x, destOffset.y, destOffset.z, sourceBox.width, in copyTexture() local
2780 sourceFormat, destRTV, destArea, destSize, nullptr, destFormat, in copyTexture()
3238 const gl::Box &destArea) in fastCopyBufferToTexture() argument
3243 sourcePixelsType, destArea); in fastCopyBufferToTexture()
DRenderer11.h330 const gl::Box &destArea) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp192 const gl::Rectangle &destArea, in AdjustBlitResolveParametersForResolve() argument
197 params->dstOffset[0] = destArea.x; in AdjustBlitResolveParametersForResolve()
198 params->dstOffset[1] = destArea.y; in AdjustBlitResolveParametersForResolve()
210 if (destArea.isReversedX()) in AdjustBlitResolveParametersForResolve()
212 ASSERT(destArea.x > 0); in AdjustBlitResolveParametersForResolve()
215 if (destArea.isReversedY()) in AdjustBlitResolveParametersForResolve()
217 ASSERT(destArea.y > 0); in AdjustBlitResolveParametersForResolve()
840 const gl::Rectangle &destArea, in blitWithCommand() argument
889 blit.dstOffsets[0] = {destArea.x0(), destArea.y0(), 0}; in blitWithCommand()
890 blit.dstOffsets[1] = {destArea.x1(), destArea.y1(), 1}; in blitWithCommand()
[all …]
DFramebufferVk.h106 const gl::Rectangle &destArea,
172 const gl::Rectangle &destArea,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp218 const gl::Rectangle &destArea, in blitImpl() argument
269 dstRect.left = destArea.x; in blitImpl()
270 dstRect.right = destArea.x + destArea.width; in blitImpl()
271 dstRect.top = destArea.y; in blitImpl()
272 dstRect.bottom = destArea.y + destArea.height; in blitImpl()
DFramebuffer9.h74 const gl::Rectangle &destArea,
DRenderer9.h347 const gl::Box &destArea) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DFramebufferGL.cpp55 const gl::Rectangle &destArea) in GetBlitFramebufferBounds() argument
69 bounds.destRegion = destArea.removeReversal(); in GetBlitFramebufferBounds()
71 bounds.xFlipped = sourceArea.isReversedX() != destArea.isReversedX(); in GetBlitFramebufferBounds()
72 bounds.yFlipped = sourceArea.isReversedY() != destArea.isReversedY(); in GetBlitFramebufferBounds()
743 const gl::Rectangle &destArea, in blit() argument
826 sourceArea, destArea, filter, in blit()
841 gl::Rectangle finalDestArea(destArea); in blit()
872 const gl::Rectangle &destArea, in adjustSrcDstRegion() argument
876 BlitFramebufferBounds bounds = GetBlitFramebufferBounds(context, sourceArea, destArea); in adjustSrcDstRegion()
1130 *newDestArea = bounds.destRegion.flip(destArea.isReversedX(), destArea.isReversedY()); in adjustSrcDstRegion()
[all …]
DFramebufferGL.h71 const gl::Rectangle &destArea,
126 const gl::Rectangle &destArea,
132 const gl::Rectangle &destArea,
DBlitGL.h73 const gl::Rectangle &destArea,
81 const gl::Rectangle &destArea,
91 const gl::Rectangle &destArea,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.h91 const gl::Rectangle &destArea,
126 const gl::Rectangle &destArea,
DFramebufferD3D.cpp239 const gl::Rectangle &destArea, in blit() argument
246 ANGLE_TRY(blitImpl(context, sourceArea, destArea, scissor, (mask & GL_COLOR_BUFFER_BIT) != 0, in blit()
DTextureD3D.cpp374 const gl::Box &destArea, in fastUnpackPixels() argument
385 if (destArea.width <= 0 && destArea.height <= 0 && destArea.depth <= 0) in fastUnpackPixels()
398 sizedInternalFormat, type, destArea)); in fastUnpackPixels()
974 gl::Box destArea(0, 0, 0, getWidth(index.getLevelIndex()), getHeight(index.getLevelIndex()), in setImage() local
977 ANGLE_TRY(fastUnpackPixels(context, unpack, unpackBuffer, pixels, destArea, in setImage()
2507 gl::Box destArea(0, 0, 0, getWidth(index.getLevelIndex()), getHeight(index.getLevelIndex()), in setImage() local
2510 ANGLE_TRY(fastUnpackPixels(context, unpack, unpackBuffer, pixels, destArea, in setImage()
DRendererD3D.h368 const gl::Box &destArea) = 0;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DFramebufferNULL.h64 const gl::Rectangle &destArea,
DFramebufferNULL.cpp147 const gl::Rectangle &destArea, in blit() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFramebufferImpl.h80 const gl::Rectangle &destArea,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DFrameBufferMtl.h79 const gl::Rectangle &destArea,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DFramebuffer.h372 const Rectangle &destArea,

12