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

Slava Monich slava.monich at jolla.com
Fri May 31 21:18:04 UTC 2019


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


More information about the Devel mailing list