/external/opencv3/modules/viz/include/opencv2/viz/ |
D | types.hpp | 63 class Color : public Scalar class 66 Color(); 67 Color(double gray); 68 Color(double blue, double green, double red); 70 Color(const Scalar& color); 74 static Color black(); 75 static Color blue(); 76 static Color green(); 77 static Color cyan(); 79 static Color red(); [all …]
|
D | widgets.hpp | 207 void setColor(const Color &color); 224 void setColor(const Color &color); 241 WLine(const Point3d &pt1, const Point3d &pt2, const Color &color = Color::white()); 254 WPlane(const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white()); 265 const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white()); 280 …::Point3d ¢er, double radius, int sphere_resolution = 10, const Color &color = Color::white()); 298 …st Point3d& pt1, const Point3d& pt2, double thickness = 0.03, const Color &color = Color::white()); 312 WCircle(double radius, double thickness = 0.01, const Color &color = Color::white()); 322 …oint3d& center, const Vec3d& normal, double thickness = 0.01, const Color &color = Color::white()); 337 … WCone(double length, double radius, int resolution = 6.0, const Color &color = Color::white()); [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | EnumMultisetTest.java | 75 private enum Color { 84 Multiset<Color> ms = EnumMultiset.create(Color.class); 85 ms.add(Color.RED); 86 ms.add(Color.YELLOW); 87 ms.add(Color.RED); 88 assertEquals(0, ms.count(Color.BLUE)); 89 assertEquals(1, ms.count(Color.YELLOW)); 90 assertEquals(2, ms.count(Color.RED)); 94 Multiset<Color> ms = EnumMultiset.create( 95 asList(Color.RED, Color.YELLOW, Color.RED)); [all …]
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/ |
D | IColorConstants.java | 14 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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | EnumMultisetTest.java | 49 private enum Color { 58 Multiset<Color> ms = EnumMultiset.create(Color.class); 59 ms.add(Color.RED); 60 ms.add(Color.YELLOW); 61 ms.add(Color.RED); 62 assertEquals(0, ms.count(Color.BLUE)); 63 assertEquals(1, ms.count(Color.YELLOW)); 64 assertEquals(2, ms.count(Color.RED)); 68 Multiset<Color> ms = EnumMultiset.create( 69 asList(Color.RED, Color.YELLOW, Color.RED)); [all …]
|
/external/mesa3d/src/mesa/main/ |
D | blend.c | 188 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/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeMap2Test.java | 34 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testDumpMap() 35 data.put(new Developer2("Andy", "tester"), Color.BLACK); in testDumpMap() 36 data.put(new Developer2("Lisa", "owner"), Color.RED); in testDumpMap() 38 Map<Color, Developer2> developers = new LinkedHashMap<Color, Developer2>(); in testDumpMap() 39 developers.put(Color.WHITE, new Developer2("Fred", "creator")); in testDumpMap() 40 developers.put(Color.BLACK, new Developer2("John", "committer")); in testDumpMap() 51 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testMap2() 52 data.put(new Developer2("Andy", "tester"), Color.BLACK); in testMap2() 53 data.put(new SuperMan("Bill", "cleaner", false), Color.BLACK); in testMap2() 54 data.put(new Developer2("Lisa", "owner"), Color.RED); in testMap2() [all …]
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryProvider2Test.java | 48 private enum Color { BLUE, GREEN, RED, GRAY, BLACK, ORANGE, PINK } enum in FactoryProvider2Test 61 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory() 62 assertEquals(Color.BLUE, blueMustang.color); in testAssistedFactory() 65 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory() 66 assertEquals(Color.RED, redMustang.color); in testAssistedFactory() 83 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations() 84 assertEquals(Color.BLUE, blueCamaro.color); in testAssistedFactoryWithAnnotations() 88 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations() 89 assertEquals(Color.RED, redCamaro.color); in testAssistedFactoryWithAnnotations() 97 Car create(Color color); in create() [all …]
|
D | FactoryProviderTest.java | 52 private enum Color { BLUE, GREEN, RED, GRAY, BLACK, ORANGE, PINK } enum in FactoryProviderTest 65 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory() 66 assertEquals(Color.BLUE, blueMustang.color); in testAssistedFactory() 69 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory() 70 assertEquals(Color.RED, redMustang.color); in testAssistedFactory() 103 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations() 104 assertEquals(Color.BLUE, blueCamaro.color); in testAssistedFactoryWithAnnotations() 108 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations() 109 assertEquals(Color.RED, redCamaro.color); in testAssistedFactoryWithAnnotations() 118 Car create(Color color); in create() [all …]
|
D | FactoryModuleBuilderTest.java | 53 private enum Color { BLUE, GREEN, RED, GRAY, BLACK } enum in FactoryModuleBuilderTest 96 final Mustang providedMustang = new Mustang(Color.BLUE); in testImplicitForwardingAssistedBindingCreatesNewObjects() 105 Mustang created = factory.create(Color.GREEN); in testImplicitForwardingAssistedBindingCreatesNewObjects() 107 assertEquals(Color.BLUE, providedMustang.color); in testImplicitForwardingAssistedBindingCreatesNewObjects() 108 assertEquals(Color.GREEN, created.color); in testImplicitForwardingAssistedBindingCreatesNewObjects() 158 final Mustang providedMustang = new Mustang(Color.BLUE); in testExplicitForwardingAssistedBindingCreatesNewObjects() 168 Mustang created = (Mustang)factory.create(Color.GREEN); in testExplicitForwardingAssistedBindingCreatesNewObjects() 170 assertEquals(Color.BLUE, providedMustang.color); in testExplicitForwardingAssistedBindingCreatesNewObjects() 171 assertEquals(Color.GREEN, created.color); in testExplicitForwardingAssistedBindingCreatesNewObjects() 189 assertTrue(factory.getGermanCar(Color.BLACK) instanceof Beetle); in testAnnotatedAndParentBoundReturnValue() [all …]
|
/external/opencv3/modules/viz/test/ |
D | tests_simple.cpp | 55 viz.setBackgroundColor(Color::black()); in TEST() 57 viz.showWidget("dragon", WCloud(dragon_cloud, Color::bluberry()), pose); in TEST() 59 viz.showWidget("text2d", WText("Bluberry cloud", Point(20, 20), 20, Color::green())); in TEST() 76 viz.showWidget("text2d", WText("Random color cloud", Point(20, 20), 20, Color::green())); in TEST() 94 viz.showWidget("text2d", WText("Nan masked cloud", Point(20, 20), 20, Color::green())); in TEST() 103 …ccol.addCloud(cloud, Color::white(), Affine3d().translate(Vec3d(0, 0, 0)).rotate(Vec3d(CV_PI/2, 0,… in TEST() 104 ccol.addCloud(cloud, Color::blue(), Affine3d().translate(Vec3d(1, 0, 0))); in TEST() 105 ccol.addCloud(cloud, Color::red(), Affine3d().translate(Vec3d(2, 0, 0))); in TEST() 109 viz.setBackgroundColor(Color::mlab()); in TEST() 112 viz.showWidget("text2d", WText("Cloud collection", Point(20, 20), 20, Color::green())); in TEST() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 164 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/clang/test/Index/ |
D | complete-type-factors.m | 3 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/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_state_raster.c | 40 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/i965/ |
D | gen6_cc.c | 51 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 …]
|
D | intel_pixel.c | 69 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 …]
|
D | brw_cc.c | 146 if (ctx->Color.ColorLogicOpEnabled && ctx->Color.LogicOp != GL_COPY) { in upload_cc_unit() 148 cc->cc5.logicop_func = intel_translate_logic_op(ctx->Color.LogicOp); in upload_cc_unit() 149 } else if (ctx->Color.BlendEnabled) { in upload_cc_unit() 150 GLenum eqRGB = ctx->Color.Blend[0].EquationRGB; in upload_cc_unit() 151 GLenum eqA = ctx->Color.Blend[0].EquationA; in upload_cc_unit() 152 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in upload_cc_unit() 153 GLenum dstRGB = ctx->Color.Blend[0].DstRGB; in upload_cc_unit() 154 GLenum srcA = ctx->Color.Blend[0].SrcA; in upload_cc_unit() 155 GLenum dstA = ctx->Color.Blend[0].DstA; in upload_cc_unit() 190 if (ctx->Color.AlphaEnabled) { in upload_cc_unit() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | ColorResourceLoader.java | 3 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/vogar/src/vogar/ |
D | Console.java | 62 Color.PASS.setCode(passColor); in setUseColor() 63 Color.SKIP.setCode(skipColor); in setUseColor() 64 Color.FAIL.setCode(failColor); in setUseColor() 65 Color.WARN.setCode(warnColor); in setUseColor() 66 Color.COMMENT.setCode(34); in setUseColor() 114 out.println(colorString("Warning: " + message, Color.WARN)); in warn() 116 out.println(colorString(indent + item, Color.WARN)); in warn() 161 … streamOutput(outcomeName, "\n" + colorString(expectation.getDescription(), Color.COMMENT)); in printResult() 164 … streamOutput(outcomeName, "\n" + colorString("http://b/" + expectation.getBug(), Color.COMMENT)); in printResult() 178 out.println(colorString("OK (" + result + ")", Color.PASS)); in printResult() [all …]
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | TimeSeriesActivity.java | 58 plot1.getGraphWidget().getGridBackgroundPaint().setColor(Color.WHITE); in onCreate() 59 plot1.getGraphWidget().getDomainGridLinePaint().setColor(Color.BLACK); in onCreate() 62 plot1.getGraphWidget().getRangeGridLinePaint().setColor(Color.BLACK); in onCreate() 65 plot1.getGraphWidget().getDomainOriginLinePaint().setColor(Color.BLACK); in onCreate() 66 plot1.getGraphWidget().getRangeOriginLinePaint().setColor(Color.BLACK); in onCreate() 70 Color.rgb(0, 100, 0), // line color in onCreate() 71 Color.rgb(0, 100, 0), // point color in onCreate() 72 Color.rgb(100, 200, 0), null); // fill color in onCreate() 82 …lineFill.setShader(new LinearGradient(0, 0, 200, 200, Color.WHITE, Color.GREEN, Shader.TileMode.CL… in onCreate() 85 new LineAndPointFormatter(Color.rgb(0, 0,0), Color.BLUE, Color.RED, null); in onCreate()
|
D | StepChartExampleActivity.java | 59 mySimpleXYPlot.getGraphWidget().getGridBackgroundPaint().setColor(Color.WHITE); in onCreate() 60 mySimpleXYPlot.getGraphWidget().getDomainGridLinePaint().setColor(Color.BLACK); in onCreate() 62 mySimpleXYPlot.getGraphWidget().getRangeGridLinePaint().setColor(Color.BLACK); in onCreate() 64 mySimpleXYPlot.getGraphWidget().getDomainOriginLinePaint().setColor(Color.BLACK); in onCreate() 65 mySimpleXYPlot.getGraphWidget().getRangeOriginLinePaint().setColor(Color.BLACK); in onCreate() 70 Color.rgb(0, 100, 0), // line color in onCreate() 71 Color.rgb(0, 100, 0), // point color in onCreate() 72 Color.rgb(100, 200, 0), null); // fill color in onCreate() 78 …lineFill.setShader(new LinearGradient(0, 0, 0, 250, Color.WHITE, Color.BLUE, Shader.TileMode.MIRRO… in onCreate() 80 StepFormatter stepFormatter = new StepFormatter(Color.rgb(0, 0,0), Color.BLUE); in onCreate()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel.c | 69 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/ |
D | intel_pixel.c | 69 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/swrast/ |
D | s_blend.c | 78 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_noop() 79 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_noop() 80 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ZERO); in blend_noop() 81 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE); in blend_noop() 104 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_replace() 105 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_replace() 106 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE); in blend_replace() 107 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ZERO); in blend_replace() 128 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_ubyte() 129 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_ubyte() [all …]
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 223 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef); in _mesa_init_driver_state() 225 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor); in _mesa_init_driver_state() 228 ctx->Color.Blend[0].EquationRGB, in _mesa_init_driver_state() 229 ctx->Color.Blend[0].EquationA); in _mesa_init_driver_state() 232 ctx->Color.Blend[0].SrcRGB, in _mesa_init_driver_state() 233 ctx->Color.Blend[0].DstRGB, in _mesa_init_driver_state() 234 ctx->Color.Blend[0].SrcA, in _mesa_init_driver_state() 235 ctx->Color.Blend[0].DstA); in _mesa_init_driver_state() 241 ctx->Color.ColorMask[i][RCOMP], in _mesa_init_driver_state() 242 ctx->Color.ColorMask[i][GCOMP], in _mesa_init_driver_state() [all …]
|