Home
last modified time | relevance | path

Searched refs:mapPointer (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp282 uint8_t *mapPointer = nullptr; in getIndexRange() local
284 typeBytes * count, 0, &mapPointer)); in getIndexRange()
286 *outRange = gl::ComputeIndexRange(type, mapPointer, count, primitiveRestartEnabled); in getIndexRange()
306 uint8_t *mapPointer = nullptr; in setDataImpl() local
308 stagingBuffer.getDeviceMemory().map(device, 0, size, 0, &mapPointer)); in setDataImpl()
309 ASSERT(mapPointer); in setDataImpl()
311 memcpy(mapPointer, data, size); in setDataImpl()
324 uint8_t *mapPointer = nullptr; in setDataImpl() local
326 mBuffer.getDeviceMemory().map(device, offset, size, 0, &mapPointer)); in setDataImpl()
327 ASSERT(mapPointer); in setDataImpl()
[all …]
Dvk_wrapper.h415 uint8_t **mapPointer) const;
1118 uint8_t **mapPointer) const
1121 return vkMapMemory(device, mHandle, offset, size, flags, reinterpret_cast<void **>(mapPointer));
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp779 const void *mapPointer = in TEST_P() local
781 ASSERT_NE(nullptr, mapPointer); in TEST_P()
783 const Vector2 *vecPointer = static_cast<const Vector2 *>(mapPointer); in TEST_P()
889 const void *mapPointer = in TEST_P() local
891 ASSERT_NE(nullptr, mapPointer); in TEST_P()
895 const Vector3 *vecPointer = static_cast<const Vector3 *>(mapPointer); in TEST_P()
974 const void *mapPointer = in TEST_P() local
976 ASSERT_NE(nullptr, mapPointer); in TEST_P()
978 const Vector4 *vecPointer = static_cast<const Vector4 *>(mapPointer); in TEST_P()
1252 const GLvoid *mapPointer = in TEST_P() local
[all …]
DProvokingVertexTest.cpp165 void *mapPointer = in TEST_P() local
167 ASSERT_NE(nullptr, mapPointer); in TEST_P()
169 int *mappedInts = static_cast<int *>(mapPointer); in TEST_P()
DReadPixelsTest.cpp517 void *mapPointer = in verifyPBO() local
519 ASSERT_NE(nullptr, mapPointer); in verifyPBO()
521 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO()
DSimpleOperationTest.cpp67 uint8_t *mapPointer = in verifyBuffer() local
72 memcpy(readbackData.data(), mapPointer, data.size()); in verifyBuffer()
DStateChangeTest.cpp3802 const GLvoid *mapPointer = in TEST_P() local
3805 ASSERT_NE(nullptr, mapPointer); in TEST_P()
3806 const Vector4 *typedMapPointer = reinterpret_cast<const Vector4 *>(mapPointer); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp933 uint8_t *mapPointer = nullptr; in directUpdate() local
935 ANGLE_TRY(mBuffer->mapWithOffset(contextVk, &mapPointer, in directUpdate()
937 ASSERT(mapPointer); in directUpdate()
939 memcpy(mapPointer, data, size); in directUpdate()
961 uint8_t *mapPointer = nullptr; in stagedUpdate() local
964 &mapPointer)); in stagedUpdate()
965 memcpy(mapPointer, data, size); in stagedUpdate()
1044 uint8_t *mapPointer = nullptr; in acquireAndUpdate() local
1047 src->mapWithOffset(contextVk, &mapPointer, static_cast<size_t>(mBufferOffset))); in acquireAndUpdate()
1048 ASSERT(mapPointer); in acquireAndUpdate()
[all …]
Dvk_utils.cpp664 uint8_t *mapPointer; in InitMappableAllocation() local
665 ANGLE_VK_TRY(context, allocation->map(allocator, &mapPointer)); in InitMappableAllocation()
666 memset(mapPointer, value, static_cast<size_t>(size)); in InitMappableAllocation()
686 uint8_t *mapPointer; in InitMappableDeviceMemory() local
687 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory()
688 memset(mapPointer, value, static_cast<size_t>(size)); in InitMappableDeviceMemory()
Dvk_wrapper.h441 uint8_t **mapPointer) const;
469 VkResult map(const Allocator &allocator, uint8_t **mapPointer) const;
1301 uint8_t **mapPointer) const
1305 return vkMapMemory(device, mHandle, offset, size, flags, reinterpret_cast<void **>(mapPointer));
1367 ANGLE_INLINE VkResult Allocation::map(const Allocator &allocator, uint8_t **mapPointer) const
1370 return vma::MapMemory(allocator.getHandle(), mHandle, (void **)mapPointer);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp1387 const void *mapPointer = in TEST_P() local
1389 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1391 const Vector2 *vecPointer = static_cast<const Vector2 *>(mapPointer); in TEST_P()
1502 const void *mapPointer = in TEST_P() local
1504 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1508 const Vector3 *vecPointer = static_cast<const Vector3 *>(mapPointer); in TEST_P()
1592 const void *mapPointer = in TEST_P() local
1594 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1596 const Vector4 *vecPointer = static_cast<const Vector4 *>(mapPointer); in TEST_P()
1874 const GLvoid *mapPointer = in TEST_P() local
[all …]
DProvokingVertexTest.cpp168 void *mapPointer = in TEST_P() local
170 ASSERT_NE(nullptr, mapPointer); in TEST_P()
172 int *mappedInts = static_cast<int *>(mapPointer); in TEST_P()
DReadPixelsTest.cpp859 void *mapPointer = in verifyPBO() local
861 ASSERT_NE(nullptr, mapPointer); in verifyPBO()
863 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO()
DSimpleOperationTest.cpp65 uint8_t *mapPointer = in verifyBuffer() local
70 memcpy(readbackData.data(), mapPointer, data.size()); in verifyBuffer()
DStateChangeTest.cpp5661 const GLvoid *mapPointer = in TEST_P() local
5664 ASSERT_NE(nullptr, mapPointer); in TEST_P()
5665 const Vector4 *typedMapPointer = reinterpret_cast<const Vector4 *>(mapPointer); in TEST_P()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferObjectQueryTests.cpp469 GLvoid* mapPointer = glMapBufferRange(GL_ARRAY_BUFFER, 0, 8, GL_MAP_READ_BIT); in test() local
475 checkPointerEquals(m_testCtx, mapPointerState, mapPointer); in test()