MCPcopy Create free account
hub / github.com/OSSystems/EasySplash / unload_image

Method unload_image

src/g2d/g2d_display.cpp:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173
174
175void g2d_display::unload_image(image_handle const p_image_handle)
176{
177 g2d_image g2dimg;
178 g2dimg.m_g2d_buffer = reinterpret_cast < struct g2d_buf * > (p_image_handle);
179 auto iter = m_g2d_images.find(g2dimg);
180 g2dimg.m_g2d_buffer = nullptr;
181
182 if (iter != m_g2d_images.end())
183 m_g2d_images.erase(iter);
184}
185
186
187void g2d_display::draw_image(image_handle const p_image_handle, long const p_x1, long const p_y1, long const p_x2, long const p_y2)

Callers 1

animationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected