Home
last modified time | relevance | path

Searched refs:mMemory (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp42 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()
DBuffer9.h57 angle::MemoryBuffer mMemory;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp42 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()
DBuffer9.h57 angle::MemoryBuffer mMemory;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DMemoryAllocator.cpp23 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()
DMemoryAllocator.h35 VkDeviceMemory mMemory = VK_NULL_HANDLE; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceHeapVk.cpp20 : mMemory(memory), mMemoryType(memoryType) { in ResourceHeap()
24 return mMemory; in GetMemory()
DResourceHeapVk.h33 VkDeviceMemory mMemory = VK_NULL_HANDLE;
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp73 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/
DAttributeLayoutTest.cpp73 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/
DCLMemoryCL.cpp27 mMemory.getContext().getImpl<CLContextCL>().mData->mMemories.erase(mMemory.getNative()); in ~CLMemoryCL()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLMemoryImpl.cpp13 CLMemoryImpl::CLMemoryImpl(const cl::Memory &memory) : mMemory(memory) {} in CLMemoryImpl()
DCLMemoryImpl.h32 const cl::Memory &mMemory;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.h868 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
Dvk_helpers.cpp3699 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 …]