/third_party/skia/tests/ |
D | ProcessorTest.cpp | 205 static GrColor input_texel_color(int x, int y, SkScalar delta) { in input_texel_color() 231 GrColor* outBuffer) { in render_fp() 259 GrColor* rgbaData = new GrColor[kTestTextureSize * kTestTextureSize]; in init() 272 [](void* addr, void* context) { delete[](GrColor*) addr; }, nullptr); in init() 352 static std::vector<GrColor> make_input_pixels(int width, int height, SkScalar delta) { in make_input_pixels() 353 std::vector<GrColor> pixel(width * height); in make_input_pixels() 366 int width, int height, GrColor* pixel) { in make_input_texture() 381 static bool log_pixels(GrColor* pixels, int widthHeight, SkString* dst) { in log_pixels() 385 bmp.installPixels(info, pixels, widthHeight * sizeof(GrColor)); in log_pixels() 425 static bool legal_modulation(const GrColor inGr[3], const GrColor outGr[3]) { in legal_modulation() [all …]
|
D | SkDSLRuntimeEffectTest.cpp | 60 void test(GrColor TL, GrColor TR, GrColor BL, GrColor BR, in test() 80 GrColor actual[4]; in test() 87 GrColor expected[4] = {TL, TR, BL, BR}; in test() 99 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test()
|
D | SkRuntimeEffectTest.cpp | 288 std::array<GrColor, 4> expected) { in verify_2x2_surface_results() argument 289 std::array<GrColor, 4> actual; in verify_2x2_surface_results() 333 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() argument 350 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() 383 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() argument 400 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() 936 GrColor actual; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 937 GrPixmap pixmap(info, &actual, sizeof(GrColor)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | RectangleTextureTest.cpp | 45 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear() 65 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear() 151 GrColor refPixels[kWidth * kHeight]; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | SkSLCross.cpp | 107 GrColor result; in run_test() 110 sizeof(GrColor)); in run_test()
|
D | GrPipelineDynamicStateTest.cpp | 46 static const GrColor kMeshColors[kNumMeshes] { 56 GrColor fColor;
|
D | TestUtils.h | 17 typedef uint32_t GrColor; typedef
|
D | ClearTest.cpp | 102 static const GrColor kColor1 = 0xABCDEF01; in clear_op_test() 103 static const GrColor kColor2 = ~kColor1; in clear_op_test()
|
/third_party/skia/src/gpu/ops/ |
D | DrawAtlasOp.cpp | 123 texOffset += sizeof(GrColor); in DrawAtlasOpImpl() 124 vertexStride += sizeof(GrColor); in DrawAtlasOpImpl() 150 GrColor grColor = SkColorToPremulGrColor(spriteColor); in DrawAtlasOpImpl() 152 *(reinterpret_cast<GrColor*>(currVertex + sizeof(SkPoint))) = grColor; in DrawAtlasOpImpl() 153 *(reinterpret_cast<GrColor*>(currVertex + vertexStride + sizeof(SkPoint))) = grColor; in DrawAtlasOpImpl() 154 *(reinterpret_cast<GrColor*>(currVertex + 2 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 156 *(reinterpret_cast<GrColor*>(currVertex + 3 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 361 SkTArray<SkRect>* texRects, SkTArray<GrColor>* colors, in randomize_params() 377 SkTArray<GrColor> colors; in GR_DRAW_OP_TEST_DEFINE()
|
D | ShadowRRectOp.cpp | 196 ShadowCircularRRectOp(GrColor color, const SkRect& devRect, in ShadowCircularRRectOp() 251 GrColor fColor; 263 GrColor fColor; 270 GrColor color = args.fColor; in fillInCircleVerts() 399 GrColor color = args.fColor; in fillInRRectVerts() 707 GrColor color, in Make() 770 GrColor color = paint.getColor4f().toBytes_RGBA(); in GR_DRAW_OP_TEST_DEFINE()
|
D | ShadowRRectOp.h | 23 GrColor,
|
/third_party/skia/src/gpu/effects/ |
D | GrShadowGeoProc.h | 35 GrColor color() const { return fColor; } in color() 48 GrColor fColor;
|
D | GrBezierEffect.cpp | 187 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate() 340 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate()
|
D | GrBitmapTextGeoProc.cpp | 224 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate()
|
/third_party/skia/src/gpu/ |
D | GrColor.h | 25 typedef uint32_t GrColor; typedef 46 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA()
|
D | SkGr.h | 45 static inline GrColor SkColorToPremulGrColor(SkColor c) { in SkColorToPremulGrColor() 54 static inline GrColor SkColorToUnpremulGrColor(SkColor c) { in SkColorToUnpremulGrColor()
|
D | GrTestUtils.h | 56 GrColor RandomColor(SkRandom* random);
|
D | GrTestUtils.cpp | 354 GrColor RandomColor(SkRandom* random) { in RandomColor() 365 GrColor color SK_INIT_TO_AVOID_WARNING; in RandomColor()
|
D | GrDefaultGeoProcFactory.cpp | 267 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate()
|
/third_party/skia/bench/ |
D | VertexColorSpaceBench.cpp | 138 Op(GrColor color) in Op() 153 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op() 249 GrColor fColor; in onPrepareDraws() 276 GrColor fColor;
|
D | GlyphQuadFillBench.cpp | 69 GrColor grColor = SkColorToPremulGrColor(paint.getColor()); in onDraw()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 43 GrColor color; 48 ARGB2DVertex(SkPoint d, GrColor, AtlasPt a) : devicePos{d}, atlasPos{a} {} in ARGB2DVertex() 57 GrColor color; 62 ARGB3DVertex(SkPoint3 d, GrColor, AtlasPt a) : devicePos{d}, atlasPos{a} {} in ARGB3DVertex() 97 GrColor color, in fill_transformed_vertices_2D() 121 GrColor color, in fill_transformed_vertices_3D() 495 void fillVertexData(void* vertexDst, int offset, int count, GrColor color, 722 GrColor color, in direct_2D() 746 GrColor color, in generalized_direct_2D() 787 void DirectMaskSubRun::fillVertexData(void* vertexDst, int offset, int count, GrColor color, in fillVertexData() [all …]
|
D | GrTextBlob.h | 87 GrColor color, const SkMatrix& positionMatrix,
|
/third_party/skia/gm/ |
D | constcolorprocessor.cpp | 86 constexpr GrColor kColors[] = { in onDraw() 93 constexpr GrColor kPaintColors[] = { in onDraw()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.h | 17 typedef uint32_t GrColor; typedef
|