Home
last modified time | relevance | path

Searched refs:textureLevel (Results 1 – 17 of 17) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp226 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate() local
228 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
230 if (!VerifyImg(textureLevel, expected, epsilon)) in iterate()
235 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
248 tcu::TextureLevel textureLevel( in iterate() local
250 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
252 if (!VerifyImg(textureLevel, expected, epsilon)) in iterate()
257 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
270 tcu::TextureLevel textureLevel( in iterate() local
272 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
[all …]
DesextcDrawBuffersIndexedBlending.cpp241 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate() local
243 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
245 if (!VerifyImg(textureLevel, expected[i % 4], epsilon)) in iterate()
250 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
387 bool DrawBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expecte… in VerifyImg() argument
390 for (int y = 0; y < textureLevel.getHeight(); ++y) in VerifyImg()
392 for (int x = 0; x < textureLevel.getWidth(); ++x) in VerifyImg()
394 tcu::RGBA pixel(textureLevel.getAccess().getPixel(x, y)); in VerifyImg()
DesextcDrawBuffersIndexedColorMasks.hpp60 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
DesextcDrawBuffersIndexedBlending.hpp63 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
/external/swiftshader/src/OpenGL/libEGL/
DContext.hpp36 virtual EGLenum validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) = 0;
37 virtual Image *createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) = 0;
DlibEGL.cpp1151 GLuint textureLevel = 0; in CreateImage() local
1162 textureLevel = static_cast<GLuint>(attribute[1]); in CreateImage()
1196 EGLenum validationResult = context->validateSharedImage(target, name, textureLevel); in CreateImage()
1203 Image *image = context->createSharedImage(target, name, textureLevel); in CreateImage()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_rendertexture.c185 target, fb->textureLevel, in wglBindTexImageARB()
239 fb->textureLevel = piAttribList[i+1]; in wglSetPbufferAttribARB()
Dstw_framebuffer.h98 unsigned textureLevel; member
Dstw_ext_pbuffer.c366 *piValue = fb->textureLevel; in wglQueryPbufferARB()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp352 tcu::PixelBufferAccess getExpectedData (tcu::TextureLevel& textureLevel, const CaseDef& caseDef) in getExpectedData() argument
354 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedData()
655 …tcu::TextureLevel textureLevel (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y()… in test() local
656 const tcu::PixelBufferAccess expectedImage = getExpectedData(textureLevel, caseDef); in test()
745 tcu::PixelBufferAccess getExpectedDataNoAtt (tcu::TextureLevel& textureLevel) in getExpectedDataNoAtt() argument
747 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedDataNoAtt()
947 tcu::TextureLevel textureLevel (format, imageWidth, imageHeight, imageDepth); in testNoAtt() local
948 const tcu::PixelBufferAccess expectedImage = getExpectedDataNoAtt(textureLevel); in testNoAtt()
1302 tcu::TextureLevel textureLevel (format, size.x(), size.y(), size.z()); in testDifferentAttachmentSizes() local
1303 const tcu::PixelBufferAccess expectedImage (textureLevel); in testDifferentAttachmentSizes()
DvktPipelineRenderToImageTests.cpp1207 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction() local
1208 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testWithSizeReduction()
1617 tcu::TextureLevel textureLevel (format, mipSize.x(), mipSize.y(), levelDepth); in testRenderToMipMaps() local
1618 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testRenderToMipMaps()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.h512 EGLenum validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
513 egl::Image *createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
DContext.cpp3131 EGLenum Context::validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in validateSharedImage() argument
3143 if(textureLevel >= IMPLEMENTATION_MAX_TEXTURE_LEVELS) in validateSharedImage()
3157 …if(texture->isShared(GL_TEXTURE_2D, textureLevel)) // Bound to an EGLSurface or already an EGLIm… in validateSharedImage()
3162 if(textureLevel != 0 && !texture->isSamplerComplete()) in validateSharedImage()
3167 if(textureLevel == 0 && !(texture->isSamplerComplete() && texture->getTopLevel() == 0)) in validateSharedImage()
3191 egl::Image *Context::createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in createSharedImage() argument
3197 return texture->createSharedImage(GL_TEXTURE_2D, textureLevel); in createSharedImage()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h695 EGLenum validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
696 egl::Image *createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
DContext.cpp4344 EGLenum Context::validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in validateSharedImage() argument
4367 if(textureLevel >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in validateSharedImage()
4381 …if(texture->isShared(textureTarget, textureLevel)) // Bound to an EGLSurface or already an EGLIm… in validateSharedImage()
4386 if(textureLevel != 0 && !texture->isSamplerComplete(nullptr)) in validateSharedImage()
4391 if(textureLevel == 0 && !(texture->isSamplerComplete(nullptr) && texture->getTopLevel() == 0)) in validateSharedImage()
4415 egl::Image *Context::createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in createSharedImage() argument
4434 return texture->createSharedImage(textureTarget, textureLevel); in createSharedImage()
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp459 tcu::TextureLevel textureLevel(m_texFormat, width, HEIGHT); in iterate() local
460 tcu::PixelBufferAccess pixels = textureLevel.getAccess(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1767 …tcu::TextureLevel textureLevel (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLaye… in testMutable() local
1768 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testMutable()
2276 …tcu::TextureLevel textureLevel(tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayer… in testSwapchainMutable() local
2277 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testSwapchainMutable()