diff options
author | crupest <crupest@outlook.com> | 2021-10-22 20:51:24 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-22 20:51:24 +0800 |
commit | ed640ca9e3c7482856a0248ea38adafc86a7d4c8 (patch) | |
tree | e0813b201a460d104a5cb3cf6f8bbc02deef066c /src/osx/graphics | |
parent | 0164c6ff9a736f35e50e24361ee63b19556b8885 (diff) | |
download | cru-ed640ca9e3c7482856a0248ea38adafc86a7d4c8.tar.gz cru-ed640ca9e3c7482856a0248ea38adafc86a7d4c8.tar.bz2 cru-ed640ca9e3c7482856a0248ea38adafc86a7d4c8.zip |
...
Diffstat (limited to 'src/osx/graphics')
-rw-r--r-- | src/osx/graphics/quartz/Painter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osx/graphics/quartz/Painter.cpp b/src/osx/graphics/quartz/Painter.cpp index 3f859571..406e3273 100644 --- a/src/osx/graphics/quartz/Painter.cpp +++ b/src/osx/graphics/quartz/Painter.cpp @@ -21,9 +21,9 @@ QuartzCGContextPainter::QuartzCGContextPainter( size_(size), on_end_draw_(std::move(on_end_draw)) { Expects(cg_context); - log::TagDebug(log_tag, - u"Created with CGContext: {}, Auto Release: {}, Size: {}.", - cg_context, auto_release, size_); + // log::TagDebug(log_tag, + // u"Created with CGContext: {}, Auto Release: {}, Size: {}.", + // cg_context, auto_release, size_); } QuartzCGContextPainter::~QuartzCGContextPainter() { @@ -53,7 +53,7 @@ void QuartzCGContextPainter::Clear(const Color& color) { color.GetFloatAlpha()); CGContextFillRect(cg_context_, Convert(Rect{Point{}, size_})); - log::TagDebug(log_tag, u"Clear with color {}, size {}.", color, size_); + // log::TagDebug(log_tag, u"Clear with color {}, size {}.", color, size_); } void QuartzCGContextPainter::DrawLine(const Point& start, const Point& end, @@ -159,7 +159,7 @@ void QuartzCGContextPainter::DoEndDraw() { if (cg_context_) { CGContextFlush(cg_context_); CGContextSynchronize(cg_context_); - log::TagDebug(log_tag, u"End draw and flush."); + // log::TagDebug(log_tag, u"End draw and flush."); on_end_draw_(this); } |