/external/skia/docker/ |
D | README.md | 4 Docker files for building different Skia targets. 6 skia-release 7 ------ 9 This image is used to build Skia at TOT with SwiftShader. 14 docker build -t skia-release ./docker/skia-release/ 15 docker tag skia-release gcr.io/skia-public/skia-release:prod 16 docker push gcr.io/skia-public/skia-release:prod 18 skia-wasm-release 19 ------ 21 This image is used to build the Web Assembly (WASM) libraries of Skia [all …]
|
D | cloudbuild.yaml | 1 # Builds both skia-release:prod and a new fiddler using Google Container 2 # Builder: https://cloud.google.com/container-builder/docs/ 7 …# gcloud builds submit --config cloudbuild.yaml --no-source --substitutions=COMMIT_SHA=b2acf0a9… 9 # Where COMMIT_SHA is updated to the last commit into Skia. 11 # - name: 'gcr.io/cloud-builders/git' 12 # args: ['clone', 'https://github.com/google/skia.git', '.'] 13 - name: 'gcr.io/cloud-builders/docker' 14 args: ['build', '-t', 'gcr.io/$PROJECT_ID/skia-release:prod', './docker/skia-release'] 17 - name: 'gcr.io/cloud-builders/docker' 18 args: ['build', '-t', 'gcr.io/$PROJECT_ID/skia-wasm-release:prod', './docker/skia-wasm-release'] [all …]
|
/external/skqp/docker/ |
D | README.md | 4 Docker files for building different Skia targets. 6 skia-release 7 ------ 9 This image is used to build Skia at TOT with SwiftShader. 14 docker build -t skia-release ./docker/skia-release/ 15 docker tag skia-release gcr.io/skia-public/skia-release:prod 16 docker push gcr.io/skia-public/skia-release:prod 18 skia-wasm-release 19 ------ 21 This image is used to build the Web Assembly (WASM) libraries of Skia [all …]
|
D | cloudbuild.yaml | 1 # Builds both skia-release:prod and a new fiddler using Google Container 2 # Builder: https://cloud.google.com/container-builder/docs/ 7 …# gcloud builds submit --config cloudbuild.yaml --no-source --substitutions=COMMIT_SHA=b2acf0a9… 9 # Where COMMIT_SHA is updated to the last commit into Skia. 11 # - name: 'gcr.io/cloud-builders/git' 12 # args: ['clone', 'https://github.com/google/skia.git', '.'] 13 - name: 'gcr.io/cloud-builders/docker' 14 args: ['build', '-t', 'gcr.io/$PROJECT_ID/skia-release:prod', './docker/skia-release'] 17 - name: 'gcr.io/cloud-builders/docker' 18 args: ['build', '-t', 'gcr.io/$PROJECT_ID/skia-wasm-release:prod', './docker/skia-wasm-release'] [all …]
|
/external/skia/infra/pathkit/docker/ |
D | Makefile | 4 # docker run karma-chrome-tests /usr/bin/google-chrome-stable --version 8 docker build --no-cache -t emsdk-base ./emsdk-base/ 9 docker tag emsdk-base gcr.io/skia-public/emsdk-release:${EMSDK_VERSION} 10 docker push gcr.io/skia-public/emsdk-release:${EMSDK_VERSION} 11 docker tag emsdk-base gcr.io/skia-public/emsdk-release:prod 12 docker push gcr.io/skia-public/emsdk-release:prod 15 docker build --no-cache -t karma-chrome-tests ./karma-chrome-tests/ 16 docker tag karma-chrome-tests gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION} 17 docker push gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}
|
/external/skqp/infra/pathkit/docker/ |
D | Makefile | 4 # docker run karma-chrome-tests /usr/bin/google-chrome-stable --version 8 docker build --no-cache -t emsdk-base ./emsdk-base/ 9 docker tag emsdk-base gcr.io/skia-public/emsdk-release:${EMSDK_VERSION} 10 docker push gcr.io/skia-public/emsdk-release:${EMSDK_VERSION} 11 docker tag emsdk-base gcr.io/skia-public/emsdk-release:prod 12 docker push gcr.io/skia-public/emsdk-release:prod 15 docker build --no-cache -t karma-chrome-tests ./karma-chrome-tests/ 16 docker tag karma-chrome-tests gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION} 17 docker push gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}
|
/external/skqp/infra/bots/recipes/ |
D | upload_skiaserve.py | 2 # Use of this source code is governed by a BSD-style license that can be 6 # Recipe for uploading skiaserve to gs://skia-public-binaries. 31 dest = 'gs://skia-public-binaries/skiaserve/%s/%s/' % ( 37 builder = 'Build-Debian9-Clang-arm-Release-Android' 41 repository='https://skia.googlesource.com/skia.git', 50 repository='https://skia.googlesource.com/skia.git', 57 gerrit_project='skia', 58 gerrit_url='https://skia-review.googlesource.com/',
|
/external/skia/infra/bots/recipes/ |
D | upload_skiaserve.py | 2 # Use of this source code is governed by a BSD-style license that can be 6 # Recipe for uploading skiaserve to gs://skia-public-binaries. 31 dest = 'gs://skia-public-binaries/skiaserve/%s/%s/' % ( 37 builder = 'Build-Debian9-Clang-arm-Release-Android' 41 repository='https://skia.googlesource.com/skia.git', 50 repository='https://skia.googlesource.com/skia.git', 57 gerrit_project='skia', 58 gerrit_url='https://skia-review.googlesource.com/',
|
/external/skqp/docker/skia-wasm-release/ |
D | Dockerfile | 1 # Dockerfile for building the WASM libraries used by jsfiddle.skia.org 2 FROM gcr.io/skia-public/emsdk-release:prod as builder 6 && mkdir -p /tmp/skia \ 7 && cd /tmp/skia \ 8 && /tmp/depot_tools/fetch skia 10 RUN cd /tmp/skia/skia \ 11 && python tools/git-sync-deps \ 12 && ./bin/fetch-gn 14 # PathKit should be in /tmp/skia/skia/out/pathkit/ 15 RUN /tmp/skia/skia/modules/pathkit/compile.sh [all …]
|
/external/skia/docker/skia-wasm-release/ |
D | Dockerfile | 1 # Dockerfile for building the WASM libraries used by jsfiddle.skia.org 2 FROM gcr.io/skia-public/emsdk-release:prod as builder 6 && mkdir -p /tmp/skia \ 7 && cd /tmp/skia \ 8 && /tmp/depot_tools/fetch skia 10 RUN cd /tmp/skia/skia \ 11 && python tools/git-sync-deps \ 12 && ./bin/fetch-gn 14 # PathKit should be in /tmp/skia/skia/out/pathkit/ 15 RUN /tmp/skia/skia/modules/pathkit/compile.sh [all …]
|
/external/skia/ |
D | PRESUBMIT.py | 2 # Use of this source code is governed by a BSD-style license that can be 6 """Top-level presubmit script for Skia. 8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 24 SKIA_TREE_STATUS_URL = 'http://skia-tree-status.appspot.com' 40 DOCS_PREVIEW_URL = 'https://skia.org/?cl=' 41 GOLD_TRYBOT_URL = 'https://gold.skia.org/search?issue=' 45 'skia-buildbots.google.com', 'skia-swarming-bots', 'skia-public', 46 'skia-corp.google.com']] 55 if len(contents) > 1 and contents[-1:] != '\n': 124 'See https://bug.skia.org/3362 for why this should be fixed.' % [all …]
|
/external/skqp/tests/ |
D | TracingTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 25 TRACE_EVENT_OBJECT_CREATED_WITH_ID("skia.objects", this->typeName(), this); in TracingShape() 28 TRACE_EVENT_OBJECT_DELETED_WITH_ID("skia.objects", this->typeName(), this); in ~TracingShape() 37 // base-class constructor/destructor where the actual type name isn't known yet. That's in traceSnapshot() 40 // Skia's JSON tracer handles this automatically, so SNAPSHOT macros can simply use the in traceSnapshot() 42 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID("skia.objects", this->typeName(), this, in traceSnapshot() 43 TRACE_STR_COPY(this->toString().c_str())); in traceSnapshot() 50 struct TracingCircle : public TracingShape { 61 struct TracingRect : public TracingShape { 88 TRACE_EVENT0("skia", TRACE_FUNC); in test_trace_simple() [all …]
|
/external/skia/tests/ |
D | TracingTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 25 TRACE_EVENT_OBJECT_CREATED_WITH_ID("skia.objects", this->typeName(), this); in TracingShape() 28 TRACE_EVENT_OBJECT_DELETED_WITH_ID("skia.objects", this->typeName(), this); in ~TracingShape() 37 // base-class constructor/destructor where the actual type name isn't known yet. That's in traceSnapshot() 40 // Skia's JSON tracer handles this automatically, so SNAPSHOT macros can simply use the in traceSnapshot() 42 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID("skia.objects", this->typeName(), this, in traceSnapshot() 43 TRACE_STR_COPY(this->toString().c_str())); in traceSnapshot() 50 struct TracingCircle : public TracingShape { 61 struct TracingRect : public TracingShape { 88 TRACE_EVENT0("skia", TRACE_FUNC); in test_trace_simple() [all …]
|
/external/skqp/ |
D | PRESUBMIT.py | 2 # Use of this source code is governed by a BSD-style license that can be 6 """Top-level presubmit script for Skia. 8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 24 SKIA_TREE_STATUS_URL = 'http://skia-tree-status.appspot.com' 40 DOCS_PREVIEW_URL = 'https://skia.org/?cl=' 41 GOLD_TRYBOT_URL = 'https://gold.skia.org/search?issue=' 45 'skia-buildbots.google.com', 'skia-swarming-bots', 'skia-public', 46 'skia-corp.google.com']] 55 if len(contents) > 1 and contents[-1:] != '\n': 124 'See https://bug.skia.org/3362 for why this should be fixed.' % [all …]
|
/external/skia/infra/pathkit/ |
D | Makefile | 4 docker build -t gold-karma-chrome-tests -f ./docker/gold-karma-chrome-tests/Dockerfile . 9 docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 12 mkdir -p ./tmp 13 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/gold-aggregator -a ./gold/ 14 mkdir -p ./tmp 15 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 18 # docker run karma-chrome-tests /usr/bin/google-chrome-stable --version 22 docker tag gold-karma-chrome-tests gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 23 docker push gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 26 docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} [all …]
|
/external/skqp/infra/pathkit/ |
D | Makefile | 4 docker build -t gold-karma-chrome-tests -f ./docker/gold-karma-chrome-tests/Dockerfile . 9 docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 12 mkdir -p ./tmp 13 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/gold-aggregator -a ./gold/ 14 mkdir -p ./tmp 15 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 18 # docker run karma-chrome-tests /usr/bin/google-chrome-stable --version 22 docker tag gold-karma-chrome-tests gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 23 docker push gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 26 docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} [all …]
|
/external/skia/infra/lottiecap/docker/ |
D | README.md | 4 Docker files to handle Gold + lottie-web integration 7 lottie-web-puppeteer 8 -------------------- 11 and a few other tools for automating web-browser tests. 14 it Skia-exclusive. 19 docker build -t lottie-web-puppeteer ./lottie-web-puppeteer/ 20 LOTTIE_VERSION="v2" # use v1, v2, etc for any re-spins of the container. 21 docker tag lottie-web-puppeteer gcr.io/skia-public/lottie-web-puppeteer:$LOTTIE_VERSION 22 docker push gcr.io/skia-public/lottie-web-puppeteer:$LOTTIE_VERSION 26 with the flag --shm-size=2gb. [all …]
|
/external/skqp/infra/lottiecap/docker/ |
D | README.md | 4 Docker files to handle Gold + lottie-web integration 7 lottie-web-puppeteer 8 -------------------- 11 and a few other tools for automating web-browser tests. 14 it Skia-exclusive. 19 docker build -t lottie-web-puppeteer ./lottie-web-puppeteer/ 20 LOTTIE_VERSION="v2" # use v1, v2, etc for any re-spins of the container. 21 docker tag lottie-web-puppeteer gcr.io/skia-public/lottie-web-puppeteer:$LOTTIE_VERSION 22 docker push gcr.io/skia-public/lottie-web-puppeteer:$LOTTIE_VERSION 26 with the flag --shm-size=2gb. [all …]
|
/external/skia/gn/ |
D | find_headers.py | 5 # Use of this source code is governed by a BSD-style license that can be 14 # Finds all public sources in include directories then write them to skia.h. 16 # Also write skia.h.deps, which Ninja uses to track dependencies. It's the 30 gn_desc_cmd = [gn, 'desc', '.', '--root=%s' % absolute_source, '--format=json', 50 # We'll use `public` headers if they're listed, or pull them from `sources` 51 # if not. GN sneaks in a default "public": "*" into the JSON if you don't 53 search_list = target.get('public') 81 f.write('// skia.h generated by GN.\n') 95 # Temporary: during development this file wrote skia.h.d, not skia.h.deps,
|
/external/skqp/gn/ |
D | find_headers.py | 5 # Use of this source code is governed by a BSD-style license that can be 14 # Finds all public sources in include directories then write them to skia.h. 16 # Also write skia.h.deps, which Ninja uses to track dependencies. It's the 30 gn_desc_cmd = [gn, 'desc', '.', '--root=%s' % absolute_source, '--format=json', 50 # We'll use `public` headers if they're listed, or pull them from `sources` 51 # if not. GN sneaks in a default "public": "*" into the JSON if you don't 53 search_list = target.get('public') 81 f.write('// skia.h generated by GN.\n') 95 # Temporary: during development this file wrote skia.h.d, not skia.h.deps,
|
/external/skqp/docker/skia-with-swift-shader-base/ |
D | build-with-swift-shader-and-run | 8 # This script compiles and runs a skia app using Swiftshader in a docker container, making it easy 9 # to use Swiftshade w/o having to over-write /usr/local/lib/libEGL.so and related on the 12 # The Skia repo to be compiled will be the one on the host machine, which will 19 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas" 22 # After running the above, feel free to check out $SKIA_OUT/out/with-swift-shader. It has binaries 23 # but if you try to run out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas w/o using 28 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz -t filter_fuzz -b /skia/skbug_1234" 30 # $SKIA_ROOT gets mapped to /skia - other than that, the docker container does not have 34 IMAGE = 'gcr.io/skia-public/skia-with-swift-shader-base:prod' 36 BUILD_SCRIPT_PATH = '/skia/docker/skia-with-swift-shader-base/build.sh' [all …]
|
/external/skia/docker/skia-with-swift-shader-base/ |
D | build-with-swift-shader-and-run | 8 # This script compiles and runs a skia app using Swiftshader in a docker container, making it easy 9 # to use Swiftshade w/o having to over-write /usr/local/lib/libEGL.so and related on the 12 # The Skia repo to be compiled will be the one on the host machine, which will 19 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas" 22 # After running the above, feel free to check out $SKIA_OUT/out/with-swift-shader. It has binaries 23 # but if you try to run out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas w/o using 28 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz -t filter_fuzz -b /skia/skbug_1234" 30 # $SKIA_ROOT gets mapped to /skia - other than that, the docker container does not have 34 IMAGE = 'gcr.io/skia-public/skia-with-swift-shader-base:prod' 36 BUILD_SCRIPT_PATH = '/skia/docker/skia-with-swift-shader-base/build.sh' [all …]
|
/external/skqp/docs/ |
D | usingBookmaker.bmh | 16 skia.org 21 Bookmaker generates markdown files to view documentation on skia.org, and generates includes for us… 23 files describe how public interfaces work, and generate Skia fiddle examples to illustrate them. 25 The docs files must be manually edited to stay current with Skia as it evolves. 42 $ go get go.skia.org/infra/fiddlek/go/fiddlecli 48 $ ~/go/bin/fiddlecli --version 54 $ go get -u go.skia.org/infra/fiddlek/go/fiddlecli 60 $ ninja -C out/skia bookmaker 71 $ ./out/skia/bookmaker -E && ~/go/bin/fiddlecli --quiet && ./out/skia/bookmaker 77 cross-check................... [all …]
|
/external/skia/docs/ |
D | usingBookmaker.bmh | 16 skia.org 21 Bookmaker generates markdown files to view documentation on skia.org, and generates includes for us… 23 files describe how public interfaces work, and generate Skia fiddle examples to illustrate them. 25 The docs files must be manually edited to stay current with Skia as it evolves. 42 $ go get go.skia.org/infra/fiddlek/go/fiddlecli 48 $ ~/go/bin/fiddlecli --version 54 $ go get -u go.skia.org/infra/fiddlek/go/fiddlecli 60 $ ninja -C out/skia bookmaker 71 $ ./out/skia/bookmaker -E && ~/go/bin/fiddlecli --quiet && ./out/skia/bookmaker 77 cross-check................... [all …]
|
/external/skqp/modules/pathkit/ |
D | Makefile | 4 npm: npm-test npm-debug 5 mkdir -p ./npm-wasm/bin 6 mkdir -p ./npm-asmjs/bin 8 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin 9 cp ../../out/pathkit/pathkit.wasm ./npm-wasm/bin 11 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/pathkit.js 12 cp ../../out/pathkit/pathkit.js.mem ./npm-asmjs/bin/pathkit.js.mem 15 cd npm-wasm; npm publish 16 cd npm-asmjs; npm publish 18 update-major: [all …]
|