Создать ответ 
 
Рейтинг темы:
  • Голосов: 2 - Средняя оценка: 5
  • 1
  • 2
  • 3
  • 4
  • 5
DreamShell v4.0.0 Release
Автор Сообщение
VeraBecker Не на форуме
Пользователь
**

Сообщений: 53
Зарегистрирован: 13.08.2018
Рейтинг: 0
Сказал спасибо: 29
Поблагодарили 23 раз(а) в 17 сообщ.
Сообщение: #141
RE: DreamShell v4.0.0 Release
(13.05.2024 06:09)SWAT писал(а):  Yeah thanks, your PR merged!


Yes, I saw that MegaVolt reviewed it quickly, thanks.

Swat, are there better libraries than SDL to handle display on Dreamcast? It is very slow when loading images, I read that it is because it does it through software instead of hardware.
16.05.2024 06:49
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7141
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 139
Поблагодарили 1179 раз(а) в 734 сообщ.
Сообщение: #142
RE: DreamShell v4.0.0 Release
(16.05.2024 06:49)VeraBecker писал(а):  
(13.05.2024 06:09)SWAT писал(а):  Yeah thanks, your PR merged!


Yes, I saw that MegaVolt reviewed it quickly, thanks.

Swat, are there better libraries than SDL to handle display on Dreamcast? It is very slow when loading images, I read that it is because it does it through software instead of hardware.

The rendering type does not affect image loading speed. Quite the contrary, for hardware rendering of images you also need to load them into video memory, which will only slow down the loading. So loading speed is not equal to rendering speed. These are different things.
SDL was chosen a long time ago and because of its simplicity and convenience. Yes, I would like the rendering to be faster in some places, but this only appears when scrolling the list of files and the console text, nothing more. Otherwise it works quite well. For special cases such as video frames display, there is a mechanism for hardware rendering on top of a software screen. This one is used for camera previews.
Thus, the DS has a hybrid rendering mechanism.

[Изображение: barbers.png]
(Последний раз сообщение было отредактировано 16.05.2024 в 19:11, отредактировал пользователь SWAT.)
16.05.2024 19:09
Вебсайт Найти все сообщения Цитировать это сообщение
VeraBecker Не на форуме
Пользователь
**

Сообщений: 53
Зарегистрирован: 13.08.2018
Рейтинг: 0
Сказал спасибо: 29
Поблагодарили 23 раз(а) в 17 сообщ.
Сообщение: #143
RE: DreamShell v4.0.0 Release
(16.05.2024 19:09)SWAT писал(а):  The rendering type does not affect image loading speed. Quite the contrary, for hardware rendering of images you also need to load them into video memory, which will only slow down the loading. So loading speed is not equal to rendering speed. These are different things.
SDL was chosen a long time ago and because of its simplicity and convenience. Yes, I would like the rendering to be faster in some places, but this only appears when scrolling the list of files and the console text, nothing more. Otherwise it works quite well. For special cases such as video frames display, there is a mechanism for hardware rendering on top of a software screen. This one is used for camera previews.
Thus, the DS has a hybrid rendering mechanism.

I see, do you think it's possible to upgrade SDL to a newer version? Or is it too difficult?
17.05.2024 07:01
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7141
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 139
Поблагодарили 1179 раз(а) в 734 сообщ.
Сообщение: #144
RE: DreamShell v4.0.0 Release
(17.05.2024 07:01)VeraBecker писал(а):  
(16.05.2024 19:09)SWAT писал(а):  The rendering type does not affect image loading speed. Quite the contrary, for hardware rendering of images you also need to load them into video memory, which will only slow down the loading. So loading speed is not equal to rendering speed. These are different things.
SDL was chosen a long time ago and because of its simplicity and convenience. Yes, I would like the rendering to be faster in some places, but this only appears when scrolling the list of files and the console text, nothing more. Otherwise it works quite well. For special cases such as video frames display, there is a mechanism for hardware rendering on top of a software screen. This one is used for camera previews.
Thus, the DS has a hybrid rendering mechanism.

I see, do you think it's possible to upgrade SDL to a newer version? Or is it too difficult?

It couldn't work any better and this is not easy to do. I don't see the point in this.
What specifically don't suit you in current version of SDL?
The DS is designed in such a way that you can write anything at any time with hardware acceleration with PVR or Parallax API, on top of the built-in UI on SDL. But of course DS doesn't have hardware GUI API, so you need write your own buttons and so on.
Rewrite DS GUI API for hardware rendered it's like a developing new DreamShell 5.0 and rewrite all apps.

[Изображение: barbers.png]
17.05.2024 07:38
Вебсайт Найти все сообщения Цитировать это сообщение
VeraBecker Не на форуме
Пользователь
**

Сообщений: 53
Зарегистрирован: 13.08.2018
Рейтинг: 0
Сказал спасибо: 29
Поблагодарили 23 раз(а) в 17 сообщ.
Сообщение: #145
RE: DreamShell v4.0.0 Release
(17.05.2024 07:38)SWAT писал(а):  It couldn't work any better and this is not easy to do. I don't see the point in this.
What specifically don't suit you in current version of SDL?
The DS is designed in such a way that you can write anything at any time with hardware acceleration with PVR or Parallax API, on top of the built-in UI on SDL. But of course DS doesn't have hardware GUI API, so you need write your own buttons and so on.
Rewrite DS GUI API for hardware rendered it's like a developing new DreamShell 5.0 and rewrite all apps.

I am using the object to create threads with SDL to load images faster, it works, the problem is that when I try to kill the thread it gets stuck, it is better to change to Pthread.h and with that library it works, I think it may contain errors.

Question, Does DS have libraries for displaying HTML?
17.05.2024 08:00
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7141
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 139
Поблагодарили 1179 раз(а) в 734 сообщ.
Сообщение: #146
RE: DreamShell v4.0.0 Release
(17.05.2024 08:00)VeraBecker писал(а):  
(17.05.2024 07:38)SWAT писал(а):  It couldn't work any better and this is not easy to do. I don't see the point in this.
What specifically don't suit you in current version of SDL?
The DS is designed in such a way that you can write anything at any time with hardware acceleration with PVR or Parallax API, on top of the built-in UI on SDL. But of course DS doesn't have hardware GUI API, so you need write your own buttons and so on.
Rewrite DS GUI API for hardware rendered it's like a developing new DreamShell 5.0 and rewrite all apps.

I am using the object to create threads with SDL to load images faster, it works, the problem is that when I try to kill the thread it gets stuck, it is better to change to Pthread.h and with that library it works, I think it may contain errors.

You can use pthreads or KOS kernel threads API.
But I think your issue not from SDL in general. What you mean "kill thread" and what in this thread executed?
Threads can't speed up something on single core CPU Smile, you get it as pseudo async nothing more.

(17.05.2024 08:00)VeraBecker писал(а):  Question, Does DS have libraries for displaying HTML?

Of course no Smile It's too complicated to do. And modern sites are very gluttonous, Dreamcast can no longer do anything about it.
HTML parsing it is not a problem, the library that is used for XML in applications can handle this I think, and I made DS XML similar to HTML. But this is very, very far from modern HTML.

[Изображение: barbers.png]
17.05.2024 11:17
Вебсайт Найти все сообщения Цитировать это сообщение
 Сказали спасибо: fafadou
VeraBecker Не на форуме
Пользователь
**

Сообщений: 53
Зарегистрирован: 13.08.2018
Рейтинг: 0
Сказал спасибо: 29
Поблагодарили 23 раз(а) в 17 сообщ.
Сообщение: #147
RE: DreamShell v4.0.0 Release
(17.05.2024 11:17)SWAT писал(а):  You can use pthreads or KOS kernel threads API.
But I think your issue not from SDL in general. What you mean "kill thread" and what in this thread executed?

In other words, finish them without them running out, I was already able to do it

When I click to advance the page, I load the images asynchronously, so I can click without that page finishing loading on the main desktop.

I already did it but... I didn't like it.

When I was testing I found something, the memory when entering the DS is low, but when you open and close the Settings app for some reason it frees up a lot of memory, do you know why?

Use the mstats command to check memory.
(Последний раз сообщение было отредактировано 18.05.2024 в 23:35, отредактировал пользователь VeraBecker.)
18.05.2024 23:20
Найти все сообщения Цитировать это сообщение
Создать ответ 


Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
Радуга DreamShell на GitHub SWAT 70 102469 15.05.2024 15:03
Посл. сообщение: yo4yo4
  Custom DreamShell Themes pcwzrd13 11 23985 27.04.2024 13:42
Посл. сообщение: Ro Magnus Larsson
Улыбка DreamShell bootloader bios megavolt85 147 469262 05.04.2024 00:45
Посл. сообщение: megavolt85
Баг ISO Loader 0.8.x Beta + preview of DreamShell v4.0 RC 5 SWAT 918 569079 01.02.2024 13:22
Посл. сообщение: SWAT
  DreamShell on Hacker news SWAT 0 1107 10.01.2024 06:52
Посл. сообщение: SWAT
  DreamShell v4.0 UI controls manual SWAT 0 1311 21.11.2023 07:04
Посл. сообщение: SWAT
Информация DreamShell в Discord SWAT 0 3230 06.03.2023 07:53
Посл. сообщение: SWAT
  New to Dreamshell/Retrodream DeanBMT 2 4445 26.01.2023 00:35
Посл. сообщение: DeanBMT
  DreamShell с Алиэкспрес - почти нечего не работает - так и должно быть? Emigrant 11 10308 11.07.2022 09:07
Посл. сообщение: SWAT
  Dreamcast Jap: is Dreamshell a good solution for loading games? legolas119 0 4460 05.12.2021 02:19
Посл. сообщение: legolas119

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)