Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuRasterizationVerifier.hpp116 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…
DtcuRasterizationVerifier.cpp520 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/
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.cpp1114 …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/
DvktDrawUtil.hpp59 PipelineState(const int subpixelBits);
70 int subpixelBits; member
DvktDrawUtil.cpp114 : subpixelBits (subpixelBits_) in PipelineState()
155 …rr::ViewportState(referenceColorBuffer)), m_pipelineStates[objectNdx].subpixelBits, rr::VIEWPORTOR… in draw()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/src/core/
DSkMatrix.cpp1612 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/
DSkMatrix.cpp1646 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/
Des31fDrawBuffersIndexedTests.cpp651 …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()
Des31fTextureMultisampleTests.cpp469 args.subpixelBits = m_subpixelBits; in testMultisampleTexture()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp364 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/
DsglrReferenceContext.hpp566 , subpixelBits (rr::RenderState::DEFAULT_SUBPIXEL_BITS) in ReferenceContextLimits()
583 int subpixelBits; member
DsglrReferenceContext.cpp248 , 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/
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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp1038 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()