| | SLO | ENG | Cookies and privacy

Bigger font | Smaller font

Show document Help

Title:Primerjava aplikacijskih programskih vmesnikov za upodabljanje 2D grafičnih gradnikov na grafični procesni enoti : diplomsko delo
Authors:ID Foschini, Dominik (Author)
ID Kohek, Štefan (Mentor) More about this mentor... New window
ID Jeromel, Aljaž (Comentor)
Files:.pdf UN_Foschini_Dominik_2025.pdf (1,82 MB)
MD5: 924CCDB865D1C9636EA7DE58201E5A2A
 
Language:Slovenian
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FERI - Faculty of Electrical Engineering and Computer Science
Abstract:V diplomskem delu smo primerjali tri aplikacijske programske vmesnike: Cairo, Direct2D in Raylib. Za vsako smo analizirali hitrost izrisa, obremenitev sistemskih virov (vključno s porabo delovnega in grafičnega pomnilnika ter obremenitvijo centralne in grafične procesne enote), enostavnost uporabe in podporo operacijskim sistemom. V ta namen smo razvili tri testne aplikacije, ki vključujejo izris osnovnih likov, obdelavo slik in prikaz besedila. Ugotovili smo, da je prava izbira knjižnice odvisna od pričakovanih ciljev uporabnika. Rezultati so pokazali, da je Cairo najpočasnejši in najmanj učinkovit glede porabe virov, vendar primeren za aplikacije brez potrebe po realno časovnem izrisu. Direct2D je dosegel najboljšo učinkovitost in najnižjo porabo virov, a je vezan na operacijski sistem Windows. Raylib se je izkazal kot najhitrejši pri izrisu, z zmerno porabo virov in dobro prenosljivostjo, a slabšim skaliranjem. Ugotovili smo tudi, da je bil Raylib najlažji za uporabo, medtem ko je bil Cairo zaradi pomanjkljive dokumentacije in slabše podpore najbolj zahteven za implementacijo.
Keywords:grafični API, 2D, Cairo, Direct2D, Raylib
Place of publishing:Maribor
Place of performance:Maribor
Publisher:[D. Foschini]
Year of publishing:2025
Number of pages:1 spletni vir (1 datoteka PDF (IX, 54 str.))
PID:20.500.12556/DKUM-94923 New window
UDC:004.777(043.2)
COBISS.SI-ID:262134787 New window
Publication date in DKUM:17.10.2025
Views:355
Downloads:17
Metadata:XML DC-XML DC-RDF
Categories:KTFMB - FERI
:
Copy citation
  
Average score:(0 votes)
Your score:Voting is allowed only for logged in users.
Share:Bookmark and Share



Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Licences

License:CC BY-NC-ND 4.0, Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
Link:http://creativecommons.org/licenses/by-nc-nd/4.0/
Description:The most restrictive Creative Commons license. This only allows people to download and share the work for no commercial gain and for no other purposes.
Licensing start date:29.08.2025

Secondary language

Language:English
Title:Comparison of application programming interfaces for rendering 2D graphics components using the graphics processing unit
Abstract:In this thesis, three application programming interfaces are compared: Cairo, Direct2D, and Raylib. For each, we analyzed rendering speed, system resource usage – including system and graphics memory consumption, the load on the central and graphics processing units – as well as ease of use and operating system support. To conduct this analysis, we developed three test applications that include basic shape rendering, image processing, and text rendering. We found that the optimal choice of library depends on the user’s specific goals. The results showed that Cairo was the slowest and least efficient in terms of resource usage, but suitable for applications that do not require real-time rendering. Direct2D achieved the best performance and the lowest resource consumption, but it is limited to the Windows operating system. Raylib proved to be the fastest in rendering, with moderate resource usage and good portability, but with poorer scaling quality. We also found that Raylib was the easiest to use, while Cairo was the most challenging to implement due to its insufficient documentation and limited support.
Keywords:graphics API, 2D, Cairo, Direct2D, Raylib


Comments

Leave comment

You must log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back
Logos of partners University of Maribor University of Ljubljana University of Primorska University of Nova Gorica