Lines Matching +full:node +full:- +full:core
4 * Use of this source code is governed by a BSD-style license that can be
8 #include "include/core/SkPaint.h"
9 #include "include/core/SkPicture.h"
10 #include "include/core/SkPictureRecorder.h"
11 #include "include/core/SkRect.h"
24 canvas->clear(0x00000000); in test_basic()
27 canvas->drawOval(SkRect::MakeLTRB(1,1,99,99), paint); in test_basic()
35 canvas->drawOval(SkRect::MakeLTRB(40,40,60,60), paint); in test_basic()
39 int node = 2; in test_basic() local
43 dlm.storeSkPicture(node, 0, picture1, dirtyRectFull); in test_basic()
44 dlm.storeSkPicture(node, 10, picture2, dirtyRectPartial); in test_basic()
45 auto frames = dlm.listFramesForNode(node); in test_basic()
55 auto image = dlm.getLayerAsImage(node, i); in test_basic()
56 REPORTER_ASSERT(reporter, image->width() == layerWidth); in test_basic()
57 REPORTER_ASSERT(reporter, image->height() == layerHeight); in test_basic()
59 image->peekPixels(&pixmap); in test_basic()
67 auto image = dlm.getLayerAsImage(node, i); in test_basic()
68 REPORTER_ASSERT(reporter, image->width() == layerWidth); in test_basic()
69 REPORTER_ASSERT(reporter, image->height() == layerHeight); in test_basic()
70 image->peekPixels(&pixmap); in test_basic()