twinaphex
9488b47fbc
Refactor gfx/video_pixel_converter.c
2015-06-25 10:37:10 +02:00
twinaphex
9f93373286
Create video_pixel_frame_scale and move it to gfx/video_pixel_converter.c
2015-06-25 10:15:26 +02:00
Higor Eurípedes
593e835228
(gl_raster_font) Add early return in gl_raster_font_render_msg()
2015-06-23 14:51:29 -03:00
twinaphex
d78437b5a0
Increase GFX_MAX_SHADERS to 24
2015-06-22 21:12:25 +02:00
twinaphex
682867b9a1
MAX_SHADERS should only be defined in gl_common.h
2015-06-22 21:09:18 +02:00
natinusala
838cf74f42
(gl_raster_font) Fixed the alignment support for line by line drawing
...
Each line was drawn using the full message's length so the alignment
was broken. I fixed it by adding the message length to get_message_width
so every line has its own length for get_message_width.
2015-06-21 17:24:35 +02:00
vanfanel
bb7d9436c2
DISPMANX correction: the pointer to the page currently on screen must be a member of each surface.
2015-06-20 14:56:25 +00:00
vanfanel
430f7854d9
Removed unused variable. Changed a function type.
2015-06-18 16:16:26 +00:00
vanfanel
98e6522f3f
Fixed a memory allocation error and simplified surface resource freeing functions.
2015-06-18 12:31:42 +00:00
Higor Eurípedes
96742263d1
Fix raw screenshots
2015-06-17 09:29:09 -03:00
vanfanel
26b0876376
DISPMANX backend: implemented a faster triple buffering method and abstracted drawing surfaces for core and menu in their own class-like struct. Honor the aspect ratio setting changes without re-launching. Cleanups.
2015-06-16 19:30:16 +00:00
twinaphex
bc592859cc
Cleanups
2015-06-15 06:01:54 +02:00
twinaphex
44e3d840c5
(shader_gl_cg.c) use hashes
2015-06-15 05:09:01 +02:00
twinaphex
40f8fabda6
Consistency in how we treat positive strcmp matches
2015-06-14 19:56:01 +02:00
twinaphex
0c8baf7e47
(video_shader_parse.c) Use hashing
2015-06-14 19:02:53 +02:00
Higor Eurípedes
42caab87aa
(gl_raster_font.c) Add early return and fix identation in gl_raster_font_render_message
2015-06-14 12:36:29 -03:00
twinaphex
3943f4633f
(GX/Wii) Cleanups - grab pointer to menu_framebuf_t
2015-06-13 17:01:38 +02:00
twinaphex
7197b58ed6
(gfx/drivers) Cleanups
2015-06-13 02:49:29 +02:00
twinaphex
43c8f282db
(Gfx) Cleanups
2015-06-13 02:10:06 +02:00
twinaphex
6e2bea3b38
(Audio/gfx) Cleanups
2015-06-13 01:18:13 +02:00
hunterk
664956c53d
ifdef the retina stuff for backward compatibility
2015-06-12 13:56:34 -05:00
hizzlekizzle
d5a6a1d4a6
remove dpi hack
...
the existing method works fine on later release targets, so we just need to remember to set those.
2015-06-12 13:12:43 -05:00
hizzlekizzle
0c792898b8
fix dumb typo
2015-06-12 13:03:34 -05:00
hunterk
b4e4af604e
fix ugly scaling on Retina Macs
2015-06-12 12:45:29 -05:00
Andre Leiradella
7be1b2b9cf
removed memory allocation in gl_raster_font_render_message
2015-06-05 18:14:05 -03:00
twinaphex
5068e2ddbf
(xvideo.c) Style nits
2015-06-03 21:37:08 +02:00
Twinaphex
0f759fc1a3
Merge pull request #1740 from natinusala/master
...
Added '\n' support for gl_raster_font
2015-06-03 15:11:59 +02:00
twinaphex
55ec66020e
(CGL Ctx) Add TODO/FIXME note
2015-06-02 19:11:01 +02:00
twinaphex
ce7706bc7a
(CGL Ctx) Get rid of some printfs
2015-06-02 18:58:42 +02:00
twinaphex
c188f06cef
(CGL Ctx) Create custom typedef for CGWindowID - OSX 10.4 didn't yet
...
have this typedef
2015-06-02 18:55:46 +02:00
twinaphex
0cbd1f0882
Don't define HAVE_GL_ASYNC_READBACK if GL_PIXEL_PACK_BUFFER is not
...
defined
2015-06-02 18:51:42 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
twinaphex
70fc26677d
Define GL_SYNC_ defines if not available
2015-06-02 17:31:43 +02:00
twinaphex
e67f3f246d
Rearrange header include dependencies
2015-06-02 17:17:46 +02:00
Twinaphex
f1c69e79c2
(iOS) Buildfix
2015-06-02 11:14:47 +02:00
neville
bfb6001114
(OSX) 10.5 and earlier doesn't have backingScaleFactor, so hardcode it
...
to 1.0f for those platforms
2015-06-02 09:06:59 +02:00
neville
8151c85980
(OSX) Take out settings window for now entirely
2015-06-02 09:00:27 +02:00
neville
2434c5e971
(OSX PPC) Buildfix
2015-06-02 08:48:07 +02:00
amigagamer
55934b4770
fix dispmanx compile (dispmanx_gfx_get_frame_count)
...
line 601 looking for dispmanx_get_frame_count
the correct name is dispmanx_gfx_get_frame_count (from line 592)
2015-05-30 17:00:06 +01:00
natinusala
9b276d80d2
Added line_height for freetype and cleaned up comments
2015-05-30 15:41:47 +02:00
Nathan SALAUN
b756111aac
Added the get_line_height to font_renderer_driver_t and a first implementation of it in gl_raster (\n) and bitmapfont
2015-05-27 12:20:31 +02:00
twinaphex
9326d9c27c
(DRM EGL) Don't do useless cast
2015-05-24 05:07:01 +02:00
twinaphex
75004e7ece
(PS3) Build fixes
2015-05-21 04:43:50 +02:00
Higor Eurípedes
376228fac3
Clear thr->cmd_data after blocking for a reply.
2015-05-20 21:43:43 -03:00
Toad King
e97ecc17cc
fix d3d build
2015-05-20 17:28:12 -05:00
twinaphex
5558fdd085
Get rid of global dependency for video_viewport_get_custom
2015-05-20 23:13:39 +02:00
twinaphex
e04dff82b5
Add some notes
2015-05-20 23:04:15 +02:00
twinaphex
6e327a3b8d
Get rid of more unused global local pointers
2015-05-20 22:48:33 +02:00
twinaphex
95821959a7
Remove local variable
2015-05-20 22:22:47 +02:00
Higor Eurípedes
09c9904ab0
Cleanup thread_loop a bit
2015-05-20 17:06:57 -03:00