Home
last modified time | relevance | path

Searched refs:mAllocatedSize (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBufferGL.cpp39 mAllocatedSize = std::max(GetSize(), uint64_t(4u)); in Buffer()
48 std::vector<uint8_t> clearValues(mAllocatedSize, 1u); in Buffer()
49 device->gl.BufferData(GL_ARRAY_BUFFER, mAllocatedSize, clearValues.data(), in Buffer()
53 device->gl.BufferData(GL_ARRAY_BUFFER, mAllocatedSize, nullptr, GL_STATIC_DRAW); in Buffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBufferVk.cpp168 mAllocatedSize = Align(size, kAlignment); in Initialize()
176 if (mAllocatedSize & (uint64_t(3) << uint64_t(62))) { in Initialize()
184 createInfo.size = mAllocatedSize; in Initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp117 mAllocatedSize = Align(size, alignment); in Initialize()
122 resourceDescriptor.Width = mAllocatedSize; in Initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.h98 uint64_t mAllocatedSize = 0; variable
DBuffer.cpp212 ASSERT(mAllocatedSize != 0); in GetAllocatedSize()
213 return mAllocatedSize; in GetAllocatedSize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBufferMTL.mm110 mAllocatedSize = currentSize;
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp295 mAllocatedSize = GetSize(); in Buffer()