app: s/sprintf/g_snprintf/ in xcf_save_image()
[gimp.git] / devel-docs / gegl-porting-plan.txt
blobcfc52206e63c5f3f573978bc54c0a19530607da2
1 GEGL Porting Plan
2 =================
4 This file describes a detailed plan for how we will integrate GEGL
5 into GIMP. Please update it with your own ideas and findings.
7 Porting GIMP to GEGL will be a multi-stage process. On a high level,
8 the stages are:
10 Stages:
11 =======
13  1. Implement GIMP's 8 bpc code with GEGL data structures
14  2. Gradually port GIMP's 8 bpc code to 32 bpc
15  3. Once the GIMP base layer (almost) only knows 32 bpc and GEGL, add
16     goodies like adjustment layers and layer effects on top
19 First stage:
20 ------------
22  1. Kill Tile and TileManager
23  2. Change PixelRegion::tiles : TileManager * to PixelRegion::gegl_buffer : GeglBuffer *
24  3. Map PixelRegion::gegl_buffer of type RGBA float to PixelRegion::data of type RGBA u8
25  4. Implement functions like scale_region() with GEGL (for the
26     gegl_buffer case. For the data case, we can keep the old code)
27  5. ???
30 Second stage:
31 -------------
33  1. ???
36 Third stage:
37 ------------
39  1. ???