Searched defs:clearColor (Results 1 - 25 of 29) sorted by relevance

12

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DFramebufferToTextureTest.java47 Color clearColor = new Color(0.2f, 0.2f, 0.2f, 1); field in class:FramebufferToTextureTest
70 Gdx.gl.glClearColor(clearColor.g, clearColor.g, clearColor.b, clearColor.a);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.cpp190 const vk::VkClearColorValue clearColor = { { 0.0f, 0.0f, 0.0f, 1.0f } }; local
199 vk::VK_IMAGE_LAYOUT_GENERAL, &clearColor, 1, &subresourceRange);
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateCBTests.cpp89 const vk::VkClearColorValue clearColor = { { 1.0f, 1.0f, 1.0f, 1.0f } }; local
90 beginRenderPassWithClearColor(clearColor);
H A DvktDynamicStateBaseClass.cpp187 const vk::VkClearColorValue clearColor = { { 0.0f, 0.0f, 0.0f, 1.0f } }; local
188 beginRenderPassWithClearColor(clearColor);
191 void DynamicStateBaseClass::beginRenderPassWithClearColor (const vk::VkClearColorValue& clearColor) argument
200 vk::VK_IMAGE_LAYOUT_GENERAL, &clearColor, 1, &subresourceRange);
H A DvktDynamicStateDSTests.cpp304 const vk::VkClearColorValue clearColor = { { 0.0f, 0.0f, 0.0f, 1.0f } }; local
305 beginRenderPassWithClearColor(clearColor);
308 void beginRenderPassWithClearColor (const vk::VkClearColorValue &clearColor) argument
318 vk::VK_IMAGE_LAYOUT_GENERAL, &clearColor, 1, &subresourceRangeImage);
H A DvktDynamicStateRSTests.cpp276 const vk::VkClearColorValue clearColor = { { 0.0f, 0.0f, 0.0f, 1.0f } }; local
277 beginRenderPassWithClearColor(clearColor);
280 void beginRenderPassWithClearColor (const vk::VkClearColorValue &clearColor) argument
290 vk::VK_IMAGE_LAYOUT_GENERAL, &clearColor, 1, &subresourceRangeImage);
/external/skia/tests/
H A DVkClearTests.cpp21 GrColor clearColor,
27 matchColor = clearColor;
30 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor),
31 GrColorUnpackG(clearColor),
32 GrColorUnpackR(clearColor),
33 GrColorUnpackA(clearColor));
20 does_full_buffer_contain_correct_color(GrColor* buffer, GrColor clearColor, GrPixelConfig config, int width, int height) argument
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp197 tcu::Vec4 clearColor = defaultClearColor(m_colorFormat); local
200 clearColor = tcu::linearToSRGB(clearColor);
202 tcu::clear(m_colorBuffer.getAccess(), clearColor);
203 tcu::clear(m_resolveColorBuffer.getAccess(), clearColor);
H A DvktPipelineEarlyFragmentTests.cpp328 const tcu::Vec4& clearColor,
334 makeClearValueColor(clearColor), // attachment 0
941 const tcu::Vec4 clearColor(0.0f, 0.0f, 0.0f, 1.0f);
963 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor, 0.5f, 0u);
323 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const float clearDepth, const deUint32 clearStencil) argument
/external/deqp/modules/gles2/functional/
H A Des2fDepthTests.cpp123 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); local
146 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w());
159 context.clearColor(clearColor.x(), clearColor.y(), clearColor
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDepthTests.cpp126 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); local
149 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w());
162 context.clearColor(clearColor.x(), clearColor.y(), clearColor
[all...]
H A Des3fReadPixelsTests.cpp89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
221 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize) function in class:deqp::gles3::Functional::__anon4348::ReadPixelsTest
353 clearColor(reference, pixelData, pixelSize);
H A Des3fPixelBufferObjectTests.cpp88 void clearColor (float r, float g, float b, float a);
332 void ReadPixelsTest::clearColor (float r, float g, float b, float a) function in class:deqp::gles3::Functional::__anon4338::ReadPixelsTest
415 clearColor(m_colorScale * 0.4f, m_colorScale * 1.0f, m_colorScale * 0.5f, m_colorScale * 1.0f);
441 clearColor(clearRed, clearGreen, clearBlue, clearAlpha);
H A Des3fFboRenderTest.cpp422 tcu::Vec4 clearColor = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f); local
449 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w());
473 context.clearColor(clearColor.x(), clearColor.y(), clearColor
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_clear.c205 union pipe_color_union clearColor; local
308 &clearColor,
314 draw_quad(st, x0, y0, x1, y1, (GLfloat) ctx->Depth.Clear, &clearColor);
537 union pipe_color_union clearColor; local
551 &clearColor,
556 st->pipe->clear(st->pipe, clear_buffers, &clearColor,
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/
H A DPixmap.java92 static String clearColor = make(255, 255, 255, 1.0f); field in class:Pixmap
386 context.setFillStyle(clearColor);
387 context.setStrokeStyle(clearColor);
406 context.setFillStyle(clearColor);
407 context.setStrokeStyle(clearColor);
428 context.setFillStyle(clearColor);
429 context.setStrokeStyle(clearColor);
448 context.setFillStyle(clearColor);
449 context.setStrokeStyle(clearColor);
474 context.setFillStyle(clearColor);
[all...]
/external/skia/src/effects/
H A DSkMorphologyImageFilter.cpp572 GrColor clearColor = GrMorphologyEffect::kErode_MorphologyType == morphType ? local
575 dstDrawContext->clear(&clearRect, clearColor, false);
/external/deqp/modules/egl/
H A 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()/255.0f, 1.0f);
493 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f);
542 clearColorScreen(m_gl, clearColor);
572 clearColorReference(&refBuffer, clearColor);
585 clearColorScreen(m_gl, clearColor);
586 clearColorReference(&refBuffer, clearColor);
689 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) argument
691 gl.clearColor(clearColo
695 clearColorReference(tcu::Surface* ref, const tcu::Vec4& clearColor) argument
[all...]
H A 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()/255.0f, 1.0f);
493 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f);
552 clearColorScreen(m_gl, clearColor);
562 clearColorReference(&refBuffer, clearColor);
633 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) argument
635 gl.clearColor(clearColor.x(), clearColor
639 clearColorReference(tcu::Surface* ref, const tcu::Vec4& clearColor) argument
[all...]
H A 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()/255.0f, 1.0f);
406 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f);
419 clearColorScreen(m_gl, clearColor);
486 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f);
495 clearColorScreen(m_gl, clearColor);
574 const tcu::Vec4 clearColor (clearRed, clearGreen, clearBlue, 1.0f);
583 clearColorScreen(m_gl, clearColor);
605 clearColorScreen(m_gl, clearColor);
749 void clearColorScreen (const glw::Functions& gl, const tcu::Vec4& clearColor) argument
[all...]
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp234 gl.clearColor(0.125f, 0.25f, 0.5f, 1.0f);
255 gl.clearColor(0.125f, 0.25f, 0.5f, 1.0f);
442 gl.clearColor(0.6f, 0.1f, 0.1f, 1.0);
459 gl.clearColor(0.1f, 0.6f, 0.1f, 1.0);
504 const tcu::Vec4 clearColor (1.0f, 0.5, 0.125f, 1.0f);
514 gl.clearBufferfv(GL_COLOR, 0, clearColor.getPtr());
797 const Color clearColor = getMainColor(bufferFmt); local
804 case CLEAR_COLOR_FIXED: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break;
805 case CLEAR_COLOR_FLOAT: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break;
806 case CLEAR_COLOR_INT: gl.clearBufferiv (GL_COLOR, 0, clearColor
[all...]
/external/skia/src/gpu/
H A DGrDrawContext.cpp293 GrColor clearColor; local
294 if (paint.isConstantBlendedColor(&clearColor)) {
295 this->getDrawTarget()->clear(nullptr, clearColor, true, fRenderTarget);
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiCommandBuffersTests.cpp2075 const deUint32 clearColor[4] = { 2, 47, 131, 211 }; local
2081 makeClearValueColorU32(clearColor[0],
2082 clearColor[1],
2083 clearColor[2],
2084 clearColor[3]) // VkClearValue clearValue;
2115 if (colorData[i * 4 + colorComponent] != clearColor[colorComponent])
/external/deqp/framework/opengl/simplereference/
H A DsglrGLContext.cpp443 void GLContext::clearColor (float red, float green, float blue, float alpha) function in class:sglr::GLContext
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktRenderPassTests.cpp884 VkClearColorValue clearColor; local
896 clearColor.int32[ndx] = std::numeric_limits<deInt32>::min();
898 clearColor.uint32[ndx] = rng.getInt(valueMin[ndx], valueMax[ndx]);
910 clearColor.uint32[ndx] = std::numeric_limits<deUint32>::max();
912 clearColor.uint32[ndx] = rng.getUint32() % valueMax[ndx];
926 clearColor.float32[ndx] = clearNan;
928 clearColor.float32[ndx] = formatInfo.valueMin[ndx] + rng.getFloat() * (formatInfo.valueMax[ndx] - formatInfo.valueMin[ndx]);
937 return clearColor;
1953 const VkClearColorValue clearColor = clearValues[attachmentNdx]->color; local
1955 vk.cmdClearColorImage(commandBuffer, attachmentResources[attachmentNdx]->getImage(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearColor,
[all...]

Completed in 1247 milliseconds

12