Commit 19847b65 authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

From now on on peripheral displays the drivers will no longer do automatically…

From now on on peripheral displays the drivers will no longer do automatically refresh of the display, this will increase the speed of of painting, but the application will need to update the display after the vbuffer is modified.
parent a9db3550
......@@ -231,7 +231,7 @@ void GI::Device::Display::St7565::_drawRectangle(void *driverHandlerPtr, signed
_drawPixel(driverHandlerPtr, x, LineCnt, color);
}
}
_refresh(driverHandler);
//_refresh(driverHandler);
return;
}
int _x_end = x_end;
......@@ -277,7 +277,7 @@ void GI::Device::Display::St7565::_drawRectangle(void *driverHandlerPtr, signed
//ScreenBuff[(x_end - 1) + (driverHandler->Width * LineCnt)] = _color;
}
}
_refresh(driverHandler);
//_refresh(driverHandler);
}
void GI::Device::Display::St7565::_drawHLine(void *driverHandlerPtr, signed int X1, signed int X2, signed int Y, unsigned char width, unsigned int color)
......@@ -306,7 +306,7 @@ void GI::Device::Display::St7565::_drawHLine(void *driverHandlerPtr, signed int
for(; _Y_ < Y + Half_width2; _Y_++)
_drawPixel(driverHandler,(unsigned int)(X1_Tmp),(unsigned int)(_Y_), color);
}
_refresh(driverHandler);
//_refresh(driverHandler);
}
void GI::Device::Display::St7565::_drawVLine(void *driverHandlerPtr, signed int Y1, signed int Y2, signed int X, unsigned char width, unsigned int color)
......@@ -335,7 +335,7 @@ void GI::Device::Display::St7565::_drawVLine(void *driverHandlerPtr, signed int
for(; _X_ < X + Half_width2; _X_++)
_drawPixel(driverHandler,(unsigned int)(_X_),(unsigned int)(Y1_Tmp), color);
}
_refresh(driverHandler);
//_refresh(driverHandler);
}
void GI::Device::Display::St7565::_clear(void *driverHandlerPtr, unsigned int color)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment