Matthew Wolff
f6284721d8
Fix forgotten parameter of video_monitor_get_fps
2017-01-12 23:40:58 -06:00
twinaphex
c1c35c5120
More platform build fixes
2017-01-10 21:15:52 +01:00
twinaphex
f233745483
(SDL gfx) Buildfix
2017-01-10 21:01:13 +01:00
twinaphex
f1ef1a6a59
(GX) Buildfix
2017-01-10 20:18:49 +01:00
twinaphex
76ae7ac4a0
Cleanup some of the video drivers - add some members to
...
video_info_t to reduce the need for accessing the settings
struct
2017-01-10 18:16:22 +01:00
twinaphex
0b03e95d95
We no longer need the settings struct inside gl_init
2017-01-10 18:08:05 +01:00
twinaphex
8bd12368ef
Pass joypad_driver name to input_driver_init function and make
...
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex
c086a18ceb
video_driver_frame_filter no longer needs to grab pointer to
...
settings
2017-01-09 15:46:40 +01:00
twinaphex
36fb6776b2
Don't grab settings pointer in video_monitor_get_fps function
2017-01-09 15:42:14 +01:00
twinaphex
35fefb1c09
Do away with yet more pointer grabbing of settings
2017-01-09 15:14:16 +01:00
twinaphex
6b3cc9068d
Pass video_info to swap_buffers too
2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e
Pass video_frame_info_t to update_window_title
2017-01-09 14:42:07 +01:00
twinaphex
be2f921ee2
Don't use settings pointer inside video_frame function
2017-01-09 14:25:59 +01:00
Twinaphex
6b2601eb91
Merge pull request #4384 from fr500/master
...
small optimization by @aliaspider
2017-01-09 00:39:10 +01:00
radius
86e8c409fe
small optimization by @aliaspider
2017-01-08 18:36:06 -05:00
twinaphex
68d484bf60
Set supports_rgba before calling image_texture_load
2017-01-08 21:49:23 +01:00
radius
f87f7d026d
improve readability a bit
2017-01-07 22:47:55 -05:00
twinaphex
c57ab8f37a
Add pipeline_bokeh to shader_glsl.c
2017-01-08 02:16:47 +01:00
twinaphex
09a83525a9
Add pipeline_bokeh.glsl.frag.h
2017-01-08 02:13:36 +01:00
vanfanel
7ba3ff9c12
DISPMANX: Fix hang when null frame is passed (TyrQuake core)
2017-01-05 23:47:33 +01:00
Logan McNaughton
34ad1555f1
Use this code for GLES2 and GLES3
2016-12-30 13:56:54 -07:00
Logan McNaughton
90a1c76abb
This wasn't working on Android
2016-12-30 10:22:12 -07:00
Logan McNaughton
f45a75fa98
Use RGBA for internal format
2016-12-26 13:00:38 -07:00
hunterk
5ec5b199f6
less invasive revert for blue/red swap
2016-12-25 20:22:28 -06:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Logan McNaughton
21779c87b8
Missed one of the texture formats
2016-12-20 10:10:23 -07:00
Logan McNaughton
3392f3996b
Fix up some texture format code
2016-12-20 08:57:13 -08:00
twinaphex
feae0823ce
Prevent some implicit memsets
2016-12-17 14:40:06 +01:00
Logan McNaughton
fc4c7529a1
Fix internal formats used with texture creation
2016-12-14 09:54:55 -08:00
twinaphex
f9b019c83a
Rename loadTexture to gl_load_texture_image
2016-12-14 16:59:16 +01:00
Logan McNaughton
8cd2566128
Simplify glTexImage2D/glTexStorage2D calls
...
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
twinaphex
6a45541f24
(Vulkan) Rename pipeline files
2016-12-12 13:17:20 +01:00
twinaphex
a94b15ac86
(Vulkan) Add pipeline snow simple shader
2016-12-12 05:21:38 +01:00
Arzed Five
18392a5e40
(XMB VK snow) Attempt to fix the Vulkan snow menu shader
2016-12-12 03:46:26 +00:00
twinaphex
c0caae124e
Prevent warning
2016-12-11 22:11:03 +01:00
Brad Parker
7c176c3d14
replace simple snow with fancy snow code with different parameters
2016-12-11 13:00:12 -05:00
aliaspider
5cf8391c5a
replace the glsl snow shader with a more lightweight version.
...
(gpu usage is approximately 25% compared to the original.)
2016-12-11 15:52:32 +01:00
barbudreadmon
ad273d6299
Fix for issue #4165
...
vulkan video driver don't rotate the same way as gl video driver without this.
2016-12-11 10:53:02 +01:00
twinaphex
a210e4f6fe
(PS3) Some build fixes
2016-12-10 09:39:07 +01:00
twinaphex
1b29d41661
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:30:14 +01:00
twinaphex
be459a6281
Cleanups
2016-12-10 07:28:08 +01:00
twinaphex
aa5730dbc9
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:26:50 +01:00
Logan McNaughton
1d69baca82
Use glTexStorage2D for FBO textures
2016-12-08 21:14:10 -07:00
Logan McNaughton
b275b2e113
Use RGBA8 for FBO texture internal format on GLES3
...
GLES3 supports GL_RGBA8 as an internal format for textures.
Using the sized format (RGBA8 instead of RGBA) allows more flexibility. In my case I am trying to use glCopyImageSubData and it only works on textures with sized internal formats.
2016-12-07 11:22:24 -07:00
twinaphex
bcfb80072c
(XDK) Remove this - would have to be reimplemented
2016-12-07 07:02:41 +01:00
twinaphex
de94f77629
(XDK) Buildfixes
2006-05-14 14:02:54 +02:00
twinaphex
2b262c6b32
(render_chain_xdk.cpp) Add d3d.h include
2016-12-07 06:48:04 +01:00
twinaphex
ec676e3e62
Add header include
2016-12-07 06:46:15 +01:00
twinaphex
ccacfcda60
(render_chain_xdk.cpp) Add header include
2016-12-07 06:34:22 +01:00