Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenGL renderer with asynchronous loading of assets (experiment).

NotificationsYou must be signed in to change notification settings

dobrakmato/async-opengl-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL renderer with asynchronous loading of assets (experiment).

The application first starts with rendering quad without texture.

https://i.imgur.com/7mzQGNy.png

After 1 second a load request is dispatched tocontent loadingsystem, which asynchronously loads file from disk, decodes it anduploads image data to GPU without blocking or stopping the mainthread, so the OpenGL application continues to run smoothly(without any fps drop) even when data is being uploaded to GPU.

The whole thing is based on creating another OpenGL context inuploader thread, which shares resources with themain renderthread. The communication is synchronized using GLfences.

https://i.imgur.com/q8iqMb2.png

About

OpenGL renderer with asynchronous loading of assets (experiment).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp