Home
last modified time | relevance | path

Searched refs:samplePos (Results 1 – 4 of 4) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp137 tcu::Vec2 samplePos = tcu::Vec2(-1, -1); in iterate() local
139 gl.glGetMultisamplefv(GL_SAMPLE_POSITION, ndx, samplePos.getPtr()); in iterate()
143 if (samplePos.x() < 0.0f || samplePos.x() > 1.0f || in iterate()
144 samplePos.y() < 0.0f || samplePos.y() > 1.0f) in iterate()
146 …:Message << "Sample " << ndx << " is not in valid range [0,1], got " << samplePos << tcu::TestLog:… in iterate()
Des31fTextureMultisampleTests.cpp139 void convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const;
510 …sRasterizationTest::convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const in convertToSceneSpec()
513 …const tcu::Vec4 offset = tcu::Vec4(samplePos.x() - 0.5f, samplePos.y() - 0.5f, 0.0f, 0.0f) / tcu::… in convertToSceneSpec()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp706 const deInt64* samplePos = DE_NULL; in rasterizeMultiSample() local
717 case 2: samplePos = s_samplePos2; break; in rasterizeMultiSample()
718 case 4: samplePos = s_samplePos4; break; in rasterizeMultiSample()
719 case 8: samplePos = s_samplePos8; break; in rasterizeMultiSample()
720 case 16: samplePos = s_samplePos16; break; in rasterizeMultiSample()
757 const deInt64 ox = samplePos[sampleNdx*2 + 0]; in rasterizeMultiSample()
758 const deInt64 oy = samplePos[sampleNdx*2 + 1]; in rasterizeMultiSample()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglRenderer.java1471 FloatBuffer samplePos = BufferUtils.createFloatBuffer(2); in getFrameBufferSamplePositions() local
1473 glGetMultisample(GL_SAMPLE_POSITION, i, samplePos); in getFrameBufferSamplePositions()
1474 samplePos.clear(); in getFrameBufferSamplePositions()
1475 samplePositions[i] = new Vector2f(samplePos.get(0) - 0.5f, in getFrameBufferSamplePositions()
1476 samplePos.get(1) - 0.5f); in getFrameBufferSamplePositions()