This commit is contained in:
2026-07-23 13:41:30 +08:00
parent 0545bb6872
commit 6ece8054ac
22 changed files with 211 additions and 350 deletions
+3 -4
View File
@@ -3,8 +3,8 @@
#include <QTime>
#include "../RenderAble.h"
namespace YSG {
void LIB_DECL startAllRenderThread();
class TimerThread;
void LIB_DECL startRenderScheduler();
class RenderScheduler;
struct PlotPrivate;
class PerformanceShower;
enum class Plot_Buffer_Acquire_Mode : std::uint8_t {
@@ -17,7 +17,6 @@ namespace YSG {
bool usePerformanceShower();
void set_usePerformanceShower(bool use);
void bindRenderThread(const QString& threadName);
virtual void init() {
initLayer();
}
@@ -65,7 +64,7 @@ namespace YSG {
void finishRender();
void requestUpdate(const QRegion& region);
void renderColor(RenderAble::ColorBuffer* color, QSize size, QColor background, std::uint64_t version);
friend class TimerThread;
friend class RenderScheduler;
friend struct RenderAble;
};