Searched refs:destArea (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DPixelTransfer11.cpp116 void PixelTransfer11::setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat, argument
129 parametersOut->PixelsPerRow = static_cast<unsigned int>(destArea.width);
131 parametersOut->RowsPerSlice = static_cast<unsigned int>(destArea.height);
132 parametersOut->PositionOffset[0] = texelCenterX + (destArea.x / float(destSize.width)) * 2.0f - 1.0f;
133 parametersOut->PositionOffset[1] = texelCenterY + ((destSize.height - destArea.y - 1) / float(destSize.height)) * 2.0f - 1.0f;
139 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea)
143 if (destArea.x < 0 || destArea.x + destArea.width > destSize.width ||
144 destArea
138 copyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget, GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea) argument
[all...]
H A DBlit11.h37 ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize,
41 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
45 ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize,
49 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
63 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
69 const gl::Box &destArea, const gl::Extents &destSize,
H A DPixelTransfer11.h47 // destArea: the sub-section of destRenderTarget to copy to
49 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea);
65 static void setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat,
H A DBlit11.cpp110 const gl::Box &destArea, const gl::Extents &destSize,
114 *x1 = (destArea.x / float(destSize.width)) * 2.0f - 1.0f;
115 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f;
116 *x2 = ((destArea.x + destArea.width) / float(destSize.width)) * 2.0f - 1.0f;
117 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f;
126 const gl::Box &destArea, const gl::Extents &destSize,
131 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2);
146 const gl::Box &destArea, cons
109 GenerateVertexCoords(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, float *x1, float *y1, float *x2, float *y2, float *u1, float *v1, float *u2, float *v2) argument
125 Write2DVertices(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, void *outVertices, unsigned int *outStride, unsigned int *outVertexCount, D3D11_PRIMITIVE_TOPOLOGY *outTopology) argument
145 Write3DVertices(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, void *outVertices, unsigned int *outStride, unsigned int *outVertexCount, D3D11_PRIMITIVE_TOPOLOGY *outTopology) argument
509 copyTexture(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor, GLenum destFormat, GLenum filter) argument
635 copyStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
644 copyDepth(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
741 copyDepthStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
750 copyDepthStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor, bool stencilOnly) argument
[all...]
H A DRenderer11.cpp1993 gl::Box destArea(xoffset, yoffset, 0, sourceRect.width, sourceRect.height, 1);
1998 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2055 gl::Box destArea(xoffset, yoffset, 0, sourceRect.width, sourceRect.height, 1);
2060 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2117 gl::Box destArea(xoffset, yoffset, 0, sourceRect.width, sourceRect.height, 1);
2122 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2181 gl::Box destArea(xoffset, yoffset, 0, sourceRect.width, sourceRect.height, 1);
2186 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2505 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea)
2508 return mPixelTransfer->copyBufferToTexture(unpack, offset, destRenderTarget, destinationFormat, sourcePixelsType, destArea);
2504 fastCopyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget, GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea) argument
[all...]
H A DRenderer11.h193 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea);
H A DTextureStorage11.cpp378 gl::Box destArea(0, 0, 0, dest->getWidth(), dest->getHeight(), dest->getDepth());
383 blitter->copyTexture(sourceSRV, sourceArea, sourceSize, destRTV, destArea, destSize, NULL,
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DTextureD3D.cpp177 bool TextureD3D::fastUnpackPixels(const gl::PixelUnpackState &unpack, const void *pixels, const gl::Box &destArea, argument
180 if (destArea.width <= 0 && destArea.height <= 0 && destArea.depth <= 0)
191 return mRenderer->fastCopyBufferToTexture(unpack, offset, destRenderTarget, sizedInternalFormat, type, destArea);
312 gl::Box destArea(0, 0, 0, getWidth(level), getHeight(level), 1);
314 if (destRenderTarget && fastUnpackPixels(unpack, pixels, destArea, sizedInternalFormat, type, destRenderTarget))
349 gl::Box destArea(xoffset, yoffset, 0, width, height, 1);
351 if (renderTarget && fastUnpackPixels(unpack, pixels, destArea, getInternalFormat(level), type, renderTarget))
1345 gl::Box destArea(
[all...]
H A DTextureD3D.h62 bool fastUnpackPixels(const gl::PixelUnpackState &unpack, const void *pixels, const gl::Box &destArea,
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DRenderer.h245 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea) = 0;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DRenderer9.h190 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea);
H A DRenderer9.cpp632 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea)
631 fastCopyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget, GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea) argument

Completed in 192 milliseconds