mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12852 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
da1662298b
commit
9db284fe7d
6 changed files with 0 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -564,7 +564,6 @@ void PlotterCtrl::PostRefresh()
|
|||
|
||||
void PlotterCtrl::Paint(Draw& draw)
|
||||
{
|
||||
RTIMING("PlotterCtrl::Paint");
|
||||
int level = draw.GetCloffLevel();
|
||||
try {
|
||||
LLOGBLOCK("PlotterCtrl::Paint");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue