Home
last modified time | relevance | path

Searched refs:clearColor (Results 1 – 25 of 182) sorted by relevance

12345678

/external/deqp/modules/gles3/functional/
Des3fDepthTests.cpp126 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); in iterate() local
149 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
162 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
Des3fFboRenderTest.cpp422 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); in iterate() local
449 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
473 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
559 context.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in render()
672 context.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in render()
796 context.clearColor(0.0f, 0.0f, 1.0f, 1.0f); in render()
802 context.clearColor(0.6f, 0.0f, 0.0f, 1.0f); in render()
805 context.clearColor(0.0f, 0.6f, 0.0f, 1.0f); in render()
810 context.clearColor(0.0f, 0.0f, 0.6f, 1.0f); in render()
815 context.clearColor(0.6f, 0.0f, 0.6f, 1.0f); in render()
[all …]
Des3fRandomFragmentOpTests.cpp308 const Vec4 clearColor = CLEAR_COLOR; in iterate() local
327 m_callLogWrapper.glClearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
353 tcu::clear (m_refColorBuffer->getAccess(), clearColor); in iterate()
Des3fShaderBuiltinVarTests.cpp542 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in iterate()
981 const tcu::Vec4 clearColor (0.0f, 0.0f, 0.0f, 1.0f); in iterate() local
992 gl.clearColor (clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
995 tcu::clear(refImg.getAccess(), clearColor); in iterate()
1061 tcu::clear(refImg.getAccess(), clearColor); in iterate()
Des3fPixelBufferObjectTests.cpp88 void clearColor (float r, float g, float b, float a);
332 void ReadPixelsTest::clearColor (float r, float g, float b, float a) in clearColor() function in deqp::gles3::Functional::__anon5c3356880111::ReadPixelsTest
415 clearColor(m_colorScale * 0.4f, m_colorScale * 1.0f, m_colorScale * 0.5f, m_colorScale * 1.0f); in iterate()
441 clearColor(clearRed, clearGreen, clearBlue, clearAlpha); in iterate()
/external/deqp/modules/gles2/functional/
Des2fDepthTests.cpp123 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); in iterate() local
146 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
159 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
Des2fFboRenderTest.cpp560 Vec4 clearColor (0.125f, 0.25f, 0.5f, 1.0f); in iterate() local
587 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
611 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
674 context.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in render()
690 context.clearColor(color.x(), color.y(), color.z(), color.w()); in render()
782 ctx.clearColor(1.0f, 0.0f, 0.0f, 1.0f); in render()
879 context.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in render()
891 context.clearColor(1.0f, 0.0f, 0.0f, 1.0f); in render()
894 context.clearColor(0.0f, 1.0f, 0.0f, 1.0f); in render()
965 context.clearColor(0.6f, 0.0f, 0.6f, 1.0f); in render()
[all …]
Des2fRandomFragmentOpTests.cpp308 const Vec4 clearColor = CLEAR_COLOR; in iterate() local
327 m_callLogWrapper.glClearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
353 tcu::clear (m_refColorBuffer->getAccess(), clearColor); in iterate()
/external/deqp/modules/egl/
DteglPartialUpdateTests.cpp184 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor);
185 void clearColorReference (tcu::Surface* ref, const tcu::Vec4& clearColor);
307 …m_gl.clearColor(coloredRect.color.x()/255.0f, coloredRect.color.y()/255.0f, coloredRect.color.z()/… in render()
497 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f); in iterate() local
556 clearColorScreen(m_gl, clearColor); in iterate()
566 clearColorReference(&refBuffer, clearColor); in iterate()
637 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) in clearColorScreen() argument
639 gl.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in clearColorScreen()
643 void clearColorReference (tcu::Surface* ref, const tcu::Vec4& clearColor) in clearColorReference() argument
645 tcu::clear(ref->getAccess(), clearColor); in clearColorReference()
[all …]
DteglBufferAgeTests.cpp196 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor);
197 void clearColorReference (tcu::Surface* ref, const tcu::Vec4& clearColor);
318 …m_gl.clearColor(coloredRect.color.x()/255.0f, coloredRect.color.y()/255.0f, coloredRect.color.z()/… in render()
497 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f); in iterate() local
546 clearColorScreen(m_gl, clearColor); in iterate()
576 clearColorReference(&refBuffer, clearColor); in iterate()
589 clearColorScreen(m_gl, clearColor); in iterate()
590 clearColorReference(&refBuffer, clearColor); in iterate()
693 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) in clearColorScreen() argument
695 gl.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in clearColorScreen()
[all …]
DteglSwapBuffersWithDamageTests.cpp130 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor);
249 …m_gl.clearColor(coloredRect.color.x()/255.0f, coloredRect.color.y()/255.0f, coloredRect.color.z()/… in render()
406 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f); in iterate() local
419 clearColorScreen(m_gl, clearColor); in iterate()
486 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f); in iterate() local
495 clearColorScreen(m_gl, clearColor); in iterate()
574 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f); in iterate() local
583 clearColorScreen(m_gl, clearColor); in iterate()
605 clearColorScreen(m_gl, clearColor); in iterate()
749 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) in clearColorScreen() argument
[all …]
DteglSwapBuffersTests.cpp339 gl.clearColor(1.0f, 1.0f, 1.0f, 1.0f); in executeForConfig()
357 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f); in executeForConfig()
374 gl.clearColor(0.7f, 1.0f, 0.3f, 1.0f); in executeForConfig()
389 gl.clearColor(0.7f, 0.7f, 1.0f, 1.0f); in executeForConfig()
DteglWideColorTests.cpp135 void clearColorScreen (const glw::Functions& gl, const Color& clearColor) in clearColorScreen() argument
137 gl.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in clearColorScreen()
1081 …const Color clearColor(reference, reference + it->increment, reference - it->increment, reference … in doClearTest() local
1083 clearColorScreen(m_gl, clearColor); in doClearTest()
1093 const ColoredRect coloredRect (IVec2(0.0f, 0.0f), IVec2(1.0f, 1.0f), clearColor); in doClearTest()
/external/skia/tests/
DVkClearTests.cpp22 GrColor clearColor, in does_full_buffer_contain_correct_color() argument
28 matchColor = clearColor; in does_full_buffer_contain_correct_color()
31 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color()
32 GrColorUnpackG(clearColor), in does_full_buffer_contain_correct_color()
33 GrColorUnpackR(clearColor), in does_full_buffer_contain_correct_color()
34 GrColorUnpackA(clearColor)); in does_full_buffer_contain_correct_color()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp339 const tcu::Vec4 clearColor (0.125f, 0.25f, 0.75f, 1.0f); in renderTriangleTest() local
768 const VkClearValue clearValue = makeClearValueColorF32(clearColor[0], in renderTriangleTest()
769 clearColor[1], in renderTriangleTest()
770 clearColor[2], in renderTriangleTest()
771 clearColor[3]); in renderTriangleTest()
921 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleTest()
951 const tcu::Vec4 clearColor (0.125f, 0.25f, 0.75f, 1.0f); in renderTriangleUnusedResolveAttachmentTest() local
1385 const VkClearValue clearValue = makeClearValueColorF32(clearColor[0], in renderTriangleUnusedResolveAttachmentTest()
1386 clearColor[1], in renderTriangleUnusedResolveAttachmentTest()
1387 clearColor[2], in renderTriangleUnusedResolveAttachmentTest()
[all …]
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js31 function initWebGL(canvasName, vshader, fshader, attribs, clearColor, clearDepth) argument
56 function simpleSetup(gl, vshader, fshader, attribs, clearColor, clearDepth) argument
92 gl.clearColor(clearColor[0], clearColor[1], clearColor[2], clearColor[3]);
/external/deqp/modules/glshared/
DglsScissorTests.cpp234 gl.clearColor(0.125f, 0.25f, 0.5f, 1.0f); in iterate()
255 gl.clearColor(0.125f, 0.25f, 0.5f, 1.0f); in iterate()
442 gl.clearColor(0.6f, 0.1f, 0.1f, 1.0); in render()
459 gl.clearColor(0.1f, 0.6f, 0.1f, 1.0); in render()
504 const tcu::Vec4 clearColor (1.0f, 0.5, 0.125f, 1.0f); in init() local
514 gl.clearBufferfv(GL_COLOR, 0, clearColor.getPtr()); in init()
797 const Color clearColor = getMainColor(bufferFmt); in render() local
804 case CLEAR_COLOR_FIXED: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break; in render()
805 case CLEAR_COLOR_FLOAT: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break; in render()
806 case CLEAR_COLOR_INT: gl.clearBufferiv (GL_COLOR, 0, clearColor.i); break; in render()
[all …]
DglsFragOpInteractionCase.cpp580 …const tcu::Vec4 clearColor = getWellBehavingColor(accurateClearColor, m_renderCtx.getRender… in iterate() local
593 ctx.clearColor (clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp343 const Vec4& clearColor, in draw() argument
386 const VkClearValue clearValue = makeClearValueColor(clearColor); in draw()
513 void generateReferenceImage(tcu::PixelBufferAccess image, const Vec4& clearColor, const std::vector… in generateReferenceImage() argument
515 tcu::clear(image, clearColor); in generateReferenceImage()
636 const Vec4 clearColor = Vec4(0.0f, 0.0f, 0.0f, 1.0f); in test() local
651 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
659 …generateReferenceImage(reference.getAccess(), clearColor, perInstancePosition, params.numInvocatio… in test()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp197 tcu::Vec4 clearColor = defaultClearColor(m_colorFormat); in ReferenceRenderer() local
200 clearColor = tcu::linearToSRGB(clearColor); in ReferenceRenderer()
202 tcu::clear(m_colorBuffer.getAccess(), clearColor); in ReferenceRenderer()
203 tcu::clear(m_resolveColorBuffer.getAccess(), clearColor); in ReferenceRenderer()
/external/mesa3d/src/mesa/swrast/
Ds_clear.c55 const GLfloat (*clearColor)[4] = in clear_rgba_buffer() local
79 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, &pixel); \ in clear_rgba_buffer()
107 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, pixel); \ in clear_rgba_buffer()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp448 const Vec4& clearColor, in generateReferenceImage() argument
455 tcu::clear(image.getAccess(), clearColor); in generateReferenceImage()
555 const Vec4& clearColor, in ScissorRenderer() argument
560 , m_clearColor (clearColor) in ScissorRenderer()
726 const Vec4 clearColor (0.5f, 0.5f, 0.5f, 1.0f); in test() local
744 …erer renderer (context, renderSize, numViewports, scissors, colorFormat, clearColor, vertexColors); in test()
753 …ceImage = generateReferenceImage(mapVkFormat(colorFormat), renderSize, clearColor, scissors, verte… in test()
DvktFragmentOperationsScissorTests.cpp466 …yScissor (tcu::PixelBufferAccess imageAccess, const Vec4& floatScissorArea, const Vec4& clearColor) in applyScissor() argument
479 imageAccess.setPixel(clearColor, x, y); in applyScissor()
533 … IVec2& renderSize, const VkFormat colorFormat, const Vec4& primitiveColor, const Vec4& clearColor) in ScissorRenderer() argument
538 , m_clearColor (clearColor) in ScissorRenderer()
708 const Vec4 clearColor (0.5f, 0.5f, 1.0f, 1.0f); in test() local
722 …t ScissorRenderer renderer (context, caseDef, renderSize, colorFormat, primitiveColor, clearColor); in test()
737 applyScissor (referenceImage, caseDef.scissorArea, clearColor); in test()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp189 const vk::VkClearColorValue clearColor = { { 0.0f, 0.0f, 0.0f, 1.0f } }; in beginRenderPass() local
190 beginRenderPassWithClearColor(clearColor); in beginRenderPass()
193 void DynamicStateBaseClass::beginRenderPassWithClearColor (const vk::VkClearColorValue& clearColor) in beginRenderPassWithClearColor() argument
202 vk::VK_IMAGE_LAYOUT_GENERAL, &clearColor, 1, &subresourceRange); in beginRenderPassWithClearColor()
DvktDynamicStateCBTests.cpp92 const vk::VkClearColorValue clearColor = { { 1.0f, 1.0f, 1.0f, 1.0f } }; in iterate() local
93 beginRenderPassWithClearColor(clearColor); in iterate()

12345678