Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/
DBufferVk.cpp764 uint8_t *mapPointer = nullptr; in directUpdate() local
766 ANGLE_TRY(mBuffer->mapWithOffset(contextVk, &mapPointer, in directUpdate()
768 ASSERT(mapPointer); in directUpdate()
770 memcpy(mapPointer, data, size); in directUpdate()
790 uint8_t *mapPointer = nullptr; in stagedUpdate() local
794 ANGLE_TRY(stagingBuffer->allocate(contextVk, size, &mapPointer, nullptr, &stagingBufferOffset, in stagedUpdate()
796 ASSERT(mapPointer); in stagedUpdate()
798 memcpy(mapPointer, data, size); in stagedUpdate()
Dvk_utils.cpp502 uint8_t *mapPointer; in InitMappableAllocation() local
503 ANGLE_VK_TRY(context, allocation->map(allocator, &mapPointer)); in InitMappableAllocation()
504 memset(mapPointer, value, static_cast<size_t>(size)); in InitMappableAllocation()
524 uint8_t *mapPointer; in InitMappableDeviceMemory() local
525 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory()
526 memset(mapPointer, value, static_cast<size_t>(size)); in InitMappableDeviceMemory()
Dvk_wrapper.h465 uint8_t **mapPointer) const;
509 VkResult map(const Allocator &allocator, uint8_t **mapPointer) const;
1407 uint8_t **mapPointer) const
1411 return vkMapMemory(device, mHandle, offset, size, flags, reinterpret_cast<void **>(mapPointer));
1509 ANGLE_INLINE VkResult Allocation::map(const Allocator &allocator, uint8_t **mapPointer) const
1512 return vma::MapMemory(allocator.getHandle(), mHandle, (void **)mapPointer);
/external/angle/src/tests/gl_tests/
DTransformFeedbackTest.cpp1283 const void *mapPointer = in TEST_P() local
1285 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1287 const Vector2 *vecPointer = static_cast<const Vector2 *>(mapPointer); in TEST_P()
1398 const void *mapPointer = in TEST_P() local
1400 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1404 const Vector3 *vecPointer = static_cast<const Vector3 *>(mapPointer); in TEST_P()
1488 const void *mapPointer = in TEST_P() local
1490 ASSERT_NE(nullptr, mapPointer); in TEST_P()
1492 const Vector4 *vecPointer = static_cast<const Vector4 *>(mapPointer); in TEST_P()
1772 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.cpp808 void *mapPointer = in verifyPBO() local
810 ASSERT_NE(nullptr, mapPointer); in verifyPBO()
812 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.cpp5576 const GLvoid *mapPointer = in TEST_P() local
5579 ASSERT_NE(nullptr, mapPointer); in TEST_P()
5580 const Vector4 *typedMapPointer = reinterpret_cast<const Vector4 *>(mapPointer); in TEST_P()
/external/deqp/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()