Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp227 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate() local
229 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
231 if (!VerifyImg(textureLevel, expected, epsilon)) in iterate()
236 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
249 tcu::TextureLevel textureLevel( in iterate() local
251 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
253 if (!VerifyImg(textureLevel, expected, epsilon)) in iterate()
258 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
271 tcu::TextureLevel textureLevel( in iterate() local
273 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
[all …]
DesextcDrawBuffersIndexedBlending.cpp242 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate() local
244 glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess()); in iterate()
246 if (!VerifyImg(textureLevel, expected[i % 4], epsilon)) in iterate()
251 …m_testCtx.getLog() << tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAcces… in iterate()
388 bool DrawBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expecte… in VerifyImg() argument
391 for (int y = 0; y < textureLevel.getHeight(); ++y) in VerifyImg()
393 for (int x = 0; x < textureLevel.getWidth(); ++x) in VerifyImg()
395 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);
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderTarget9.cpp22 size_t textureLevel, in TextureRenderTarget9() argument
36 mTextureLevel(textureLevel), in TextureRenderTarget9()
DRenderTarget9.h39 size_t textureLevel,
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_rendertexture.c183 target, fb->textureLevel, in wglBindTexImageARB()
235 fb->textureLevel = piAttribList[i+1]; in wglSetPbufferAttribARB()
Dstw_framebuffer.h116 unsigned textureLevel; member
Dstw_ext_pbuffer.c360 *piValue = fb->textureLevel; in wglQueryPbufferARB()
/third_party/vk-gl-cts/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()
651 …tcu::TextureLevel textureLevel (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y()… in test() local
652 const tcu::PixelBufferAccess expectedImage = getExpectedData(textureLevel, caseDef); in test()
747 tcu::PixelBufferAccess getExpectedDataNoAtt (tcu::TextureLevel& textureLevel) in getExpectedDataNoAtt() argument
749 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedDataNoAtt()
941 tcu::TextureLevel textureLevel (format, imageWidth, imageHeight, imageDepth); in testNoAtt() local
942 const tcu::PixelBufferAccess expectedImage = getExpectedDataNoAtt(textureLevel); in testNoAtt()
1314 tcu::TextureLevel textureLevel (format, size.x(), size.y(), size.z()); in testMultiAttachments() local
1315 const tcu::PixelBufferAccess expectedImage (textureLevel); in testMultiAttachments()
[all …]
DvktPipelineRenderToImageTests.cpp1114 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction() local
1115 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testWithSizeReduction()
1546 tcu::TextureLevel textureLevel (format, mipSize.x(), mipSize.y(), levelDepth); in testRenderToMipMaps() local
1547 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testRenderToMipMaps()
DvktPipelineBindPointTests.cpp783 …const auto textureLevel = readColorAttachment(vkd, device, queue, qIndex, alloc, colorAttachment-… in iterate() local
784 const auto pixelBuffer = textureLevel->getAccess(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp352 tcu::PixelBufferAccess getExpectedData (tcu::TextureLevel& textureLevel, const CaseDef& caseDef) in getExpectedData() argument
354 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedData()
651 …tcu::TextureLevel textureLevel (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y()… in test() local
652 const tcu::PixelBufferAccess expectedImage = getExpectedData(textureLevel, caseDef); in test()
747 tcu::PixelBufferAccess getExpectedDataNoAtt (tcu::TextureLevel& textureLevel) in getExpectedDataNoAtt() argument
749 const tcu::PixelBufferAccess expectedImage (textureLevel); in getExpectedDataNoAtt()
941 tcu::TextureLevel textureLevel (format, imageWidth, imageHeight, imageDepth); in testNoAtt() local
942 const tcu::PixelBufferAccess expectedImage = getExpectedDataNoAtt(textureLevel); in testNoAtt()
1314 tcu::TextureLevel textureLevel (format, size.x(), size.y(), size.z()); in testMultiAttachments() local
1315 const tcu::PixelBufferAccess expectedImage (textureLevel); in testMultiAttachments()
[all …]
DvktPipelineRenderToImageTests.cpp1114 tcu::TextureLevel textureLevel (format, checkSize.x(), checkSize.y(), checkDepth); in testWithSizeReduction() local
1115 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testWithSizeReduction()
1546 tcu::TextureLevel textureLevel (format, mipSize.x(), mipSize.y(), levelDepth); in testRenderToMipMaps() local
1547 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testRenderToMipMaps()
DvktPipelineBindPointTests.cpp783 …const auto textureLevel = readColorAttachment(vkd, device, queue, qIndex, alloc, colorAttachment-… in iterate() local
784 const auto pixelBuffer = textureLevel->getAccess(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationImageLayoutTransitionTests.cpp312 TextureLevel textureLevel (mapVkFormat(FORMAT), WIDTH, HEIGHT, 1); in iterate() local
313 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationImageLayoutTransitionTests.cpp312 TextureLevel textureLevel (mapVkFormat(FORMAT), WIDTH, HEIGHT, 1); in iterate() local
313 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in iterate()
/third_party/skia/third_party/externals/angle2/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);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp459 tcu::TextureLevel textureLevel(m_texFormat, width, HEIGHT); in iterate() local
460 tcu::PixelBufferAccess pixels = textureLevel.getAccess(); in iterate()
/third_party/skia/third_party/externals/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1618 …tcu::TextureLevel textureLevel (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLaye… in testMutable() local
1619 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testMutable()
2162 …tcu::TextureLevel textureLevel(tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayer… in testSwapchainMutable() local
2163 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testSwapchainMutable()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMutableTests.cpp1618 …tcu::TextureLevel textureLevel (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLaye… in testMutable() local
1619 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testMutable()
2162 …tcu::TextureLevel textureLevel(tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayer… in testSwapchainMutable() local
2163 const tcu::PixelBufferAccess expectedImage = textureLevel.getAccess(); in testSwapchainMutable()

12