Searched refs:mapPtr (Results 1 - 20 of 20) sorted by relevance

/external/opencv3/modules/video/src/
H A Decc.cpp273 float* mapPtr = map_matrix.ptr<float>(0); local
278 mapPtr[2] += updatePtr[0];
279 mapPtr[5] += updatePtr[1];
282 mapPtr[0] += updatePtr[0];
283 mapPtr[3] += updatePtr[1];
284 mapPtr[1] += updatePtr[2];
285 mapPtr[4] += updatePtr[3];
286 mapPtr[2] += updatePtr[4];
287 mapPtr[5] += updatePtr[5];
290 mapPtr[
[all...]
/external/skia/src/gpu/
H A DGrTransferBuffer.h49 void* mapPtr() const { return fMapPtr; } function in class:GrTransferBuffer
H A DGrGeometryBuffer.h72 void* mapPtr() const { return fMapPtr; } function in class:GrGeometryBuffer
H A DGrBufferAllocPool.cpp113 SkASSERT(buf->mapPtr() == fBufferPtr);
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferComputeInstance.cpp69 void* mapPtr = allocation->getHostPtr(); local
72 deMemset(mapPtr, 0x5A, (size_t) offset);
74 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4));
75 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4));
76 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A,
H A DvktApiComputeInstanceResultBuffer.cpp76 void* mapPtr = allocation->getHostPtr(); local
79 deMemcpy(((deUint8 *) mapPtr) + offset, &clearValue, sizeof(float));
/external/skia/src/gpu/vk/
H A DGrVkBuffer.cpp158 void* mapPtr; local
159 VkResult err = VK_CALL(gpu, MapMemory(gpu->device(), alloc(), 0, srcSizeInBytes, 0, &mapPtr));
165 memcpy(mapPtr, src, srcSizeInBytes);
H A DGrVkGpu.cpp357 void* mapPtr; local
359 &mapPtr));
367 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch;
376 memcpy(mapPtr, data, trimRowBytes * height);
378 SkRectMemcpy(mapPtr, layout.rowPitch, data, rowBytes, trimRowBytes, height);
387 void* mapPtr = transferBuffer->map(); local
392 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*trimRowBytes;
401 memcpy(mapPtr, data, trimRowBytes * height);
403 SkRectMemcpy(mapPtr, trimRowBytes, data, rowBytes, trimRowBytes, height);
779 void* mapPtr; local
[all...]
/external/skia/src/utils/
H A DSkCamera.cpp255 const SkScalar* mapPtr = (const SkScalar*)(const void*)&fOrientation; local
268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
269 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
273 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
274 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
275 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
278 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
279 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
/external/deqp/modules/gles31/functional/
H A Des31fIndirectComputeDispatchTests.cpp299 void* mapPtr = DE_NULL; local
305 mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, resultBufferSize, GL_MAP_READ_BIT);
308 TCU_CHECK(mapPtr);
313 const deUint8* const srcPtr = (const deUint8*)mapPtr + cmdNdx*resultBlockSize;
329 if (mapPtr)
H A Des31fOpaqueTypeIndexingTests.cpp1150 const void* mapPtr = DE_NULL; local
1154 mapPtr = gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, m_numCounters*4, GL_MAP_READ_BIT);
1156 TCU_CHECK(mapPtr);
1157 std::copy((const deUint32*)mapPtr, (const deUint32*)mapPtr + m_numCounters, &counterValues[0]);
1162 if (mapPtr)
H A Des31fTessellationGeometryInteractionTests.cpp2942 const void* mapPtr = gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, (int)sizeof(feedbackValues), GL_MAP_READ_BIT);
2945 if (mapPtr == DE_NULL)
2948 deMemcpy(feedbackValues, mapPtr, sizeof(feedbackValues));
H A Des31fSSBOLayoutCase.cpp2638 const void* mapPtr = gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, acBufferInfo.dataSize, GL_MAP_READ_BIT); local
2643 TCU_CHECK(mapPtr);
2645 resCount = *(const int*)((const deUint8*)mapPtr + acVarInfo.offset);
/external/deqp/modules/gles3/performance/
H A Des3pBufferDataUploadTests.cpp2844 void* mapPtr;
2853 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, result.writtenSize, m_mapFlags);
2857 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, result.writtenSize, m_mapFlags);
2861 if (!mapPtr)
2869 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], result.writtenSize);
3064 void* mapPtr;
3073 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, mappedSize, m_mapFlags);
3077 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, mappedSize, m_mapFlags);
3081 if (!mapPtr)
3090 result.duration.writeDuration = medianTimeMemcpy(mapPtr,
[all...]
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.cpp397 const deUint8* mapPtr = DE_NULL; local
401 mapPtr = (const deUint8*)glMapBufferRange(target, offset, numBytes, GL_MAP_READ_BIT);
403 TCU_CHECK(mapPtr);
405 isOk = compareByteArrays(m_log, mapPtr, reference+offset, numBytes);
H A DglsShaderExecUtil.cpp1033 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, inputBufferSize, GL_MAP_WRITE_BIT); local
1035 TCU_CHECK(mapPtr);
1045 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], mapPtr);
1068 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outputBufferSize, GL_MAP_READ_BIT); local
1070 TCU_CHECK(mapPtr);
1080 copyFromBuffer(varType, layout, numValues, mapPtr, outputPtrs[outputNdx]);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp1142 const void* mapPtr = m_executor.getBufferPtr(atomicCounterLocation); local
1143 DE_ASSERT(mapPtr != DE_NULL);
1144 std::copy((const deUint32*)mapPtr, (const deUint32*)mapPtr + numCounters, &counterValues[0]);
/external/skia/src/gpu/gl/
H A DGrGLGpu.h109 void unmapBuffer(GrGLuint id, GrGLenum type, void* mapPtr);
H A DGrGLGpu.cpp1929 void* mapPtr = nullptr; local
1943 GL_CALL_RET(mapPtr, MapBuffer(type, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY));
1956 GL_CALL_RET(mapPtr, MapBufferRange(type, 0, requestedSize, readOnly ?
1967 GL_CALL_RET(mapPtr, MapBufferSubData(type, 0, requestedSize, readOnly ?
1972 return mapPtr;
2004 void GrGLGpu::unmapBuffer(GrGLuint id, GrGLenum type, void* mapPtr) { argument
2017 GL_CALL(UnmapBufferSubData(mapPtr));
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingShaderAccessTests.cpp1289 void* const mapPtr = bufferMemory->getHostPtr(); local
1293 deMemcpy((deUint8*)mapPtr + preGuardOffset, &preGuardValue, sizeof(float));
1295 deMemcpy((deUint8*)mapPtr + offset, s_colors, sizeof(s_colors));
1297 deMemcpy((deUint8*)mapPtr + postGuardOffset, &postGuardValue, sizeof(float));
1298 deMemset((deUint8*)mapPtr + offset + sizeof(s_colors), 0x5A, (size_t)bufferSize - (size_t)offset - sizeof(s_colors)); // fill with interesting pattern that produces valid floats
1567 void* mapPtr = allocation->getHostPtr(); local
1570 deMemcpy(((deUint8*)mapPtr) + offset, &clearValue, sizeof(float));
1904 void* mapPtr = allocation->getHostPtr(); local
1907 deMemset(mapPtr, 0x5A, (size_t)offset);
1908 deMemcpy((deUint8*)mapPtr
[all...]

Completed in 2224 milliseconds