Re: [SailfishDevel] ListView , Image with large height and EGL errors (AL13N)

2019-05-31 Thread Slava Monich
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:|

Re: [SailfishDevel] Wiki page for writing .spec files

2019-05-31 Thread David Llewellyn-Jones
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

Re: [SailfishDevel] ListView , Image with large height and EGL errors

2019-05-31 Thread David Llewellyn-Jones
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

Re: [SailfishDevel] ListView , Image with large height and EGL errors (AL13N)

2019-05-31 Thread AL13N
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.

Re: [SailfishDevel] ListView , Image with large height and EGL errors (AL13N)

2019-05-31 Thread Dmitriy Sedov
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:

Re: [SailfishDevel] Wiki page for writing .spec files

2019-05-31 Thread AL13N
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

[SailfishDevel] Wiki page for writing .spec files

2019-05-31 Thread 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