Home
last modified time | relevance | path

Searched refs:mappedBuffer (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/tests/gl_tests/
DAtomicCounterBufferTest.cpp334 void *mappedBuffer = in TEST_P() local
336 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
389 GLuint *mappedBuffer = static_cast<GLuint *>( in TEST_P() local
391 EXPECT_EQ(ii + 1, mappedBuffer[0]); in TEST_P()
528 void *mappedBuffer = in TEST_P() local
530 memcpy(result, mappedBuffer, sizeof(bufferData)); in TEST_P()
DTransformFeedbackTest.cpp854 void *mappedBuffer = in TEST_P() local
856 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
858 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
927 void *mappedBuffer = in TEST_P() local
929 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
931 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
1974 void *mappedBuffer = in TEST_P() local
1976 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
1978 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
2692 void *mappedBuffer = glMapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, in TEST_P() local
[all …]
DBufferDataTest.cpp786 void *mappedBuffer = in TEST_P() local
801 mappedBuffer = glMapBufferRange(GL_ARRAY_BUFFER, 0, data2.size(), in TEST_P()
865 void *mappedBuffer = glMapBufferRange(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), in TEST_P() local
868 memcpy(mappedBuffer, kUpdateData1.data(), sizeof(kInitialData)); in TEST_P()
DProgramPipelineTest.cpp808 void *mappedBuffer = in TEST_P() local
810 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
812 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
DComputeShaderTest.cpp426 void *mappedBuffer = in TEST_P() local
428 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
456 mappedBuffer = in TEST_P()
458 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
529 void *mappedBuffer = in TEST_P() local
531 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
4159 GLuint *mappedBuffer = static_cast<GLuint *>( in TEST_P() local
4161 EXPECT_EQ(kVertexCount * 2, mappedBuffer[0]); in TEST_P()
DProgramBinaryTest.cpp943 void *mappedBuffer = in TEST_P() local
945 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp123 void* mappedBuffer; in createBackendTexture() local
125 requirements.size, 0u, &mappedBuffer)); in createBackendTexture()
139 uint8_t* bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + yLayout.offset; in createBackendTexture()
151 bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + uvLayout.offset; in createBackendTexture()
/external/skia/src/gpu/
DGrSurfaceContext.h221 using ConversionFn = void(void* dst, const void* mappedBuffer);
DGrSurfaceContext.cpp752 void addMappedPlane(const void* data, size_t rowBytes, sk_sp<GrGpuBuffer> mappedBuffer) { in addMappedPlane() argument
755 SkASSERT(mappedBuffer); in addMappedPlane()
756 SkASSERT(mappedBuffer->isMapped()); in addMappedPlane()
757 fPlanes.emplace_back(std::move(mappedBuffer), rowBytes); in addMappedPlane()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp580 uint8_t *mappedBuffer = nullptr; in mapRange() local
581 ANGLE_TRY(mMappedStorage->map(context, offset, length, access, &mappedBuffer)); in mapRange()
582 ASSERT(mappedBuffer); in mapRange()
584 *mapPtr = static_cast<void *>(mappedBuffer); in mapRange()