Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableColorTest.cpp42 Color transparent = AnimatableColorImpl(Color::transparent).toColor(); in TEST()
44 EXPECT_EQ(transparent.rgb(), Color::transparent); in TEST()
45 Color red = AnimatableColorImpl(Color(0xFFFF0000)).toColor(); in TEST()
52 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFF00FF00), -10).toColor().r… in TEST()
53 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), -10).toColor().r… in TEST()
54 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 0).toColor().rgb… in TEST()
55 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 1. / 255).toColo… in TEST()
56 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 0.5).toColor().r… in TEST()
57 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 254. / 255).toCo… in TEST()
58 …EXPECT_EQ(AnimatableColorImpl(Color(0xFF00FF00)).interpolateTo(Color(0xFFFF00FF), 1).toColor().rgb… in TEST()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DEnumMultisetTest.java38 private static enum Color { enum in EnumMultisetTest
43 Multiset<Color> ms = EnumMultiset.create(Color.class); in testClassCreate()
44 ms.add(Color.RED); in testClassCreate()
45 ms.add(Color.YELLOW); in testClassCreate()
46 ms.add(Color.RED); in testClassCreate()
47 assertEquals(0, ms.count(Color.BLUE)); in testClassCreate()
48 assertEquals(1, ms.count(Color.YELLOW)); in testClassCreate()
49 assertEquals(2, ms.count(Color.RED)); in testClassCreate()
53 Multiset<Color> ms = EnumMultiset.create( in testCollectionCreate()
54 asList(Color.RED, Color.YELLOW, Color.RED)); in testCollectionCreate()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/
DIColorConstants.java14 import org.eclipse.swt.graphics.Color;
27 Color buttonLightest = Utils.getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW);
31 Color button = Utils.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);
35 Color buttonDarker = Utils.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW);
43 Color listBackground = Utils.getSystemColor(SWT.COLOR_LIST_BACKGROUND);
47 Color listForeground = Utils.getSystemColor(SWT.COLOR_LIST_FOREGROUND);
51 Color listSelection = Utils.getSystemColor(SWT.COLOR_LIST_SELECTION);
55 Color listSelectionText = Utils.getSystemColor(SWT.COLOR_LIST_SELECTION_TEXT);
59 Color tooltipForeground = Utils.getSystemColor(SWT.COLOR_INFO_FOREGROUND);
63 Color tooltipBackground = Utils.getSystemColor(SWT.COLOR_INFO_BACKGROUND);
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DColor.js36 WebInspector.Color = function(rgba, format, originalText) class in WebInspector
55 WebInspector.Color.parse = function(text)
66 format = WebInspector.Color.Format.ShortHEX;
69 format = WebInspector.Color.Format.HEX;
73 return new WebInspector.Color([r / 255, g / 255, b / 255, 1], format, text);
78 var rgba = [ WebInspector.Color._parseRgbNumeric(rgbString[0]),
79 WebInspector.Color._parseRgbNumeric(rgbString[1]),
80 WebInspector.Color._parseRgbNumeric(rgbString[2]), 1 ];
81 return new WebInspector.Color(rgba, WebInspector.Color.Format.RGB, text);
86 if (nickname in WebInspector.Color.Nicknames) {
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DColor.h36 class Color; variable
48 PLATFORM_EXPORT int differenceSquared(const Color&, const Color&);
62 class PLATFORM_EXPORT Color {
65 Color() : m_color(0), m_valid(false) { } in Color() function
66Color(RGBA32 color, bool valid = true) : m_color(color), m_valid(valid) { ASSERT(!m_color || m_val… in m_color()
67 Color(int r, int g, int b) : m_color(makeRGB(r, g, b)), m_valid(true) { } in Color() function
68 Color(int r, int g, int b, int a) : m_color(makeRGBA(r, g, b, a)), m_valid(true) { } in Color() function
70Color(float r, float g, float b, float a) : m_color(makeRGBA32FromFloats(r, g, b, a)), m_valid(tru… in Color() function
72Color(float c, float m, float y, float k, float a) : m_color(makeRGBAFromCMYKA(c, m, y, k, a)), m_… in Color() function
73 explicit Color(const String&);
[all …]
DColor.cpp40 const RGBA32 Color::black;
41 const RGBA32 Color::white;
42 const RGBA32 Color::darkGray;
43 const RGBA32 Color::gray;
44 const RGBA32 Color::lightGray;
45 const RGBA32 Color::transparent;
151 bool Color::parseHexColor(const LChar* name, unsigned length, RGBA32& rgb) in parseHexColor()
156 bool Color::parseHexColor(const UChar* name, unsigned length, RGBA32& rgb) in parseHexColor()
161 bool Color::parseHexColor(const String& name, RGBA32& rgb) in parseHexColor()
172 int differenceSquared(const Color& c1, const Color& c2) in differenceSquared()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dblend.c188 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src()
189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
230 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in _mesa_BlendFuncSeparateEXT()
231 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in _mesa_BlendFuncSeparateEXT()
232 ctx->Color.Blend[buf].SrcA != sfactorA || in _mesa_BlendFuncSeparateEXT()
233 ctx->Color.Blend[buf].DstA != dfactorA) { in _mesa_BlendFuncSeparateEXT()
244 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in _mesa_BlendFuncSeparateEXT()
[all …]
/external/mesa3d/src/mesa/main/
Dblend.c188 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src()
189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
230 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in _mesa_BlendFuncSeparateEXT()
231 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in _mesa_BlendFuncSeparateEXT()
232 ctx->Color.Blend[buf].SrcA != sfactorA || in _mesa_BlendFuncSeparateEXT()
233 ctx->Color.Blend[buf].DstA != dfactorA) { in _mesa_BlendFuncSeparateEXT()
244 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in _mesa_BlendFuncSeparateEXT()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTextLinkColors.h44 void setTextColor(const Color& color) { m_textColor = color; } in setTextColor()
45 Color textColor() const { return m_textColor; } in textColor()
47 const Color& linkColor() const { return m_linkColor; } in linkColor()
48 const Color& visitedLinkColor() const { return m_visitedLinkColor; } in visitedLinkColor()
49 const Color& activeLinkColor() const { return m_activeLinkColor; } in activeLinkColor()
50 void setLinkColor(const Color& color) { m_linkColor = color; } in setLinkColor()
51 void setVisitedLinkColor(const Color& color) { m_visitedLinkColor = color; } in setVisitedLinkColor()
52 void setActiveLinkColor(const Color& color) { m_activeLinkColor = color; } in setActiveLinkColor()
56Color colorFromPrimitiveValue(const CSSPrimitiveValue*, Color currentColor, bool forVisitedLink = …
59 Color m_textColor;
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { in colormask_per_rt()
177 if (ctx->Color.BlendEnabled && in blend_per_rt()
178 (ctx->Color.BlendEnabled != ((1 << ctx->Const.MaxDrawBuffers) - 1))) { in blend_per_rt()
182 if (ctx->Color._BlendFuncPerBuffer || ctx->Color._BlendEquationPerBuffer) { in blend_per_rt()
203 if (ctx->Color.ColorLogicOpEnabled) { in update_blend()
206 blend->logicop_func = translate_logicop(ctx->Color.LogicOp); in update_blend()
208 else if (ctx->Color.BlendEnabled) { in update_blend()
212 blend->rt[i].blend_enable = (ctx->Color.BlendEnabled >> i) & 0x1; in update_blend()
218 translate_blend(ctx->Color.Blend[j].EquationRGB); in update_blend()
220 if (ctx->Color.Blend[i].EquationRGB == GL_MIN || in update_blend()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_blend.c164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { in colormask_per_rt()
177 if (ctx->Color.BlendEnabled && in blend_per_rt()
178 (ctx->Color.BlendEnabled != ((1 << ctx->Const.MaxDrawBuffers) - 1))) { in blend_per_rt()
182 if (ctx->Color._BlendFuncPerBuffer || ctx->Color._BlendEquationPerBuffer) { in blend_per_rt()
203 if (ctx->Color.ColorLogicOpEnabled) { in update_blend()
206 blend->logicop_func = translate_logicop(ctx->Color.LogicOp); in update_blend()
208 else if (ctx->Color.BlendEnabled) { in update_blend()
212 blend->rt[i].blend_enable = (ctx->Color.BlendEnabled >> i) & 0x1; in update_blend()
218 translate_blend(ctx->Color.Blend[j].EquationRGB); in update_blend()
220 if (ctx->Color.Blend[i].EquationRGB == GL_MIN || in update_blend()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTheme.h127 Color activeSelectionBackgroundColor() const;
128 Color inactiveSelectionBackgroundColor() const;
129 Color activeSelectionForegroundColor() const;
130 Color inactiveSelectionForegroundColor() const;
133 Color activeListBoxSelectionBackgroundColor() const;
134 Color activeListBoxSelectionForegroundColor() const;
135 Color inactiveListBoxSelectionBackgroundColor() const;
136 Color inactiveListBoxSelectionForegroundColor() const;
139 virtual Color platformActiveTextSearchHighlightColor() const;
140 virtual Color platformInactiveTextSearchHighlightColor() const;
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DEnumMapTest.java37 enum Color { enum in EnumMapTest
103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); in test_ConstructorLjava_lang_Class()
105 Color.Green, 2)); in test_ConstructorLjava_lang_Class()
107 enumColorMap.get(Color.Green)); in test_ConstructorLjava_lang_Class()
111 enumEmptyMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
123 enumSizeMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
135 enumSizeMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
156 enumColorMap = new EnumMap<Color, Double>(Color.class); in test_ConstructorLjava_util_EnumMap()
158 enumColorMap.put(Color.Green, 2); in test_ConstructorLjava_util_EnumMap()
159 enumColorMap.put(Color.Blue, double1); in test_ConstructorLjava_util_EnumMap()
[all …]
/external/chromium-trace/trace-viewer/src/base/
Dcolor.js8 function Color(opt_r, opt_g, opt_b, opt_a) { class
15 Color.fromString = function(str) {
25 return new Color(
36 return new Color(
42 return new Color(
51 Color.lerp = function(a, b, percent) {
53 return Color.lerpRGBA(a, b, percent);
54 return Color.lerpRGB(a, b, percent);
56 Color.lerpRGB = function(a, b, percent) {
57 return new Color(
[all …]
Dcolor_test.js11 var c = base.Color.fromString('rgb(1, 2, 3)');
19 var c = base.Color.fromString('rgba(1, 2, 3, 0.5)');
27 var c = base.Color.fromString('#010203');
35 var c = new base.Color(1, 2, 3);
40 var c = new base.Color(1, 2, 3, 0.5);
45 var a = new base.Color(0, 127, 191);
46 var b = new base.Color(255, 255, 255);
47 var x = base.Color.lerpRGB(a, b, 0.25);
54 var a = new base.Color(0, 127, 191, 0.5);
55 var b = new base.Color(255, 255, 255, 1);
[all …]
/external/clang/test/Index/
Dcomplete-type-factors.m3 enum Color {
12 int func1(enum Color);
15 enum Priority test1(enum Priority priority, enum Color color, int integer) {
17 enum Color c = color;
20 void (^block)(enum Color, int);
26 + (void)method:(enum Color)color priority:(enum Priority)priority; argument
27 - (void)method:(enum Color)color priority:(enum Priority)priority; argument
36 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (32)
37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17)
38 // CHECK-CC1: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R…
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnv10_state_raster.c40 PUSH_DATAb(push, ctx->Color.AlphaEnabled); in nv10_emit_alpha_func()
43 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); in nv10_emit_alpha_func()
44 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
53 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color()
54 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | in nv10_emit_blend_color()
55 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 | in nv10_emit_blend_color()
56 FLOAT_TO_UBYTE(ctx->Color.BlendColor[2]) << 0); in nv10_emit_blend_color()
65 PUSH_DATAb(push, ctx->Color.BlendEnabled); in nv10_emit_blend_equation()
68 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation()
77 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_raster.c40 PUSH_DATAb(push, ctx->Color.AlphaEnabled); in nv10_emit_alpha_func()
43 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); in nv10_emit_alpha_func()
44 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
53 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color()
54 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | in nv10_emit_blend_color()
55 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 | in nv10_emit_blend_color()
56 FLOAT_TO_UBYTE(ctx->Color.BlendColor[2]) << 0); in nv10_emit_blend_color()
65 PUSH_DATAb(push, ctx->Color.BlendEnabled); in nv10_emit_blend_equation()
68 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation()
77 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DColorResourceLoader.java3 import android.graphics.Color;
14 androidColors.put("black", Color.BLACK);
15 androidColors.put("darkgray", Color.DKGRAY);
16 androidColors.put("gray", Color.GRAY);
17 androidColors.put("lightgray", Color.LTGRAY);
18 androidColors.put("white", Color.WHITE);
19 androidColors.put("red", Color.RED);
20 androidColors.put("green", Color.GREEN);
21 androidColors.put("blue", Color.BLUE);
22 androidColors.put("yellow", Color.YELLOW);
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_cc.c51 if (nr_draw_buffers == 0 && ctx->Color.AlphaEnabled) in gen6_upload_blend_state()
83 if (ctx->Color.ColorLogicOpEnabled) { in gen6_upload_blend_state()
95 intel_translate_logic_op(ctx->Color.LogicOp); in gen6_upload_blend_state()
97 } else if (ctx->Color.BlendEnabled & (1 << b) && !integer) { in gen6_upload_blend_state()
98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB; in gen6_upload_blend_state()
99 GLenum eqA = ctx->Color.Blend[b].EquationA; in gen6_upload_blend_state()
100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; in gen6_upload_blend_state()
101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB; in gen6_upload_blend_state()
102 GLenum srcA = ctx->Color.Blend[b].SrcA; in gen6_upload_blend_state()
103 GLenum dstA = ctx->Color.Blend[b].DstA; in gen6_upload_blend_state()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dgen6_cc.c51 if (nr_draw_buffers == 0 && ctx->Color.AlphaEnabled) in gen6_upload_blend_state()
83 if (ctx->Color.ColorLogicOpEnabled) { in gen6_upload_blend_state()
95 intel_translate_logic_op(ctx->Color.LogicOp); in gen6_upload_blend_state()
97 } else if (ctx->Color.BlendEnabled & (1 << b) && !integer) { in gen6_upload_blend_state()
98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB; in gen6_upload_blend_state()
99 GLenum eqA = ctx->Color.Blend[b].EquationA; in gen6_upload_blend_state()
100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; in gen6_upload_blend_state()
101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB; in gen6_upload_blend_state()
102 GLenum srcA = ctx->Color.Blend[b].SrcA; in gen6_upload_blend_state()
103 GLenum dstA = ctx->Color.Blend[b].DstA; in gen6_upload_blend_state()
[all …]
Dintel_pixel.c69 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops()
86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops()
87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel.c69 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops()
86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops()
87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel.c69 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops()
86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops()
87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_pixel.c69 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops()
86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops()
87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops()
[all …]

12345678910>>...28