Home
last modified time | relevance | path

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

12345678

/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp215 if (m_context.getRenderTarget().getNumSamples() > 1) in iterate()
218 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
219 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
220 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
221 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
241 …const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForma… in iterate()
242 …const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
243 …const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForm… in iterate()
244 …const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
Des2fShaderBuiltinVarTests.cpp280 const int width = m_context.getRenderTarget().getWidth(); in iterate()
281 const int height = m_context.getRenderTarget().getHeight(); in iterate()
282 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
374 const int width = m_context.getRenderTarget().getWidth(); in iterate()
375 const int height = m_context.getRenderTarget().getHeight(); in iterate()
376 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
461 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate()
462 const int height = de::min(256, m_context.getRenderTarget().getHeight()); in iterate()
512 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
513 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); in iterate()
[all …]
Des2fDitheringTests.cpp144 , m_renderFormat (renderCtx.getRenderTarget().getPixelFormat()) in DitheringCase()
245 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient()
246 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckGradient()
247 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
248 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckGradient()
363 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
364 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckUnicoloredQuad()
365 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
366 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckUnicoloredQuad()
Des2fTextureFormatTests.cpp140 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
143 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
191 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate()
316 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testFace()
319 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testFace()
359 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace()
450 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_texture->getRefTexture().getWidth(),… in iterate()
453 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
481 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate()
561 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_texture->getRefTexture().getSize(), … in testFace()
[all …]
Des2fRandomFragmentOpTests.cpp264 int width = de::min<int>(m_context.getRenderTarget().getWidth(), VIEWPORT_WIDTH); in init()
265 int height = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init()
266 bool useRGB = m_context.getRenderTarget().getPixelFormat().alphaBits == 0; in init()
296 const bool isMSAA = m_context.getRenderTarget().getNumSamples() > 1; in iterate()
302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
303 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); in iterate()
360 translateState(cmd->state, refState, m_context.getRenderTarget()); in iterate()
417 tcu::PixelFormat format = m_context.getRenderTarget().getPixelFormat(); in getCompareThreshold()
Des2fTextureSizeTests.cpp121 RandomViewport viewport (m_renderCtx.getRenderTarget(), 128, 128, deStringHash(getName())); in iterate()
124 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in iterate()
154 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate()
264 …RandomViewport viewport (m_renderCtx.getRenderTarget(), 128, 128, deStringHash(getName())+(deUi… in testFace()
267 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in testFace()
298 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace()
Des2fTextureMipmapTests.cpp157 if (m_coordType == COORDTYPE_PROJECTED && m_renderCtx.getRenderTarget().getNumSamples() > 0) in init()
260 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeig… in iterate()
347 const tcu::PixelFormat& pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate()
507 if (m_coordType == COORDTYPE_PROJECTED && m_renderCtx.getRenderTarget().getNumSamples() > 0) in init()
590 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeigh… in iterate()
680 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
681 …eshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFor… in iterate()
712 …SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, curY,… in iterate()
851 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), levelWidth, levelHeight, deStringHa… in iterate()
863 …const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2,… in iterate()
[all …]
Des2fRasterizationTests.cpp122 const int width = m_context.getRenderTarget().getWidth(); in init()
123 const int height = m_context.getRenderTarget().getHeight(); in init()
154 m_numSamples = m_context.getRenderTarget().getNumSamples(); in init()
267 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
268 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
269 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; in iterate()
364 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
365 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
366 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; in iterate()
466 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
[all …]
Des2fShaderFragDataTests.cpp151 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); in iterate()
152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); in iterate()
201 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp125 , m_viewportWidth (measureType == CASETYPE_VERTEX ? 32 : renderCtx.getRenderTarget().getWidth()) in ShaderPerformanceMeasurer()
126 , m_viewportHeight (measureType == CASETYPE_VERTEX ? 32 : renderCtx.getRenderTarget().getHeight()) in ShaderPerformanceMeasurer()
160 bool widthTooSmall = m_renderCtx.getRenderTarget().getWidth() < m_viewportWidth; in init()
161 bool heightTooSmall = m_renderCtx.getRenderTarget().getHeight() < m_viewportHeight; in init()
170 TCU_CHECK_INTERNAL(de::inRange(m_viewportWidth, 1, m_renderCtx.getRenderTarget().getWidth()) && in init()
171 de::inRange(m_viewportHeight, 1, m_renderCtx.getRenderTarget().getHeight())); in init()
350 DE_ASSERT(de::inRange(width, 1, m_renderCtx.getRenderTarget().getWidth()) && in setViewportSize()
351 de::inRange(height, 1, m_renderCtx.getRenderTarget().getHeight())); in setViewportSize()
DglsShaderPerformanceCase.cpp70 int viewportW = m_renderCtx.getRenderTarget().getWidth(); in setVertexFragmentRatio()
71 int viewportH = m_renderCtx.getRenderTarget().getHeight(); in setVertexFragmentRatio()
148 logRenderTargetInfo(log, m_renderCtx.getRenderTarget()); in init()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp144 , m_renderFormat (renderCtx.getRenderTarget().getPixelFormat()) in DitheringCase()
245 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient()
246 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckGradient()
247 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
248 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckGradient()
361 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
362 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckUnicoloredQuad()
363 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
364 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckUnicoloredQuad()
Des3fShaderBuiltinVarTests.cpp297 const int width = m_context.getRenderTarget().getWidth(); in iterate()
298 const int height = m_context.getRenderTarget().getHeight(); in iterate()
299 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
394 const int width = m_context.getRenderTarget().getWidth(); in iterate()
395 const int height = m_context.getRenderTarget().getHeight(); in iterate()
396 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
484 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate()
485 const int height = de::min(256, m_context.getRenderTarget().getHeight()); in iterate()
538 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
539 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); in iterate()
[all …]
Des3fReadPixelsTests.cpp360 if (!m_useRenderBuffer && m_context.getRenderTarget().getNumSamples() > 1) in iterate()
363 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
364 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
365 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
366 …8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
386 …const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForma… in iterate()
387 …const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
388 …const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForm… in iterate()
389 …const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
Des3fTextureFormatTests.cpp157 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
160 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
208 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate()
347 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testFace()
350 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testFace()
390 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace()
509 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testLayer()
512 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testLayer()
547 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testLayer()
661 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testSlice()
[all …]
Des3fFboStateQueryTests.cpp169 const bool hasColorBuffer = m_context.getRenderTarget().getPixelFormat().redBits > 0 || in test()
170 m_context.getRenderTarget().getPixelFormat().greenBits > 0 || in test()
171 m_context.getRenderTarget().getPixelFormat().blueBits > 0 || in test()
172 m_context.getRenderTarget().getPixelFormat().alphaBits > 0; in test()
182 m_context.getRenderTarget().getDepthBits() > 0, in test()
183 m_context.getRenderTarget().getStencilBits() > 0 in test()
577 m_context.getRenderTarget().getPixelFormat().redBits, in test()
578 m_context.getRenderTarget().getPixelFormat().greenBits, in test()
579 m_context.getRenderTarget().getPixelFormat().blueBits, in test()
580 m_context.getRenderTarget().getPixelFormat().alphaBits, in test()
[all …]
Des3fRandomFragmentOpTests.cpp264 int width = de::min<int>(m_context.getRenderTarget().getWidth(), VIEWPORT_WIDTH); in init()
265 int height = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init()
266 bool useRGB = m_context.getRenderTarget().getPixelFormat().alphaBits == 0; in init()
296 const bool isMSAA = m_context.getRenderTarget().getNumSamples() > 1; in iterate()
302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
303 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); in iterate()
360 translateState(cmd->state, refState, m_context.getRenderTarget()); in iterate()
417 tcu::PixelFormat format = m_context.getRenderTarget().getPixelFormat(); in getCompareThreshold()
Des3fTextureSizeTests.cpp121 RandomViewport viewport (m_renderCtx.getRenderTarget(), 128, 128, deStringHash(getName())); in iterate()
124 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in iterate()
154 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate()
264 …RandomViewport viewport (m_renderCtx.getRenderTarget(), 128, 128, deStringHash(getName())+(deUi… in testFace()
267 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in testFace()
298 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace()
/external/skia/src/gpu/batches/
DGrStencilAndCoverPathRenderer.cpp85 SkASSERT(pipelineBuilder->getRenderTarget()->isStencilBufferMultisampled()); in onDrawPath()
110 SkRect::MakeLTRB(0, 0, SkIntToScalar(pipelineBuilder->getRenderTarget()->width()), in onDrawPath()
111 SkIntToScalar(pipelineBuilder->getRenderTarget()->height())); in onDrawPath()
126 if (pipelineBuilder->getRenderTarget()->hasMixedSamples()) { in onDrawPath()
/external/deqp/framework/opengl/
DgluES3PlusWrapperContext.hpp60 …virtual const tcu::RenderTarget& getRenderTarget (void) const { return m_context->getRenderTarge… in getRenderTarget() function in glu::ES3PlusWrapperContext
/external/deqp/modules/gles3/
Dtes3Context.cpp70 const tcu::RenderTarget& Context::getRenderTarget (void) const in getRenderTarget() function in deqp::gles3::Context
72 return m_renderCtx->getRenderTarget(); in getRenderTarget()
/external/deqp/modules/gles2/
Dtes2Context.cpp73 const tcu::RenderTarget& Context::getRenderTarget (void) const in getRenderTarget() function in deqp::gles2::Context
75 return m_renderCtx->getRenderTarget(); in getRenderTarget()
/external/deqp/modules/gles31/
Dtes31Context.cpp86 const tcu::RenderTarget& Context::getRenderTarget (void) const in getRenderTarget() function in deqp::gles31::Context
88 return m_renderCtx->getRenderTarget(); in getRenderTarget()
/external/skia/src/gpu/gl/
DGrGLProgram.cpp122 fRenderTargetState.fRenderTargetSize.fHeight != pipeline.getRenderTarget()->height()) { in setRenderTargetState()
124 SkIntToScalar(pipeline.getRenderTarget()->height())); in setRenderTargetState()
128 const GrRenderTarget* rt = pipeline.getRenderTarget(); in setRenderTargetState()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.hh92 virtual const RenderTarget& getRenderTarget (void) const { return m_emptyTarget; } in getRenderTarget() function in tcu::ios::RawContext
112 virtual const RenderTarget& getRenderTarget (void) const { return m_renderTarget; } in getRenderTarget() function in tcu::ios::ScreenContext

12345678