Home
last modified time | relevance | path

Searched refs:memorySize (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp368 for (auto &memorySize : mAllocatedResourceDeviceMemory) in ResourceManager11() local
370 memorySize = 0; in ResourceManager11()
381 for (uint64_t memorySize : mAllocatedResourceDeviceMemory) in ~ResourceManager11() local
383 ASSERT(memorySize == 0); in ~ResourceManager11()
417 void ResourceManager11::incrResource(ResourceType resourceType, uint64_t memorySize) in incrResource() argument
422 mAllocatedResourceDeviceMemory[typeIndex] += memorySize; in incrResource()
426 ASSERT(mAllocatedResourceDeviceMemory[typeIndex] >= memorySize); in incrResource()
429 void ResourceManager11::decrResource(ResourceType resourceType, uint64_t memorySize) in decrResource() argument
435 ASSERT(mAllocatedResourceDeviceMemory[typeIndex] >= memorySize); in decrResource()
436 mAllocatedResourceDeviceMemory[typeIndex] -= memorySize; in decrResource()
DResourceManager11.h367 void incrResource(ResourceType resourceType, uint64_t memorySize);
368 void decrResource(ResourceType resourceType, uint64_t memorySize);
/third_party/skia/src/core/
DSkRemoteGlyphCache.h122 size_t memorySize; member
145 SK_SPI bool readStrikeData(const volatile void* memory, size_t memorySize);
DSkRemoteGlyphCache.cpp120 Deserializer(const volatile char* memory, size_t memorySize) in Deserializer() argument
121 : fMemory(memory), fMemorySize(memorySize) {} in Deserializer()
888 bool readStrikeData(const volatile void* memory, size_t memorySize);
933 memorySize, deserializer.bytesRead(), typefaceSize, \
939 bool SkStrikeClientImpl::readStrikeData(const volatile void* memory, size_t memorySize) { in readStrikeData() argument
940 SkASSERT(memorySize != 0u); in readStrikeData()
941 Deserializer deserializer(static_cast<const volatile char*>(memory), memorySize); in readStrikeData()
1086 bool SkStrikeClient::readStrikeData(const volatile void* memory, size_t memorySize) { in readStrikeData() argument
1087 return fImpl->readStrikeData(memory, memorySize); in readStrikeData()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderVars.cpp213 unsigned int memorySize = 0; in getExternalSize() local
220 memorySize += field.getExternalSize(); in getExternalSize()
225 memorySize += gl::VariableExternalSize(type); in getExternalSize()
229 memorySize *= getArraySizeProduct(); in getExternalSize()
231 return memorySize; in getExternalSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp92 Maybe<VkDeviceSize> memorySize; member
363 DE_ASSERT(!!m_config.memorySize != !!m_config.memoryPercentage); in AllocateFreeTestInstance()
398 …::Message << "Single allocation size: " << (m_config.memorySize ? de::toString(*m_config.memorySiz… in iterate()
424 …const VkDeviceSize bufferSize = m_config.memorySize ? *m_config.memorySize : (VkDeviceSize)(*m_con… in iterate()
442 …const VkDeviceSize allocationSize = (m_config.memorySize ? memReqs.size : (VkDeviceSize)(*m_confi… in iterate()
994 config.memorySize = allocationSize; in createAllocationTestsCommon()
DvktMemoryAddressBindingTests.cpp1628 VkDeviceSize memorySize = 0; in validateCallbackRecords() local
1637 memorySize = bindingData.size; in validateCallbackRecords()
1655 if (bindingData.size != memorySize) in validateCallbackRecords()
1657 …log << tcu::TestLog::Message << "Bind memory size:" << memorySize << " differ from unbound one: " … in validateCallbackRecords()
DvktMemoryBindingTests.cpp543 VkDeviceSize* memorySize);
881 VkDeviceSize* memorySize) in createBuffer() argument
890 *memorySize = memReqs.size; in createBuffer()
DvktMemoryPipelineBarrierTests.cpp789 vk::VkDeviceSize memorySize, in findMaxBufferSize() argument
793 vk::VkDeviceSize currentSize = memorySize / 2; in findMaxBufferSize()
796 …const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, memorySize, usage, sharingMode… in findMaxBufferSize()
799 if (requirements.size == memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
800 return memorySize; in findMaxBufferSize()
803 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2) in findMaxBufferSize()
808 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
875 vk::VkDeviceSize memorySize, in findMaxRGBA8ImageSize() argument
882 const deUint32 texelCount = (deUint32)(memorySize / 4); in findMaxRGBA8ImageSize()
917 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxRGBA8ImageSize()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryAllocationTests.cpp92 Maybe<VkDeviceSize> memorySize; member
363 DE_ASSERT(!!m_config.memorySize != !!m_config.memoryPercentage); in AllocateFreeTestInstance()
398 …::Message << "Single allocation size: " << (m_config.memorySize ? de::toString(*m_config.memorySiz… in iterate()
424 …const VkDeviceSize bufferSize = m_config.memorySize ? *m_config.memorySize : (VkDeviceSize)(*m_con… in iterate()
442 …const VkDeviceSize allocationSize = (m_config.memorySize ? memReqs.size : (VkDeviceSize)(*m_confi… in iterate()
994 config.memorySize = allocationSize; in createAllocationTestsCommon()
DvktMemoryAddressBindingTests.cpp1628 VkDeviceSize memorySize = 0; in validateCallbackRecords() local
1637 memorySize = bindingData.size; in validateCallbackRecords()
1655 if (bindingData.size != memorySize) in validateCallbackRecords()
1657 …log << tcu::TestLog::Message << "Bind memory size:" << memorySize << " differ from unbound one: " … in validateCallbackRecords()
DvktMemoryBindingTests.cpp543 VkDeviceSize* memorySize);
881 VkDeviceSize* memorySize) in createBuffer() argument
890 *memorySize = memReqs.size; in createBuffer()
DvktMemoryPipelineBarrierTests.cpp789 vk::VkDeviceSize memorySize, in findMaxBufferSize() argument
793 vk::VkDeviceSize currentSize = memorySize / 2; in findMaxBufferSize()
796 …const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, memorySize, usage, sharingMode… in findMaxBufferSize()
799 if (requirements.size == memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
800 return memorySize; in findMaxBufferSize()
803 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2) in findMaxBufferSize()
808 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
875 vk::VkDeviceSize memorySize, in findMaxRGBA8ImageSize() argument
882 const deUint32 texelCount = (deUint32)(memorySize / 4); in findMaxRGBA8ImageSize()
917 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxRGBA8ImageSize()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DBuddyMemoryAllocatorTests.cpp37 DummyBuddyResourceAllocator(uint64_t maxBlockSize, uint64_t memorySize) in DummyBuddyResourceAllocator() argument
38 : mAllocator(maxBlockSize, memorySize, &mHeapAllocator) { in DummyBuddyResourceAllocator()
42 uint64_t memorySize, in DummyBuddyResourceAllocator() argument
44 : mAllocator(maxBlockSize, memorySize, heapAllocator) { in DummyBuddyResourceAllocator()
/third_party/node/doc/api/
Dreport.md150 "memorySize": 524288,
157 "memorySize": 2097152,
164 "memorySize": 2273280,
171 "memorySize": 696320,
178 "memorySize": 536576,
185 "memorySize": 0,
192 "memorySize": 0,
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_beta.h179 VkDeviceSize memorySize; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_beta.h179 VkDeviceSize memorySize; member
Dvulkan_structs.hpp73694 , memorySize( memorySize_ )
73739 memorySize = memorySize_; in setMemorySize()
73760 …memory == rhs.memory ) && ( memoryOffset == rhs.memoryOffset ) && ( memorySize == rhs.memorySize ); in operator ==()
73775 VULKAN_HPP_NAMESPACE::DeviceSize memorySize = {}; member
/third_party/mesa3d/include/vulkan/
Dvulkan_beta.h190 VkDeviceSize memorySize; member
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_video_queue.adoc238 VkDeviceSize memorySize;
763 .memorySize = ... // size to bind
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dvideocoding.adoc1628 slink:VkMemoryRequirements structure, then the pname:memorySize member
1651 * pname:memorySize is the size in bytes of the region of pname:memory,
1658 * [[VUID-VkBindVideoSessionMemoryInfoKHR-memorySize-07202]]
1659 pname:memorySize must: be less than or equal to the size of pname:memory
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl6429 VkDeviceSize memorySize; member
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp9503 , memorySize( memorySize_ )
9550 memorySize = memorySize_; in setMemorySize()
9578 return std::tie( sType, pNext, memoryBindIndex, memory, memoryOffset, memorySize ); in reflect()
9591 ( memoryOffset == rhs.memoryOffset ) && ( memorySize == rhs.memorySize ); in operator ==()
9607 VULKAN_HPP_NAMESPACE::DeviceSize memorySize = {}; member
Dvulkan_core.h8040 VkDeviceSize memorySize; member
Dvulkan_hash.hpp1542 VULKAN_HPP_HASH_COMBINE( seed, bindVideoSessionMemoryInfoKHR.memorySize ); in operator ()()

12