优化
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user