MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / blit

Method blit

src/render.cpp:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void wf::render_buffer_t::blit(wf::auxilliary_buffer_t& source, wlr_fbox src_box,
249 wf::geometry_t dst_box, wlr_scale_filter_mode filter_mode) const
250{
251 if (wlr_texture *src_wlr_tex = source.get_texture())
252 {
253 do_blit(src_wlr_tex, src_box, dst_box, filter_mode);
254 } else
255 {
256 LOGE("Failed to get source texture for auxilliary_buffer_t copy!");
257 }
258}
259
260void wf::render_buffer_t::blit(const wf::render_buffer_t& source, wlr_fbox src_box,
261 wf::geometry_t dst_box, wlr_scale_filter_mode filter_mode) const

Callers 1

wayfire_zoom_screenClass · 0.80

Calls 2

get_textureMethod · 0.45
get_bufferMethod · 0.45

Tested by

no test coverage detected