mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
blit fix (thx redblue)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6045be8dee
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-06-13 (Sat, 13 Jun 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -460,6 +460,8 @@ void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy
|
||||
if(dx <1 || dy <1 )
|
||||
return;
|
||||
|
||||
// do not accelerate small areas
|
||||
if (fix.smem_start != 0 && dx > 25 && dy > 25)
|
||||
bcm_accel_fill(fix.smem_start, screeninfo.xres, screeninfo.yres, stride,x, y, dx, dy,col);
|
||||
|
||||
int line = 0;
|
||||
@@ -474,6 +476,6 @@ void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy
|
||||
}
|
||||
|
||||
mark(x, y, x+dx, y+dy);
|
||||
blit();
|
||||
//blit();
|
||||
}
|
||||
#endif
|
||||
|
@@ -461,6 +461,8 @@ void CFbAccelMIPS::paintRect(const int x, const int y, const int dx, const int d
|
||||
if(dx <1 || dy <1 )
|
||||
return;
|
||||
|
||||
// do not accelerate small areas
|
||||
if (fix.smem_start != 0 && dx > 25 && dy > 25)
|
||||
bcm_accel_fill(fix.smem_start, screeninfo.xres, screeninfo.yres, stride,x, y, dx, dy,col);
|
||||
|
||||
int line = 0;
|
||||
@@ -475,6 +477,6 @@ void CFbAccelMIPS::paintRect(const int x, const int y, const int dx, const int d
|
||||
}
|
||||
|
||||
mark(x, y, x+dx, y+dy);
|
||||
blit();
|
||||
//blit();
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user