Home
last modified time | relevance | path

Searched refs:destOffset (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DBrotliInputStream.java126 public int read(byte[] destBuffer, int destOffset, int destLen) throws IOException { in read() argument
127 if (destOffset < 0) { in read()
128 throw new IllegalArgumentException("Bad offset: " + destOffset); in read()
131 } else if (destOffset + destLen > destBuffer.length) { in read()
133 "Buffer overflow: " + (destOffset + destLen) + " > " + destBuffer.length); in read()
140 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read()
142 destOffset += copyLen; in read()
150 state.outputOffset = destOffset; in read()
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs141 public override int Read(byte[] destBuffer, int destOffset, int destLen) in Read() argument
143 if (destOffset < 0) in Read()
145 throw new System.ArgumentException("Bad offset: " + destOffset); in Read()
151 else if (destOffset + destLen > destBuffer.Length) in Read()
153 …throw new System.ArgumentException("Buffer overflow: " + (destOffset + destLen) + " > " + destBuff… in Read()
163 System.Array.Copy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in Read()
165 destOffset += copyLen; in Read()
175 state.outputOffset = destOffset; in Read()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp224 const gl::Offset &destOffset, in copy2D() argument
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
257 const gl::Offset &destOffset, in copyCube() argument
281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube()
290 const gl::Offset &destOffset, in copyTexture() argument
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
332 const gl::Offset &destOffset, in copy() argument
352 RECT destRect = {destOffset.x, destOffset.y, in copy()
353 destOffset.x + (sourceRect.right - sourceRect.left), in copy()
354 destOffset.y + (sourceRect.bottom - sourceRect.top)}; in copy()
[all …]
DBlit9.h50 const gl::Offset &destOffset,
57 const gl::Offset &destOffset,
66 const gl::Offset &destOffset,
94 const gl::Offset &destOffset,
110 const gl::Offset &destOffset,
DImage9.h43 const gl::Offset &destOffset,
83 const gl::Offset &destOffset,
98 const gl::Offset &destOffset,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp224 const gl::Offset &destOffset, in copy2D() argument
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
257 const gl::Offset &destOffset, in copyCube() argument
281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube()
290 const gl::Offset &destOffset, in copyTexture() argument
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
332 const gl::Offset &destOffset, in copy() argument
352 RECT destRect = {destOffset.x, destOffset.y, in copy()
353 destOffset.x + (sourceRect.right - sourceRect.left), in copy()
354 destOffset.y + (sourceRect.bottom - sourceRect.top)}; in copy()
[all …]
DBlit9.h50 const gl::Offset &destOffset,
57 const gl::Offset &destOffset,
66 const gl::Offset &destOffset,
94 const gl::Offset &destOffset,
110 const gl::Offset &destOffset,
DImage9.h43 const gl::Offset &destOffset,
83 const gl::Offset &destOffset,
98 const gl::Offset &destOffset,
DImage9.cpp159 const gl::Offset &destOffset, in CopyImage() argument
203 destOffset.x * destD3DFormatInfo.pixelBytes + in CopyImage()
204 destOffset.y * destLocked.Pitch; in CopyImage()
556 const gl::Offset &destOffset, in copyFromRTInternal() argument
563 ASSERT(destOffset.z == 0); in copyFromRTInternal()
590 RECT destRect = {destOffset.x, destOffset.y, destOffset.x + width, destOffset.y + height}; in copyFromRTInternal()
781 const gl::Offset &destOffset, in copyFromFramebuffer() argument
791 return copyFromRTInternal(GetImplAs<Context9>(context), destOffset, sourceArea, renderTarget); in copyFromFramebuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp82 const gl::Offset &destOffset, in CopyImage() argument
110 uint8_t *destData = static_cast<uint8_t *>(destMapped.pData) + destOffset.x * destPixelBytes + in CopyImage()
111 destOffset.y * destMapped.RowPitch + destOffset.z * destMapped.DepthPitch; in CopyImage()
372 const gl::Offset &destOffset, in copyFromFramebuffer() argument
393 return copyWithoutConversion(context, destOffset, sourceBox, textureHelper, in copyFromFramebuffer()
404 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer()
407 mappedImage.RowPitch * destOffset.y + rowOffset + in copyFromFramebuffer()
408 destOffset.z * mappedImage.DepthPitch; in copyFromFramebuffer()
450 const gl::Offset &destOffset, in copyWithoutConversion() argument
495 destOffset.x, destOffset.y, destOffset.z, in copyWithoutConversion()
[all …]
DBuffer11.cpp124 size_t destOffset,
166 size_t destOffset,
222 size_t destOffset,
256 size_t destOffset,
298 size_t destOffset,
435 GLintptr destOffset, in copySubData() argument
486 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData()
490 mSize = std::max<size_t>(mSize, destOffset + size); in copySubData()
1039 size_t destOffset, in copyFromStorage() argument
1042 size_t requiredSize = destOffset + size; in copyFromStorage()
[all …]
DImage11.h51 const gl::Offset &destOffset,
85 const gl::Offset &destOffset,
101 const gl::Offset &destOffset,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp82 const gl::Offset &destOffset, in CopyImage() argument
110 uint8_t *destData = static_cast<uint8_t *>(destMapped.pData) + destOffset.x * destPixelBytes + in CopyImage()
111 destOffset.y * destMapped.RowPitch + destOffset.z * destMapped.DepthPitch; in CopyImage()
374 const gl::Offset &destOffset, in copyFromFramebuffer() argument
395 return copyWithoutConversion(context, destOffset, sourceBox, textureHelper, in copyFromFramebuffer()
406 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer()
409 mappedImage.RowPitch * destOffset.y + rowOffset + in copyFromFramebuffer()
410 destOffset.z * mappedImage.DepthPitch; in copyFromFramebuffer()
452 const gl::Offset &destOffset, in copyWithoutConversion() argument
497 destOffset.x, destOffset.y, destOffset.z, in copyWithoutConversion()
[all …]
DImage11.h51 const gl::Offset &destOffset,
85 const gl::Offset &destOffset,
105 const gl::Offset &destOffset,
DBuffer11.cpp126 size_t destOffset,
170 size_t destOffset,
248 size_t destOffset,
282 size_t destOffset,
324 size_t destOffset,
477 GLintptr destOffset, in copySubData() argument
528 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData()
532 mSize = std::max<size_t>(mSize, destOffset + size); in copySubData()
1157 size_t destOffset, in copyFromStorage() argument
1160 size_t requiredSize = destOffset + size; in copyFromStorage()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.h63 size_t destOffset; member
91 int destOffset[2]; member
110 int destOffset[2]; member
167 uint32_t destOffset = 0; member
190 uint32_t destOffset = 0; member
213 int32_t destOffset[2] = {}; member
DTextureVk.cpp314 const gl::Offset &destOffset, in copySubImage() argument
319 return copySubImageImpl(context, index, destOffset, sourceArea, currentFormat, source); in copySubImage()
351 const gl::Offset &destOffset, in copySubTexture() argument
362 return copySubTextureImpl(vk::GetImpl(context), index, destOffset, destFormatInfo, sourceLevel, in copySubTexture()
395 const gl::Offset &destOffset, in copySubImageImpl() argument
418 int zOffset = (imageType == VK_IMAGE_TYPE_3D) ? destOffset.z : 0; in copySubImageImpl()
419 const gl::Offset modifiedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImageImpl()
420 destOffset.y + clippedSourceArea.y - sourceArea.y, zOffset); in copySubImageImpl()
463 const gl::Offset &destOffset, in copySubTextureImpl() argument
485 return copySubImageImplWithTransfer(contextVk, offsetImageIndex, destOffset, destVkFormat, in copySubTextureImpl()
[all …]
DTextureVk.h68 const gl::Offset &destOffset,
83 const gl::Offset &destOffset,
247 const gl::Offset &destOffset,
254 const gl::Offset &destOffset,
265 const gl::Offset &destOffset,
274 const gl::Offset &destOffset,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBlitGL.h63 const gl::Offset &destOffset,
84 const gl::Offset &destOffset,
103 const gl::Offset &destOffset,
116 const gl::Offset &destOffset,
DBlitGL.cpp298 const gl::Offset &destOffset, in copySubImageToLUMAWorkaroundTexture() argument
371 mFunctions->copyTexSubImage3D(ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture()
372 destOffset.y, destOffset.z, 0, 0, sourceArea.width, in copySubImageToLUMAWorkaroundTexture()
378 mFunctions->copyTexSubImage2D(ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture()
379 destOffset.y, 0, 0, sourceArea.width, sourceArea.height); in copySubImageToLUMAWorkaroundTexture()
511 const gl::Offset &destOffset, in copySubTexture() argument
570 context, gl::Rectangle(destOffset.x, destOffset.y, sourceArea.width, sourceArea.height))); in copySubTexture()
625 const gl::Offset &destOffset, in copySubTextureCPUReadback() argument
743 mFunctions->texSubImage2D(ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copySubTextureCPUReadback()
744 destOffset.y, readPixelsArea.width, readPixelsArea.height, in copySubTextureCPUReadback()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1093 gl::Offset destOffset(clippedArea.x - sourceArea.x, clippedArea.y - sourceArea.y, 0); in copyImage() local
1100 ANGLE_TRY(mImageArray[index.getLevelIndex()]->copyFromFramebuffer(context, destOffset, in copyImage()
1113 destOffset, mTexStorage, index.getLevelIndex())); in copyImage()
1122 const gl::Offset &destOffset, in copySubImage() argument
1126 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage()
1134 const gl::Offset clippedOffset(destOffset.x + clippedArea.x - sourceArea.x, in copySubImage()
1135 destOffset.y + clippedArea.y - sourceArea.y, 0); in copySubImage()
1189 gl::Offset destOffset(0, 0, 0); in copyTexture() local
1199 internalFormatInfo.type, destOffset, mTexStorage, in copyTexture()
1213 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1010 gl::Offset destOffset(clippedArea.x - sourceArea.x, clippedArea.y - sourceArea.y, 0); in copyImage() local
1017 ANGLE_TRY(mImageArray[index.getLevelIndex()]->copyFromFramebuffer(context, destOffset, in copyImage()
1030 destOffset, mTexStorage, index.getLevelIndex())); in copyImage()
1039 const gl::Offset &destOffset, in copySubImage() argument
1043 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage()
1051 const gl::Offset clippedOffset(destOffset.x + clippedArea.x - sourceArea.x, in copySubImage()
1052 destOffset.y + clippedArea.y - sourceArea.y, 0); in copySubImage()
1106 gl::Offset destOffset(0, 0, 0); in copyTexture() local
1116 internalFormatInfo.format, internalFormatInfo.type, destOffset, mTexStorage, in copyTexture()
1130 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DTextureMtl.h80 const gl::Offset &destOffset,
95 const gl::Offset &destOffset,
233 const gl::Offset &destOffset,
240 const gl::Offset &destOffset,
247 const gl::Offset &destOffset,
255 const gl::Offset &destOffset,
266 const gl::Offset &destOffset,
278 const gl::Offset &destOffset,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBlitGL.h65 const gl::Offset &destOffset,
105 const gl::Offset &destOffset,
124 const gl::Offset &destOffset,
138 const gl::Offset &destOffset,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DBufferUtils.comp52 // destOffset: used in all cases
53 uint destOffset;
70 int destIndex = int(params.destOffset.x + gl_GlobalInvocationID.x);

1234567