mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 00:17:03 +00:00
Swap chains, part 2 (#94)
This commit is contained in:
@@ -13,12 +13,23 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include <nxt/nxtcpp.h>
|
||||
#include <nxt/nxt_wsi.h>
|
||||
|
||||
bool InitSample(int argc, const char** argv);
|
||||
void DoSwapBuffers();
|
||||
void DoFlush();
|
||||
bool ShouldQuit();
|
||||
|
||||
struct GLFWwindow;
|
||||
struct GLFWwindow* GetGLFWWindow();
|
||||
|
||||
nxt::Device CreateCppNXTDevice();
|
||||
uint64_t GetSwapChainImplementation();
|
||||
nxt::SwapChain GetSwapChain(const nxt::Device& device);
|
||||
nxt::RenderPass CreateDefaultRenderPass(const nxt::Device& device);
|
||||
nxt::TextureView CreateDefaultDepthStencilView(const nxt::Device& device);
|
||||
void GetNextFramebuffer(const nxt::Device& device,
|
||||
const nxt::RenderPass& renderPass,
|
||||
const nxt::SwapChain& swapchain,
|
||||
const nxt::TextureView& depthStencilView,
|
||||
nxt::Texture* backbuffer,
|
||||
nxt::Framebuffer* framebuffer);
|
||||
|
||||
Reference in New Issue
Block a user