Home
last modified time | relevance | path

Searched refs:mapPtr (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/src/utils/
DSkCamera.cpp119 const SkScalar* mapPtr = (const SkScalar*)(const void*)&fOrientation; in patchToMatrix() local
123 SkScalar dot = diff.dot({mapPtr[6], mapPtr[7], mapPtr[8]}); in patchToMatrix()
135 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
136 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
137 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
140 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
141 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
142 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
145 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
146 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp519 void *mapPtr; in copySubData() local
520 ANGLE_TRY(sourceVk->mapRangeImpl(contextVk, sourceOffset, size, GL_MAP_READ_BIT, &mapPtr)); in copySubData()
523 updateShadowBuffer(static_cast<uint8_t *>(mapPtr), size, destOffset); in copySubData()
561 uint8_t **mapPtr) in handleDeviceLocalBufferMap() argument
565 ANGLE_TRY(mHostVisibleBufferPool.allocate(contextVk, static_cast<size_t>(size), mapPtr, nullptr, in handleDeviceLocalBufferMap()
602 angle::Result BufferVk::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
607 return mapImpl(vk::GetImpl(context), GL_MAP_WRITE_BIT, mapPtr); in map()
614 void **mapPtr) in mapRange() argument
617 return mapRangeImpl(vk::GetImpl(context), offset, length, access, mapPtr); in mapRange()
620 angle::Result BufferVk::mapImpl(ContextVk *contextVk, GLbitfield access, void **mapPtr) in mapImpl() argument
[all …]
DBufferVk.h84 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
89 void **mapPtr) override;
121 angle::Result mapImpl(ContextVk *contextVk, GLbitfield access, void **mapPtr);
126 void **mapPtr);
132 void **mapPtr);
173 uint8_t **mapPtr);
194 uint8_t **mapPtr);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiBufferComputeInstance.cpp69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() local
72 deMemset(mapPtr, uninitData, (size_t)offset); in createDataBuffer()
74 deMemset((deUint8 *)mapPtr + offset, initData, initDataSize); in createDataBuffer()
75 deMemset((deUint8 *)mapPtr + offset + initDataSize, uninitData, in createDataBuffer()
116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer() local
119 deMemset(mapPtr, 0x5A, (size_t) offset); in createColorDataBuffer()
121 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
123 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A, in createColorDataBuffer()
DvktApiComputeInstanceResultBuffer.cpp84 void* mapPtr = allocation->getHostPtr(); in createResultBuffer() local
87 deMemcpy(((deUint8 *) mapPtr) + offset, &clearValue, sizeof(float)); in createResultBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() local
72 deMemset(mapPtr, uninitData, (size_t)offset); in createDataBuffer()
74 deMemset((deUint8 *)mapPtr + offset, initData, initDataSize); in createDataBuffer()
75 deMemset((deUint8 *)mapPtr + offset + initDataSize, uninitData, in createDataBuffer()
116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer() local
119 deMemset(mapPtr, 0x5A, (size_t) offset); in createColorDataBuffer()
121 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer()
123 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A, in createColorDataBuffer()
DvktApiComputeInstanceResultBuffer.cpp84 void* mapPtr = allocation->getHostPtr(); in createResultBuffer() local
87 deMemcpy(((deUint8 *) mapPtr) + offset, &clearValue, sizeof(float)); in createResultBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBufferGL.cpp144 angle::Result BufferGL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
153 *mapPtr = mShadowCopy.data(); in map()
158 *mapPtr = ANGLE_GL_TRY( in map()
165 *mapPtr = in map()
183 void **mapPtr) in mapRange() argument
192 *mapPtr = mShadowCopy.data() + offset; in mapRange()
197 *mapPtr = in mapRange()
DBufferGL.h44 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
49 void **mapPtr) override;
/third_party/skia/third_party/externals/angle2/include/platform/
DFeature.h119 FeatureMap *const mapPtr,
147 FeatureMap *const mapPtr,
156 if (mapPtr != nullptr) in name()
158 (*mapPtr)[std::string(name)] = this; in name()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp77 uint8_t *mapPtr = nullptr; in storeVertexAttributes() local
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
102 memcpy(mapPtr, input, copySize); in storeVertexAttributes()
106 d3dVertexInfo.copyFunction(input, inputStride, count, mapPtr); in storeVertexAttributes()
DIndexBuffer9.cpp83 void *mapPtr = nullptr; in mapBuffer() local
84 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags); in mapBuffer()
87 *outMappedMemory = mapPtr; in mapBuffer()
DBuffer9.h47 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
52 void **mapPtr) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DBufferNULL.cpp96 angle::Result BufferNULL::map(const gl::Context *context, GLenum access, void **mapPtr) in map() argument
98 *mapPtr = mData.data(); in map()
106 void **mapPtr) in mapRange() argument
108 *mapPtr = mData.data() + offset; in mapRange()
DBufferNULL.h48 angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) override;
53 void **mapPtr) override;
/third_party/skia/src/gpu/
DGrStagingBufferManager.cpp37 void* mapPtr = newBuffer->map(); in allocateStagingBufferSlice() local
38 if (!mapPtr) { in allocateStagingBufferSlice()
41 fBuffers.emplace_back(std::move(newBuffer), mapPtr); in allocateStagingBufferSlice()
DGrStagingBufferManager.h52 StagingBuffer(sk_sp<GrGpuBuffer> buffer, void* mapPtr) in StagingBuffer()
54 , fMapPtr(mapPtr) {} in StagingBuffer()
/third_party/icu/icu4c/source/test/intltest/
Dcaltest.cpp3720 const GregoToLunar * mapPtr = gregoToLunar; // in "caltestdata.h" included above in TestChineseCalendarMapping() local
3723 for (; mapPtr->gyr != 0; mapPtr++) { in TestChineseCalendarMapping()
3725 calGregory->set(mapPtr->gyr, mapPtr->gmo - 1, mapPtr->gda, 8, 0); in TestChineseCalendarMapping()
3730 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping()
3740 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping()
3743 if (yr != mapPtr->cyr || mo != mapPtr->cmo || lp != mapPtr->clp || da != mapPtr->cda) { in TestChineseCalendarMapping()
3745mapPtr->gyr, mapPtr->gmo, mapPtr->gda, mapPtr->cyr, mapPtr->cmo, mapPtr->clp, mapPtr->cda, yr, mo,… in TestChineseCalendarMapping()
3750 calChinese->set(UCAL_YEAR, mapPtr->cyr); in TestChineseCalendarMapping()
3751 calChinese->set(UCAL_MONTH, mapPtr->cmo - 1); in TestChineseCalendarMapping()
3752 calChinese->set(UCAL_IS_LEAP_MONTH, mapPtr->clp); in TestChineseCalendarMapping()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp651 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
652 ASSERT_NE(nullptr, mapPtr); in TEST_P()
654 memcpy(mapPtr, data.data(), data.size()); in TEST_P()
769 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
770 ASSERT_NE(nullptr, mapPtr); in TEST_P()
772 memcpy(mapPtr, data2.data(), sizeof(GLfloat) * data2.size()); in TEST_P()
816 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
817 ASSERT_NE(nullptr, mapPtr); in TEST_P()
819 memcpy(mapPtr, data2.data(), sizeof(GLfloat) * data2.size()); in TEST_P()
1111 void *mapPtr = glMapBufferOES(GL_ARRAY_BUFFER, GL_WRITE_ONLY_OES); in TEST_P() local
[all …]
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.h32 void setMapPtr(void* mapPtr) { in setMapPtr() argument
33 fMapPtr = mapPtr; in setMapPtr()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp299 void* mapPtr = DE_NULL; in verifyResultBuffer() local
305 mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, resultBufferSize, GL_MAP_READ_BIT); in verifyResultBuffer()
308 TCU_CHECK(mapPtr); in verifyResultBuffer()
313 const deUint8* const srcPtr = (const deUint8*)mapPtr + cmdNdx*resultBlockSize; in verifyResultBuffer()
329 if (mapPtr) in verifyResultBuffer()
/third_party/skia/src/gpu/vk/
DGrVkMemory.cpp123 void* mapPtr; in MapAlloc() local
124 VkResult result = allocator->mapMemory(alloc.fBackendMemory, &mapPtr); in MapAlloc()
128 return mapPtr; in MapAlloc()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DBufferImpl.h60 virtual angle::Result map(const gl::Context *context, GLenum access, void **mapPtr) = 0;
65 void **mapPtr) = 0;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp398 void *mapPtr = NULL; in map() local
402 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map()
404 if(!mapPtr) in map()
414 return mapPtr; in map()
DVertexDataManager.cpp310 void *mapPtr = nullptr; in map() local
315 mapPtr = (char*)mVertexBuffer->lock(sw::PRIVATE) + mWritePosition; in map()
321 return mapPtr; in map()

123