чт, 5 июн. 2025 г., 10:30 Andrea paz via Cin <[email protected]>:
> I have this OpenGL warning with X11-OpenGL driver: > > void AWindowGUI::update_asset_list(): > Warning: /home/paz/Video/hdr/hdr_02.mp4 > dimensions 3840x2160 exceed OpenGL texture limit 0 > To be honest I think this is just something wrong with X server/mesa /glvnd layer. I do not see this on my compilation of cingg when running with mesa git/xserver git. Because I think we both on amdgpu/radeonsi now common parts should be ok.... May be get apitrace installed and .... file another bug at Mesa3d bugtracker? > > In this case I used a 4k source, but the same happens with any > resolution, since the “texture limit” is 0. > I found this answer: > > "If you want to know dynamically the texture size limit of your device > (because it's change depending on the device), you have to call this > method: > > int[] maxTextureSize = new int[1]; > gl.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, maxTextureSize, 0); > > And don't forget that for some device (the Nexus One for example), the > texture size must be a power of 2 !" > > > And also: > > "One note: It's a static method, so you can simply call > GLES10.glGetIntegerv(...)" > > See: https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glGet.xml > > > But I have absolutely no idea where and how to use that call code. > Suggestions? > > Note: the limits of my device (on the specification sheet) should be: > 16384x16384 > -- > Cin mailing list > [email protected] > https://lists.cinelerra-gg.org/mailman/listinfo/cin >
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

