add configure option (--diable-arm-acc) to disable arm hardware acceleration

Conflicts:
	src/driver/fb_accel.h
	src/driver/fb_accel_arm.cpp
	src/gui/channellist.cpp
This commit is contained in:
TangoCash
2020-05-29 00:44:16 +02:00
committed by Thilo Graf
parent 170aaed311
commit 055ced60db
4 changed files with 19 additions and 4 deletions

View File

@@ -225,9 +225,11 @@ class CFbAccelARM
int scale2Res(int size);
bool fullHdAvailable();
void setOsdResolutions();
#if BOXMODEL_BRE2ZE4K || BOXMODEL_HD51 || BOXMODEL_H7
#if ENABLE_ARM_ACC
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
void paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col);
#endif
#endif
};
class CFbAccelMIPS

View File

@@ -390,7 +390,8 @@ bool CFbAccelARM::fullHdAvailable()
return false;
}
#if BOXMODEL_BRE2ZE4K || BOXMODEL_HD51 || BOXMODEL_H7
#if ENABLE_ARM_ACC
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col)
{
if(dx <1 || dy <1 )
@@ -401,3 +402,4 @@ void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy
blit();
}
#endif
#endif