/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 190 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()
|
D | GrVkMemory.cpp | 173 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local 174 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
|
/third_party/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 170 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/ |
D | GrDawnUniformHandler.cpp | 186 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/ |
D | GrVkUniformHandler.cpp | 173 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()
|
D | GrVkMemory.cpp | 135 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local 136 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 447 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/ |
D | GrMtlUniformHandler.mm | 165 uint32_t offsetDiff = *currentOffset & alignmentMask; 166 if (offsetDiff != 0) { 167 offsetDiff = alignmentMask - offsetDiff + 1; 169 uint32_t uniformOffset = *currentOffset + offsetDiff;
|
D | GrMtlPipelineStateBuilder.mm | 393 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/ |
D | GrMtlUniformHandler.mm | 189 uint32_t offsetDiff = *currentOffset & alignmentMask; 190 if (offsetDiff != 0) { 191 offsetDiff = alignmentMask - offsetDiff + 1; 193 *uniformOffset = *currentOffset + offsetDiff;
|
D | GrMtlPipelineStateBuilder.mm | 309 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/ |
D | ContextVk.cpp | 2269 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()
|
D | ProgramVk.cpp | 266 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local 269 size += offsetDiff; in WriteBufferDescriptorSetBinding()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramExecutableVk.cpp | 800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local 803 size += offsetDiff; in WriteBufferDescriptorSetBinding()
|
D | ContextVk.cpp | 4957 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/ |
D | editable_text.dart | 1305 final double offsetDiff = _scrollController.offset - scrollOffset; 1306 … return _isMultiline ? caretRect.translate(0.0, offsetDiff) : caretRect.translate(offsetDiff, 0.0);
|