Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp98 egl::Image *RenderbufferTexture2D::getRenderTarget() in getRenderTarget() function in es2::RenderbufferTexture2D
100 return mTexture2D->getRenderTarget(GL_TEXTURE_2D, mLevel); in getRenderTarget()
161 egl::Image *RenderbufferTexture2DRect::getRenderTarget() in getRenderTarget() function in es2::RenderbufferTexture2DRect
163 return mTexture2DRect->getRenderTarget(GL_TEXTURE_RECTANGLE_ARB, 0); in getRenderTarget()
224 egl::Image *RenderbufferTexture3D::getRenderTarget() in getRenderTarget() function in es2::RenderbufferTexture3D
226 return mTexture3D->getRenderTarget(mTexture3D->getTarget(), mLevel); in getRenderTarget()
292 egl::Image *RenderbufferTextureCubeMap::getRenderTarget() in getRenderTarget() function in es2::RenderbufferTextureCubeMap
294 return mTextureCubeMap->getRenderTarget(mTarget, mLevel); in getRenderTarget()
360 egl::Image *Renderbuffer::getRenderTarget() in getRenderTarget() function in es2::Renderbuffer
362 return mInstance->getRenderTarget(); in getRenderTarget()
[all …]
DRenderbuffer.h49 virtual egl::Image *getRenderTarget() = 0;
80 egl::Image *getRenderTarget() override;
107 egl::Image *getRenderTarget() override;
130 egl::Image *getRenderTarget() override;
158 egl::Image *getRenderTarget() override;
186 egl::Image *getRenderTarget() override = 0;
219 egl::Image *getRenderTarget();
251 egl::Image *getRenderTarget() override;
267 egl::Image *getRenderTarget() override;
/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.cpp282 const int width = m_context.getRenderTarget().getWidth(); in iterate()
283 const int height = m_context.getRenderTarget().getHeight(); in iterate()
284 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
376 const int width = m_context.getRenderTarget().getWidth(); in iterate()
377 const int height = m_context.getRenderTarget().getHeight(); in iterate()
378 …const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().ge… in iterate()
463 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate()
464 const int height = de::min(256, m_context.getRenderTarget().getHeight()); in iterate()
514 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
515 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()
364 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
365 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckUnicoloredQuad()
366 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
367 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckUnicoloredQuad()
Des2fTextureFormatTests.cpp142 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
145 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
193 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
318 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testFace()
321 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testFace()
361 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
452 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_texture->getRefTexture().getWidth(),… in iterate()
455 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
483 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
563 …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()
Des2fTextureMipmapTests.cpp158 if (m_coordType == COORDTYPE_PROJECTED && m_renderCtx.getRenderTarget().getNumSamples() > 0) in init()
261 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeig… in iterate()
348 const tcu::PixelFormat& pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate()
508 if (m_coordType == COORDTYPE_PROJECTED && m_renderCtx.getRenderTarget().getNumSamples() > 0) in init()
591 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeigh… in iterate()
683 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
684 …eshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFor… in iterate()
716 …tcu::SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, … in iterate()
855 …const RandomViewport viewport (m_renderCtx.getRenderTarget(), levelWidth, levelHeight, deStringHa… in iterate()
867 …const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2,… in iterate()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DRenderbuffer.h45 virtual egl::Image *getRenderTarget() = 0;
75 egl::Image *getRenderTarget() override;
102 egl::Image *getRenderTarget() override = 0;
135 egl::Image *getRenderTarget();
166 egl::Image *getRenderTarget() override;
182 egl::Image *getRenderTarget() override;
DRenderbuffer.cpp98 egl::Image *RenderbufferTexture2D::getRenderTarget() in getRenderTarget() function in es1::RenderbufferTexture2D
100 return mTexture2D->getRenderTarget(GL_TEXTURE_2D, 0); in getRenderTarget()
166 egl::Image *Renderbuffer::getRenderTarget() in getRenderTarget() function in es1::Renderbuffer
168 return mInstance->getRenderTarget(); in getRenderTarget()
333 egl::Image *Colorbuffer::getRenderTarget() in getRenderTarget() function in es1::Colorbuffer
411 egl::Image *DepthStencilbuffer::getRenderTarget() in getRenderTarget() function in es1::DepthStencilbuffer
/external/angle/src/libANGLE/renderer/d3d/
DRenderbufferD3D.cpp94 angle::Result RenderbufferD3D::getRenderTarget(const gl::Context *context, in getRenderTarget() function in rx::RenderbufferD3D
99 return mImage->getRenderTarget(context, outRenderTarget); in getRenderTarget()
114 return getRenderTarget(context, reinterpret_cast<RenderTargetD3D **>(rtOut)); in getAttachmentRenderTarget()
121 ANGLE_TRY(getRenderTarget(context, &renderTarget)); in initializeContents()
/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()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp144 , m_renderFormat (renderCtx.getRenderTarget().getPixelFormat()) in DitheringCase()
251 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient()
252 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckGradient()
253 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
254 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHei); in drawAndCheckGradient()
369 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
370 const int viewportHei = de::min(m_renderCtx.getRenderTarget().getHeight(), maxViewportHei); in drawAndCheckUnicoloredQuad()
371 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
372 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()
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()
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 …]
Des3fTextureFormatTests.cpp179 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
182 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
230 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
374 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testFace()
377 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testFace()
417 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
541 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testLayer()
544 …tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in testLayer()
579 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testLayer()
698 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in testSlice()
[all …]
/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/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/gles31/
Dtes31Context.cpp83 const tcu::RenderTarget& Context::getRenderTarget (void) const in getRenderTarget() function in deqp::gles31::Context
85 return m_renderCtx->getRenderTarget(); in getRenderTarget()
/external/angle/src/tests/deqp_support/
Dtes31Context_override.cpp82 const tcu::RenderTarget& Context::getRenderTarget (void) const in getRenderTarget() function in deqp::gles31::Context
84 return m_renderCtx->getRenderTarget(); in getRenderTarget()
/external/deqp/external/openglcts/modules/common/
DglcContext.cpp86 const tcu::RenderTarget& Context::getRenderTarget(void) const in getRenderTarget() function in deqp::Context
88 return m_renderCtx->getRenderTarget(); in getRenderTarget()
DglcAggressiveShaderOptimizationsTests.cpp457 if (renderWidth > m_context.getRenderTarget().getWidth()) in iterate()
458 renderWidth = m_context.getRenderTarget().getWidth(); in iterate()
459 if (renderHeight > m_context.getRenderTarget().getHeight()) in iterate()
460 renderHeight = m_context.getRenderTarget().getHeight(); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp158 if (m_context.getRenderTarget().getWidth() < viewportWidth || in iterate()
159 m_context.getRenderTarget().getHeight() < viewportHeight) in iterate()
162 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); in iterate()
163 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight); in iterate()
264 …renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wC… in iterate()

1234567891011