/external/skia/tests/ |
D | GpuColorFilterTest.cpp | 82 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGBA, GrColorPackRGBA(164, 164, 164… in DEF_GPUTEST_FOR_ALL_CONTEXTS() 84 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kA , GrColorPackRGBA(0, 0, 0, 192)… in DEF_GPUTEST_FOR_ALL_CONTEXTS() 86 …SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGB, GrColorPackRGBA(164, 164, 164… in DEF_GPUTEST_FOR_ALL_CONTEXTS() 89 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kRGBA, GrColorPackRGBA(178, 178, 178… in DEF_GPUTEST_FOR_ALL_CONTEXTS() 91 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kA , GrColorPackRGBA(0, 0, 0, 192)… in DEF_GPUTEST_FOR_ALL_CONTEXTS() 96 …ColorSetARGB(128, 200, 200, 200), SkXfermode::kModulate_Mode, kR|kA, GrColorPackRGBA(50, 0, 0, 64)… in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | VkClearTests.cpp | 30 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color() 86 GrColor myColor = GrColorPackRGBA(0xFF, 0x7F, 0x40, 0x20); in basic_clear_test() 157 GrColor subColor1 = GrColorPackRGBA(0xFF, 0x00, 0x00, 0xFF); in sub_clear_test() 158 GrColor subColor2 = GrColorPackRGBA(0x00, 0xFF, 0x00, 0xFF); in sub_clear_test() 159 GrColor subColor3 = GrColorPackRGBA(0x00, 0x00, 0xFF, 0xFF); in sub_clear_test() 160 GrColor subColor4 = GrColorPackRGBA(0xFF, 0xFF, 0x00, 0xFF); in sub_clear_test()
|
D | RectangleTextureTest.cpp | 42 pixels.get()[y * rectangleTexture->width() + x] = GrColorPackRGBA(x, y, x + y, x * y); in test_write_pixels() 73 pixels.get()[y * rectangleTexture->width() + x] = GrColorPackRGBA(y, x, x * y, x *+ y); in test_copy_surface_dst() 99 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear() 119 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear()
|
D | VkUploadPixelsTests.cpp | 28 data[i + j*width] = GrColorPackRGBA(red - (red>>8), green - (green>>8), 0xff, 0xff); in fill_pixel_data()
|
D | ReadWriteAlphaTest.cpp | 149 rgbaData[y * X_SIZE + x] = GrColorPackRGBA(6, 7, 8, alphaData[y * X_SIZE + x]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrPorterDuffTest.cpp | 483 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackRGBA(229, 0, 154, 0), in test_color_unknown_no_coverage() 886 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackRGBA(0, 82, 0, 255), in test_color_opaque_no_coverage() 1104 color->setKnownFourComponents(GrColorPackRGBA(123, 45, 67, 221)); in test_lcd_coverage_fallback_case() 1177 GrColorPackRGBA(0, 82, 0, 255),
|
/external/skia/include/gpu/ |
D | SkGr.h | 32 return GrColorPackRGBA(r, g, b, a); in SkColorToPremulGrColor() 40 return GrColorPackRGBA(r, g, b, a); in SkColorToUnpremulGrColor() 47 return GrColorPackRGBA(r, g, b, 0xFF); in SkColorToOpaqueGrColor() 53 return GrColorPackRGBA(a, a, a, a); in SkColorAlphaToGrColor() 62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
|
D | GrTestUtils.h | 57 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); in GrRandomColor() 60 color = GrColorPackRGBA(0, 0, 0, 0); in GrRandomColor() 63 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor() 70 color = GrColorPackRGBA(random->nextRangeU(0, alpha), in GrRandomColor()
|
D | GrColor.h | 44 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA() function 104 return GrColorPackRGBA(0xff - r, 0xff - g, 0xff - b, 0xff - a); in GrInvertColor() 112 return GrColorPackRGBA(r, g, b, a); in GrColorMul() 120 return GrColorPackRGBA(r, g, b, a); in GrColorSatAdd() 148 return GrColorPackRGBA(SkMulDiv255Round(r, a), in GrPremulColor() 169 return GrColorPackRGBA(r, g, b, a); in GrUnpremulColor()
|
D | GrInvariantOutput.h | 38 fColor = GrColorPackRGBA(alpha, alpha, alpha, alpha); in setKnownSingleComponent() 123 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha), in mulByKnownSingleComponent() 140 fColor = GrColorPackRGBA( in mulByKnownFourComponents() 166 fColor = GrColorPackRGBA( in mulAlphaByKnownFourComponents() 190 fColor = GrColorPackRGBA(a, a, a, a); in mulAlphaByKnownSingleComponent()
|
/external/skia/src/effects/ |
D | SkLumaColorFilter.cpp | 105 inout->setToOther(kRGB_GrColorComponentFlags, GrColorPackRGBA(0, 0, 0, 0), in onComputeInvariantOutput()
|
/external/skia/src/gpu/ |
D | GrSwizzle.h | 64 return GrColorPackRGBA(outR, outG, outB, outA); in applyTo()
|
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 124 color = GrColorPackRGBA(r, g, b, a); in TestCreate()
|
D | GrPorterDuffXferProcessor.cpp | 695 *overrideColor = GrColorPackRGBA(fAlpha, fAlpha, fAlpha, fAlpha); in onGetOptimizations()
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 25 return GrColorPackRGBA(r, g, b, 0xff); in skcolor_to_grcolor_nopremultiply()
|