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

AL13N alien at rmail.be
Sat Jun 1 07:16:05 UTC 2019


I have a qml only app...

i found out experimentally that the limit is at 4096 for Y; but only in 
a ListView; if i do regular images, then there is no such limit... 
(which seems weird)

Slava Monich schreef op 2019-05-31 23:18:
> 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:|
>> Image {
>>      onSourceSizeChanged: {
>>                  if( sourceSize.width > 3264 )
>>                      sourceSize.width = 3264
>>                  if( sourceSize.height > 3264 )
>>                      sourceSize.height = 3264
>>              }
>>      cache: false
>>      asynchronous: true
>> }
>> or it just show black screen
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to 
> devel-unsubscribe at lists.sailfishos.org



More information about the Devel mailing list