Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 4648) sorted by relevance

12345678910>>...186

/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/
DMultiplyAlpha.hlsl21 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba;
22 color.rgb = color.r * color.a;
23 color.a = 1.0f;
24 return color;
28 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba;
29 if (color.a > 0.0f)
31 color.rgb = color.r / color.a;
33 color.a = 1.0f;
34 return color;
40 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba;
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.loops.frag37 vec4 color = BaseColor;
41 if (color.x < 0.33) {
42 color += vec4(0.33);
45 if (color.x < 0.66) {
46 color += vec4(0.66);
50 color += vec4(0.33);
55 while (color.x < d) {
56 color += bigColor;
60 while (color.z < d) {
61 color += bigColor1_1;
[all …]
Dloops.frag55 vec4 color = BaseColor;
59 if (color.x < 0.33) {
60 color += vec4(0.33);
63 if (color.x < 0.66) {
64 color += vec4(0.66);
68 color += vec4(0.33);
73 while (color.x < d) {
74 color += bigColor;
78 while (color.z < d) {
79 color += bigColor1_1;
[all …]
Dspv.texture.frag26 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
28 color += texture (texSampler1D, coords1D);
29 color += texture (texSampler1D, coords1D, bias);
30 color += textureProj(texSampler1D, coords2D);
31 color += textureProj(texSampler1D, coords4D);
32 color += textureProj(texSampler1D, coords2D, bias);
33 color += textureProj(texSampler1D, coords4D, bias);
35 color += texture (texSampler2D, coords2D);
36 color += texture (texSampler2D, coords2D, bias);
37 color += textureProj (texSampler2D, coords3D);
[all …]
Dtexture.frag26 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
28 color += texture1D (texSampler1D, coords1D);
29 color += texture1D (texSampler1D, coords1D, bias);
30 color += texture1DProj(texSampler1D, coords2D);
31 color += texture1DProj(texSampler1D, coords4D);
32 color += texture1DProj(texSampler1D, coords2D, bias);
33 color += texture1DProj(texSampler1D, coords4D, bias);
35 color += texture2D (texSampler2D, coords2D);
36 color += texture2D (texSampler2D, coords2D, bias);
37 color += texture2DProj (texSampler2D, coords3D);
[all …]
/external/deqp-deps/glslang/Test/
Dspv.loops.frag37 vec4 color = BaseColor;
41 if (color.x < 0.33) {
42 color += vec4(0.33);
45 if (color.x < 0.66) {
46 color += vec4(0.66);
50 color += vec4(0.33);
55 while (color.x < d) {
56 color += bigColor;
60 while (color.z < d) {
61 color += bigColor1_1;
[all …]
Dloops.frag55 vec4 color = BaseColor;
59 if (color.x < 0.33) {
60 color += vec4(0.33);
63 if (color.x < 0.66) {
64 color += vec4(0.66);
68 color += vec4(0.33);
73 while (color.x < d) {
74 color += bigColor;
78 while (color.z < d) {
79 color += bigColor1_1;
[all …]
Dspv.texture.frag26 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
28 color += texture (texSampler1D, coords1D);
29 color += texture (texSampler1D, coords1D, bias);
30 color += textureProj(texSampler1D, coords2D);
31 color += textureProj(texSampler1D, coords4D);
32 color += textureProj(texSampler1D, coords2D, bias);
33 color += textureProj(texSampler1D, coords4D, bias);
35 color += texture (texSampler2D, coords2D);
36 color += texture (texSampler2D, coords2D, bias);
37 color += textureProj (texSampler2D, coords3D);
[all …]
Dtexture.frag26 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
28 color += texture1D (texSampler1D, coords1D);
29 color += texture1D (texSampler1D, coords1D, bias);
30 color += texture1DProj(texSampler1D, coords2D);
31 color += texture1DProj(texSampler1D, coords4D);
32 color += texture1DProj(texSampler1D, coords2D, bias);
33 color += texture1DProj(texSampler1D, coords4D, bias);
35 color += texture2D (texSampler2D, coords2D);
36 color += texture2D (texSampler2D, coords2D, bias);
37 color += texture2DProj (texSampler2D, coords3D);
[all …]
/external/fmtlib/doc/bootstrap/mixins/
Dgradients.less7 // Creates two color stops, start and end, by specifying a color and position for each color stop.
9 .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
10 …background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-perce…
11 …background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); …
12 …background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent);…
14 …artColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9…
19 // Creates two color stops, start and end, by specifying a color and position for each color stop.
21 .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
22 …background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percen…
23 …background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); …
[all …]
/external/skia/resources/sksl/dslfp/
DGrDSLFPTest_IfStatement.fp6 half4 color = half4(0);
8 // Basic if statement. (00 == 00: true --> color=0001)
9 if (color.rg == color.ba) color.a = one;
12 if (color.rg == color.ba) {
13 color.r = color.a;
18 // Basic if-else statement. (0 == 0: true --> color=1011)
19 if (color.r == color.g) color = color.araa; else color = color.rrra;
22 if (color.r + color.g + color.b + color.a == one) { // (3 == 1: false)
23 color = half4(-1);
24 } else if (color.r + color.g + color.b + color.a == 2) { // (3 == 2: false)
[all …]
/external/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal108 vec<TYPE, 4> color, \
115 #define FORWARD_COMMON_WRITE_FUNC_PARAMS gIndices, options, bufferOffset, color, buffer
123 vec<T, 4> color,
130 dstTexture2d.write(color, writeIndices.xy);
133 dstTexture2dArray.write(color, writeIndices.xy, writeIndices.z);
136 dstTexture3d.write(color, writeIndices);
139 dstTextureCube.write(color, writeIndices.xy, writeIndices.z);
150 vec<T, 4> color;
160 color = srcTexture2d.read(coords.xy, options.textureLevel);
163 color = srcTexture2dArray.read(coords.xy, options.textureLayer, options.textureLevel);
[all …]
/external/pdfium/testing/resources/javascript/
Dcolor_methods_expected.txt1 Alert: PASS: color.convert() threw color.convert: Incorrect number of parameters passed to function.
2 Alert: PASS: color.convert(1) threw color.convert: Incorrect number of parameters passed to functio…
3 Alert: PASS: color.convert(undefined, 'RGB') threw color.convert: Incorrect parameter type.
4 Alert: PASS: color.convert('BOGUS', 'RGB') threw color.convert: Incorrect parameter type.
5 Alert: PASS: color.convert('{}', 'RGB') threw color.convert: Incorrect parameter type.
6 Alert: PASS: color.convert(['T'], 'BOGUS') = T
7 Alert: PASS: color.convert(['T'], 'T') = T
8 Alert: PASS: color.convert(['T'], 'G') = T
9 Alert: PASS: color.convert(['T'], 'RGB') = T
10 Alert: PASS: color.convert(['T'], 'CMYK') = T
[all …]
Dcolor_methods.in38 expectError("color.convert()");
39 expectError("color.convert(1)");
40 expectError("color.convert(undefined, 'RGB')");
41 expectError("color.convert('BOGUS', 'RGB')");
42 expectError("color.convert('{}', 'RGB')");
45 expect("color.convert(['T'], 'BOGUS')", "T");
46 expect("color.convert(['T'], 'T')", "T");
47 expect("color.convert(['T'], 'G')", "T");
48 expect("color.convert(['T'], 'RGB')", "T");
49 expect("color.convert(['T'], 'CMYK')", "T");
[all …]
/external/python/httplib2/doc/html/_static/
Dpygments.css1 .hll { background-color: #ffffcc }
2 .c { color: #408090; font-style: italic } /* Comment */
4 .k { color: #007020; font-weight: bold } /* Keyword */
5 .o { color: #666666 } /* Operator */
6 .cm { color: #408090; font-style: italic } /* Comment.Multiline */
7 .cp { color: #007020 } /* Comment.Preproc */
8 .c1 { color: #408090; font-style: italic } /* Comment.Single */
9 .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
10 .gd { color: #A00000 } /* Generic.Deleted */
12 .gr { color: #FF0000 } /* Generic.Error */
[all …]
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration_unittest.cpp10 FX_ARGB color; in TEST() local
13 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 3, &color)); in TEST()
14 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 5, &color)); in TEST()
15 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 8, &color)); in TEST()
18 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#zxytlm", 7, &color)); in TEST()
19 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
20 EXPECT_EQ(0, FXARGB_G(color)); in TEST()
21 EXPECT_EQ(0, FXARGB_B(color)); in TEST()
23 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 4, &color)); in TEST()
24 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
[all …]
/external/python/setuptools/docs/_theme/nature/static/
Dpygments.css1 .c { color: #999988; font-style: italic } /* Comment */
4 .cm { color: #999988; font-style: italic } /* Comment.Multiline */
5 .cp { color: #999999; font-weight: bold } /* Comment.preproc */
6 .c1 { color: #999988; font-style: italic } /* Comment.Single */
7 .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
9 .gr { color: #aa0000 } /* Generic.Error */
10 .gh { color: #999999 } /* Generic.Heading */
11 .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
12 .go { color: #111 } /* Generic.Output */
13 .gp { color: #555555 } /* Generic.Prompt */
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_colorizer.py120 self.color = colorizer.ColorDelegator()
123 self.color.close()
125 self.color.resetcache()
126 del self.color
129 color = self.color
130 self.assertIsInstance(color, colorizer.ColorDelegator)
135 color = self.color
136 self.assertIsNone(color.after_id)
137 self.assertTrue(color.allow_colorizing)
138 self.assertFalse(color.colorizing)
[all …]
/external/libnl/doc/stylesheets/
Dpygments.css4 .highlight .hll { background-color: #ffffcc }
6 .highlight .c { color: #008800; font-style: italic } /* Comment */
8 .highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
9 .highlight .o { color: #666666 } /* Operator */
10 .highlight .cm { color: #008800; font-style: italic } /* Comment.Multiline */
11 .highlight .cp { color: #008800 } /* Comment.Preproc */
12 .highlight .c1 { color: #008800; font-style: italic } /* Comment.Single */
13 .highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
14 .highlight .gd { color: #A00000 } /* Generic.Deleted */
16 .highlight .gr { color: #FF0000 } /* Generic.Error */
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_line.c65 const GLubyte *color = vert->color;
67 color[0], color[1],
68 color[2], color[3],
133 const GLubyte *color = vert1->color; \
135 PACK_TRUECOLOR( pixel, color[0], color[1], color[2] );
148 const GLubyte *color = vert1->color; \
149 GLuint pixel = PACK_8A8B8G8R(color[0], color[1], color[2], color[3]);
165 const GLubyte *color = vert1->color; \
166 GLuint pixel = PACK_8A8R8G8B(color[0], color[1], color[2], color[3]);
182 const GLubyte *color = vert1->color; \
[all …]
/external/swiftshader/tests/regres/testlists/
Dvk-master-ASSERT.txt1 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_srgb_block.astc_10x10…
2 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_srgb_block.astc_10x10…
3 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_srgb_block.astc_10x10…
4 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_srgb_block.astc_10x10…
5 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_unorm_block.astc_10x1…
6 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_unorm_block.astc_10x1…
7 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_unorm_block.astc_10x1…
8 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x10_unorm_block.astc_10x1…
9 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x5_srgb_block.astc_10x5_s…
10 dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.astc_10x5_srgb_block.astc_10x5_s…
[all …]
/external/llvm-project/llvm/test/tools/llvm-xray/X86/
Dgraph-diff-simple.txt28 #VCEC-DAG: F[[N1NO:[0-9]+]] [label="#1" color="#276419"]
29 #VCEC-DAG: F[[N2NO:[0-9]+]] [label="#2" color="#276419"]
30 #VCEC-DAG: F[[N3NO:[0-9]+]] [label="#3" color="#276419"]
31 #VCEC-DAG: F[[N4NO:[0-9]+]] [label="#4" color="#9BCF61"]
32 #VCEC-DAG: F[[N5NO:[0-9]+]] [label="#5" color="#F7F7F7"]
33 #VCEC-DAG: F[[N6NO:[0-9]+]] [label="#6" color="#F5C4E0"]
34 #VCEC-DAG: F[[N7NO:[0-9]+]] [label="#7" color="#E17FB4"]
35 #VCEC-DAG: F[[N8NO:[0-9]+]] [label="#8" color="#CB3088"]
36 #VCEC-DAG: F[[N9NO:[0-9]+]] [label="#9" color="#AD0E69"]
37 #VCEC-DAG: F[[NANO:[0-9]+]] [label="#10" color="#00FF00"]
[all …]
/external/ImageMagick/tests/
Ddrawtest.c72 *color; in ScribbleImage() local
75 color=NewPixelWand(); in ScribbleImage()
83 (void) PixelSetColor(color,"#ffffff"); in ScribbleImage()
84 DrawSetFillColor(picasso,color); in ScribbleImage()
87 (void) PixelSetColor(color,"none"); in ScribbleImage()
88 DrawSetFillColor(picasso,color); in ScribbleImage()
89 DrawSetStrokeColor(picasso,color); in ScribbleImage()
117 (void) PixelSetColor(color,"#ff0000"); in ScribbleImage()
118 DrawSetStrokeColor(picasso,color); in ScribbleImage()
120 (void) PixelSetColor(color,"#ff00ff"); in ScribbleImage()
[all …]
/external/deqp/framework/delibs/coding_guidelines/
Dprettify.css1color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun{color:#660}.pln{co…
/external/skia/src/gpu/effects/
DGrColorMatrixFragmentProcessor.fp20 half4 color = sample(inputFP);
22 color = unpremul(color);
24 color = m * color + v;
26 color = saturate(color);
28 color.a = saturate(color.a);
31 color.rgb *= color.a;
33 return color;
39 SkColor4f color;
41 color = input.unpremul();
43 color.fR = input.fR;
[all …]

12345678910>>...186