Changes between Version 3 and Version 4 of rfc51_rasterio_resampling_progress
- Timestamp:
- Dec 1, 2014, 10:42:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc51_rasterio_resampling_progress
v3 v4 122 122 GDALDataset and GDALRasterBand (non virtual) RasterIO() and (virtual) 123 123 IRasterIO() methods have a new final argument psExtraArg of type GDALRasterIOExtraArg*. 124 This extra argument defaults to NULL for code using GDAL, but is required for 125 all in-tree code, so as to avoid that in-tree code forgets to forwards psExtraArg 126 it might have returned from a caller. 124 127 125 128 GDALDataset::RasterIO() and GDALRasterBand::RasterIO() can accept a NULL pointer … … 197 200 198 201 * C++ users of the GDALRasterBand::RasterIO() and 199 GDALDataset::RasterIO() API must add the new GDALRasterIOExtraArg* psExtraArg 200 argument (potentially to NULL). It would have been possible to declare it as 201 optional, but it would have then been more error prone to forget forwarding 202 psExtraArg. This was especially true in the conversion phase, but now it is 203 done, it isn't perhaps needed any more. 202 GDALDataset::RasterIO() API do not need to change their code, since the new 203 GDALRasterIOExtraArg* psExtraArg argument is optional for out-of-tree code. 204 204 205 205 * Out-of-tree drivers that implement IRasterIO() must be changed to accept the new