aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/gl.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix save to image on Windows (#32914)Cristian Brinza2024-08-031-6/+64
| | | | | | | | | | | | | | | | | | | | | * Read pixels in same format (gl::RGBA) as the texture Signed-off-by: crbrz <cristianb@gmail.com> * Add read pixels test Signed-off-by: crbrz <cristianb@gmail.com> * Use patched surfman Signed-off-by: crbrz <cristianb@gmail.com> * Update surfman to 0.9.5 Signed-off-by: crbrz <cristianb@gmail.com> --------- Signed-off-by: crbrz <cristianb@gmail.com>
* Fix missing alpha value when using CompositeTarget::Fbo (#32453)Ngo Iok Ui (Wu Yu Wei)2024-06-101-2/+2
|
* clippy: Fix assorted warnings in `components/` (#31628)eri2024-03-131-1/+1
| | | | | | | * clippy: fix assorted warnings in `components/` * fix: new and default * fix: review comments
* Add initial support for offscreen rendering (#30767)Delan Azabani2023-12-131-108/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Implement TakeElementScreenshot WebDriver commandGeorge Roman2019-08-201-2/+4
|
* WR update: new viewport semanticPaul Rouget2019-03-221-5/+5
|
* Delete texture when taking a screenshot, not a buffer.Josh Matthews2019-01-171-1/+1
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+2
|
* Format component compositing #21373kingdido9992018-08-311-23/+50
|
* Make gleam optional for compositor, switch various names from glutin to winitDzmitry Malyshau2018-04-181-0/+97