aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-05-29 11:15:31 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-05-30 11:38:32 +0530
commit130de8b8e645867c5c834655d8b94defea599681 (patch)
treea424f9a22a78ebd232866e49f7982947ffce5758 /components/script/script_thread.rs
parentf014f15d4eaeb52e38faee15dc9a4d0f700d1d7c (diff)
downloadservo-130de8b8e645867c5c834655d8b94defea599681.tar.gz
servo-130de8b8e645867c5c834655d8b94defea599681.zip
Implement GPURenderPipeline
Add webidl for GPURenderPipeline and implement GPUDevice.createRenderPipeline()
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 639cca400eb..967b23e5de4 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1955,6 +1955,7 @@ impl ScriptThread {
WebGPUMsg::FreeCommandBuffer(id) => self.gpu_id_hub.lock().kill_command_buffer_id(id),
WebGPUMsg::FreeSampler(id) => self.gpu_id_hub.lock().kill_sampler_id(id),
WebGPUMsg::FreeShaderModule(id) => self.gpu_id_hub.lock().kill_shader_module_id(id),
+ WebGPUMsg::FreeRenderPipeline(id) => self.gpu_id_hub.lock().kill_render_pipeline_id(id),
WebGPUMsg::Exit => *self.webgpu_port.borrow_mut() = None,
_ => {},
}