Those who don't like the idea of hardcoding 3264 (or any other number)
in their code, can query GL_MAX_TEXTURE_SIZE instead:
https://github.com/monich/harbour-foilpics/blob/master/src/FoilPicsImageProvider.cpp#L57
Cheers,
-Slava
when i use Image with big images, i use code like this:|
On 31/05/2019 10:17, Oskar Roesler via Devel wrote:
> Hello, are there anywhere instructions how to write a .spec file for
> SFOS or do I have to use the ones from CentOS? Regards, Oskar
Hey Oskar,
There's this info about writing the .yaml files which can be used to
generate sensible SFOS spec
On 31/05/2019 02:57, AL13N wrote:
> I have a ListView with an ListItem delegate and an Image in it;
>
> when i have 2 images with a large height on it next to each other, after
> scrolling to it, i get an EGL Texture error .
Hey AL13N,
Unless someone else already knows the answer, could you
I actually did:
width: parent.width
asynchronous: true
cache: false
sourceSize.width: width
for this thing; the height it still like 8000 pixels high, even with
width == the jolla1 pixel width.
thing is, i get black for those long images, and an EGL Texture error.
short ones are done fine.
when i use Image with big images, i use code like this:|
Image {
onSourceSizeChanged: {
if( sourceSize.width > 3264 )
sourceSize.width = 3264
if( sourceSize.height > 3264 )
sourceSize.height = 3264
}
cache:
You can probably base your .spec file on one the many opensource apps:
eg: mine:
https://github.com/alien9/harbour-followme/blob/master/harbour-followme.spec
mine is for a qml-only with pyotherside app, but you can probably use it
as a base for your own.
Oskar Roesler via Devel
Hello, are there anywhere instructions how to write a .spec file for
SFOS or do I have to use the ones from CentOS? Regards, Oskar
signature.asc
Description: OpenPGP digital signature
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a