Opened 19 years ago

Closed 12 years ago

Last modified 6 years ago

#8474 closed patch (outdated)

2xPM scaler

Reported by: fingolfin Owned by:
Priority: normal Component: Graphics: Scalers
Version: Keywords:
Cc: Game:


I was curious after reading feature request #1315759 and looked at the 2xPM and 2xPM_LQ scalers (original site: <http://>).

Thanks to our flexible scaler infrastructure ;-), it was easy to experimentally include these two scalers, see the attached file (copy the .cpp files into common/scaler/, after that apply the patch).

Note that the code hasn't been optimized nor cleaned up according to our coding conventions, since it was meant as a quick hack only and since I don't even know if we actually want to include these changes or not... It would be trivial to change that, though.

Ticket imported from: #1326624. Ticket imported from: patches/579.

Attachments (2)

2xpm.tar.bz2 (3.9 KB ) - added by fingolfin 19 years ago.
pm2x_v1.patch (10.0 KB ) - added by lordhoto 19 years ago.
old patch from LordHoto

Download all attachments as: .zip

Change History (7)

by fingolfin, 19 years ago

Attachment: 2xpm.tar.bz2 added

comment:1 by lordhoto, 19 years ago

Hehe I made the same thing some time ago, I will upload my patchfile too it uses out coding converntions. Did not looked at your gfx output until now but I had some problems with a direct copy so I changed some things a bit. Dunno if my patchfile applies correctly since it is some time old.

I will take a look at yours later.

by lordhoto, 19 years ago

Attachment: pm2x_v1.patch added

old patch from LordHoto

comment:2 by SF/singron, 12 years ago

I have modified and incorporated Lordhoto's patch into a scaler plugin on my github repository ( So this will probably eventually get merged with the rest of my GSoC project.

I suggest this be closed.

comment:3 by bluegr, 12 years ago

Resolution: outdated
Status: newclosed

comment:4 by bluegr, 12 years ago

As suggested by singron, this has been added in his GSoC pull request here:

Thus this patch is now obsolete, and will be eventually merged together with the rest of singron's changes.

Closing as out of date, and changing the group to GSoC

comment:5 by digitall, 6 years ago

Component: Graphics: Scalers
Note: See TracTickets for help on using tickets.