Похожие чаты

Have someone worked with opengl and multithreaded games? I'm working on

a 2D game and previously was doing everything in one thread, now I want to move rendering to a separate thread (because I reorganized how other game logic is being executed and can't use the main thread for rendering anymore).
I wonder what are the restrictions on what should be done only in the rendering thread; for example, should I load textures only in that thread also or it doesn't matter where I load them as long as I bind them only in the rendering thread?

7 ответов

10 просмотров

To be honenst, I'm far from game engine development, so take my words with a grain of salt, but since I do multi-threaded programming for a living I think that you should rather try to answer the question of what stuff to offload from the main thread.

multithreaded rendering?

also i remember a nvidia driver config about multithreaded optimization, don't know how will effect your context of work

why are you avoiding game engines?

Pavel- Автор вопроса
Déjà vu
multithreaded rendering?

Not exactly multithreaded, single-threaded but not in main thread :)

Pavel- Автор вопроса
Déjà vu
why are you avoiding game engines?

My aim is to learn how to write subsystems of an engine

Похожие вопросы

Обсуждают сегодня

Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
55
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
35
How Will #Monero Be Attacked? First of all I want to tell you that this is not teaching the network attackers, the central regulators. They already know how to attack the net...
Li₿ΞʁLiøη
3
подскажите пожалуйста, как мне освободить результат записанный в переменную result? в чем проблема подскажите если МОЖЕТЕ?
Михаил Helper
28
Здравствуйте товарищи! решил всё таки поставить линукс. Порядок создание разделов /boot/efi 200МиБ; /boot 1000; подсистему / 80000; swap 8Гб Будет норм?
K2
18
Слушайте, ещё такая интересная задачка. Сделан аудит действий пользователей через триггеры в базе, соответственно каждый пользователь имеет свой логин и пароль в базе. Это пре...
Сергей Бычков
12
есть тут кто-то , кто только начал изучать си? если проходите курс на степике или как-то сами изучаете, пишите, может, скооперируемся?..
Eule
25
вопрос по москвину - не понимаю вот такого вопроса похоже Сколько разных всегда завершающихся функций с типом a -> a -> b -> a -> a можно реализовать? Две функции одинаково...
Fedor
11
Скажите, тут нет проблемы? IMyInterface1 = interface function GetInterface2: IInterface2; ... function TMyInterface.GetInterface2: IInterface2; begin Result := TI...
Ruslan aka DUDE
18
There are too many wallet applications in the Egfo ecosystem. It is really hard to keep track of these wallets. Which wallet should we send ergo or other coins to? Why shoul...
Şerafettin Bayrakdar
4
Карта сайта