mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 20:14:37 +00:00
sw_raster image: add error logs to notify issues.
This commit is contained in:
parent
551d83add0
commit
cdf7019b19
1 changed files with 12 additions and 12 deletions
|
@ -333,12 +333,12 @@ static bool _rasterTranslucentImageRle(SwSurface* surface, const SwRleData* rle,
|
||||||
{
|
{
|
||||||
if (surface->compositor) {
|
if (surface->compositor) {
|
||||||
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentImageRleAlphaMask()");
|
||||||
// return _translucentImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
// return _translucentImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
||||||
}
|
}
|
||||||
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentImageRleInvAlphaMask()");
|
||||||
// return _translucentImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
// return _translucentImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return _translucentImageRle(surface, rle, img, w, h, opacity, invTransform);
|
return _translucentImageRle(surface, rle, img, w, h, opacity, invTransform);
|
||||||
|
@ -373,12 +373,12 @@ static bool _rasterTranslucentUpScaleImageRle(SwSurface* surface, const SwRleDat
|
||||||
{
|
{
|
||||||
if (surface->compositor) {
|
if (surface->compositor) {
|
||||||
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentUpScaleImageRleAlphaMask()");
|
||||||
// return _translucentUpScaleImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
// return _translucentUpScaleImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
||||||
}
|
}
|
||||||
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentUpScaleImageRleInvAlphaMask()");
|
||||||
// return _translucentUpScaleImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
// return _translucentUpScaleImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return _translucentUpScaleImageRle(surface, rle, img, w, h, opacity, invTransform);
|
return _translucentUpScaleImageRle(surface, rle, img, w, h, opacity, invTransform);
|
||||||
|
@ -413,12 +413,12 @@ static bool _rasterTranslucentDownScaleImageRle(SwSurface* surface, const SwRleD
|
||||||
{
|
{
|
||||||
if (surface->compositor) {
|
if (surface->compositor) {
|
||||||
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
if (surface->compositor->method == CompositeMethod::AlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentDownScaleImageRleAlphaMask()");
|
||||||
// return _translucentDownScaleImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform, scaling);
|
// return _translucentDownScaleImageRleAlphaMask(surface, rle, img, w, h, opacity, invTransform, scaling);
|
||||||
}
|
}
|
||||||
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
if (surface->compositor->method == CompositeMethod::InvAlphaMask) {
|
||||||
//TODO: implement
|
TVGERR("Missing Implementation _translucentDownScaleImageRleInvAlphaMask()");
|
||||||
// return _translucentDownScaleImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform, scaling);
|
// return _translucentDownScaleImageRleInvAlphaMask(surface, rle, img, w, h, opacity, invTransform, scaling);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return _translucentDownScaleImageRle(surface, rle, img, w, h, opacity, invTransform, scaling);
|
return _translucentDownScaleImageRle(surface, rle, img, w, h, opacity, invTransform, scaling);
|
||||||
|
|
Loading…
Add table
Reference in a new issue