Home
last modified time | relevance | path

Searched refs:offsetDiff (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp190 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() local
191 if (offsetDiff != 0) { in get_ubo_aligned_offset()
192 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
194 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
DGrVkMemory.cpp173 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local
174 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
/third_party/skia/src/gpu/
DGrSPIRVUniformHandler.cpp170 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() local
171 if (offsetDiff != 0) { in get_ubo_offset()
172 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
174 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnUniformHandler.cpp186 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() local
187 if (offsetDiff != 0) { in get_ubo_offset()
188 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
190 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.cpp173 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset() local
174 if (offsetDiff != 0) { in get_aligned_offset()
175 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()
177 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset()
DGrVkMemory.cpp135 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local
136 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp447 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() local
448 if (offsetDiff != 0) { in get_ubo_aligned_offset()
449 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
451 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm165 uint32_t offsetDiff = *currentOffset & alignmentMask;
166 if (offsetDiff != 0) {
167 offsetDiff = alignmentMask - offsetDiff + 1;
169 uint32_t uniformOffset = *currentOffset + offsetDiff;
DGrMtlPipelineStateBuilder.mm393 uint32_t offsetDiff = offset & maxAlignment;
394 if (offsetDiff != 0) {
395 offsetDiff = maxAlignment - offsetDiff + 1;
397 return offset + offsetDiff;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm189 uint32_t offsetDiff = *currentOffset & alignmentMask;
190 if (offsetDiff != 0) {
191 offsetDiff = alignmentMask - offsetDiff + 1;
193 *uniformOffset = *currentOffset + offsetDiff;
DGrMtlPipelineStateBuilder.mm309 uint32_t offsetDiff = offset & maxAlignment;
310 if (offsetDiff != 0) {
311 offsetDiff = maxAlignment - offsetDiff + 1;
313 return offset + offsetDiff;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp2269 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local
2280 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()
2285 ASSERT(offsetDiff < (1 << 8)); in writeAtomicCounterBufferDriverUniformOffsets()
2291 offsetsOut[bufferIndex / 4] |= static_cast<uint8_t>(offsetDiff) << ((bufferIndex % 4) * 8); in writeAtomicCounterBufferDriverUniformOffsets()
DProgramVk.cpp266 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local
269 size += offsetDiff; in WriteBufferDescriptorSetBinding()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local
803 size += offsetDiff; in WriteBufferDescriptorSetBinding()
DContextVk.cpp4957 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local
4968 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()
4973 ASSERT(offsetDiff < (1 << 8)); in writeAtomicCounterBufferDriverUniformOffsets()
4979 offsetsOut[bufferIndex / 4] |= static_cast<uint8_t>(offsetDiff) << ((bufferIndex % 4) * 8); in writeAtomicCounterBufferDriverUniformOffsets()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Deditable_text.dart1305 final double offsetDiff = _scrollController.offset - scrollOffset;
1306 … return _isMultiline ? caretRect.translate(0.0, offsetDiff) : caretRect.translate(offsetDiff, 0.0);