diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-07-03 17:43:57 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-07-03 17:55:17 +0200 |
commit | 49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7 (patch) | |
tree | e051984a9ae1d7c59a5e8d1941eae1aa6a7cf9a6 /third_party/webrender/debugger/src/components/PassViewPage.vue | |
parent | c19eb800de71bf06736781ca1cf9d57620d66f8d (diff) | |
download | servo-49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7.tar.gz servo-49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7.zip |
Vendor the current version of WebRender
This is a step toward upgrading WebRender, which will be upgraded and
patched in the `third_party` directory. This change vendors the current
private branch of WebRender that we use and adds a `patches` directory
which tracks the changes on top of the upstream WebRender commit
described by third_party/webrender/patches/head.
Diffstat (limited to 'third_party/webrender/debugger/src/components/PassViewPage.vue')
-rw-r--r-- | third_party/webrender/debugger/src/components/PassViewPage.vue | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/webrender/debugger/src/components/PassViewPage.vue b/third_party/webrender/debugger/src/components/PassViewPage.vue new file mode 100644 index 00000000000..0ab6d7c4464 --- /dev/null +++ b/third_party/webrender/debugger/src/components/PassViewPage.vue @@ -0,0 +1,37 @@ +<template> + <div class="box"> + <h1 class="title">Passes <a :disabled="disabled" v-on:click="fetch" class="button is-info">Refresh</a></h1> + <hr/> + <div v-for="(pass, pass_index) in passes"> + <p class="has-text-black-bis">Pass {{pass_index}}</p> + <div v-for="(target, target_index) in pass.targets"> + <p style="text-indent: 2em;" class="has-text-grey-dark">Target {{target_index}} ({{target.kind}})</p> + <div v-for="(batch, batch_index) in target.batches"> + <p style="text-indent: 4em;" class="has-text-grey">Batch {{batch_index}} ({{batch.description}}, {{batch.kind}}, {{batch.count}} instances)</p> + </div> + </div> + <hr/> + </div> + </div> +</template> + +<script> +export default { + methods: { + fetch: function() { + this.$store.dispatch('sendMessage', "fetch_passes"); + } + }, + computed: { + disabled() { + return !this.$store.state.connected + }, + passes() { + return this.$store.state.passes + } + }, +} +</script> + +<style> +</style> |