/third_party/skia/tests/ |
H A 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() [all...] |
H A D | SkDSLRuntimeEffectTest.cpp | 19 #include "src/gpu/GrColor.h" 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()
|
H A D | SkRuntimeEffectTest.cpp | 22 #include "src/gpu/GrColor.h" 288 std::array<GrColor, 4> expected) { in verify_2x2_surface_results() 289 std::array<GrColor, 4> actual; in verify_2x2_surface_results() 333 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() 350 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() 383 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() 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()
|
H A D | RectangleTextureTest.cpp | 45 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear() 53 // The clear color is a GrColor, our readback is to kRGBA_8888, which may be different. 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()
|
H A D | SkSLCross.cpp | 107 GrColor result; in run_test() 110 sizeof(GrColor)); in run_test()
|
H A D | TestUtils.h | 17 typedef uint32_t GrColor; typedef
|
H A D | GrPipelineDynamicStateTest.cpp | 13 #include "src/gpu/GrColor.h" 46 static const GrColor kMeshColors[kNumMeshes] { 56 GrColor fColor;
|
H A D | ClearTest.cpp | 23 #include "src/gpu/GrColor.h" 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/ |
H A D | DrawAtlasOp.cpp | 123 texOffset += sizeof(GrColor); in DrawAtlasOpImpl() 124 vertexStride += sizeof(GrColor); in DrawAtlasOpImpl() 144 // convert to 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> color in GR_DRAW_OP_TEST_DEFINE() [all...] |
H A 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()
|
H A D | ShadowRRectOp.h | 12 #include "src/gpu/GrColor.h" 23 GrColor,
|
/third_party/skia/src/gpu/effects/ |
H A D | GrShadowGeoProc.h | 37 GrColor color() const { return fColor; } in color() 50 GrColor fColor;
|
H A D | GrBezierEffect.cpp | 196 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate() 358 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate()
|
H A D | GrBitmapTextGeoProc.cpp | 232 GrColor color = GrTest::RandomColor(d->fRandom); in TestCreate()
|
/third_party/skia/src/gpu/ |
H A D | GrColor.h | 22 * GrColor is 4 bytes for R, G, B, A, in a specific order defined below. Whether the color is 25 typedef uint32_t GrColor; typedef 27 // shift amount to assign a component to a GrColor int 44 * Pack 4 components (RGBA) into a GrColor int 46 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA() 57 // extract a component (byte) from a GrColor int 89 * GrVertexColor is a helper for writing colors to a vertex attribute. It stores either GrColor
|
H A D | SkGr.h | 20 #include "src/gpu/GrColor.h" 45 static inline GrColor SkColorToPremulGrColor(SkColor c) { in SkColorToPremulGrColor() 54 static inline GrColor SkColorToUnpremulGrColor(SkColor c) { in SkColorToUnpremulGrColor()
|
H A D | GrTestUtils.h | 21 #include "src/gpu/GrColor.h" 56 GrColor RandomColor(SkRandom* random);
|
H A D | GrTestUtils.cpp | 354 GrColor RandomColor(SkRandom* random) { in RandomColor() 365 GrColor color SK_INIT_TO_AVOID_WARNING; in RandomColor()
|
H A D | GrDefaultGeoProcFactory.cpp | 276 GrColor color = GrTest::RandomColor(d->fRandom);
|
/third_party/skia/src/gpu/text/ |
H A 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 colo [all...] |
H A D | GrTextBlob.h | 24 #include "src/gpu/GrColor.h" 87 GrColor color, const SkMatrix& positionMatrix,
|
/third_party/skia/bench/ |
H A D | VertexColorSpaceBench.cpp | 138 Op(GrColor color) in Op() 153 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op() 249 GrColor fColor; 276 GrColor fColor;
|
H A D | GlyphQuadFillBench.cpp | 69 GrColor grColor = SkColorToPremulGrColor(paint.getColor());
|
/third_party/skia/gm/ |
H A D | constcolorprocessor.cpp | 33 #include "src/gpu/GrColor.h" 86 constexpr GrColor kColors[] = { 93 constexpr GrColor kPaintColors[] = {
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlOpsRenderPass.h | 17 typedef uint32_t GrColor; typedef
|