Home
last modified time | relevance | path

Searched refs:subpixelBits (Results 1 – 25 of 26) sorted by relevance

12

/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp181 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);
DrrRenderState.hpp376 , subpixelBits (subpixelBits_) in RenderState()
395 const int subpixelBits; member
DrrRasterizer.cpp448 …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()
DrrRenderer.cpp1108 …ngleRasterizer rasterizer (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive()
1178 SingleSampleLineRasterizer aliasedRasterizer (renderTargetRect, state.subpixelBits); in rasterizePrimitive()
1179 MultiSampleLineRasterizer msaaRasterizer (numSamples, renderTargetRect, state.subpixelBits); in rasterizePrimitive()
1229 …gleRasterizer rasterizer1 (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive()
1230 …gleRasterizer rasterizer2 (renderTargetRect, numSamples, state.rasterization, state.subpixelBits); in rasterizePrimitive()
/external/deqp/framework/common/
DtcuRasterizationVerifier.hpp114 int subpixelBits; member
135 …ec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBits, bool multisamp…
DtcuRasterizationVerifier.cpp516 int subpixelBits, in calcSingleSampleLineInterpolationRangeWithWeightEquation() argument
520 const float testSquareSize = (2.0f / (float)(1UL << subpixelBits)); in calcSingleSampleLineInterpolationRangeWithWeightEquation()
549 … tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpixelBits) in calcSingleSampleLineInterpolationRange() argument
551 …SampleLineInterpolationRangeWithWeightEquation(pa, wa, pb, wb, pixel, subpixelBits, calcLineInterp… in calcSingleSampleLineInterpolationRange()
554 … tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpixelBits) in calcSingleSampleLineInterpolationRangeAxisProjected() argument
556 …SampleLineInterpolationRangeWithWeightEquation(pa, wa, pb, wb, pixel, subpixelBits, calcLineInterp… in calcSingleSampleLineInterpolationRangeAxisProjected()
568 …x, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisample, int subpixelBits) const in interpolate()
572 const float testSquareSize = (multisample) ? (1.0f) : (2.0f / (float)(1UL << subpixelBits)); in interpolate()
609 …x, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisample, int subpixelBits) const in interpolate()
612 DE_UNREF(subpixelBits); in interpolate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.hpp59 int subpixelBits; member
65 …rimitiveTopology topology_, deUint32 renderWidth_, deUint32 renderHeight_, const int subpixelBits);
DvktDrawUtil.cpp121 , subpixelBits (subpixelBits_) in DrawState()
141 … renderState((rr::ViewportState(referenceColorBuffer)), m_drawState.subpixelBits, rr::VIEWPORTOR… in draw()
/external/deqp/modules/gles3/functional/
Des3fShaderBuiltinVarTests.cpp729 … 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()
Des3fPolygonOffsetTests.cpp367 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()
Des3fRasterizationTests.cpp472 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()
/external/deqp/modules/egl/
DteglRenderTests.cpp419 …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()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp364 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()
Des2fRasterizationTests.cpp269 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()
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp662 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()
/external/skia/src/core/
DSkMatrix.cpp1638 const unsigned subpixelBits = paint.isAntiAlias() ? kAntiAliasSubpixelBits : 0; in SkTreatAsSprite() local
1646 if (!subpixelBits && !(mat.getType() & ~SkMatrix::kTranslate_Mask)) { in SkTreatAsSprite()
1668 if (subpixelBits) { in SkTreatAsSprite()
1669 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1670 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1671 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1672 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
1674 const float scale = 1 << subpixelBits; in SkTreatAsSprite()
/external/skqp/src/core/
DSkMatrix.cpp1640 const unsigned subpixelBits = paint.isAntiAlias() ? kAntiAliasSubpixelBits : 0; in SkTreatAsSprite() local
1648 if (!subpixelBits && !(mat.getType() & ~SkMatrix::kTranslate_Mask)) { in SkTreatAsSprite()
1670 if (subpixelBits) { in SkTreatAsSprite()
1671 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1672 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1673 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1674 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
1676 const float scale = 1 << subpixelBits; in SkTreatAsSprite()
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp644 …onBlendState, const BlendState& postCommonBlendState, const DrawBufferInfo& info, int subpixelBits) in createRenderState() argument
647 …RenderState state (rr::ViewportState(rr::WindowRectangle(0, 0, size.x(), size.y())), subpixelBits); in createRenderState()
814 const int subpixelBits, in renderRefQuad() argument
828 …eRenderState(preCommonBlendState, postCommonBlendState, drawBuffers[drawBufferNdx], subpixelBits)); in renderRefQuad()
1047 int subpixelBits = 0; in renderQuad() local
1048 gl.getIntegerv(GL_SUBPIXEL_BITS, &subpixelBits); in renderQuad()
1050 …renderRefQuad(preCommonBlendState, postCommonBlendState, drawBuffers, subpixelBits, refRenderbuffe… in renderQuad()
Des31fTextureMultisampleTests.cpp469 args.subpixelBits = m_subpixelBits; in testMultisampleTexture()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp603 static DrawState getDrawState (UVec2 renderSize, const int subpixelBits) in testImageQueryLod()
605 …DrawState state(VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, renderSize.x(), renderSize.y(), subpixelBits); in testImageQueryLod()
/external/angle/src/compiler/translator/
DTranslatorVulkan.cpp531 int subpixelBits = compiler->getResources().SubPixelBits; in AddBresenhamEmulationVS() local
532 TIntermConstantUnion *scaleConstant = CreateFloatNode(static_cast<float>(1 << subpixelBits)); in AddBresenhamEmulationVS()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp310 …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()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp566 , subpixelBits (rr::RenderState::DEFAULT_SUBPIXEL_BITS) in ReferenceContextLimits()
583 int subpixelBits; member
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp968 args.subpixelBits = m_subpixelBits; in iterate()
1305 args.subpixelBits = m_subpixelBits; in iterate()
1510 args.subpixelBits = m_subpixelBits; in iterate()
2717 args.subpixelBits = m_subpixelBits; in iterate()
3480 args.subpixelBits = m_subpixelBits; in iterate()
3754 args.subpixelBits = m_subpixelBits; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp128 …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()

12