mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
disable CFbAccelARM::paintRect for VU+, need fix
Origin commit data
------------------
Branch: ni/coolstream
Commit: 14421ab811
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-04-19 (Sun, 19 Apr 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -225,7 +225,9 @@ class CFbAccelARM
|
|||||||
int scale2Res(int size);
|
int scale2Res(int size);
|
||||||
bool fullHdAvailable();
|
bool fullHdAvailable();
|
||||||
void setOsdResolutions();
|
void setOsdResolutions();
|
||||||
|
#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);
|
void paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
class CFbAccelMIPS
|
class CFbAccelMIPS
|
||||||
|
@@ -49,13 +49,16 @@
|
|||||||
static unsigned int displaylist[1024];
|
static unsigned int displaylist[1024];
|
||||||
static int ptr;
|
static int ptr;
|
||||||
static bool supportblendingflags = true;
|
static bool supportblendingflags = true;
|
||||||
static bool accumulateoperations = false;
|
|
||||||
|
|
||||||
#define P(x, y) do { displaylist[ptr++] = x; displaylist[ptr++] = y; } while (0)
|
#define P(x, y) do { displaylist[ptr++] = x; displaylist[ptr++] = y; } while (0)
|
||||||
#define C(x) P(x, 0)
|
#define C(x) P(x, 0)
|
||||||
|
|
||||||
static int fb_fd = -1;
|
static int fb_fd = -1;
|
||||||
static int exec_list(void);
|
static int exec_list(void);
|
||||||
|
|
||||||
|
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
||||||
|
static bool accumulateoperations = false;
|
||||||
|
|
||||||
bool bcm_accel_has_alphablending()
|
bool bcm_accel_has_alphablending()
|
||||||
{
|
{
|
||||||
return supportblendingflags;
|
return supportblendingflags;
|
||||||
@@ -85,6 +88,7 @@ int bcm_accel_sync()
|
|||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
void bcm_accel_blit(
|
void bcm_accel_blit(
|
||||||
int src_addr, int src_width, int src_height, int src_stride, int src_format,
|
int src_addr, int src_width, int src_height, int src_stride, int src_format,
|
||||||
@@ -156,7 +160,7 @@ void bcm_accel_blit(
|
|||||||
|
|
||||||
if (!accumulateoperations) exec_list();
|
if (!accumulateoperations) exec_list();
|
||||||
}
|
}
|
||||||
#endif
|
#endif //if 0
|
||||||
|
|
||||||
void bcm_accel_fill(
|
void bcm_accel_fill(
|
||||||
int dst_addr, int dst_width, int dst_height, int dst_stride,
|
int dst_addr, int dst_width, int dst_height, int dst_stride,
|
||||||
@@ -220,6 +224,7 @@ void bcm_accel_fill(
|
|||||||
|
|
||||||
if (!accumulateoperations) exec_list();
|
if (!accumulateoperations) exec_list();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int exec_list(void)
|
static int exec_list(void)
|
||||||
{
|
{
|
||||||
@@ -385,6 +390,7 @@ bool CFbAccelARM::fullHdAvailable()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#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)
|
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 )
|
if(dx <1 || dy <1 )
|
||||||
@@ -394,3 +400,4 @@ void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy
|
|||||||
mark(x, y, x+dx, y+dy);
|
mark(x, y, x+dx, y+dy);
|
||||||
blit();
|
blit();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user