/third_party/astc-encoder/Source/ |
H A D | astcenccli_error_metrics.cpp | 155 vfloat4 color2; in compute_error_metrics() local 200 color2 = vfloat4( in compute_error_metrics() 206 color2 = color2 / 255.0f; in compute_error_metrics() 218 color2 = float16_to_float(color2i); in compute_error_metrics() 219 color2 = clamp(0, 65504.0f, color2); in compute_error_metrics() 226 color2 = vfloat4( in compute_error_metrics() 232 color2 = clamp(0, 65504.0f, color2); in compute_error_metrics() [all...] |
/third_party/python/Lib/turtledemo/ |
H A D | yinyang.py | 16 def yin(radius, color1, color2): 30 color(color1, color2)
|
/third_party/skia/docs/examples/ |
H A D | checker_board.cpp | 7 SkColor color2 = SK_ColorCYAN; in REG_FIDDLE() local 16 paint.setColor(color2); in REG_FIDDLE()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureBufferCase.cpp | 235 const tcu::Vec4 color2 = vtxColor2; in shadeFragments() local 240 rr::writeFragmentOutput(context, packetNdx, 2, 0, tcu::Vec4(color2.x() * color2.w(), color2.y() * color2.w(), color2.z() * color2.w(), 1.0f)); in shadeFragments() 280 const tcu::Vec4 color2 = 0.5f * (vtxColor2 + texColor2); in shadeFragments() local 285 rr::writeFragmentOutput(context, packetNdx, 2, 0, tcu::Vec4(color2.x() * color2 in shadeFragments() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | DepthStencilTest.cpp | 188 Vector4 color2(0.2f, 0.4f, 0.6f, 0.8f); in prepareSingleEmulatedWithPacked() 189 glClearColor(color2[0], color2[1], color2[2], color2[3]); in prepareSingleEmulatedWithPacked() 197 GLColor color2RGB(Vector4(color2[0], color1[1], color2[2], color1[3])); in prepareSingleEmulatedWithPacked()
|
H A D | FramebufferFetchTest.cpp | 397 std::vector<GLColor> color2(kViewportWidth * kViewportHeight, GLColor::blue); in MultipleRenderTargetTest() 410 GL_UNSIGNED_BYTE, color2.data()); in MultipleRenderTargetTest() 451 std::vector<GLColor> color2(kViewportWidth * kViewportHeight, GLColor::blue); in MultipleRenderTargetArrayTest() 464 GL_UNSIGNED_BYTE, color2.data()); in MultipleRenderTargetArrayTest() 520 float color2[4] = {0.0f, 0.0f, 1.0f, 1.0f}; in MultipleDrawTest() local 521 glUniform4fv(colorLocation, 1, color2); in MultipleDrawTest() 695 std::vector<GLColor> color2(kViewportWidth * kViewportHeight, GLColor::blue); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() 707 GL_UNSIGNED_BYTE, color2.data()); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() 710 GL_UNSIGNED_BYTE, color2.data()); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() 743 GL_UNSIGNED_BYTE, color2 in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() [all...] |
H A D | ShaderStorageBufferTest.cpp | 2654 GLTexture color2; in TEST_P() local 2655 glBindTexture(GL_TEXTURE_2D, color2); in TEST_P() 2660 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color2, 0); in TEST_P() 2752 GLTexture color2; in TEST_P() local 2753 glBindTexture(GL_TEXTURE_2D, color2); in TEST_P() 2758 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color2, 0); in TEST_P()
|
H A D | ClearTest.cpp | 1705 Vector4 color2(0.2f, 0.4f, 0.6f, 0.8f); in maskedScissoredColorDepthStencilClear() 1706 GLColor color2RGB(color2); in maskedScissoredColorDepthStencilClear() 1707 glClearColor(color2[0], color2[1], color2[2], color2[3]); in maskedScissoredColorDepthStencilClear()
|
/third_party/spirv-tools/test/opt/ |
H A D | eliminate_dead_output_stores_test.cpp | 34 // vec4 color2[3]; in TEST_F() 41 // oVert.color2[0] = vec4(0.2,0.0,0.0,0.0); in TEST_F() 42 // oVert.color2[1] = vec4(0.3,0.0,0.0,0.0); in TEST_F() 43 // oVert.color2[2] = vec4(0.4,0.0,0.0,0.0); in TEST_F() 55 OpMemberName %Vertex 2 "color2" in TEST_F() 123 // mat4 color2; in TEST_F() 132 // oVert.color2[2] = vec4(0.2,0.0,0.0,0.0); in TEST_F() 146 OpMemberName %Vertex 2 "color2" in TEST_F() 865 // f16vec4 color2[3]; in TEST_F() 872 // oVert.color2[ in TEST_F() [all...] |
H A D | analyze_live_input_test.cpp | 36 // vec4 color2[3]; in TEST_F() 43 // oFragColor = iVert.color0 + iVert.color2[1]; in TEST_F() 57 OpMemberName %Vertex 2 "color2" in TEST_F() 130 // mat4 color2; in TEST_F() 154 OpMemberName %Vertex 2 "color2" in TEST_F() 824 // f16vec4 color2[3]; in TEST_F() 831 // oFragColor = iVert.color0 + iVert.color2[1]; in TEST_F() 847 OpMemberName %Vertex 2 "color2" in TEST_F()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_negative.cpp | 2564 ColorKeyCode color2, 2574 info.fCFAPlaneColor [2] = color2; 2590 ColorKeyCode color2 = (ColorKeyCode) info.fCFAPlaneColor [2]; 2601 info.fCFAPattern [1] [0] = color2; 2611 info.fCFAPattern [1] [1] = color2; 2617 info.fCFAPattern [0] [0] = color2; 2627 info.fCFAPattern [0] [1] = color2; 2652 ColorKeyCode color2 = (ColorKeyCode) info.fCFAPlaneColor [2]; 2663 info.fCFAPattern [0] [2] = color2; 2665 info.fCFAPattern [1] [0] = color2; [all...] |
/third_party/backends/backend/ |
H A D | hp5590_cmds.c | 416 uint8_t color2[6]; /* 00 00 00 00 01 00 */ member 1282 color_map.color2[4] = 0x01; in hp5590_set_color_map() 1294 color_map.color2[2] = 0xff; in hp5590_set_color_map() 1295 color_map.color2[3] = 0x01; in hp5590_set_color_map() 1296 color_map.color2[4] = 0x04; in hp5590_set_color_map() 1297 color_map.color2[5] = 0x02; in hp5590_set_color_map() 1311 color_map.color2[2] = 0x00; in hp5590_set_color_map() 1312 color_map.color2[3] = 0x00; in hp5590_set_color_map() 1313 color_map.color2[4] = 0x01; in hp5590_set_color_map() 1314 color_map.color2[ in hp5590_set_color_map() [all...] |
/third_party/skia/gm/ |
H A D | imagefiltersgraph.cpp | 137 sk_sp<SkImageFilter> color2(SkImageFilters::ColorFilter( 141 paint.setImageFilter(std::move(color2));
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | BindGroupTests.cpp | 807 // The first draw will use { color0, color1, color2 }. in TEST_P() 808 // The second draw will use { color0, color3, color2 }. in TEST_P() 810 // { 2 * color0 + color1 + 2 * color2 + color3} = RGBAunorm(1, 1, 1, 1) in TEST_P() 813 std::array<float, 4> color2 = {0, 0, 0, 0.501}; in TEST_P() local 818 size_t color3Offset = Align(color2Offset + sizeof(color2), mMinUniformBufferOffsetAlignment); in TEST_P() 823 memcpy(data.data() + color2Offset, color2.data(), sizeof(color2)); in TEST_P() 852 // Set the first bind group to color2 in the dynamic storage buffer. in TEST_P() 906 // The first draw will use { color0, color1, color2 }. in TEST_P() 909 // { 2 * color0 + 2 * color1 + color2 in TEST_P() 912 std::array<float, 4> color2 = {0, 0, 1, 0}; TEST_P() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferComputeInstance.hpp | 47 const tcu::Vec4& color2,
|
H A D | vktApiBufferComputeInstance.cpp | 87 const tcu::Vec4& color2, in createColorDataBuffer() 122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer() 84 createColorDataBuffer(deUint32 offset, deUint32 bufferSize, const tcu::Vec4& color1, const tcu::Vec4& color2, de::MovePtr<Allocation>* outAllocation, vkt::Context& context) createColorDataBuffer() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferComputeInstance.hpp | 47 const tcu::Vec4& color2,
|
H A D | vktApiBufferComputeInstance.cpp | 87 const tcu::Vec4& color2, in createColorDataBuffer() 122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer() 84 createColorDataBuffer(deUint32 offset, deUint32 bufferSize, const tcu::Vec4& color1, const tcu::Vec4& color2, de::MovePtr<Allocation>* outAllocation, vkt::Context& context) createColorDataBuffer() argument
|
/third_party/skia/modules/sksg/tests/ |
H A D | SGTest.cpp | 290 color2 = sksg::Color::Make(0xff000000); in inval_test3() local 296 color2)); in inval_test3()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_s3tc.c | 571 LLVMValueRef color0, color1, color2, color3, color2_2, color3_2; in s3tc_dxt1_full_to_rgba_aos() local 597 * - calculate color2/3 (interpolation) according to color0 < color1 rules in s3tc_dxt1_full_to_rgba_aos() 598 * - calculate color2/3 according to color0 >= color1 rules in s3tc_dxt1_full_to_rgba_aos() 599 * - do selection of color2/3 according to comparison of color0/1 in s3tc_dxt1_full_to_rgba_aos() 628 lp_build_lerp23(&bld8, colors0, colors1, &color2, &color3); in s3tc_dxt1_full_to_rgba_aos() 629 color2 = LLVMBuildBitCast(builder, color2, bld32.vec_type, ""); in s3tc_dxt1_full_to_rgba_aos() 683 color2 = lp_build_select(&bld32, sel_mask, color2, color2_2); in s3tc_dxt1_full_to_rgba_aos() 689 color2 in s3tc_dxt1_full_to_rgba_aos() 1445 LLVMValueRef color0, color1, color2, color3; s3tc_decode_block_dxt1() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustness1VertexAccessTests.cpp | 261 Vec4 color2; 287 makeVertexInputAttributeDescription(2u, 1u, VK_FORMAT_R32G32B32A32_SFLOAT, offsetof(Vertex, color2)) 297 { vertices.data(), static_cast<deUint32>((vertices.size() - 3) * sizeof(vertices[0]) - sizeof(Vertex::color2)) } 318 Vec4 color2; 345 makeVertexInputAttributeDescription(2u, 1u, VK_FORMAT_R32G32B32A32_SFLOAT, vertices.paddedStart() * elementSize + static_cast<deUint32>(offsetof(Vertex, color2))),
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustness1VertexAccessTests.cpp | 262 Vec4 color2; 288 makeVertexInputAttributeDescription(2u, 1u, VK_FORMAT_R32G32B32A32_SFLOAT, offsetof(Vertex, color2)) 298 { vertices.data(), static_cast<deUint32>((vertices.size() - 3) * sizeof(vertices[0]) - sizeof(Vertex::color2)) } 320 Vec4 color2; 347 makeVertexInputAttributeDescription(2u, 1u, VK_FORMAT_R32G32B32A32_SFLOAT, vertices.paddedStart() * elementSize + static_cast<deUint32>(offsetof(Vertex, color2))),
|
/third_party/skia/tests/ |
H A D | BitmapTest.cpp | 241 SkColor color2 = (SkColor)((random.nextU() & 0x00FFFFFF) | (i << 24)); in DEF_TEST() local 242 for (SkColor color : {color1, color2}) { in DEF_TEST()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFGradientShader.cpp | 199 const ColorTuple& color2) { in createInterpolationFunction() 209 c1->appendColorComponent(color2[0]); in createInterpolationFunction() 210 c1->appendColorComponent(color2[1]); in createInterpolationFunction() 211 c1->appendColorComponent(color2[2]); in createInterpolationFunction() 198 createInterpolationFunction(const ColorTuple& color1, const ColorTuple& color2) createInterpolationFunction() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | common.h | 48 vec<T, 4> color2 [[color(2), function_constant(kColorOutputAvailable2)]]; member
|