mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #22798 - jdm:webgl-trace, r=nox
Report all messages processed by the webgl thread. This might be useful for figuring out what a WebGL-based page is doing when it's not behaving correctly. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they are debug-logging changes only. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22798) <!-- Reviewable:end -->
This commit is contained in:
commit
1ec2de258d
3 changed files with 36 additions and 6 deletions
|
@ -708,7 +708,7 @@ impl WebGLRenderingContext {
|
|||
alpha_treatment,
|
||||
y_axis_treatment,
|
||||
pixel_format: pixels.pixel_format,
|
||||
data: pixels.data,
|
||||
data: pixels.data.into(),
|
||||
});
|
||||
|
||||
if let Some(fb) = self.bound_framebuffer.get() {
|
||||
|
@ -783,7 +783,7 @@ impl WebGLRenderingContext {
|
|||
alpha_treatment,
|
||||
y_axis_treatment,
|
||||
pixel_format: pixels.pixel_format,
|
||||
data: pixels.data,
|
||||
data: pixels.data.into(),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue