Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp137 …cu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in pixelOnlyOnASharedEdge() argument
149 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
150 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
151 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
180 … getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in getTriangleAABB() argument
190 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
191 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
192 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
568 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
576 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
[all …]
DtcuRasterizationVerifier.hpp120 …& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBi…
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp681 const tcu::IVec2 viewportSize = getViewportSize(); in iterate() local
682 …iewportX = useFbo ? 0 : rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportSize.x()); in iterate()
683 …iewportY = useFbo ? 0 : rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportSize.y()); in iterate()
704 …erStorageMultisample(GL_RENDERBUFFER, m_numSamples, fboFormat, viewportSize.x(), viewportSize.y()); in iterate()
727 …<< TestLog::Message << "Viewport: " << viewportSize.x() << "x" << viewportSize.y() << TestLog::End… in iterate()
796 gl.viewport(viewportX, viewportY, viewportSize.x(), viewportSize.y()); in iterate()
815 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, 0, fboFormat, viewportSize.x(), viewportSize.y(… in iterate()
820 …gl.blitFramebuffer(0, 0, viewportSize.x(), viewportSize.y(), 0, 0, viewportSize.x(), viewportSize.… in iterate()
830 …mat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), viewportSize.x(), viewportSize.y()); in iterate()
839 result.setStorage(dataFormat, viewportSize.x(), viewportSize.y()); in iterate()
[all …]
Des3fTextureShadowTests.cpp600 const int viewportSize = 28; in iterate() local
601 …const RandomViewport viewport (m_context.getRenderTarget(), viewportSize, viewportSize, deStrin… in iterate()
606 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
Des3fTextureUnitTests.cpp343 …void makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize); // Modifies …
561 void MultiTexShader::makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize) in makeSafeLods() argument
580 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.cpp582 const int viewportSize = 28; in iterate() local
583 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), viewportSize, viewportSize, deStr… in iterate()
590 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp107 …ViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewportSize, float size = 0… in getViewportBoundingBoxArea() argument
112 vertexBox.x() = (bbox.min.x() * 0.5f + 0.5f) * (float)viewportSize.x(); in getViewportBoundingBoxArea()
113 vertexBox.y() = (bbox.min.y() * 0.5f + 0.5f) * (float)viewportSize.y(); in getViewportBoundingBoxArea()
114 vertexBox.z() = (bbox.max.x() * 0.5f + 0.5f) * (float)viewportSize.x(); in getViewportBoundingBoxArea()
115 vertexBox.w() = (bbox.max.y() * 0.5f + 0.5f) * (float)viewportSize.y(); in getViewportBoundingBoxArea()
551 tcu::IVec2 viewportSize; member
573 …cu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirec…
769 …config.viewportSize.x() = rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.x(), MAX_VIE… in generateRandomConfig()
770 …config.viewportSize.y() = rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.y(), MAX_VIE… in generateRandomConfig()
771 config.viewportPos.x() = rnd.getInt(0, renderTargetSize.x() - config.viewportSize.x()); in generateRandomConfig()
[all …]
Des31fTextureFilteringTests.cpp329 const int viewportSize = 28; in iterate() local
331 …const RandomViewport viewport (m_context.getRenderTarget(), viewportSize, viewportSize, randomS… in iterate()
338 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp68 const UVec2 viewportSize = getViewportSize(); in iterate() local
69 const int width = viewportSize.x(); in iterate()
70 const int height = viewportSize.y(); in iterate()
DvktShaderRenderBuiltinVarTests.cpp1597 const UVec2 viewportSize = getViewportSize(); in iterate() local
1598 const int width = viewportSize.x(); in iterate()
1599 const int height = viewportSize.y(); in iterate()
1725 const UVec2 viewportSize = getViewportSize(); in iterate() local
1726 const int width = viewportSize.x(); in iterate()
1727 const int height = viewportSize.y(); in iterate()
1837 const UVec2 viewportSize = getViewportSize(); in iterate() local
1838 const int width = viewportSize.x(); in iterate()
1839 const int height = viewportSize.y(); in iterate()
2014 const UVec2 viewportSize = getViewportSize(); in iterate() local
[all …]
DvktShaderRenderDerivateTests.cpp1041 const tcu::UVec2 viewportSize (VIEWPORT_WIDTH, VIEWPORT_HEIGHT); in verify() local
1042 const float w = float(viewportSize.x()); in verify()
1043 const float h = float(viewportSize.y()); in verify()
1140 const tcu::UVec2 viewportSize (VIEWPORT_WIDTH, VIEWPORT_HEIGHT); in initPrograms() local
1141 const float w = float(viewportSize.x()); in initPrograms()
1142 const float h = float(viewportSize.y()); in initPrograms()
1247 const tcu::UVec2 viewportSize (VIEWPORT_WIDTH, VIEWPORT_HEIGHT); in TextureDerivateCaseInstance() local
1250 …texture = de::MovePtr<tcu::Texture2D>(new tcu::Texture2D(format, viewportSize.x(), viewportSize.y(… in TextureDerivateCaseInstance()
1511 const tcu::UVec2 viewportSize (VIEWPORT_WIDTH, VIEWPORT_HEIGHT); in initPrograms() local
1512 const float w = float(viewportSize.x()); in initPrograms()
[all …]
DvktShaderRenderTextureFunctionTests.cpp857 tcu::UVec2 viewportSize = getViewportSize(); in initTexture() local
888 …pec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
889 …ec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
947 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
948 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
984 …pec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
985 …ec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
1015 …ec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture()
1016 …c.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture()
1017 …axCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (float)viewportSize[0]; in initTexture()
[all …]
DvktShaderRender.cpp665 const tcu::UVec2 viewportSize = getViewportSize(); in iterate() local
666 const int width = viewportSize.x(); in iterate()
667 const int height = viewportSize.y(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicGeometryShaderTests.cpp274 const tcu::UVec2 viewportSize (4, 1); in createPipelineLayout() local
279 …tureLevel texture (texFormat, static_cast<int>(viewportSize.x()), static_cast<int>(viewportSi… in createPipelineLayout()
296 viewportSize.x(), in createPipelineLayout()
297 viewportSize.y(), in createPipelineLayout()
/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.cpp535 const int viewportSize = 28; in iterate() local
536 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), viewportSize, viewportSize, deStr… in iterate()
543 if (viewport.width < viewportSize || viewport.height < viewportSize) in iterate()
Des2fTextureUnitTests.cpp247 …void makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize); // Modifies …
412 void MultiTexShader::makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize) in makeSafeLods() argument
424 Vec2 screenDerivate(1.0f / (float)viewportSize.x(), 1.0f / (float)viewportSize.y()); in makeSafeLods()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp479 IVec2 viewportSize = getViewportSize(); in iterate() local
480 int width = viewportSize.x(); in iterate()
481 int height = viewportSize.y(); in iterate()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp431 IVec2 viewportSize = getViewportSize(); in iterate() local
432 int width = viewportSize.x(); in iterate()
433 int height = viewportSize.y(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1665 const UVec2& viewportSize, in SubpassRenderInfo() argument
1671 , m_viewportSize (viewportSize) in SubpassRenderInfo()
4384 const UVec2 viewportSize ((config.renderSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo() local
4402 const UVec2 size ((viewportSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo()
4403 …ec2 offset (viewportOffset.x() + ((deUint32)attachmentRefNdx % 2u) * (viewportSize.x() / 3u), in initializeSubpassRenderInfo()
4404 … viewportOffset.y() + (((deUint32)attachmentRefNdx / 2u) % 2u) * (viewportSize.y() / 3u)); in initializeSubpassRenderInfo()
4413 const UVec2 size ((viewportSize * UVec2(2)) / UVec2(3)); in initializeSubpassRenderInfo()
4414 … offset (viewportOffset.x() + ((deUint32)colorAttachments.size() % 2u) * (viewportSize.x() / 3u), in initializeSubpassRenderInfo()
4415 … viewportOffset.y() + (((deUint32)colorAttachments.size() / 2u) % 2u) * (viewportSize.y() / 3u)); in initializeSubpassRenderInfo()
4427 … = roundToViewport((subpassNdx % 2) == 0 ? 1.0f - w : -1.0f, viewportOffset.x(), viewportSize.x()); in initializeSubpassRenderInfo()
[all …]