.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@12852 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-03-19 07:34:18 +00:00
parent da1662298b
commit 9db284fe7d
6 changed files with 0 additions and 9 deletions

View file

@ -124,7 +124,6 @@ void SetSpellPath(const String& p)
static String sZet(FileIn& in, int offset, int len)
{
RTIMING("sZet");
in.Seek(offset);
return ZDecompress(in.Get(len));
}
@ -247,7 +246,6 @@ bool SpellWordRaw(const WString& wrd, int lang, Vector<String> *withdia)
bool AllSpellerWords(int lang, Gate<String> iter)
{
RTIMING("AllSpellerWords");
Speller *f = sGetSpeller(lang);
if(!f)
return false;

View file

@ -64,8 +64,6 @@ void GLDrawPolylines(const GLContext2D& dd, Pointf at, const GLVertexData& mesh,
void DashPolyline(Vector<Vector<Pointf>>& polyline, const Vector<Pointf>& line,
const Vector<double>& pattern, double distance)
{
RTIMING("DashPolyline");
struct LineStore : LinearPathConsumer {
Vector<Vector<Pointf>>& polyline;

View file

@ -261,7 +261,6 @@ void DrawGL::DoDrawPolygons(const Vector<Vector<Pointf>>& path, Color color)
n += p.GetCount();
if(n > TESS_LIMIT) {
Flush();
RTIMING("StencilPolygon");
GLVertexData data;
GLPolygons(data, path);
GLDrawPolygons(dd, Pointf(0, 0), data, Sizef(1, 1), color);
@ -271,7 +270,6 @@ void DrawGL::DoDrawPolygons(const Vector<Vector<Pointf>>& path, Color color)
Vector<Pointf> vertex;
Vector<Tuple<int, int, int>> triangle;
sTesselateCounter++;
RTIMING("Tesselate");
Tesselate(path, vertex, triangle, false);
int ii0;
for(int i = 0; i < vertex.GetCount(); i++) {

View file

@ -4,7 +4,6 @@ namespace Upp {
void Polyline(GLTriangles& tr, const Vector<Pointf>& p, double width, Color color, double alpha, bool close)
{
RTIMING("Polyline");
int m = 1;
if(p.GetCount() < 2)
return;

View file

@ -564,7 +564,6 @@ void PlotterCtrl::PostRefresh()
void PlotterCtrl::Paint(Draw& draw)
{
RTIMING("PlotterCtrl::Paint");
int level = draw.GetCloffLevel();
try {
LLOGBLOCK("PlotterCtrl::Paint");

View file

@ -548,7 +548,6 @@ static inline Pointf Cvp(double x, double y, double sina, double cosa)
Image BilinearRotate(const Image& m, int angle)
{
RTIMING("Rotate");
Size isz = m.GetSize();
Point center = isz / 2;
Pointf centerf = Pointf(Point(isz)) / 2;