mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement GPURenderPassEncoder
Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods.
This commit is contained in:
parent
e452570be0
commit
1d4efb48ba
11 changed files with 524 additions and 35 deletions
|
@ -54,6 +54,12 @@ impl GPURenderPipeline {
|
|||
}
|
||||
}
|
||||
|
||||
impl GPURenderPipeline {
|
||||
pub fn id(&self) -> WebGPURenderPipeline {
|
||||
self.render_pipeline
|
||||
}
|
||||
}
|
||||
|
||||
impl GPURenderPipelineMethods for GPURenderPipeline {
|
||||
/// https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label
|
||||
fn GetLabel(&self) -> Option<DOMString> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue