class EncodedBufferImage;
typedef IntrusivePtr<EncodedBufferImage> EncodedBufferImagePtr;
-class ResourceClient;
-class ResourceManager;
-
namespace SceneGraph
{
class UpdateManager;
/**
* Construct using the supplied load policy.
*/
- EncodedBufferImage( ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT ) : Image( releasePol ) {}
+ EncodedBufferImage() : Image() {}
public:
/**
* @param [in] encodedImageByteCount The size in bytes of the buffer pointed to
* by encodedImage.
* @param [in] attributes Requested parameters for loading (size, scaling etc.).
- * @param [in] releasePol The ReleasePolicy to apply to image. Since it cannot
- * be recreated by dali, the default of Never will usually make sense.
* @return A pointer to a newly allocated object, or null on error.
*/
static EncodedBufferImagePtr New(const uint8_t * const encodedImage,
const std::size_t encodedImageByteCount,
- const ImageAttributes& attributes,
- const ReleasePolicy releasePol=Dali::Image::NEVER);
+ ImageDimensions size = ImageDimensions(0, 0),
+ FittingMode::Type scalingMode = FittingMode::SHRINK_TO_FIT,
+ SamplingMode::Type samplingMode = SamplingMode::BOX,
+ bool orientationCorrection = true);
};
} // namespace Internal