Home
last modified time | relevance | path

Searched refs:mappedMemory (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DExternalBufferTest.cpp56 void *mappedMemory = nullptr; in createAndroidHardwareBuffer() local
58 -1, nullptr, &mappedMemory)); in createAndroidHardwareBuffer()
63 memcpy(mappedMemory, data, size); in createAndroidHardwareBuffer()
H A DImageTest.cpp531 void *mappedMemory = nullptr; in writeAHBData()
533 nullptr, &mappedMemory); in writeAHBData()
550 uint8_t *dst = reinterpret_cast<uint8_t *>(mappedMemory) + dstPtrOffset; in writeAHBData()
864 void *mappedMemory = nullptr; in verifyResultAHB() local
866 nullptr, &mappedMemory)); in verifyResultAHB()
898 const uint8_t *ahbData = reinterpret_cast<uint8_t *>(mappedMemory) + in verifyResultAHB()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrFormatTests.cpp325 const bool mappedMemory = params.useMappedMemory; in testFormat() local
329 const Unique<VkImage> image (createTestImage(vkd, device, format, size, createFlags, tiling, mappedMemory ? VK_IMAGE_LAYOUT_PREINITIALIZED : VK_IMAGE_LAYOUT_UNDEFINED, arrayLayers)); in testFormat()
330 const vector<AllocationSp> allocations (allocateAndBindImageMemory(vkd, device, context.getDefaultAllocator(), *image, format, createFlags, mappedMemory ? MemoryRequirement::HostVisible : MemoryRequirement::Any)); in testFormat()
438 if (mappedMemory) in testFormat()
467 if (mappedMemory) in testFormat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrFormatTests.cpp325 const bool mappedMemory = params.useMappedMemory; in testFormat() local
329 const Unique<VkImage> image (createTestImage(vkd, device, format, size, createFlags, tiling, mappedMemory ? VK_IMAGE_LAYOUT_PREINITIALIZED : VK_IMAGE_LAYOUT_UNDEFINED, arrayLayers)); in testFormat()
330 const vector<AllocationSp> allocations (allocateAndBindImageMemory(vkd, device, context.getDefaultAllocator(), *image, format, createFlags, mappedMemory ? MemoryRequirement::HostVisible : MemoryRequirement::Any)); in testFormat()
438 if (mappedMemory) in testFormat()
467 if (mappedMemory) in testFormat()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DRenderer9.cpp1527 void *mappedMemory = nullptr; in drawLineLoop() local
1529 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1532 unsigned int *data = static_cast<unsigned int *>(mappedMemory); in drawLineLoop()
1594 void *mappedMemory = nullptr; in drawLineLoop() local
1596 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1599 unsigned short *data = static_cast<unsigned short *>(mappedMemory); in drawLineLoop()
1703 void *mappedMemory = nullptr; in getCountingIB() local
1704 ANGLE_TRY(mCountingIB->mapBuffer(context, spaceNeeded, &mappedMemory, nullptr)); in getCountingIB()
1706 unsigned short *data = static_cast<unsigned short *>(mappedMemory); in getCountingIB()
1726 void *mappedMemory in getCountingIB() local
[all...]
/third_party/skia/experimental/graphite/src/
H A DDevice.cpp133 void* mappedMemory = dstBuffer->map(); in onReadPixels() local
135 memcpy(pm.writable_addr(), mappedMemory, size); in onReadPixels()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DRenderer11.cpp2017 void *mappedMemory = nullptr; in drawLineLoop() local
2019 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
2022 memcpy(mappedMemory, &mScratchIndexDataBuffer[0], in drawLineLoop()
2099 void *mappedMemory = nullptr; in drawTriangleFan() local
2101 ANGLE_TRY(mTriangleFanIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawTriangleFan()
2103 memcpy(mappedMemory, &mScratchIndexDataBuffer[0], spaceNeeded); in drawTriangleFan()
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.cpp616 const void* mappedMemory = transferBuffer->map(); in onReadPixels() local
620 mappedMemory, in onReadPixels()
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp2621 void* mappedMemory = transferBuffer->map(); in onReadPixels() local
2623 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, rect.height()); in onReadPixels()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_helpers.cpp2367 uint8_t *mappedMemory; in allocateWithAlignment() local
2368 ANGLE_TRY(mBuffer->map(contextVk, &mappedMemory)); in allocateWithAlignment()
2369 *ptrOut = mappedMemory + mNextAllocationOffset; in allocateWithAlignment()

Completed in 40 milliseconds