servo/components
Delan Azabani 17f3c45d4f
Add initial support for offscreen rendering (#30767)
* Offscreen rendering

* shared memory case never actually rendered to backbuffer

* fix compile errors (in theory) when gl crate feature disabled

* update doc comments

* remove dark CentralPanel border covering edges of viewport

* clear to transparent, to avoid pink artifacts

* fix mouse input for browser being consumed by egui

* avoid destroying OpenGL resources unless resizing window

* clean up compositing::gl

* fix flickering around edges after resizing window

* unset invalidate_last_render_target after invalidating

* fix incorrect DRAW_FRAMEBUFFER name when blitting

* bind the widget surface fbo before painting egui

* make composite_specific_target take CompositeTarget, not Option

* compositing: remove cargo feature “gl”

* capitalise FBO in bind log message

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* capitalise FBO in drop log message

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* rename RenderTargetInfo fields and use OnceCell for next field

* rename RenderTargetInfo.read to read_back_from_gpu

* document servo_framebuffer_id in Minibrowser::update

* rename needs_fbo to use_offscreen_framebuffer

* capitalise FBO in unbind log message

* clarify the purpose of Minibrowser::on_event

* fix unused_must_use warning

* reduce nesting in Minibrowser::update

* use implicit format argument in panic

* store Minibrowser.widget_surface_fbo as glow type

* explain why servo_framebuffer_id is None in first call site

* rename output_framebuffer_id to offscreen_framebuffer_id

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-12-13 02:49:25 +00:00
..
allocator Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
atoms Further changes required by Servo 2023-11-06 09:35:57 +01:00
background_hang_monitor Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
bluetooth Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
canvas Further changes required by Servo 2023-11-21 15:36:35 +01:00
compositing Add initial support for offscreen rendering (#30767) 2023-12-13 02:49:25 +00:00
config Add initial support for table box tree construction (#30799) 2023-12-05 11:10:45 +00:00
config_plugins Remove use of proc_macro_diagnostics feature (#30745) 2023-11-17 10:36:09 +00:00
constellation Add multiview feature flag in compositing and constellation (#30840) 2023-12-12 08:50:58 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
derive_common Further changes required by Servo 2023-11-24 08:57:14 +01:00
devtools Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
dom_struct Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
domobject_derive Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geometry Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
gfx Stop sending " " to linebreaker for replaced content (#30740) 2023-11-30 14:46:14 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
layout_2020 Use app units in replaced elements (#30825) 2023-12-11 11:30:37 +00:00
layout_thread Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
layout_thread_2020 Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
malloc_size_of style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
media Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
metrics Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
net Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
pixels Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
rand Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
range Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
remutex Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script Bump mozangle to 0.5.0 (#30546) 2023-12-08 11:15:01 +00:00
selectors Further changes required by Servo 2023-11-24 08:57:14 +01:00
servo Add initial support for offscreen rendering (#30767) 2023-12-13 02:49:25 +00:00
servo_arc style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
shared constellation: notify embedder when events are hit-tested to browsers (#30841) 2023-12-12 06:36:27 +00:00
size_of_test Further changes required by Servo 2023-08-16 17:46:41 +02:00
style Generalize LengthPercentageOrAuto impl to Generic Type (#30824) 2023-12-06 10:20:43 +00:00
style_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
style_traits style: Remove viewport rule code 2023-11-24 08:57:14 +01:00
to_shmem style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
to_shmem_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
url Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webdriver_server Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webgpu Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webrender_surfman Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00