Searched refs:texCoord (Results 1 - 25 of 34) sorted by relevance

12

/external/jmonkeyengine/engine/src/test/jme3test/texture/
H A DTestTextureArray.java54 Vector3f[] texCoord = new Vector3f[8];
55 texCoord[0] = new Vector3f(0, 0, 0);
56 texCoord[1] = new Vector3f(1, 0, 0);
57 texCoord[2] = new Vector3f(0, 1, 0);
58 texCoord[3] = new Vector3f(1, 1, 0);
60 texCoord[4] = new Vector3f(0, 0, 1);
61 texCoord[5] = new Vector3f(1, 0, 1);
62 texCoord[6] = new Vector3f(0, 1, 1);
63 texCoord[7] = new Vector3f(1, 1, 1);
68 m.setBuffer(Type.TexCoord, 3, BufferUtils.createFloatBuffer(texCoord));
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
H A DTestCustomMesh.java71 Vector2f [] texCoord = new Vector2f[4];
72 texCoord[0] = new Vector2f(0,0);
73 texCoord[1] = new Vector2f(1,0);
74 texCoord[2] = new Vector2f(0,1);
75 texCoord[3] = new Vector2f(1,1);
82 m.setBuffer(Type.TexCoord, 2, BufferUtils.createFloatBuffer(texCoord));
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.hpp220 void renderQuad (int texUnit, const float* texCoord, TextureType texType);
221 void renderQuad (int texUnit, const float* texCoord, const RenderParams& params);
360 void fetchTexture (const SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias);
362 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params);
363 void sampleTexture (const SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params);
364 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params);
365 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params);
366 void sampleTexture (const SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params);
367 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params);
368 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, cons
[all...]
H A DglsTextureTestUtil.cpp585 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params) argument
588 const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[2+0], texCoord[4+0], texCoord[6+0]);
589 const tcu::Vec4 tq = tcu::Vec4(texCoord[0+1], texCoord[2+1], texCoord[4+1], texCoord[6+1]);
597 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, cons argument
696 sampleTexture(const SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params) argument
745 sampleTexture(const SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params) argument
792 sampleTexture(const SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& params) argument
888 sampleTexture(const SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params) argument
952 sampleTexture(const SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params) argument
962 fetchTexture(const SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias) argument
1283 renderQuad(int texUnit, const float* texCoord, TextureType texType) argument
1288 renderQuad(int texUnit, const float* texCoord, const RenderParams& params) argument
1575 const float* texCoord = DE_NULL; local
1696 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture1DView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
1799 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture2DView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
1909 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
1925 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
1945 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
1961 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
1982 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::TextureCubeView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
2125 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
2141 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
2162 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture3DView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
2296 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
2312 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
2333 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture1DArrayView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
2440 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture2DArrayView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
2553 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
2569 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
2589 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
2605 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
2626 computeTextureLookupDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::TextureCubeArrayView& baseView, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::IVec4& coordBits, const tcu::LodPrecision& lodPrec, qpWatchDog* watchDog) argument
2773 verifyTextureResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::LookupPrecision& lookupPrec, const tcu::IVec4& coordBits, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
2790 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
2812 computeTextureCompareDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::Vec3& nonShadowThreshold) argument
2924 computeTextureCompareDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::Vec3& nonShadowThreshold) argument
3046 computeTextureCompareDiff(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::Vec3& nonShadowThreshold) argument
[all...]
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp204 vector<float> texCoord; local
239 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f));
241 m_renderer.renderQuad(0, &texCoord[0], refParams);
243 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
250 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
252 m_renderer.renderQuad(0, &texCoord[0], refParams);
254 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
279 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange));
281 m_renderer.renderQuad(0, &texCoord[0], refParams);
283 m_textures[curTexNdx]->getRefTexture(), &texCoord[ local
294 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
481 vector<float> texCoord; local
509 sampleTexture(SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); local
[all...]
H A Des2aTextureMipmapTests.cpp62 COORDTYPE_BASIC, //!< texCoord = translateScale(position).
64 COORDTYPE_AFFINE, //!< texCoord = translateScaleRotateShear(position).
263 vector<float> texCoord; local
332 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
333 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
345 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
351 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams);
540 vector<float> texCoord; local
597 computeQuadTexCoordCube(texCoord, cubeFace);
613 m_renderer.renderQuad(0, &texCoord[
[all...]
/external/deqp/modules/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp195 vector<float> texCoord; local
230 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f));
232 m_renderer.renderQuad(0, &texCoord[0], refParams);
234 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
241 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
243 m_renderer.renderQuad(0, &texCoord[0], refParams);
245 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
270 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange));
272 m_renderer.renderQuad(0, &texCoord[0], refParams);
274 m_textures[curTexNdx]->getRefTexture(), &texCoord[ local
285 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); local
491 vector<float> texCoord; local
519 sampleTexture(SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); local
[all...]
H A Des3aTextureMipmapTests.cpp59 COORDTYPE_BASIC, //!< texCoord = translateScale(position).
61 COORDTYPE_AFFINE, //!< texCoord = translateScaleRotateShear(position).
255 vector<float> texCoord; local
325 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
326 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
338 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
344 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams);
529 vector<float> texCoord; local
586 computeQuadTexCoordCube(texCoord, cubeFace);
602 m_renderer.renderQuad(0, &texCoord[
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp72 static void logCubeArrayTexCoords(TestLog& log, vector<float>& texCoord) argument
74 const size_t numVerts = texCoord.size() / 4;
76 DE_ASSERT(texCoord.size() % 4 == 0);
82 const float u = texCoord[coordNdx + 0];
83 const float v = texCoord[coordNdx + 1];
84 const float w = texCoord[coordNdx + 2];
85 const float q = texCoord[coordNdx + 3];
357 vector<float> texCoord; local
359 computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRange);
365 logCubeArrayTexCoords(log, texCoord);
[all...]
H A Des31fTextureFormatTests.cpp180 vector<float> texCoord; local
193 computeQuadTexCoordCubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx));
215 m_renderer.renderQuad(0, &texCoord[0], renderParams);
219 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
318 vector<float> texCoord; local
327 computeQuadTexCoord1D(texCoord, 0.0f, (float)(m_texture->getRefTexture().getWidth()));
346 m_renderer.renderQuad(0, &texCoord[0], renderParams);
352 fetchTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], spec.lookupScale, spec.lookupBias); local
H A Des31fTextureBorderClampTests.cpp549 void renderQuad (const float* texCoord,
557 const float* texCoord,
563 const float* texCoord,
571 const float* texCoord,
576 const float* texCoord,
764 std::vector<float> texCoord;
767 gls::TextureTestUtil::computeQuadTexCoord2D(texCoord, config.p0, config.p1);
862 renderQuad(&texCoord[0], samplerParams);
866 void TextureBorderClampTest::renderQuad (const float* texCoord, const gls::TextureTestUtil::ReferenceParams& samplerParams)
870 m_renderer->renderQuad(0, texCoord, samplerParam
[all...]
H A Des31fStencilTexturingTests.cpp229 const float texCoord[] = local
239 glu::va::Float("a_texCoord", 2, 4, 0, &texCoord[0])
294 const float texCoord[] = local
304 glu::va::Float("a_texCoord", 3, 4, 0, &texCoord[0])
329 static void blitStencilToColorCube (const glu::RenderContext& renderCtx, deUint32 srcTex, const float* texCoord, int width, int height) argument
363 glu::va::Float("a_texCoord", 3, 4, 0, texCoord)
671 vector<float> texCoord; local
689 gls::TextureTestUtil::computeQuadTexCoordCube(texCoord, tcu::CUBEFACE_NEGATIVE_X, Vec2(-1.5f, -1.3f), Vec2(1.3f, 1.4f));
706 blitStencilToColorCube(renderCtx, *depthStencilTex, &texCoord[0], renderWidth, renderHeight);
731 compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[
[all...]
H A Des31fTextureGatherTests.cpp599 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); local
601 const ColorVec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offsets);
609 if (!isGatherOffsetsResultValid(texture, sampler, lookupPrec, texCoord, componentNdx, offsets, resultPix))
677 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); local
680 const Vec4 idealPix = gatherOffsetsCompare(texture, sampler, refZ, texCoord, offsets);
686 if (!isGatherOffsetsCompareResultValid(texture, sampler, compPrec, texCoord, offsets, refZ, resultPix))
1383 const vector<float> texCoord = computeQuadTexCoord(m_currentIteration); local
1387 attrBindings.push_back(glu::va::Float("a_texCoord", (int)texCoord.size()/4, 4, 0, &texCoord[0]));
1408 if (texCoord
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fTextureSizeTests.cpp129 vector<float> texCoord; local
131 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
150 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D);
154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); local
272 vector<float> texCoord; local
274 computeQuadTexCoordCube(texCoord, face);
292 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_CUBE);
298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); local
H A Des2fTextureFormatTests.cpp144 vector<float> texCoord; local
158 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
186 m_renderer.renderQuad(0, &texCoord[0], renderParams);
191 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
320 vector<float> texCoord; local
334 computeQuadTexCoordCube(texCoord, face);
354 m_renderer.renderQuad(0, &texCoord[0], renderParams);
359 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
454 vector<float> texCoord; local
456 computeQuadTexCoord2D(texCoord, tc
481 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); local
566 vector<float> texCoord; local
593 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); local
[all...]
H A Des2fTextureWrapTests.cpp170 vector<float> texCoord; local
194 computeQuadTexCoord2D(texCoord, tcu::Vec2(-1.5f, -3.0f), tcu::Vec2(1.5f, 2.5f));
196 m_renderer.renderQuad(0, &texCoord[0], refParams);
200 m_texture->getRefTexture(), &texCoord[0], refParams); local
207 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
209 m_renderer.renderQuad(0, &texCoord[0], refParams);
213 m_texture->getRefTexture(), &texCoord[0], refParams); local
H A Des2fTextureMipmapTests.cpp63 COORDTYPE_BASIC, //!< texCoord = translateScale(position).
65 COORDTYPE_AFFINE, //!< texCoord = translateScaleRotateShear(position).
262 vector<float> texCoord; local
325 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
326 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
338 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
377 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
378 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
390 refTexture, &texCoord[0], sampleParams); local
396 m_texture->getRefTexture(), &texCoord[
595 vector<float> texCoord; local
822 vector<float> texCoord; local
957 vector<float> texCoord; local
[all...]
H A Des2fTextureFilteringTests.cpp271 vector<float> texCoord; local
285 computeQuadTexCoord2D(texCoord, curCase.minCoord, curCase.maxCoord);
294 m_renderer.renderQuad(0, &texCoord[0], refParams);
312 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
569 vector<float> texCoord; local
571 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight);
577 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
598 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
/external/deqp/modules/gles3/functional/
H A Des3fTextureSizeTests.cpp129 vector<float> texCoord; local
131 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
150 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D);
154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); local
272 vector<float> texCoord; local
274 computeQuadTexCoordCube(texCoord, face);
292 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_CUBE);
298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); local
H A Des3fTextureFormatTests.cpp161 vector<float> texCoord; local
175 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
203 m_renderer.renderQuad(0, &texCoord[0], renderParams);
208 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
351 vector<float> texCoord; local
365 computeQuadTexCoordCube(texCoord, face);
385 m_renderer.renderQuad(0, &texCoord[0], renderParams);
390 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
513 vector<float> texCoord; local
522 computeQuadTexCoord2DArray(texCoord, layerNd
547 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
665 vector<float> texCoord; local
700 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
812 vector<float> texCoord; local
843 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
963 vector<float> texCoord; local
996 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); local
1082 vector<float> texCoord; local
1109 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); local
1194 vector<float> texCoord; local
1221 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); local
[all...]
H A Des3fTextureMipmapTests.cpp112 COORDTYPE_BASIC, //!< texCoord = translateScale(position).
114 COORDTYPE_AFFINE, //!< texCoord = translateScaleRotateShear(position).
306 vector<float> texCoord; local
369 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
370 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
382 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
421 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break;
422 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break;
434 refTexture, &texCoord[0], sampleParams); local
440 m_texture->getRefTexture(), &texCoord[
634 vector<float> texCoord; local
861 vector<float> texCoord; local
995 vector<float> texCoord; local
1267 vector<float> texCoord; local
1380 refTexture, &texCoord[0], sampleParams); local
1505 vector<float> texCoord; local
1582 refTexture, &texCoord[0], sampleParams); local
1818 vector<float> texCoord; local
2138 vector<float> texCoord; local
2214 refTexture, &texCoord[0], sampleParams); local
[all...]
H A Des3fTextureShadowTests.cpp99 const float* texCoord,
124 sampleTexture(SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); local
125 numFailedPixels = computeTextureCompareDiff(result, reference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, comparePrec, lodPrec, nonShadowThreshold);
131 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); local
132 numFailedPixels = computeTextureCompareDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, comparePrec, lodPrec, nonShadowThreshold);
331 vector<float> texCoord; local
347 computeQuadTexCoord2D(texCoord, curCase.minCoord, curCase.maxCoord);
358 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
375 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
386 &texCoord[
96 verifyTexCompareResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const TextureType& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
637 vector<float> texCoord; local
891 const float texCoord[] = local
[all...]
H A Des3fTextureFilteringTests.cpp271 vector<float> texCoord; local
285 computeQuadTexCoord2D(texCoord, curCase.minCoord, curCase.maxCoord);
294 m_renderer.renderQuad(0, &texCoord[0], refParams);
312 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
323 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
596 vector<float> texCoord; local
598 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight);
604 m_renderer.renderQuad(0, &texCoord[0], sampleParams);
625 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
636 &texCoord[
835 tcu::Vec3 texCoord[4]; local
1075 tcu::Vec3 texCoord[4]; local
[all...]
H A Des3fTextureSwizzleTests.cpp152 vector<float> texCoord; local
161 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
188 m_renderer.renderQuad(0, &texCoord[0], renderParams);
196 sampleTexture(SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefTexture(), &texCoord[0], renderParams); local
H A Des3fTextureWrapTests.cpp301 vector<float> texCoord; local
326 computeQuadTexCoord2D(texCoord, m_cases[m_caseNdx].bottomLeft, m_cases[m_caseNdx].topRight);
327 m_renderer.renderQuad(0, &texCoord[0], refParams);
349 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);

Completed in 444 milliseconds

12