|
Oolite
|
import "OOPixMap.h"
Include dependency graph for OOTextureScaling.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| OOPixMap | OOScalePixMap (OOPixMap srcPixMap, OOPixMapDimension dstWidth, OOPixMapDimension dstHeight, BOOL leaveSpaceForMipMaps) |
| BOOL | OOGenerateMipMaps (void *textureBytes, OOPixMapDimension width, OOPixMapDimension height, OOPixMapFormat format) |
| BOOL OOGenerateMipMaps | ( | void * | textureBytes, |
| OOPixMapDimension | width, | ||
| OOPixMapDimension | height, | ||
| OOPixMapFormat | format | ||
| ) |
Definition at line 343 of file OOTextureScaling.m.
References EXPECT_NOT, GenerateMipMaps1(), GenerateMipMaps2(), GenerateMipMaps4(), kOOLogParameterError, kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, kOOPixMapRGBA, OOLog, OOPixMapFormatName(), and OORoundUpToPowerOf2_PixMap.
Here is the call graph for this function:| OOPixMap OOScalePixMap | ( | OOPixMap | srcPixMap, |
| OOPixMapDimension | dstWidth, | ||
| OOPixMapDimension | dstHeight, | ||
| BOOL | leaveSpaceForMipMaps | ||
| ) |
Definition at line 245 of file OOTextureScaling.m.
References DUMP_SCALE_DUMP, DUMP_SCALE_PREPARE, EnsureCorrectDataSize(), EXPECT_NOT, FAIL, OOPixMap::format, OOPixMap::height, kOONullPixMap, OOAllocatePixMap(), OOIsValidPixMap(), OOLogGenericParameterError, OOMakePixMap(), OOPixMapBytesPerPixel(), OOPixMap::pixels, OOPixMap::rowBytes, SqueezeHorizontally(), SqueezeVertically(), StretchHorizontally(), StretchVertically(), and OOPixMap::width.
Referenced by OOCombinedEmissionMapGenerator::anisotropy, and OOConvertCubeMapToLatLong().
Here is the call graph for this function:
Here is the caller graph for this function: