Home
last modified time | relevance | path

Searched refs:newColor (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/tests/
DCompressedBackendAllocationTest.cpp165 SkColor4f newColor; in test_compressed_color_init() local
166 newColor.fR = color.fB; in test_compressed_color_init()
167 newColor.fG = color.fR; in test_compressed_color_init()
168 newColor.fB = color.fG; in test_compressed_color_init()
169 newColor.fA = color.fA; in test_compressed_color_init()
171 bool result = dContext->updateCompressedBackendTexture(backendTex, newColor, nullptr, nullptr); in test_compressed_color_init()
175 SkColor4f expectedNewColors[6] = {newColor, newColor, newColor, newColor, newColor, newColor}; in test_compressed_color_init()
179 check_readback(dContext, std::move(img), compression, newColor, reporter, "solid readback"); in test_compressed_color_init()
DBackendAllocationTest.cpp340 SkColor4f newColor = {color.fB , color.fR, color.fG, color.fA }; in test_color_init() local
347 newColor, in test_color_init()
350 checkBackendTexture(newColor); in test_color_init()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/scripts_and_modules/5_export_declarations/
Dexport_default_declarations_1.ts26 import newColor, * as ID from './export_default_declarations_0.js';
28 let ncolor = new newColor('Red', [255, 0, 0]);
Dexport_member_set_0.ts39 class newColor { class
63 export { exp as A, econ as B, getGArr as C, arrList as D, newColor as E, Point as F, NumStrKey as G…
Dexport_default_declarations_0.ts39 export default class newColor { class
Dexport_modifiers_0.ts39 export class newColor { class
Dexport_modifiers_1.ts33 let ncolor = new ID.newColor('Red', [255, 0, 0]);
Dexport_list_declarations_1.ts33 let ncolor = new ID.newColor('Red', [255, 0, 0]);
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp440 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference() local
442 dst.setPixel(x, y, newColor); in renderReference()
488 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference() local
490 dst.setPixel(x, y, newColor); in renderReference()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilClearTests.cpp443 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference() local
445 dst.setPixel(x, y, newColor); in renderReference()
491 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference() local
493 dst.setPixel(x, y, newColor); in renderReference()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp751 Vec4 newColor; in executeMaskedColorWrite() local
753 newColor.xyz() = m_sampleRegister[regSampleNdx].blendedRGB; in executeMaskedColorWrite()
754 newColor.w() = m_sampleRegister[regSampleNdx].blendedA; in executeMaskedColorWrite()
757 newColor = tcu::linearToSRGB(newColor); in executeMaskedColorWrite()
759 newColor = colorMaskFactor*newColor + colorMaskNegationFactor*originalColor; in executeMaskedColorWrite()
761 colorBuffer.setPixel(newColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite()
/third_party/qrcodegen/c/
Dqrcodegen-test.c517 bool newColor = rand() % 2 == 0; in testGetSetModuleRandomly() local
519 modules[y][x] = newColor; in testGetSetModuleRandomly()
521 setModuleBounded(qrcode, x, y, newColor); in testGetSetModuleRandomly()
523 setModuleUnbounded(qrcode, x, y, newColor); in testGetSetModuleRandomly()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp219 tcu::Vec4 newColor = color; in replaceBadFloatReinterpretValues() local
227 newColor[i] = 0.0f; in replaceBadFloatReinterpretValues()
233 newColor[i] = 0.0f; in replaceBadFloatReinterpretValues()
237 if (newColor != color) in replaceBadFloatReinterpretValues()
238 access.setPixel(newColor, x, y, z); in replaceBadFloatReinterpretValues()
252 tcu::IVec4 newColor = color; in replaceSnormReinterpretValues() local
257 if (oldColor == -128) newColor[i] = -127; in replaceSnormReinterpretValues()
260 if (newColor != color) in replaceSnormReinterpretValues()
261 access.setPixel(newColor, x, y, z); in replaceSnormReinterpretValues()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js426 set: function(newColor) { argument
427 this._shadowColor = parseColor(newColor);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1346 const tcu::Vec4& newColor = (currentColor[0] < color[0]) ? currentColor : color; in fillQuarter() local
1348 pixelBuffer.setPixel(newColor, x, y, layerNdx); in fillQuarter()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp73830 Color newColor(((aColor >> 0) & 0xff) * (1.0f / 255.0f), in FromABGR() local
73835 return newColor; in FromABGR()
73842 Color newColor(((aColor >> 16) & 0xff) * (1.0f / 255.0f), in UnusualFromARGB() local
73847 return newColor; in UnusualFromARGB()