Home
last modified time | relevance | path

Searched refs:viewportSize (Results 1 – 15 of 15) sorted by relevance

/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp141 …cu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in pixelOnlyOnASharedEdge() argument
153 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
154 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
155 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
184 … getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in getTriangleAABB() argument
194 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
195 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
196 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
572 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
580 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
[all …]
DglsRasterizationTestUtil.hpp115 …& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBi…
DglsShaderRenderCase.cpp431 IVec2 viewportSize = getViewportSize(); in iterate() local
432 int width = viewportSize.x(); in iterate()
433 int height = viewportSize.y(); in iterate()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp652 const tcu::IVec2 viewportSize = getViewportSize(); in iterate() local
653 …iewportX = useFbo ? 0 : rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportSize.x()); in iterate()
654 …iewportY = useFbo ? 0 : rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportSize.y()); in iterate()
675 …erStorageMultisample(GL_RENDERBUFFER, m_numSamples, fboFormat, viewportSize.x(), viewportSize.y()); in iterate()
698 …<< TestLog::Message << "Viewport: " << viewportSize.x() << "x" << viewportSize.y() << TestLog::End… in iterate()
767 gl.viewport(viewportX, viewportY, viewportSize.x(), viewportSize.y()); in iterate()
786 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, 0, fboFormat, viewportSize.x(), viewportSize.y(… in iterate()
791 …gl.blitFramebuffer(0, 0, viewportSize.x(), viewportSize.y(), 0, 0, viewportSize.x(), viewportSize.… in iterate()
801 …mat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), viewportSize.x(), viewportSize.y()); in iterate()
810 result.setStorage(dataFormat, viewportSize.x(), viewportSize.y()); in iterate()
[all …]
Des3fTextureShadowTests.cpp598 const int viewportSize = 28; in iterate() local
599 …const RandomViewport viewport (m_context.getRenderTarget(), viewportSize, viewportSize, deStrin… in iterate()
604 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
Des3fTextureUnitTests.cpp342 …void makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize); // Modifies …
560 void MultiTexShader::makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize) in makeSafeLods() argument
579 Vec2 screenDerivate(1.0f / (float)viewportSize.x(), 1.0f / (float)viewportSize.y()); in makeSafeLods()
Des3fShaderTextureFunctionTests.cpp569 tcu::IVec2 viewportSize = getViewportSize(); in initTexture() local
598 …pec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
599 …ec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
656 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
657 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
692 …pec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
693 …ec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
722 …ec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
723 …c.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
724 …axCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (float)viewportSize[0]; in initTexture()
[all …]
Des3fTextureFilteringTests.cpp561 const int viewportSize = 28; in iterate() local
562 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), viewportSize, viewportSize, deStr… in iterate()
569 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp106 …ViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewportSize, float size = 0… in getViewportBoundingBoxArea() argument
111 vertexBox.x() = (bbox.min.x() * 0.5f + 0.5f) * (float)viewportSize.x(); in getViewportBoundingBoxArea()
112 vertexBox.y() = (bbox.min.y() * 0.5f + 0.5f) * (float)viewportSize.y(); in getViewportBoundingBoxArea()
113 vertexBox.z() = (bbox.max.x() * 0.5f + 0.5f) * (float)viewportSize.x(); in getViewportBoundingBoxArea()
114 vertexBox.w() = (bbox.max.y() * 0.5f + 0.5f) * (float)viewportSize.y(); in getViewportBoundingBoxArea()
516 tcu::IVec2 viewportSize; member
538 …cu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirec…
733 …config.viewportSize.x() = rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.x(), MAX_VIE… in generateRandomConfig()
734 …config.viewportSize.y() = rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.y(), MAX_VIE… in generateRandomConfig()
735 config.viewportPos.x() = rnd.getInt(0, renderTargetSize.x() - config.viewportSize.x()); in generateRandomConfig()
[all …]
Des31fTextureFilteringTests.cpp323 const int viewportSize = 28; in iterate() local
325 …const RandomViewport viewport (m_context.getRenderTarget(), viewportSize, viewportSize, randomS… in iterate()
332 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp325 tcu::IVec2 viewportSize = getViewportSize(); in initTexture() local
352 …pec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
353 …ec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
397 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
398 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
Des2fTextureFilteringTests.cpp534 const int viewportSize = 28; in iterate() local
535 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), viewportSize, viewportSize, deStr… in iterate()
542 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
Des2fTextureUnitTests.cpp246 …void makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize); // Modifies …
411 void MultiTexShader::makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize) in makeSafeLods() argument
423 Vec2 screenDerivate(1.0f / (float)viewportSize.x(), 1.0f / (float)viewportSize.y()); in makeSafeLods()
/external/deqp/external/vulkancts/modules/vulkan/
DvktRenderPassTests.cpp1430 const UVec2& viewportSize, in SubpassRenderInfo() argument
1436 , m_viewportSize (viewportSize) in SubpassRenderInfo()
3725 const UVec2 viewportSize ((config.renderSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo() local
3743 const UVec2 size ((viewportSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo()
3744 …ec2 offset (viewportOffset.x() + ((deUint32)attachmentRefNdx % 2u) * (viewportSize.x() / 3u), in initializeSubpassRenderInfo()
3745 … viewportOffset.y() + (((deUint32)attachmentRefNdx / 2u) % 2u) * (viewportSize.y() / 3u)); in initializeSubpassRenderInfo()
3754 const UVec2 size ((viewportSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo()
3755 … offset (viewportOffset.x() + ((deUint32)colorAttachments.size() % 2u) * (viewportSize.x() / 3u), in initializeSubpassRenderInfo()
3756 … viewportOffset.y() + (((deUint32)colorAttachments.size() / 2u) % 2u) * (viewportSize.y() / 3u)); in initializeSubpassRenderInfo()
3766 const float x = (float)(viewportSize.x() / 4) / (float)(viewportSize.x() / 2); in initializeSubpassRenderInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp484 const tcu::UVec2 viewportSize = getViewportSize(); in iterate() local
485 const int width = viewportSize.x(); in iterate()
486 const int height = viewportSize.y(); in iterate()