#3692 closed enhancement (duplicate)
[PATCH] Support HIDPI (Retina)
Reported by: | Ilya Ryzhenkov | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description
SDL2 supports SDL_WINDOW_ALLOW_HIGHDPI flag for when creating window. Use it, call SDL_GL_GetDrawableSize to get actual canvas size, introduce g_DpiScale to transform mouse positions.
TODO: Update TouchInput as necessary, e.g. on HIDPI Android or some may be 4K Android TV, who knows :)
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | hidpi.patch added |
---|
comment:1 by , 8 years ago
Keywords: | review patch added; retina hidpi removed |
---|---|
Milestone: | Backlog → Alpha 20 |
comment:2 by , 8 years ago
Keywords: | review removed |
---|---|
Milestone: | Alpha 20 |
Resolution: | → duplicate |
Status: | new → closed |
comment:3 by , 8 years ago
I would like to know what features your patch implements, 4K resolution? It would be very nice if you can support the touch function.
Note:
See TracTickets
for help on using tickets.
Please search for existing tickets before creating a new one: #2349
The patch should be attached there as it has more details.