/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Buffer9.cpp | 42 if (size > mMemory.size()) in setData() 44 ANGLE_CHECK_GL_ALLOC(GetImplAs<Context9>(context), mMemory.resize(size)); in setData() 50 memcpy(mMemory.data(), data, size); in setData() 62 if (mMemory.empty()) in getData() 68 *outData = mMemory.data(); in getData() 79 if (offset + size > mMemory.size()) in setSubData() 81 ANGLE_CHECK_GL_ALLOC(GetImplAs<Context9>(context), mMemory.resize(size + offset)); in setSubData() 87 memcpy(mMemory.data() + offset, data, size); in setSubData() 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
|
D | Buffer9.h | 57 angle::MemoryBuffer mMemory;
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Buffer9.cpp | 42 if (size > mMemory.size()) in setData() 44 ANGLE_CHECK_GL_ALLOC(GetImplAs<Context9>(context), mMemory.resize(size)); in setData() 50 memcpy(mMemory.data(), data, size); in setData() 62 if (mMemory.empty()) in getData() 68 *outData = mMemory.data(); in getData() 79 if (offset + size > mMemory.size()) in setSubData() 81 ANGLE_CHECK_GL_ALLOC(GetImplAs<Context9>(context), mMemory.resize(size + offset)); in setSubData() 87 memcpy(mMemory.data() + offset, data, size); in setSubData() 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
|
D | Buffer9.h | 57 angle::MemoryBuffer mMemory;
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | MemoryAllocator.cpp | 23 ASSERT(mMemory == VK_NULL_HANDLE); in ~DeviceMemoryAllocation() 27 return mMemory; in GetMemory() 122 allocation->mMemory = allocatedMemory; in Allocate() 130 mDevice->GetFencedDeleter()->DeleteWhenUnused(allocation->mMemory); in Free() 131 allocation->mMemory = VK_NULL_HANDLE; in Free()
|
D | MemoryAllocator.h | 35 VkDeviceMemory mMemory = VK_NULL_HANDLE; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceHeapVk.cpp | 20 : mMemory(memory), mMemoryType(memoryType) { in ResourceHeap() 24 return mMemory; in GetMemory()
|
D | ResourceHeapVk.h | 33 VkDeviceMemory mMemory = VK_NULL_HANDLE;
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | AttributeLayoutTest.cpp | 73 void open(void) { memset(mMemory, 0xff, kSize); } in open() 74 void *getDestination(size_t offset) { return mMemory + offset; } in getDestination() 81 char mMemory[kSize]; member in __anon246e4f4e0111::Container 88 const char *getAddress() override { return mMemory; } in getAddress() 99 glBufferData(GL_ARRAY_BUFFER, sizeof(mMemory), mMemory, GL_STATIC_DRAW); in close()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | AttributeLayoutTest.cpp | 73 void open(void) { memset(mMemory, 0xff, kSize); } in open() 74 void *getDestination(size_t offset) { return mMemory + offset; } in getDestination() 81 char mMemory[kSize]; member in __anondc7107630111::Container 88 const char *getAddress() override { return mMemory; } in getAddress() 99 glBufferData(GL_ARRAY_BUFFER, sizeof(mMemory), mMemory, GL_STATIC_DRAW); in close()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
D | CLMemoryCL.cpp | 27 mMemory.getContext().getImpl<CLContextCL>().mData->mMemories.erase(mMemory.getNative()); in ~CLMemoryCL()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | CLMemoryImpl.cpp | 13 CLMemoryImpl::CLMemoryImpl(const cl::Memory &memory) : mMemory(memory) {} in CLMemoryImpl()
|
D | CLMemoryImpl.h | 32 const cl::Memory &mMemory;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.h | 868 return mMemory.getMappedMemory(); in getMappedMemory() 879 bool isMapped() const { return mMemory.getMappedMemory() != nullptr; } in isMapped() 880 bool isExternalBuffer() const { return mMemory.isExternalBuffer(); } in isExternalBuffer() 890 return mMemory.map(contextVk, mSize, ptrOut); in map() 896 ANGLE_TRY(mMemory.map(contextVk, mSize, &mapBufPointer)); in mapWithOffset() 939 BufferMemory mMemory; variable
|
D | vk_helpers.cpp | 3699 mMemory.getMemoryObject())); in init() 3719 ANGLE_TRY(InitMappableAllocation(contextVk, allocator, mMemory.getMemoryObject(), mSize, in init() 3724 ANGLE_TRY(mMemory.init()); in init() 3752 &mMemoryPropertyFlags, mMemory.getExternalMemoryObject())); in initExternal() 3754 ANGLE_TRY(mMemory.initExternal(clientBuffer)); in initExternal() 3803 mMemory.destroy(renderer); in destroy() 3811 renderer->collectGarbageAndReinit(&mReadOnlyUse, &mBuffer, mMemory.getExternalMemoryObject(), in release() 3812 mMemory.getMemoryObject()); in release() 3844 mMemory.unmap(renderer); in unmap() 3853 mMemory.flush(renderer, mMemoryPropertyFlags, offset, size); in flush() [all …]
|