Opened 18 years ago

Closed 18 years ago

#1612 closed patch (fixed)

Check max opengl texture size

Reported by: ivor@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

It seems that EPIA's have a maximum texture size of 512 pixels. This tiny patch checks textures greater than the max supported size aren't requested.

Attachments (1)

max_text.diff (1.3 KB) - added by ivor@… 18 years ago.
max texture patch

Download all attachments as: .zip

Change History (6)

Changed 18 years ago by ivor@…

Attachment: max_text.diff added

max texture patch

comment:1 Changed 18 years ago by mrvanes@…

I think this 'bug' is also exposed in the OpenGL transition options of MythGallery. I don't know if changing this in mythpainter is sufficient to solve this problem as well? Also: does this patch only prevent displaying textures bigger than 512 or does it (make them) scale them down as well?

comment:2 Changed 18 years ago by ivor@…

No idea, although looking at the gallery opengl code it doesn't appear to adjust texture sizes to powers of 2 as required either, so unless I've missed something I can't see how it works anyway. I'll test when I'm in front of the epia.

comment:3 Changed 18 years ago by ivor@…

so unless I've missed something I can't

I had indeed 'missed something'. :)

Patch in ticket #1624

comment:4 Changed 18 years ago by mythdev@…

This patch also fixes the "white background" problem on my Epia. Thank you Ivor.

comment:5 Changed 18 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [9630]) Check max texture size for GL drawing. Fixes problems with via epia boards.

Closes #1612 and #1624.

Note: See TracTickets for help on using tickets.