al_lock_bitmap_region_blocked(3)

al_lock_bitmap_region_blocked3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_LOCKED_REGION *al_lock_bitmap_region_blocked(ALLEGRO_BITMAP *bitmap,
   int x_block, int y_block, int width_block, int height_block, int flags)

Overview

Like al_lock_bitmap_blocked(3), but allows locking a sub-region, for performance. Unlike al_lock_bitmap_region(3) the region specified in terms of blocks and not pixels.

Since

5.1.9

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.