mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-18 01:15:26 +00:00
Window resizing stability fixes
This commit is contained in:
@@ -53,6 +53,9 @@ public:
|
||||
virtual IGraphicsCommandQueue* getCommandQueue()=0;
|
||||
virtual IGraphicsDataFactory* getDataFactory()=0;
|
||||
|
||||
/* Creates a new context on current thread!! Call from main client thread */
|
||||
virtual IGraphicsDataFactory* getMainContextDataFactory()=0;
|
||||
|
||||
/* Creates a new context on current thread!! Call from client loading thread */
|
||||
virtual IGraphicsDataFactory* getLoadContextDataFactory()=0;
|
||||
|
||||
|
||||
@@ -196,6 +196,9 @@ public:
|
||||
virtual IGraphicsCommandQueue* getCommandQueue()=0;
|
||||
virtual IGraphicsDataFactory* getDataFactory()=0;
|
||||
|
||||
/* Creates a new context on current thread!! Call from main client thread */
|
||||
virtual IGraphicsDataFactory* getMainContextDataFactory()=0;
|
||||
|
||||
/* Creates a new context on current thread!! Call from client loading thread */
|
||||
virtual IGraphicsDataFactory* getLoadContextDataFactory()=0;
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ struct IGraphicsCommandQueue
|
||||
virtual void setViewport(const SWindowRect& rect)=0;
|
||||
|
||||
virtual void resizeRenderTexture(ITextureR* tex, size_t width, size_t height)=0;
|
||||
virtual void flushBufferUpdates()=0;
|
||||
|
||||
virtual void setClearColor(const float rgba[4])=0;
|
||||
virtual void clearTarget(bool render=true, bool depth=true)=0;
|
||||
|
||||
Reference in New Issue
Block a user