| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
| D | copy_buffer.metal | 84 uint bufferOffset, \ 87 #define FORWARD_COMMON_READ_FUNC_PARAMS bufferOffset, buffer 107 uint bufferOffset, \ 115 #define FORWARD_COMMON_WRITE_FUNC_PARAMS gIndices, options, bufferOffset, color, buffer 218 ushort src = bytesToShort<ushort>(buffer, bufferOffset); 232 shortToBytes(dst, bufferOffset, buffer); 239 ushort src = bytesToShort<ushort>(buffer, bufferOffset); 255 shortToBytes(dst, bufferOffset, buffer); 262 ushort src = bytesToShort<ushort>(buffer, bufferOffset); 278 shortToBytes(dst, bufferOffset, buffer); [all …]
|
| D | mtl_default_shaders_src_autogen.inc | 587 uint bufferOffset = options.dstBufferRowPitch * gIndices.y + samples * gIndices.x; 592 buffer[bufferOffset + sample] = static_cast<uchar>(stencilPerSample); 1815 static inline float4 readR5G6B5_UNORM(uint bufferOffset, constant uchar *buffer) 1818 ushort src = bytesToShort<ushort>(buffer, bufferOffset); 1826 …G6B5_UNORM(ushort2 gIndices, constant WritePixelParams &options, uint bufferOffset, vec<float, 4> … 1832 shortToBytes(dst, bufferOffset, buffer); 1836 static inline float4 readR4G4B4A4_UNORM(uint bufferOffset, constant uchar *buffer) 1839 ushort src = bytesToShort<ushort>(buffer, bufferOffset); 1847 …B4A4_UNORM(ushort2 gIndices, constant WritePixelParams &options, uint bufferOffset, vec<float, 4> … 1855 shortToBytes(dst, bufferOffset, buffer); [all …]
|
| /third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
| D | SegmentedGrowableMemoryByteArray.java | 66 int bufferOffset = this.bufferOffset(bufferIndex, index); in internalPut() local 68 buffer[bufferOffset] = b; in internalPut() 76 int bufferOffset = this.bufferOffset(bufferIndex, index); in internalPut() local 78 int copyLength = Math.min(length - copyCount, buffer.length - bufferOffset); in internalPut() 79 System.arraycopy(b, offset, buffer, bufferOffset, copyLength); in internalPut() 90 int bufferOffset = this.bufferOffset(bufferIndex, index); in internalGet() local 92 return buffer[bufferOffset]; in internalGet() 100 int bufferOffset = this.bufferOffset(bufferIndex, index); in internalGet() local 102 int copyLength = Math.min(length - copyCount, buffer.length - bufferOffset); in internalGet() 103 System.arraycopy(buffer, bufferOffset, b, offset, copyLength); in internalGet() [all …]
|
| /third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
| D | BrotliInputStream.java | 34 private int bufferOffset; field in BrotliInputStream 79 this.bufferOffset = 0; in BrotliInputStream() 112 if (bufferOffset >= remainingBufferBytes) { in read() 114 bufferOffset = 0; in read() 119 return buffer[bufferOffset++] & 0xFF; in read() 137 int copyLen = Math.max(remainingBufferBytes - bufferOffset, 0); in read() 140 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read() 141 bufferOffset += copyLen; in read()
|
| /third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
| D | BrotliInputStream.cs | 24 private int bufferOffset; field in Org.Brotli.Dec.BrotliInputStream 101 this.bufferOffset = 0; in BrotliInputStream() 127 if (bufferOffset >= remainingBufferBytes) in ReadByte() 130 bufferOffset = 0; in ReadByte() 136 return buffer[bufferOffset++] & unchecked((int)(0xFF)); in ReadByte() 159 int copyLen = System.Math.Max(remainingBufferBytes - bufferOffset, 0); in Read() 163 System.Array.Copy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in Read() 164 bufferOffset += copyLen; in Read()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
| D | TextureCopySplitter.cpp | 38 Origin3D bufferOffset) { in OffsetToFirstCopiedTexel() argument 39 ASSERT(bufferOffset.z == 0); in OffsetToFirstCopiedTexel() 40 return alignedOffset + bufferOffset.x * blockInfo.byteSize / blockInfo.width + in OffsetToFirstCopiedTexel() 41 bufferOffset.y * bytesPerRow / blockInfo.height; in OffsetToFirstCopiedTexel() 75 copy.copies[0].bufferOffset = {0, 0, 0}; in Compute2DTextureCopySubresource() 141 copy.copies[0].bufferOffset = texelOffset; in Compute2DTextureCopySubresource() 195 copy.copies[0].bufferOffset = texelOffset; in Compute2DTextureCopySubresource() 219 copy.copies[1].bufferOffset = texelOffsetForCopy1; in Compute2DTextureCopySubresource() 388 copy1->bufferOffset.y = copySize.height - 2 * blockInfo.height; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight() 395 copy0.alignedOffset, copy0.bufferOffset); in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight() [all …]
|
| /third_party/json/tests/thirdparty/Fuzzer/ |
| D | FuzzerSHA1.cpp | 58 uint8_t bufferOffset; member 92 s->bufferOffset = 0; in sha1_init() 139 b[s->bufferOffset] = data; in sha1_addUncounted() 141 b[s->bufferOffset ^ 3] = data; in sha1_addUncounted() 143 s->bufferOffset++; in sha1_addUncounted() 144 if (s->bufferOffset == BLOCK_LENGTH) { in sha1_addUncounted() 146 s->bufferOffset = 0; in sha1_addUncounted() 164 while (s->bufferOffset != 56) sha1_addUncounted(s, 0x00); in sha1_pad()
|
| /third_party/glslang/Test/ |
| D | hlsl.structbuffer.fn.frag | 4 uint4 get(in StructuredBuffer<uint4> sb, uint bufferOffset) 6 return sb[bufferOffset]; 9 void set(in RWStructuredBuffer<uint4> sb, uint bufferOffset, uint4 data) 11 sb[bufferOffset] = data;
|
| /third_party/vk-gl-cts/modules/gles31/stress/ |
| D | es31sVertexAttributeBindingTests.cpp | 232 int bufferOffset; member 281 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init() 286 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init() 294 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init() 332 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 349 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 372 …const int bufferOffset = (flags & FLAG_BUF_ALIGNED_OFFSET) ? (32) : (flags & FLAG_BUF_UNALIGNED_… in genTestSpec() local 373 …const int attrBufAlignment = ((bufferOffset % datumSize) == 0) ? (0) : (datumSize - (bufferOffset… in genTestSpec() 384 spec.bufferOffset = bufferOffset; in genTestSpec() 391 DE_ASSERT(!deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec() [all …]
|
| /third_party/skia/experimental/graphite/src/ |
| D | CommandBuffer.h | 65 void bindUniformBuffer(sk_sp<Buffer>, size_t bufferOffset); 68 void bindIndexBuffer(sk_sp<Buffer> indexBuffer, size_t bufferOffset); 98 size_t bufferOffset, 110 virtual void onBindUniformBuffer(const Buffer*, size_t bufferOffset) = 0; 113 virtual void onBindIndexBuffer(const Buffer* indexBuffer, size_t bufferOffset) = 0; 128 size_t bufferOffset,
|
| D | CopyTask.cpp | 19 size_t bufferOffset, in Make() argument 24 bufferOffset, in Make() 31 size_t bufferOffset, in CopyTextureToBufferTask() argument 36 , fBufferOffset(bufferOffset) in CopyTextureToBufferTask()
|
| D | CommandBuffer.cpp | 64 void CommandBuffer::bindIndexBuffer(sk_sp<Buffer> indexBuffer, size_t bufferOffset) { in bindIndexBuffer() argument 65 this->onBindIndexBuffer(indexBuffer.get(), bufferOffset); in bindIndexBuffer() 83 size_t bufferOffset, in copyTextureToBuffer() argument 89 this->onCopyTextureToBuffer(texture.get(), srcRect, buffer.get(), bufferOffset, bufferRowBytes); in copyTextureToBuffer()
|
| D | CopyTask.h | 26 size_t bufferOffset, 37 size_t bufferOffset,
|
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
| D | CopySplitTests.cpp | 55 ASSERT_LE(copy.bufferOffset.x + copy.copySize.width, copy.bufferSize.width); in ValidateFootprints() 56 ASSERT_LE(copy.bufferOffset.y + copy.copySize.height, copy.bufferSize.height); in ValidateFootprints() 57 ASSERT_LE(copy.bufferOffset.z + copy.copySize.depthOrArrayLayers, in ValidateFootprints() 79 ASSERT_EQ(copy.bufferOffset.x % textureSpec.blockWidth, 0u); in ValidateFootprints() 81 uint32_t footprintWidth = copy.bufferOffset.x + copy.copySize.width; in ValidateFootprints() 85 ASSERT_EQ(copy.bufferOffset.y % textureSpec.blockHeight, 0u); in ValidateFootprints() 87 uint32_t footprintHeight = copy.bufferOffset.y + copy.copySize.height; in ValidateFootprints() 205 copy.bufferOffset.x / textureSpec.blockWidth * texelsPerBlock + in ValidateBufferOffset() 206 copy.bufferOffset.y / textureSpec.blockHeight * bytesPerRowInTexels; in ValidateBufferOffset() 212 ASSERT_LE(copy.bufferOffset.y, textureSpec.blockHeight); in ValidateBufferOffset() [all …]
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
| D | copy_bufferimage_to_imagebuffer_common.txt | 12 * [[VUID-{refpage}-bufferOffset-00193]] 14 element of pname:pRegions, pname:bufferOffset must: be a multiple of the 18 * [[VUID-{refpage}-bufferOffset-01558]] 21 for each element of pname:pRegions, pname:bufferOffset must: be a 23 * [[VUID-{refpage}-bufferOffset-01559]] 26 for each element of pname:pRegions, pname:bufferOffset must: be a 57 * [[VUID-{refpage}-bufferOffset-00206]] 59 of pname:pRegions, pname:bufferOffset must: be a multiple of the 109 pname:bufferOffset member of any element of pname:pRegions must: be a 112 If {imageparam} has a depth/stencil format, the pname:bufferOffset
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
| D | vktSparseResourcesShaderIntrinsicsBase.cpp | 755 deUint32 bufferOffset = 0u; in iterate() local 764 bufferOffset, // VkDeviceSize bufferOffset; in iterate() 771 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, f… in iterate() 796 …const deUint32 bufferOffset = static_cast<deUint32>(bufferImageSparseCopy[mipmapNdx].bufferOffse… in iterate() local 803 void* prtData = &referenceData[bufferOffset + byteNdx]; in iterate() 811 referenceData[bufferOffset + byteNdx] = (deUint8)( (mipmapNdx + byteNdx) % 127u ); in iterate() 878 deUint32 bufferOffset = 0u; in iterate() local 887 bufferOffset, // VkDeviceSize bufferOffset; in iterate() 894 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m… in iterate() 947 …rImageResidencyCopy[planeNdx * imageSparseInfo.mipLevels + mipmapNdx].bufferOffset) / tcu::getPixe… in iterate() [all …]
|
| /third_party/glslang/Test/baseResults/ |
| D | hlsl.structbuffer.fn.frag.out | 8 0:5 'bufferOffset' ( in uint) 16 0:6 'bufferOffset' ( in uint) 21 0:10 'bufferOffset' ( in uint) 30 0:11 'bufferOffset' ( in uint) 79 0:5 'bufferOffset' ( in uint) 87 0:6 'bufferOffset' ( in uint) 92 0:10 'bufferOffset' ( in uint) 101 0:11 'bufferOffset' ( in uint) 156 Name 14 "bufferOffset" 164 Name 26 "bufferOffset" [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| D | DrawIndexedTests.cpp | 82 uint64_t bufferOffset, in Test() argument 87 bufferOffset, indexBuffer, bottomLeftExpected, topRightExpected); in Test() 103 uint64_t bufferOffset, in TestImplementation() argument 112 pass.SetIndexBuffer(curIndexBuffer, wgpu::IndexFormat::Uint32, bufferOffset); in TestImplementation()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
| D | QueueGL.cpp | 43 uint64_t bufferOffset, in WriteBufferImpl() argument 48 ToBackend(buffer)->EnsureDataInitializedAsDestination(bufferOffset, size); in WriteBufferImpl() 51 gl.BufferSubData(GL_ARRAY_BUFFER, bufferOffset, size, data); in WriteBufferImpl()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
| D | Queue.cpp | 55 uint64_t bufferOffset, in WriteBuffer() argument 63 cmd.bufferOffset = bufferOffset; in WriteBuffer()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| D | Queue.h | 48 uint64_t bufferOffset, 62 uint64_t bufferOffset, 88 uint64_t bufferOffset,
|
| D | Queue.cpp | 254 uint64_t bufferOffset, in APIWriteBuffer() argument 257 GetDevice()->ConsumedError(WriteBuffer(buffer, bufferOffset, data, size)); in APIWriteBuffer() 261 uint64_t bufferOffset, in WriteBuffer() argument 266 DAWN_TRY(ValidateWriteBuffer(GetDevice(), buffer, bufferOffset, size)); in WriteBuffer() 268 return WriteBufferImpl(buffer, bufferOffset, data, size); in WriteBuffer() 272 uint64_t bufferOffset, in WriteBufferImpl() argument 292 buffer, bufferOffset, size); in WriteBufferImpl()
|
| /third_party/skia/src/gpu/ |
| D | GrOpsRenderPass.cpp | 268 void GrOpsRenderPass::drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndirect() argument 284 cpuIndirectBuffer->data() + bufferOffset); in drawIndirect() 291 this->onDrawIndirect(drawIndirectBuffer, bufferOffset, drawCount); in drawIndirect() 294 void GrOpsRenderPass::drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndexedIndirect() argument 311 cpuIndirectBuffer->data() + bufferOffset); in drawIndexedIndirect() 319 this->onDrawIndexedIndirect(drawIndirectBuffer, bufferOffset, drawCount); in drawIndexedIndirect()
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ |
| D | d3d12_video_dec_h264.cpp | 178 unsigned int bufferOffset, in d3d12_video_decoder_get_next_slice_size_and_offset_h264() argument 183 uint numBitsToSearchIntoBuffer = buf.size() - bufferOffset; in d3d12_video_decoder_get_next_slice_size_and_offset_h264() 185 bufferOffset, in d3d12_video_decoder_get_next_slice_size_and_offset_h264() 195 outSliceOffset = currentSlicePosition + bufferOffset; in d3d12_video_decoder_get_next_slice_size_and_offset_h264() 213 bufferOffset += (DXVA_H264_START_CODE_LEN_BITS / 8 /*convert bits to bytes*/); in d3d12_video_decoder_get_next_slice_size_and_offset_h264() 214 numBitsToSearchIntoBuffer = buf.size() - bufferOffset; in d3d12_video_decoder_get_next_slice_size_and_offset_h264() 219 bufferOffset, in d3d12_video_decoder_get_next_slice_size_and_offset_h264()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
| D | UtilsMetal.mm | 53 uint64_t bufferOffset, 91 bufferSize - bufferOffset < bytesPerImage * copyExtent.depthOrArrayLayers; 94 copy.copies[0].bufferOffset = bufferOffset; 103 uint64_t currentOffset = bufferOffset; 107 copy.copies[copy.count].bufferOffset = currentOffset; 123 copy.copies[copy.count].bufferOffset = currentOffset; 147 copy.copies[copy.count].bufferOffset = currentOffset;
|