/third_party/vk-gl-cts/framework/common/ |
D | tcuRasterizationVerifier.hpp | 116 int subpixelBits; member 146 …ec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBits, bool multisamp… 158 …onst tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, int subpixelBits, const tcu::IVe…
|
D | tcuRasterizationVerifier.cpp | 520 int subpixelBits, in calcSingleSampleLineInterpolationRangeWithWeightEquation() argument 524 const float testSquareSize = (2.0f / (float)(1UL << subpixelBits)); in calcSingleSampleLineInterpolationRangeWithWeightEquation() 553 … tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpixelBits) in calcSingleSampleLineInterpolationRange() argument 555 …SampleLineInterpolationRangeWithWeightEquation(pa, wa, pb, wb, pixel, subpixelBits, calcLineInterp… in calcSingleSampleLineInterpolationRange() 558 … tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpixelBits) in calcSingleSampleLineInterpolationRangeAxisProjected() argument 560 …SampleLineInterpolationRangeWithWeightEquation(pa, wa, pb, wb, pixel, subpixelBits, calcLineInterp… in calcSingleSampleLineInterpolationRangeAxisProjected() 572 …x, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisample, int subpixelBits) const in interpolate() 576 const float testSquareSize = (multisample) ? (1.0f) : (2.0f / (float)(1UL << subpixelBits)); in interpolate() 613 …x, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisample, int subpixelBits) const in interpolate() 616 DE_UNREF(subpixelBits); in interpolate() [all …]
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.hpp | 181 SingleSampleLineRasterizer (const tcu::IVec4& viewport, const int subpixelBits); 228 …ltiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport, const int subpixelBits); 271 LineExitDiamondGenerator (const int subpixelBits);
|
D | rrRenderState.hpp | 376 , subpixelBits (subpixelBits_) in RenderState() 395 const int subpixelBits; member
|
D | rrRasterizer.cpp | 448 …cu::IVec4& viewport, const int numSamples, const RasterizationState& state, const int subpixelBits) in TriangleRasterizer() argument 454 , m_subpixelBits (subpixelBits) in TriangleRasterizer() 858 …mpleLineRasterizer::SingleSampleLineRasterizer (const tcu::IVec4& viewport, const int subpixelBits) in SingleSampleLineRasterizer() argument 860 , m_subpixelBits (subpixelBits) in SingleSampleLineRasterizer() 1036 …ultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport, const int subpixelBits) in MultiSampleLineRasterizer() argument 1038 , m_triangleRasterizer0 (viewport, m_numSamples, RasterizationState(), subpixelBits) in MultiSampleLineRasterizer() 1039 , m_triangleRasterizer1 (viewport, m_numSamples, RasterizationState(), subpixelBits) in MultiSampleLineRasterizer() 1109 LineExitDiamondGenerator::LineExitDiamondGenerator (const int subpixelBits) in LineExitDiamondGenerator() argument 1110 : m_subpixelBits(subpixelBits) in LineExitDiamondGenerator()
|
D | rrRenderer.cpp | 1114 …ngleRasterizer rasterizer (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive() 1184 SingleSampleLineRasterizer aliasedRasterizer (renderTargetRect, state.subpixelBits); in rasterizePrimitive() 1185 MultiSampleLineRasterizer msaaRasterizer (numSamples, renderTargetRect, state.subpixelBits); in rasterizePrimitive() 1235 …gleRasterizer rasterizer1 (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive() 1236 …gleRasterizer rasterizer2 (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.hpp | 59 PipelineState(const int subpixelBits); 70 int subpixelBits; member
|
D | vktDrawUtil.cpp | 114 : subpixelBits (subpixelBits_) in PipelineState() 155 …rr::ViewportState(referenceColorBuffer)), m_pipelineStates[objectNdx].subpixelBits, rr::VIEWPORTOR… in draw()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderBuiltinVarTests.cpp | 729 … indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors, const int subpixelBits); 953 …t indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors, const int subpixelBits) in renderReference() argument 956 …((rr::ViewportState)(rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(dst)), subpixelBits); in renderReference() 1018 int subpixelBits= 0; in iterate() local 1019 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in iterate() 1036 …mg.getAccess(), (int)m_positions.size(), &indices[0], &m_positions[0], &m_colors[0], subpixelBits); in iterate() 1059 …e(refImg.getAccess(), (int)indices.size(), &indices[0], &mappedPos[0], &m_colors[0], subpixelBits); in iterate() 1086 …e(refImg.getAccess(), (int)indices.size(), &indices[0], &mappedPos[0], &m_colors[0], subpixelBits); in iterate()
|
D | es3fPolygonOffsetTests.cpp | 367 int subpixelBits = 0; in testPolygonOffset() local 419 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in testPolygonOffset() 426 …e state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset() 617 int subpixelBits = 0; in testPolygonOffset() local 684 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in testPolygonOffset() 691 …e state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset()
|
D | es3fRasterizationTests.cpp | 472 args.subpixelBits = m_subpixelBits; in iterate() 597 args.subpixelBits = m_subpixelBits; in iterate() 740 args.subpixelBits = m_subpixelBits; in iterate() 1563 args.subpixelBits = m_subpixelBits; in iterate() 1745 args.subpixelBits = m_subpixelBits; in iterate() 2015 args.subpixelBits = m_subpixelBits; in iterate()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglRenderTests.cpp | 419 …olorBits, const int depthBits, const int stencilBits, const int numSamples, const int subpixelBits) in renderReference() argument 465 …)(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess())), subpixelBits); in renderReference() 822 int subpixelBits = 0; in executeForContexts() local 823 m_gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in executeForContexts() 829 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1, subpixelBits); in executeForContexts() 1051 int subpixelBits = 0; in executeForContexts() local 1052 m_gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in executeForContexts() 1061 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1, subpixelBits); in executeForContexts()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fPolygonOffsetTests.cpp | 364 int subpixelBits = 0; in testPolygonOffset() local 416 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in testPolygonOffset() 423 …e state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset() 614 int subpixelBits = 0; in testPolygonOffset() local 682 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in testPolygonOffset() 689 …e state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset()
|
D | es2fRasterizationTests.cpp | 269 args.subpixelBits = m_subpixelBits; in iterate() 366 args.subpixelBits = m_subpixelBits; in iterate() 470 args.subpixelBits = m_subpixelBits; in iterate() 1414 args.subpixelBits = m_subpixelBits; in iterate() 1595 args.subpixelBits = m_subpixelBits; in iterate() 1793 args.subpixelBits = m_subpixelBits; in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsTextureBufferCase.cpp | 662 int subpixelBits) in renderReference() argument 675 …rr::ViewportState(rr::WindowRectangle(0, 0, target.getWidth(), target.getHeight())), subpixelBits); in renderReference() 779 int subpixelBits = 0; in render() local 780 renderContext.getFunctions().getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in render() 781 …ference(renderBits, coordSeed, triangleCount, texture, maxTextureBufferSize, target, subpixelBits); in render()
|
/third_party/flutter/skia/src/core/ |
D | SkMatrix.cpp | 1612 const unsigned subpixelBits = paint.isAntiAlias() ? kAntiAliasSubpixelBits : 0; in SkTreatAsSprite() local 1620 if (!subpixelBits && !(mat.getType() & ~SkMatrix::kTranslate_Mask)) { in SkTreatAsSprite() 1642 if (subpixelBits) { in SkTreatAsSprite() 1643 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite() 1644 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite() 1645 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite() 1646 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite() 1648 const float scale = 1 << subpixelBits; in SkTreatAsSprite()
|
/third_party/skia/src/core/ |
D | SkMatrix.cpp | 1646 const unsigned subpixelBits = paint.isAntiAlias() ? kAntiAliasSubpixelBits : 0; in SkTreatAsSprite() local 1654 if (!subpixelBits && !(mat.getType() & ~SkMatrix::kTranslate_Mask)) { in SkTreatAsSprite() 1676 if (subpixelBits) { in SkTreatAsSprite() 1677 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite() 1678 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite() 1679 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite() 1680 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite() 1682 const float scale = 1 << subpixelBits; in SkTreatAsSprite()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 651 …onBlendState, const BlendState& postCommonBlendState, const DrawBufferInfo& info, int subpixelBits) in createRenderState() argument 654 …RenderState state (rr::ViewportState(rr::WindowRectangle(0, 0, size.x(), size.y())), subpixelBits); in createRenderState() 821 const int subpixelBits, in renderRefQuad() argument 835 …eRenderState(preCommonBlendState, postCommonBlendState, drawBuffers[drawBufferNdx], subpixelBits)); in renderRefQuad() 1054 int subpixelBits = 0; in renderQuad() local 1055 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in renderQuad() 1057 …renderRefQuad(preCommonBlendState, postCommonBlendState, drawBuffers, subpixelBits, refRenderbuffe… in renderQuad()
|
D | es31fTextureMultisampleTests.cpp | 469 args.subpixelBits = m_subpixelBits; in testMultisampleTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiSmokeTests.cpp | 310 …riangle (const tcu::PixelBufferAccess& dst, const tcu::Vec4 (&vertices)[3], const int subpixelBits) in renderReferenceTriangle() argument 317 …const rr::RenderState renderState ((rr::ViewportState(colorBuffer)), subpixelBits, rr::VIEWPO… in renderReferenceTriangle()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorVulkan.cpp | 364 int subpixelBits = compiler->getResources().SubPixelBits; in AddBresenhamEmulationVS() local 366 CreateFloatNode(static_cast<float>(1 << subpixelBits), EbpHigh); in AddBresenhamEmulationVS()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.hpp | 566 , subpixelBits (rr::RenderState::DEFAULT_SUBPIXEL_BITS) in ReferenceContextLimits() 583 int subpixelBits; member
|
D | sglrReferenceContext.cpp | 248 , subpixelBits (0) in ReferenceContextLimits() 268 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in ReferenceContextLimits() 4330 rr::RenderState state ((rr::ViewportState)(colorBuf0), m_limits.subpixelBits); in drawWithReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 128 …Triangle (const tcu::PixelBufferAccess& dst, const tcu::Vec4(&vertices)[3], const int subpixelBits) in renderReferenceTriangle() argument 135 const rr::RenderState renderState((rr::ViewportState(colorBuffer)), subpixelBits); in renderReferenceTriangle()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 1038 args.subpixelBits = m_subpixelBits; in compareAndVerify() 1417 args.subpixelBits = m_subpixelBits; in compareAndVerify() 1687 args.subpixelBits = m_subpixelBits; in compareAndVerify() 5066 args.subpixelBits = m_subpixelBits; in iterate() 5847 args.subpixelBits = m_subpixelBits; in iterate() 6133 args.subpixelBits = m_subpixelBits; in iterate()
|