search query: @keyword alustariippumaton / total: 5
reference: 3 / 5
« previous | next »
Author:Ahvenniemi, Johannes
Title:Alustariippumaton GPU-renderöinti yleisimmillä selainalustoilla
Crossplatform GPU-rendering on the most common browser platforms
Publication type:Master's thesis
Publication year:2014
Pages:64      Language:   fin
Department/School:Perustieteiden korkeakoulu
Main subject:Tietokoneverkot   (T-110)
Supervisor:Hämäläinen, Perttu
Instructor:Kajastila, Raine
Electronic version URL: http://urn.fi/URN:NBN:fi:aalto-201507013715
OEVS:
Electronic archive copy is available via Aalto Thesis Database.
Instructions

Reading digital theses in the closed network of the Aalto University Harald Herlin Learning Centre

In the closed network of Learning Centre you can read digital and digitized theses not available in the open network.

The Learning Centre contact details and opening hours: https://learningcentre.aalto.fi/en/harald-herlin-learning-centre/

You can read theses on the Learning Centre customer computers, which are available on all floors.

Logging on to the customer computers

  • Aalto University staff members log on to the customer computer using the Aalto username and password.
  • Other customers log on using a shared username and password.

Opening a thesis

  • On the desktop of the customer computers, you will find an icon titled:

    Aalto Thesis Database

  • Click on the icon to search for and open the thesis you are looking for from Aaltodoc database. You can find the thesis file by clicking the link on the OEV or OEVS field.

Reading the thesis

  • You can either print the thesis or read it on the customer computer screen.
  • You cannot save the thesis file on a flash drive or email it.
  • You cannot copy text or images from the file.
  • You cannot edit the file.

Printing the thesis

  • You can print the thesis for your personal study or research use.
  • Aalto University students and staff members may print black-and-white prints on the PrintingPoint devices when using the computer with personal Aalto username and password. Color printing is possible using the printer u90203-psc3, which is located near the customer service. Color printing is subject to a charge to Aalto University students and staff members.
  • Other customers can use the printer u90203-psc3. All printing is subject to a charge to non-University members.
Location:P1 Ark Aalto  1771   | Archive
Keywords:computer graphics
crossplatform
flash
html5
stage3d
webgl
haxe
tietokonegrafiikka
3D
alustariippumaton
Abstract (eng): This study was about utilizing GPU in cross platform development for the most common browser application platforms: HTML5 and Flash.
The intent was to find out if this can be done.
Also the solution's performance and cost-efficiency was evaluated.

In this thesis the basic concepts of rendering are explained and basic research for cross platform development is studied.
Technologies are compared based on their documentation and software developer forums.

A new GPU programming interface was proposed for cross platform development.
The interface was implemented for Flash using Stage3D and HTML5 using WebGL.
The proposed interface is a subset of the Stage3D interface with support for GLSL ES shaders.
Because Stage3D only supports AGAL shaders, GLSL ES shaders were compiled to AGAL with glsl2agal.
The interface was put to use with the Haxe programming language which can be compiled to both HTML5 and Flash.

The implementation was evaluated by programming applications to test the functionality and performance.
In addition a list of strengths and flaws are pointed out based on the experience from the process.

The solution worked visually in simple cases.
A more complex case worked as intended only on HTML5.
The performance was worse than that of a native Flash application.
Also several flaws were found in the technologies used.

The conclusion was that the task is feasible.
However, the implementation didn't work completely as intended and the performance was weak.
Based on this the chosen technologies can't be recommended.
On the other hand not many alternatives were found.
Abstract (fin): Tässä työssä tutkittiin näytönohjain-, eli GPU-renderöintiä hyödyntävän sovelluksen alustariippumatonta kehitystä tämän hetken yleisimmille selainalustoille, eli Flashille ja HTML5:lle.
Tarkoituksena oli selvittää, onko tämä mahdollista.
Lisaksi arvioitiin esitettyä ratkaisua laadun ja ajankäytön kannalta.

Työssä esitellään renderöinnin peruskäsitteet ja käydään läpi alustariippumattoman ohjelmoinnin perustutkimusta.
Teknologioita vertaillaan niiden dokumentaation ja sovelluskehittäjien keskustelupalstojen pohjalta.

Alustariippumatonta kehitystä varten ehdotettiin uutta GPU-ohjelmointirajapintaa, joka toteutettiin Flashille ja HTML5:lle.
Flash-toteutus käyttää apunaan Stage3D-rajapintaa ja HTML5-toteutus WebGL-rajapintaa.
Ehdotettu rajapinta on Stage3D:n pelkistetty versio, joka toimii GLSL ES -sävyttimien kanssa.
Koska Stage3D tukee vain AGAL-sävyttimiä, GLSL ES -sävyttimet käännetään Flash-toteutuksessa gls12agalilla AGAL-sävyttimiksi.
Rajapintaa käytettiin Haxe-ohjelmointikielellä, joka voidaan kääntää HTML5- ja Flash-alustoille.

Toteutusta arvioitiin ohjelmoimalla koesovelluksia, joilla tarkasteltiin ratkaisun toimivuutta sekä mitattiin suoritustehoa.
Lisäksi läpi käydyn prosessin pohjalta arvioitiin valittujen teknologioiden vahvuuksia ja heikkouksia.
Havaitaan, että toteutus toimi visuaalisesti yksinkertaisissa tapauksissa.
Monimutkaisempi koe toimi täydellisesti vain HTML5-alustalla.
Suoritusteholtaan toteutus ei yltänyt natiivin Flash-sovelluksen tasolle.
Lisaksi teknologioissa havaittiin useita puutteita.

Johtopäätös oli, että toteutus on mahdollista.
Lopputulos oli kuitenkin vajaatoimintainen ja suoritusteholtaan heikko.
Tämän perusteella ainakaan kyseistä teknologiavalintaa ei voida suositella.
Toisaalta monia muita vaihtoehtoja teknologiaksi ei löytynyt.
ED:2014-06-30
INSSI record number: 49349
+ add basket
« previous | next »
INSSI