Home
last modified time | relevance | path

Searched refs:getPtr (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferMapTests.cpp74 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
79 writer.write(buf, 0, m_bufferSize, refBuf.getPtr(), m_bufferTarget); in iterate()
86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
127 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate()
141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate()
178 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
182 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
185 fillWithRandomBytes(refBuf.getPtr(m_mapOffset), m_mapSize, dataSeed&0xabcdef); in iterate()
191 deMemcpy(ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); in iterate()
[all …]
Des3fBufferCopyTests.cpp91 fillWithRandomBytes(srcRef.getPtr(), m_srcSize, srcSeed); in iterate()
94 fillWithRandomBytes(dstRef.getPtr(), m_dstSize, dstSeed); in iterate()
99 glBufferData(m_srcTarget, m_srcSize, srcRef.getPtr(), m_srcHint); in iterate()
105 glBufferData(m_dstTarget, m_dstSize, dstRef.getPtr(), m_dstHint); in iterate()
109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate()
113 deMemcpy(dstRef.getPtr()+m_copyDstOffset, srcRef.getPtr()+m_copySrcOffset, m_copySize); in iterate()
121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate()
199 fillWithRandomBytes(ref.getPtr(), size, baseSeed ^ deInt32Hash(ndx)); in iterate()
[all …]
Des3fBufferWriteTests.cpp197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate()
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate()
245 …fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+sp… in iterate()
248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage); in iterate()
252 iterOk = verifier.verify(buf, refBuf.getPtr(), 0, spec->size, spec->target); in iterate()
298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate()
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
303 fillWithRandomBytes(refBuf.getPtr()+m_subDataOffs, m_subDataSize, dataSeed ^ 0xfac425c); in iterate()
304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate()
[all …]
Des3fFboTestUtil.cpp108 context.uniform4fv(location, 1, color.getPtr()); in setColor()
192 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMin"), 1, gradientMin.getPtr()); in setGradient()
193 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMax"), 1, gradientMax.getPtr()); in setGradient()
352 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms()
353 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms()
356 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms()
357 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms()
505 ….getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColumnMajorData().getPtr()); in setUniforms()
506 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms()
507 gl.uniform4fv(gl.getUniformLocation(program, "u_bias"), 1, m_texBias.getPtr()); in setUniforms()
[all …]
Des3fFboMultisampleTests.cpp287 glClearBufferfv(GL_COLOR, 0, Vec4(1.0f, 0.0f, 0.0f, 1.0f).getPtr()); in test()
304 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f, 0.0f, 1.0f, 1.0f).getPtr()); in test()
308 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f, 1.0f, 0.0f, 1.0f).getPtr()); in test()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeArrayBuffer.cpp73 DE_TEST_ASSERT(buf.getPtr() == DE_NULL); in ArrayBuffer_selfTest()
80 DE_TEST_ASSERT(buf.getPtr() != DE_NULL); in ArrayBuffer_selfTest()
132 DE_TEST_ASSERT(buf.getPtr() == DE_NULL); in ArrayBuffer_selfTest()
140 DE_TEST_ASSERT(buf.getPtr() != DE_NULL); in ArrayBuffer_selfTest()
194 deMemcpy(&dst, (int*)source.getPtr() + 1, sizeof(int)); in ArrayBuffer_selfTest()
205 deMemcpy(&dst, (int*)source.getPtr() + 1, sizeof(int)); in ArrayBuffer_selfTest()
216 deMemcpy(&dst, (deUint8*)source.getPtr() + 64, sizeof(int)); in ArrayBuffer_selfTest()
227 deMemcpy(&dst, (deUint8*)source.getPtr() + 64, sizeof(int)); in ArrayBuffer_selfTest()
DdeArrayBuffer.hpp68 void* getPtr (void) throw();
69 const void* getPtr (void) const throw();
214 void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) throw() in getPtr() function in de::ArrayBuffer
220 const void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) const throw() in getPtr() function in de::ArrayBuffer
DdePoolArray.hpp77 const T& at (deIntptr ndx) const { return *getPtr(ndx); } in at()
78 T& at (deIntptr ndx) { return *getPtr(ndx); } in at()
103 T* getPtr (deIntptr ndx) const;
256 PoolArrayElement<T>::destruct(getPtr(ndx)); in resize()
269 PoolArrayElement<T>::constructDefault(getPtr(ndx)); in resize()
287 PoolArrayElement<T>::constructCopy(getPtr(ndx), value); in resize()
374 inline T* PoolArray<T, Alignment>::getPtr (deIntptr ndx) const in getPtr() function in de::PoolArray
DdeSocket.hpp62 deSocketAddress* getPtr (void) { return m_address; } in getPtr() function in de::SocketAddress
84 Socket* accept (SocketAddress& clientAddress) { return accept(clientAddress.getPtr()); } in accept()
/third_party/vk-gl-cts/framework/common/
DtcuArray.hpp44 inline const T* getPtr (void) const { return m_data; } in getPtr() function in tcu::Array
45 inline T* getPtr (void) { return m_data; } in getPtr() function in tcu::Array
55 return stream << Format::Array<T*>(arr.getPtr(), arr.getPtr() + Size); in operator <<()
DtcuSurface.hpp107 … TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr()); in getAccess()
113 … TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr()); in getAccess()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fBufferWriteTests.cpp197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate()
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size); in iterate()
245 …fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+sp… in iterate()
248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage); in iterate()
252 iterOk = verifier.verify(buf, refBuf.getPtr(), 0, spec->size); in iterate()
298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate()
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
303 fillWithRandomBytes(refBuf.getPtr()+m_subDataOffs, m_subDataSize, dataSeed ^ 0xfac425c); in iterate()
304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate()
[all …]
Des2fBufferTestUtil.hpp87 deUint8* getPtr (int offset = 0) { return &m_data[offset]; } in getPtr() function in deqp::gles2::Functional::BufferTestUtil::ReferenceBuffer
88 const deUint8* getPtr (int offset = 0) const { return &m_data[offset]; } in getPtr() function in deqp::gles2::Functional::BufferTestUtil::ReferenceBuffer
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DError.h204 setPtr(Other.getPtr());
220 delete getPtr(); in ~Error()
227 setChecked(getPtr() == nullptr);
228 return getPtr() != nullptr;
233 return getPtr() && getPtr()->isA(ErrT::classID()); in isA()
239 if (!getChecked() || getPtr()) { in assertIsChecked()
241 if (getPtr()) in assertIsChecked()
242 getPtr()->log(dbgs()); in assertIsChecked()
252 ErrorInfoBase *getPtr() const { in getPtr() function
285 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboTestUtil.cpp195 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms()
196 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms()
199 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms()
200 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms()
364 ….getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColumnMajorData().getPtr()); in setUniforms()
366 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms()
367 gl.uniform4fv(gl.getUniformLocation(program, "u_bias"), 1, m_texBias.getPtr()); in setUniforms()
429 ctx.clearBufferfv(GL_COLOR, 0, value.getPtr()); in clearColorBuffer()
433 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr()); in clearColorBuffer()
437 ctx.clearBufferiv(GL_COLOR, 0, value.asInt().getPtr()); in clearColorBuffer()
Des31fBasicComputeShaderTests.cpp68 void* getPtr (void) const { return m_ptr; } in getPtr() function in deqp::gles31::Functional::BufferMemMap
188 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
222 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
312 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
345 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
431 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
448 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
564 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + value0Info.offset + va… in iterate()
577 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + value1Info.offset + va… in iterate()
675 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + va… in iterate()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DError.h213 setPtr(Other.getPtr());
229 delete getPtr(); in ~Error()
236 setChecked(getPtr() == nullptr);
237 return getPtr() != nullptr;
242 return getPtr() && getPtr()->isA(ErrT::classID()); in isA()
248 if (!getPtr()) in dynamicClassID()
250 return getPtr()->dynamicClassID(); in dynamicClassID()
266 if (LLVM_UNLIKELY(!getChecked() || getPtr())) in assertIsChecked()
271 ErrorInfoBase *getPtr() const { in getPtr() function
304 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DError.cpp106 if (getPtr()) { in fatalUncheckedError()
107 getPtr()->log(dbgs()); in fatalUncheckedError()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcABISupport.h63 void **getPtr(unsigned Idx) const { llvm_unreachable("Not supported"); } in getPtr() function
105 void **getPtr(unsigned Idx) const { in getPtr() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp508 const void* inputs[] = { texCoord[0].getPtr() }; in testFormat()
509 void* outputs[] = { result[0].getPtr() }; in testFormat()
554 reference[0].getPtr()); in testFormat()
557 result[0].getPtr()); in testFormat()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cExplicitUniformLocationTest.cpp580 const void* getPtr(int arrayElement) const in getPtr() function in glcts::__anonc35e850c0111::UniformValue
1448 glUniform1f(loc, *(GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1451 glUniform2fv(loc, 1, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1454 glUniform3fv(loc, 1, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1457 glUniform4fv(loc, 1, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1460 glUniformMatrix2fv(loc, 1, GL_FALSE, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1463 glUniformMatrix3fv(loc, 1, GL_FALSE, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1466 glUniformMatrix4fv(loc, 1, GL_FALSE, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1469 glUniformMatrix2x3fv(loc, 1, GL_FALSE, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
1472 glUniformMatrix4x3fv(loc, 1, GL_FALSE, (GLfloat*)uniform.value.getPtr(arrayElem)); in setUniform()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsBufferTestUtil.hpp94 deUint8* getPtr (int offset = 0) { return &m_data[offset]; } in getPtr() function in deqp::gls::BufferTestUtil::ReferenceBuffer
95 const deUint8* getPtr (int offset = 0) const { return &m_data[offset]; } in getPtr() function in deqp::gls::BufferTestUtil::ReferenceBuffer
DglsShaderRenderCase.cpp893 gl.uniform2iv(uniLoc, 1, s_ivec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
912 gl.uniform3iv(uniLoc, 1, s_ivec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
931 gl.uniform4iv(uniLoc, 1, s_ivec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()
978 gl.uniform2fv(uniLoc, 1, s_vec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
996 gl.uniform3fv(uniLoc, 1, s_vec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1017 gl.uniform4fv(uniLoc, 1, s_vec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()
/third_party/vk-gl-cts/modules/egl/
DteglVGRenderUtil.cpp43 vgSetfv(VG_CLEAR_COLOR, 4, color.getPtr()); in clear()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp998 gl.uniform2iv(uniLoc, 1, s_ivec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1015 gl.uniform3iv(uniLoc, 1, s_ivec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1032 gl.uniform4iv(uniLoc, 1, s_ivec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1072 gl.uniform2fv(uniLoc, 1, s_vec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1090 gl.uniform3fv(uniLoc, 1, s_vec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1114 gl.uniform4fv(uniLoc, 1, s_vec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()

1234567