Jump to content

What has it been done when a image is loaded by loader


Herbert
 Share

Recommended Posts

11 hours ago, ivan.popelyshev said:

Its actually possible to unzip the image from png to rgba form on this step, and it'll be done in pixi-v5 :) Actual uploading consists of two parts - unzip png to RGBA and sending it to GPU. I dont know which is our actual problem :)

so do you mean in pixi-v5 the step unzipping png to RGBA will be moved from uploading part to loader.load part, and by doing that, it might smooth up the delay on first render?

Link to comment
Share on other sites

@Herbert

Exactly, and it'll be async, in another thread. One more detail: there will be a flag, whether or not keep that bitmap in memory after its uploaded to GPU. PNG form is small, while that thing is big and for low-memory devices it'll be critical. RPGMaker MV stores extra canvas per pixi texture (and its called Bitmap) and they have problems on low-memory devices.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...