al_unlock_bitmap
void al_unlock_bitmap(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0
Unlock a previously locked bitmap or bitmap region. If the bitmap is a display bitmap, the texture will be updated to match the system memory copy (unless it was locked read only).
See also: al_lock_bitmap, al_lock_bitmap_region
Examples: ex_blend, ex_blit, ex_clip, ex_draw, ex_drawpixels, ex_filter, ex_lockbitmap, ex_logo, ex_premulalpha, ex_threads2
Most helpful discussions:
- [ Allegro 5.2.11 ] al_put_pixel and al_get_pixel very very slow compared to A4 !
- Locking bitmap is slower than not (?)
- Performance issue regarding al_put_pixel and raycasting
- Shader Problems - GLSL sampler3d() - 5.1.9
- Get binary stream of bitmap - al_save_bitmap_f() or something like this
- Mode 7 graphics in Allegro 5...
- Blit to Android display
- open GL + al_draw_indexed_prim
- Blit bitmap to display
- Allegro 5 - Bitmap Deferred Corruption(?)
Other recent discussions:
- Vanille code crashes
- Big FPS problem
- "al_put_pixel" not working
- Bad memory leak in al_get_pixel on Linux?
- [A5] Masked drawing?
- using allegro with RGB image array ?
- Floodfill...ish... math.
- Best way of manipulating pixels
- Looking for allegro expert, that would help us with development
- Allegro Beginner questions