Home
last modified time | relevance | path

Searched refs:storageSize (Results 1 - 20 of 20) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeArrayBuffer.hpp91 const size_t storageSize = (numElements - 1) * Stride + sizeof(T); in ArrayBuffer() local
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer()
115 const size_t storageSize = sizeof(T) * numElements; in ArrayBuffer() local
116 deMemcpy(tmp.m_ptr, ptr, (int)storageSize); in ArrayBuffer()
138 const size_t storageSize = (other.m_cap - 1) * Stride + sizeof(T); in ArrayBuffer() local
141 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize); in ArrayBuffer()
/third_party/skia/src/core/
H A DSkDeque.cpp38 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument
43 SkASSERT(storageSize == 0 || storage != nullptr); in SkDeque()
46 if (storageSize >= sizeof(Block) + elemSize) { in SkDeque()
48 fFrontBlock->init(storageSize); in SkDeque()
H A DSkWriteBuffer.h83 SkBinaryWriteBuffer(void* initialStorage, size_t storageSize);
93 void reset(void* storage = nullptr, size_t storageSize = 0) { in reset()
94 fWriter.reset(storage, storageSize); in reset()
H A DSkMipmap.cpp562 size_t storageSize = SkMipmap::AllocLevelsSize(countLevels, size); in Build() local
563 if (0 == storageSize) { in Build()
569 SkDiscardableMemory* dm = fact(storageSize); in Build()
573 mipmap = new SkMipmap(storageSize, dm); in Build()
575 mipmap = new SkMipmap(sk_malloc_throw(storageSize), storageSize); in Build()
H A DSkWriteBuffer.cpp28 SkBinaryWriteBuffer::SkBinaryWriteBuffer(void* storage, size_t storageSize) in SkBinaryWriteBuffer() argument
31 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
H A DSkMaskFilter.cpp136 size_t storageSize = (innerW + 1) * (sizeof(int16_t) + sizeof(uint8_t)); in draw_nine_clipped() local
137 SkAutoSMalloc<4*1024> storage(storageSize); in draw_nine_clipped()
/third_party/skia/third_party/externals/tint/tools/src/lut/
H A Dlut.go209 storageSize := t.storage.Count()
210 keys := make([]int32, storageSize)
212 for i := 0; i < storageSize; i++ {
/third_party/protobuf/objectivec/
H A DGPBDescriptor_PackagePrivate.h194 storageSize:(uint32_t)storageSize
200 storageSize:(uint32_t)storage
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkImage.cpp990 VkDeviceSize storageSize = 0; in getStorageSize() local
992 if(aspectMask & VK_IMAGE_ASPECT_COLOR_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_COLOR_BIT); in getStorageSize()
993 if(aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_DEPTH_BIT); in getStorageSize()
994 if(aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_STENCIL_BIT); in getStorageSize()
995 if(aspectMask & VK_IMAGE_ASPECT_PLANE_0_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_0_BIT); in getStorageSize()
996 if(aspectMask & VK_IMAGE_ASPECT_PLANE_1_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_1_BIT); in getStorageSize()
997 if(aspectMask & VK_IMAGE_ASPECT_PLANE_2_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_2_BIT); in getStorageSize()
999 return arrayLayers * storageSize; in getStorageSize()
/third_party/skia/include/private/
H A DSkDeque.h33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DBuffer11.h160 size_t storageSize);
H A DRenderer11.h214 UniformStorageD3D *createUniformStorage(size_t storageSize) override;
H A DBuffer11.cpp984 size_t storageSize) in updateBufferStorage()
1028 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, &copyResult)); in updateBufferStorage()
981 updateBufferStorage(const gl::Context *context, BufferStorage *storage, size_t sourceOffset, size_t storageSize) updateBufferStorage() argument
H A DRenderer11.cpp3162 UniformStorageD3D *Renderer11::createUniformStorage(size_t storageSize) in createUniformStorage() argument
3164 return new UniformStorage11(storageSize); in createUniformStorage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DRendererD3D.h284 virtual UniformStorageD3D *createUniformStorage(size_t storageSize) = 0;
/third_party/skia/src/shaders/gradients/
H A DSkGradientShader.cpp161 size_t storageSize = fColorCount * (sizeof(SkColor4f) + (desc.fPos ? sizeof(SkScalar) : 0)); in SkGradientShaderBase() local
162 fOrigColors4f = reinterpret_cast<SkColor4f*>(fStorage.reset(storageSize)); in SkGradientShaderBase()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DRenderer9.h256 UniformStorageD3D *createUniformStorage(size_t storageSize) override;
H A DRenderer9.cpp2761 UniformStorageD3D *Renderer9::createUniformStorage(size_t storageSize) in createUniformStorage() argument
2763 return new UniformStorageD3D(storageSize); in createUniformStorage()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.hpp525 const VkDeviceSize storageSize);
H A DvkRayTracingUtil.cpp524 const VkDeviceSize storageSize) in SerialStorage()
526 , m_storageSize (storageSize) in SerialStorage()
529 const VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(storageSize, VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT); in SerialStorage()
520 SerialStorage(const DeviceInterface& vk, const VkDevice device, Allocator& allocator, const VkAccelerationStructureBuildTypeKHR buildType, const VkDeviceSize storageSize) SerialStorage() argument

Completed in 34 milliseconds