Home
last modified time | relevance | path

Searched refs:skp (Results 1 – 25 of 53) sorted by relevance

123

/external/skqp/tools/skpbench/
Dskpbench.cpp197 const SkPicture* skp, std::vector<Sample>* samples) { in run_benchmark() argument
202 draw_skp_and_flush(canvas, skp); // draw 1 in run_benchmark()
206 draw_skp_and_flush(canvas, skp); // draw N in run_benchmark()
220 draw_skp_and_flush(canvas, skp); in run_benchmark()
232 const SkPicture* skp, std::vector<Sample>* samples) { in run_gpu_time_benchmark() argument
243 draw_skp_and_flush(canvas, skp); in run_gpu_time_benchmark()
249 draw_skp_and_flush(canvas, skp); in run_gpu_time_benchmark()
264 draw_skp_and_flush(canvas, skp); in run_gpu_time_benchmark()
355 sk_sp<SkPicture> skp; in main() local
358 skp = create_warmup_skp(); in main()
[all …]
D_os_path.py17 for skp in skps:
18 if (path.isdir(skp)):
19 pathnames.extend(glob.iglob(path.join(skp, '*.skp')))
21 pathnames.append(skp)
/external/skia/tools/skpbench/
D_os_path.py18 for skp in glob.iglob(skpglob):
19 if (path.isdir(skp)):
20 pathnames.extend(glob.iglob(path.join(skp, '*.skp')))
21 pathnames.extend(glob.iglob(path.join(skp, '*.mskp')))
23 pathnames.append(skp)
Dskpbench.cpp148 StaticSkp(sk_sp<SkPicture> skp) : fSkp(skp) {} in StaticSkp() argument
377 SkSurface* surface, const SkPicture* skp, in run_gpu_time_benchmark() argument
390 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync); in run_gpu_time_benchmark()
395 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync); in run_gpu_time_benchmark()
409 draw_skp_and_flush_with_sync(context, surface, skp, gpuSync); in run_gpu_time_benchmark()
515 sk_sp<SkPicture> skp; in main() local
519 skp = create_warmup_skp(); in main()
528 skp = create_skp_from_svg(srcstream.get(), srcfile.c_str()); in main()
532 skp = mskp->frame(0); in main()
534 skp = SkPicture::MakeFromStream(srcstream.get()); in main()
[all …]
DREADME.md3 skpbench is a benchmarking tool for replaying skp or mksp files on android devices.
31 First, copy the built skpbench binary and an example skp file to the device.
32 (or pull a skp corpus using instructions in the section below)
36 adb push /home/nifong/Downloads/foo.skp /data/local/tmp/skps/
46 /data/local/tmp/skps/foo.skp
58 …0.1834 0.1832 0.1897 0.1707 1.59% 101 50 cpu ms gles foo.skp
/external/skqp/tools/skiaserve/tester/
Dtester.py47 self.skp = ''
51 self.skp = skp_dir + '/' + skp_name
58 with open(self.skp, 'rb') as payload:
106 for skp in listdir(skp_dir):
107 if isfile(join(skp_dir, skp)) and re.match(args.match, skp):
108 skps.append(skp)
/external/skia/tools/skiaserve/tester/
Dtester.py47 self.skp = ''
51 self.skp = skp_dir + '/' + skp_name
58 with open(self.skp, 'rb') as payload:
106 for skp in listdir(skp_dir):
107 if isfile(join(skp_dir, skp)) and re.match(args.match, skp):
108 skps.append(skp)
/external/python/pyasn1-modules/tests/
Dtest_rfc6031.py44 skp, rest = der_decode(asn1Object['content'], asn1Spec=asn1Spec)
46 assert skp.prettyPrint()
47 assert der_encode(skp) == asn1Object['content']
49 for attr in skp['sKeyPkgAttrs']:
52 for osk in skp['sKeys']:
/external/skia/site/docs/user/
Dtips.md7 - [Capture a `.skp` file on a web page in Chromium](#skp-capture)
16 ## <span id="skp-capture">Capture a `.skp` file on a web page in Chromium</span>
30 out/Release/dm --src skp --skps /tmp/layer_0.skp -w /tmp \
32 ls -l /tmp/*/skp/layer_0.skp.*
34 out/Release/viewer --skps /tmp --slide layer_0.skp
56 experimental/tools/mskp_parser.py /tmp/filename.mskp /tmp/filename.mskp.skp
57 ls -l /tmp/filename.mskp.skp
58 # open filename.mskp.skp in the debugger.
/external/skqp/site/user/
Dtips.md5 + [Capture a `.skp` file on a web page in Chromium](#skp-capture)
32 <span id="skp-capture">Capture a `.skp` file on a web page in Chromium</span>
47 out/Release/dm --src skp --skps /tmp/layer_0.skp -w /tmp \
49 ls -l /tmp/*/skp/layer_0.skp.*
51 out/Release/viewer --skps /tmp --slide layer_0.skp
73 experimental/tools/mskp_parser.py /tmp/filename.mskp /tmp/filename.mskp.skp
74 ls -l /tmp/filename.mskp.skp
75 # open filename.mskp.skp in the debugger.
/external/skia/tools/perf-canvaskit-puppeteer/
Dperf_all_skps.sh19 for f in $HOME/skps/*.skp;
28 --bench_html render-skp.html \
39 --bench_html render-skp.html \
DMakefile31 --input_skp ${HOME}/skps/desk_nytimes.skp \
32 --bench_html render-skp.html
/external/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/
Dperf_puppeteer_render_skps.go184 for _, skp := range skpFiles {
185 name := filepath.Base(skp)
198 "--input_skp", skp,
256 for _, skp := range jsonInputs {
257 err = td.Do(ctx, td.Props("Process "+skp), func(ctx context.Context) error {
258 name := strings.TrimSuffix(filepath.Base(skp), ".json")
267 b, err := os_steps.ReadFile(ctx, skp)
/external/openssh/
Dssh-sk.c428 struct sshsk_provider *skp = NULL; in sshsk_enroll() local
490 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_enroll()
496 if ((r = skp->sk_enroll(alg, challenge, challenge_len, application, in sshsk_enroll()
528 sshsk_free(skp); in sshsk_enroll()
613 struct sshsk_provider *skp = NULL; in sshsk_sign() local
647 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_sign()
652 if ((r = skp->sk_sign(alg, data, datalen, key->sk_application, in sshsk_sign()
701 sshsk_free(skp); in sshsk_sign()
731 struct sshsk_provider *skp = NULL; in sshsk_load_resident() local
749 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_load_resident()
[all …]
/external/skia/experimental/ddlbench/
Dddlbench.cpp279 sk_sp<SkPicture> skp = SkPicture::MakeFromStream(srcstream.get()); in create_shared_skp() local
280 if (!skp) { in create_shared_skp()
284 return promiseImageHelper->recreateSKP(dContext, skp.get()); in create_shared_skp()
366 sk_sp<SkPicture> skp = create_shared_skp(FLAGS_src[0], in main() local
370 int width = std::min(SkScalarCeilToInt(skp->cullRect().width()), 2048); in main()
371 int height = std::min(SkScalarCeilToInt(skp->cullRect().height()), 2048); in main()
390 dstSurface->getCanvas()->drawPicture(skp); in main()
/external/skia/tools/viewer/
DBisectSlide.cpp42 sk_sp<SkPicture> skp = SkPicture::MakeFromStream(&stream); in Create() local
43 if (!skp) { in Create()
47 skp->playback(bisect.get()); in Create()
/external/skia/site/docs/dev/testing/
Dskiaperf.md33 This query displays the ratio of playback time in ms to the number of ops for desk\_wowwiki.skp:
36 ave(fill(filter("name=desk_wowwiki.skp&sub_result=min_ms"))),
37 ave(fill(filter("name=desk_wowwiki.skp&sub_result=ops")))
/external/skqp/tools/viewer/
DBisectSlide.cpp47 sk_sp<SkPicture> skp = SkPicture::MakeFromStream(&stream); in Create() local
48 if (!skp) { in Create()
52 skp->playback(bisect.get()); in Create()
/external/skqp/site/dev/testing/
Dskiaperf.md28 This query displays [the ratio of playback time in ms to the number of ops for desk\_wowwiki.skp](h…
31 ave(fill(filter("name=desk_wowwiki.skp&sub_result=min_ms"))),
32 ave(fill(filter("name=desk_wowwiki.skp&sub_result=ops")))
/external/skia/tools/fiddle/
Dfiddle_main.h51 , skp(k) in DrawOptions()
67 bool skp; member
/external/skqp/tools/fiddle/
Dfiddle_main.h50 , skp(k) in DrawOptions()
67 bool skp; member
/external/skia/
D.gitignore35 tools/skp/page_sets/data/*.json
36 tools/skp/page_sets/data/*.wpr
/external/skqp/
D.gitignore39 tools/skp/page_sets/data/*.json
40 tools/skp/page_sets/data/*.wpr
/external/skia/bin/
Dfetch-skps10 DOWNLOAD_SCRIPT=$(cd $(dirname $0)/..; pwd)/infra/bots/assets/skp/download.py
/external/skqp/bin/
Dfetch-skps10 DOWNLOAD_SCRIPT=$(cd $(dirname $0)/..; pwd)/infra/bots/assets/skp/download.py

123