Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp325 const bool mappedMemory = params.useMappedMemory; in testFormat() local
329 … (createTestImage(vkd, device, format, size, createFlags, tiling, mappedMemory ? VK_IMAGE_LAYO… in testFormat()
330 …, device, context.getDefaultAllocator(), *image, format, createFlags, mappedMemory ? MemoryRequire… in testFormat()
438 if (mappedMemory) in testFormat()
467 if (mappedMemory) in testFormat()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DExternalBufferTest.cpp56 void *mappedMemory = nullptr; in createAndroidHardwareBuffer() local
58 -1, nullptr, &mappedMemory)); in createAndroidHardwareBuffer()
63 memcpy(mappedMemory, data, size); in createAndroidHardwareBuffer()
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/skia/experimental/graphite/src/
DDevice.cpp133 void* mappedMemory = dstBuffer->map(); in onReadPixels() local
135 memcpy(pm.writable_addr(), mappedMemory, size); in onReadPixels()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp1490 void *mappedMemory = nullptr; in drawLineLoop() local
1492 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1495 unsigned int *data = static_cast<unsigned int *>(mappedMemory); in drawLineLoop()
1557 void *mappedMemory = nullptr; in drawLineLoop() local
1559 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1562 unsigned short *data = static_cast<unsigned short *>(mappedMemory); in drawLineLoop()
1666 void *mappedMemory = nullptr; in getCountingIB() local
1667 ANGLE_TRY(mCountingIB->mapBuffer(context, spaceNeeded, &mappedMemory, nullptr)); in getCountingIB()
1669 unsigned short *data = static_cast<unsigned short *>(mappedMemory); in getCountingIB()
1689 void *mappedMemory = nullptr; in getCountingIB() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
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 = nullptr; in getCountingIB() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1703 void *mappedMemory = nullptr; in drawLineLoop() local
1705 ANGLE_TRY(mLineLoopIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawLineLoop()
1708 memcpy(mappedMemory, &mScratchIndexDataBuffer[0], in drawLineLoop()
1785 void *mappedMemory = nullptr; in drawTriangleFan() local
1787 ANGLE_TRY(mTriangleFanIB->mapBuffer(context, spaceNeeded, &mappedMemory, &offset)); in drawTriangleFan()
1789 memcpy(mappedMemory, &mScratchIndexDataBuffer[0], spaceNeeded); in drawTriangleFan()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp2423 void* mappedMemory = transferBuffer->map(); in onReadPixels() local
2429 mappedMemory = (char*)mappedMemory + transBufferRowBytes * skipRows + bpp * left; in onReadPixels()
2432 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, height); in onReadPixels()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
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/flutter/skia/src/gpu/mtl/
DGrMtlGpu.mm1039 const void* mappedMemory = transferBuffer.contents;
1041 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, transBufferRowBytes, height);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp400 uint8_t *mappedMemory; in allocate() local
401 ANGLE_TRY(mBuffer->map(contextVk, &mappedMemory)); in allocate()
402 *ptrOut = mappedMemory + mNextAllocationOffset; in allocate()
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp605 const void* mappedMemory = transferBuffer->map(); in onReadPixels() local
609 mappedMemory, in onReadPixels()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp2478 void* mappedMemory = transferBuffer->map(); in onReadPixels() local
2480 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, rect.height()); in onReadPixels()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm1376 const void* mappedMemory = grMtlBuffer->mtlBuffer().contents;
1380 mappedMemory,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2367 uint8_t *mappedMemory; in allocateWithAlignment() local
2368 ANGLE_TRY(mBuffer->map(contextVk, &mappedMemory)); in allocateWithAlignment()
2369 *ptrOut = mappedMemory + mNextAllocationOffset; in allocateWithAlignment()