Home
last modified time | relevance | path

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

12

/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.hpp38 virtual EGLenum validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) = 0;
39 virtual Image *createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) = 0;
DlibEGL.cpp1208 GLuint textureLevel = 0; in CreateImage() local
1219 textureLevel = static_cast<GLuint>(attribute[1]); in CreateImage()
1253 EGLenum validationResult = context->validateSharedImage(target, name, textureLevel); in CreateImage()
1260 Image *image = context->createSharedImage(target, name, textureLevel); in CreateImage()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderTarget9.cpp22 size_t textureLevel, in TextureRenderTarget9() argument
36 mTextureLevel(textureLevel), in TextureRenderTarget9()
DRenderTarget9.h39 size_t textureLevel,
/external/mesa3d/src/gallium/frontends/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.c368 *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()
649 …tcu::TextureLevel textureLevel (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y()… in test() local
650 const tcu::PixelBufferAccess expectedImage = getExpectedData(textureLevel, caseDef); in test()
739 tcu::PixelBufferAccess getExpectedDataNoAtt (tcu::TextureLevel& textureLevel) in getExpectedDataNoAtt() argument
741 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedDataNoAtt()
933 tcu::TextureLevel textureLevel (format, imageWidth, imageHeight, imageDepth); in testNoAtt() local
934 const tcu::PixelBufferAccess expectedImage = getExpectedDataNoAtt(textureLevel); in testNoAtt()
1288 tcu::TextureLevel textureLevel (format, size.x(), size.y(), size.z()); in testDifferentAttachmentSizes() local
1289 const tcu::PixelBufferAccess expectedImage (textureLevel); in testDifferentAttachmentSizes()
DvktPipelineRenderToImageTests.cpp1204 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction() local
1205 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testWithSizeReduction()
1624 tcu::TextureLevel textureLevel (format, mipSize.x(), mipSize.y(), levelDepth); in testRenderToMipMaps() local
1625 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testRenderToMipMaps()
DvktPipelineBindPointTests.cpp763 …const auto textureLevel = readColorAttachment(vkd, device, queue, qIndex, alloc, colorAttachment-… in iterate() local
764 const auto pixelBuffer = textureLevel->getAccess(); in iterate()
/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/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal50 uint textureLevel;
160 color = srcTexture2d.read(coords.xy, options.textureLevel);
163 color = srcTexture2dArray.read(coords.xy, options.textureLayer, options.textureLevel);
169 color = srcTexture3d.read(uint3(coords, options.textureLayer), options.textureLevel);
172 color = srcTextureCube.read(coords.xy, options.textureLayer, options.textureLevel);
Dmtl_default_shaders_src_autogen.inc1752 uint textureLevel;
1798 color = srcTexture2d.read(coords.xy, options.textureLevel);
1801 color = srcTexture2dArray.read(coords.xy, options.textureLayer, options.textureLevel);
1807 color = srcTexture3d.read(uint3(coords, options.textureLayer), options.textureLevel);
1810 color = srcTextureCube.read(coords.xy, options.textureLayer, options.textureLevel);
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h668 EGLenum validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
669 egl::Image *createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) override;
DContext.cpp4372 EGLenum Context::validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in validateSharedImage() argument
4391 if(textureLevel >= es2::IMPLEMENTATION_MAX_TEXTURE_LEVELS) in validateSharedImage()
4415 …if(texture->isShared(textureTarget, textureLevel)) // Bound to an EGLSurface or already an EGLIm… in validateSharedImage()
4420 if(textureLevel != 0 && !texture->isSamplerComplete(nullptr)) in validateSharedImage()
4425 if(textureLevel == 0 && !texture->isSamplerComplete(nullptr) && texture->hasNonBaseLevels()) in validateSharedImage()
4449 egl::Image *Context::createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) in createSharedImage() argument
4468 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.cpp1634 …tcu::TextureLevel textureLevel (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLaye… in testMutable() local
1635 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testMutable()
2132 …tcu::TextureLevel textureLevel(tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayer… in testSwapchainMutable() local
2133 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testSwapchainMutable()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.h165 MipmapNativeLevel textureLevel = kZeroNativeMipLevel; member
Dmtl_render_utils.mm132 uint32_t textureLevel;
2819 options.textureLevel = params.textureLevel.get();
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp5676 GLint textureLevel, in getCachedTextureLevelData() argument
5689 GLint adjustedLevel = GetAdjustedTextureCacheLevel(target, textureLevel); in getCachedTextureLevelData()
5714 const gl::InternalFormat &format = *texture->getFormat(target, textureLevel).info; in getCachedTextureLevelData()
5717 const gl::Extents &levelExtents = texture->getExtents(target, textureLevel); in getCachedTextureLevelData()

12