twinaphex
32c91baca6
Move read_viewport and viewport_info to render_chain_gl_legacy.c
2017-04-19 01:25:34 +02:00
twinaphex
0c5a87b1d7
Create scaler_ctx_scale_direct
2017-04-16 11:03:29 +02:00
twinaphex
257410d058
Turn matrix_4x4_multiply into macro
2017-04-16 07:55:02 +02:00
twinaphex
32cebbbcba
Turn more matrix_4x4 functions into macros
2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6
Turn more matrix 4x4 functions into macros
2017-04-16 03:53:07 +02:00
twinaphex
55a0b7d1a9
Create default_ortho static variable
2017-03-25 10:22:57 +01:00
twinaphex
d77c209c85
Cleanups
2017-03-25 10:13:18 +01:00
twinaphex
396857db9a
Update logs
2017-03-24 01:28:58 +01:00
twinaphex
1b27c3dec1
Make some log messages more consistent
2017-03-24 00:28:21 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
374fd57270
Remove the few performance counters that depend on runloop_ctl
2017-01-25 18:15:58 +01:00
twinaphex
a9164b7124
Try to use performance counter plus functions in most cases
2017-01-25 17:12:43 +01:00
twinaphex
6661c0fb94
Rewrite performance counter stop/start/init into macros
2017-01-25 16:53:06 +01:00
twinaphex
a104c73738
Go back to this
2017-01-22 23:19:35 +01:00
twinaphex
8698525f86
Only show the frame when libretro_running is true
2017-01-22 21:42:42 +01:00
twinaphex
2f504b4057
(gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
...
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
57f8c637bf
Cut down on runloop_ctl calls inside gfx/drivers
2017-01-22 12:38:20 +01:00
twinaphex
30c7754029
Buildfix
2017-01-20 14:37:02 +01:00
twinaphex
58a47e860a
Add use_rgba member to video_frame_info_t
2017-01-20 14:04:50 +01:00
twinaphex
e0ff0541a2
Pass video_info pointer to font drivers
2017-01-19 16:30:40 +01:00
twinaphex
9d1de5c974
Rewrite video_context_driver_set_resize
2017-01-19 14:31:57 +01:00
Twinaphex
78e06ca07f
Cleanup variables
2017-01-19 00:11:29 +01:00
twinaphex
f4adbd04ae
(gl.c) Reduce amount of time video_driver_get_size is called inside
...
gl_frame
2017-01-18 22:55:03 +01:00
twinaphex
bf511b72e6
Create menu_driver_frame
2017-01-18 21:23:18 +01:00
twinaphex
a6a4808e94
Refactor frame monitor code
2017-01-18 17:41:27 +01:00
Brad Parker
c283c1eaf4
disable shader dialog until video_threaded issues are fixed
2017-01-16 19:26:28 -05:00
twinaphex
8c9e0405fb
Create video_driver_build_info
2017-01-13 16:09:32 +01:00
twinaphex
0b03e95d95
We no longer need the settings struct inside gl_init
2017-01-10 18:08:05 +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
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
Logan McNaughton
34ad1555f1
Use this code for GLES2 and GLES3
2016-12-30 13:56:54 -07: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
a210e4f6fe
(PS3) Some build fixes
2016-12-10 09:39:07 +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
5fc1b0c88e
Remove obsolete font_driver_has_render_msg
2016-11-20 17:51:16 +01:00
twinaphex
856d6b37be
Turn video_shader_driver_set_coords into macro
2016-11-20 16:48:54 +01:00
twinaphex
ef610312e7
Turn video_shader_driver_set_mvp into macro
2016-11-20 16:45:06 +01:00
twinaphex
dd0a8d1778
Turn video_shader_driver_set_parameters into macro
2016-11-20 16:40:08 +01:00
twinaphex
2deb306967
Turn video_shader_driver_use into macro
2016-11-20 16:31:45 +01:00
twinaphex
a7585f9988
Move video_frame.h to libretro-common
2016-11-08 15:35:24 +01:00
twinaphex
4ff6d8c108
Add more logging
2016-10-31 15:12:34 +01:00
twinaphex
456c4c4d58
Remove video_driver_cached_frame_render wrapper function
2016-10-25 00:42:26 +02:00
twinaphex
213e357918
Move gl_capabilities to libretro-common
2016-10-24 04:06:05 +02:00
twinaphex
35ba7fb2c4
Prevent implicit and superfluous memset
2016-10-21 20:04:56 +02:00
Higor Eurípedes
6f2cb9742d
(font) Create font_data_t and update font_driver_init_first()
2016-10-18 20:07:00 -03:00
Higor Eurípedes
c08650f1f9
Remove trailing whitespace
2016-09-17 21:20:27 -03:00
Higor Eurípedes
d4305d65d9
(gl) Fix gl_check_error()
...
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
twinaphex
51b0e61712
Cleanups
2016-09-11 16:24:02 +02:00
twinaphex
266a06ffb1
Revert "Expose GPU Hard Sync for GLES 3 too"
...
This reverts commit a74813c9ea
.
2016-09-05 21:43:02 +02:00
twinaphex
a74813c9ea
Expose GPU Hard Sync for GLES 3 too
2016-09-05 21:16:30 +02:00
twinaphex
acd4dd527b
Header include cleanups
2016-09-05 18:31:32 +02:00
twinaphex
f0702ac72c
(PS3) Buildfix
2016-09-05 07:59:26 +02:00
twinaphex
1bed2dc3c4
Buildfix
2016-09-05 07:22:44 +02:00
twinaphex
1a241fa9ce
Rewrite this
2016-09-05 07:22:44 +02:00
twinaphex
7af3b79416
Create gl_capabilities.c/gl_capabilities.h
2016-09-05 07:04:56 +02:00
twinaphex
ddb9cff2af
More header include cleanups
2016-09-01 18:10:59 +02:00
Twinaphex
50afc567b3
Prevent unused variable
2016-08-10 07:20:49 +02:00
twinaphex
8da3054968
Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2
2016-08-08 18:40:58 +02:00
twinaphex
becf96837e
Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2
2016-08-08 18:37:46 +02:00
twinaphex
0164ce3725
Move comments
2016-08-06 17:31:01 +02:00
twinaphex
ef74742078
Change GL_CAPS_FBO
2016-08-06 17:28:15 +02:00
twinaphex
083bc4eed3
Cut down on some HAVE_FBO ifdefs
2016-08-06 03:18:19 +02:00
twinaphex
444d957978
(PSGL) Fix 32bit color
2016-08-03 17:07:38 +02:00
twinaphex
b8de32587b
(GL) Fix PSGL build
2016-08-03 16:47:01 +02:00
twinaphex
afce6fccc5
(GL) Fix statement is unreachable warnign
2016-08-03 16:28:52 +02:00
twinaphex
b7b5ffe28c
Above case should handle this already
2016-08-03 00:24:03 +02:00
twinaphex
02f0b4a428
GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too
2016-08-03 00:21:48 +02:00
twinaphex
a517b39cfb
Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too
2016-08-03 00:19:44 +02:00
twinaphex
36963b91c7
(GL capabilities) Packed depth stencil - if GLES is 3 or higher,
...
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex
23f4e8bdfa
(Android/GLES) Should work with HW render context again
2016-08-03 00:08:50 +02:00
twinaphex
871b1740a8
Rename render_chain_driver.h to render_chain_gl.h
2016-08-02 16:22:57 +02:00
twinaphex
84588a1527
(GL) Move more code
2016-08-02 03:12:48 +02:00
twinaphex
9b06ec6c4e
(GL) Move more FBO functions to render_chain_gl_legacy
2016-08-02 03:10:55 +02:00
twinaphex
d391159f39
Move more HAVE_FBO code to render_chain_gl_legacy
2016-08-02 02:56:44 +02:00
twinaphex
85ec02ba6b
(GL) Move more renderchain code over to render_chain_gl_legacy
2016-08-02 02:54:38 +02:00
twinaphex
78806bf33c
Move more renderchain code over to render_chain_gl_legacy.c
2016-08-02 02:38:46 +02:00
twinaphex
a8e74f0aa2
(GL) Start moving renderchain code over to separate files
2016-08-02 02:27:23 +02:00
twinaphex
a0d3a148e7
Move force SRGB disable check at beginning of capability check
2016-08-02 00:56:21 +02:00
twinaphex
31ca6ca5ea
(GL) Rename another function
2016-08-02 00:42:03 +02:00
twinaphex
188dd9bd69
Create gl_renderchain_add_lut
2016-08-02 00:31:04 +02:00
twinaphex
ec91878187
(GL) rename to gl_recompute_pass_sizes
2016-08-02 00:25:28 +02:00
twinaphex
9c1155283b
(GL) Create gl_renderchain_convert_geometry
2016-08-02 00:23:38 +02:00
twinaphex
124454430b
(GL) Go through gl_query_core_context_in_use
2016-08-01 21:58:18 +02:00
Twinaphex
becef95dc2
(GL) Silence unused variable
2016-08-01 21:55:02 +02:00
twinaphex
e3dc0261c0
(GL) Cleanups
2016-08-01 18:10:34 +02:00
twinaphex
46c8bba59e
(GL) Cut down on ifdefs
2016-08-01 18:08:18 +02:00
twinaphex
10ceec4c99
(GL) Cleanups
2016-08-01 17:46:02 +02:00
twinaphex
b7458f5523
(GL) Cleanups
2016-08-01 17:40:53 +02:00
twinaphex
34488802d9
Create GL_CAPS_SRGB_FBO_ES3
2016-08-01 17:36:07 +02:00
twinaphex
09ea570dcb
Create GL_CAPS_FP_FBO
2016-08-01 17:33:50 +02:00
twinaphex
3d76f6e79f
gl_check_capability - cleanups
2016-08-01 17:30:58 +02:00
twinaphex
76c021df09
Create GL_CAPS_SRGB_FBO
2016-08-01 17:28:43 +02:00
twinaphex
9b5703c9f3
Create GL_CAPS_FULL_NPOT_SUPPORT
2016-08-01 17:23:01 +02:00
twinaphex
91bef22613
EGL images should be usable with GLES3 and later too
2016-08-01 16:47:24 +02:00
twinaphex
a45239359c
(GL) Create GL_CAPS_UNPACK_ROW_LENGTH
...
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex
6d76a04b0f
(GL) Cleanups
...
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex
78217ca32b
(GL) Create GL_CAPS_ES2_COMPAT
2016-08-01 16:19:41 +02:00
twinaphex
bbc303c7f2
(GL) Create GL_CAPS_PACKED_DEPTH_STENCIL
2016-08-01 16:11:35 +02:00
twinaphex
375a2f2480
Create GL_CAPS_DEBUG
2016-08-01 16:06:19 +02:00
twinaphex
4b1ab53361
Create gl_check_capability
2016-08-01 16:01:21 +02:00
twinaphex
1aac393f73
(GL) Cut down on some forward declarations
2016-08-01 15:40:02 +02:00
twinaphex
94763e1db4
(GL) Remove one unnecessary HAVE_MENU ifdef
2016-08-01 15:31:29 +02:00
twinaphex
91220c3448
Remove logically dead code
2016-05-23 21:49:40 +02:00
twinaphex
7c0532c3e7
Remove logically dead code
2016-05-23 21:47:41 +02:00
twinaphex
7e36dcb27f
move video_texture_image to libretro-common and rename it to image_texture.c
2016-05-18 12:58:00 +02:00
twinaphex
281a33d61f
Rename function to performance_counter_init
2016-05-16 09:58:45 +02:00
twinaphex
f5bc75c640
Rename retro_perf_start/retro_perf_stop
2016-05-16 09:53:54 +02:00
twinaphex
18355d4748
Rename retro_perf_stop
2016-05-16 09:48:14 +02:00
twinaphex
cda8e7b560
Rename gl_init_vao to gl_check_vao
2016-05-16 06:14:32 +02:00
twinaphex
e2cc3bc08d
Create gl_query_core_context_in_use
2016-05-16 05:55:42 +02:00
twinaphex
c28b4da58c
Remove more dependencies on gl pointer
2016-05-16 05:50:39 +02:00
twinaphex
8f2c665dc7
Remove dependence on gl pointer for querying extensions
2016-05-16 05:47:34 +02:00
twinaphex
21438fc0af
Some buildfixes for GL_DEBUG
2016-05-12 02:58:09 +02:00
neville
67e64f4ca6
gl_check_mipmap - don't look for GL_EXT_framebuffer_object here
...
- breaks OSX PPC
2016-05-11 23:04:48 +02:00
twinaphex
c9d3936ee5
Check for GL_EXT_framebuffer_object too
2016-05-11 22:49:41 +02:00
twinaphex
fc56f6ebdb
Add some HAVE_THREADS ifdefs
2016-05-11 10:10:30 +02:00
twinaphex
4a7ab8366b
Move libretro.h headers to libretro-common/include
2016-05-10 19:03:53 +02:00
twinaphex
b79b2dca13
Create performance_counters
2016-05-10 08:53:14 +02:00
twinaphex
7c20f2b868
Change namespace of thread functions
2016-05-10 03:14:23 +02:00
twinaphex
dde471e001
Rename gfx_ structs
2016-05-10 02:39:09 +02:00
twinaphex
2ebb92834c
Rename gfx_fbo_rect to video_fbo_rect
2016-05-10 02:34:36 +02:00
twinaphex
6bbe5fb83a
Avoid warning
2016-05-09 19:24:10 +02:00
twinaphex
7272a3fdaf
Prevent some warnings
2016-05-09 04:54:25 +02:00
twinaphex
9c1d1f3af8
(GL) Remove these conditionals - mipmap support should be
...
detected at runtime
2016-05-09 04:38:20 +02:00
twinaphex
3e40b77108
Improve check for gl_check_mipmap
2016-05-09 03:49:57 +02:00
twinaphex
ca976aeda9
Make gl_load_texture_data a static function
2016-05-09 03:44:46 +02:00
twinaphex
4e535f77c6
Add gl_check_mipmap
2016-05-09 03:40:59 +02:00
twinaphex
725c202498
Remove input_driver_ctl
2016-05-08 23:12:04 +02:00
twinaphex
1b8e8ac22a
Remove video_shader_driver_ctl
2016-05-08 21:11:27 +02:00
twinaphex
ed5954420b
(MSVC) Buildfixes
2016-05-08 20:40:42 +02:00
twinaphex
b20d550cc4
Rename video context driver functions
2016-05-08 20:32:56 +02:00
twinaphex
7399ba386a
Rename gfx_ctx_ prefix
2016-05-08 19:24:23 +02:00
Hans-Kristian Arntzen
66c4f608e6
Clear out rest of video_driver_ctl use.
2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen
d723411436
De ioctl video_driver.
2016-05-08 14:00:51 +02:00
twinaphex
e482bc7556
(GL) Avoid warning
2016-05-05 02:08:07 +02:00
twinaphex
eb2a4f5c56
(GL) Nits
2016-05-05 02:07:33 +02:00
twinaphex
1b84895ba0
(GL) Cleanup gl_check_fbo_dimensions
2016-05-05 01:42:08 +02:00
twinaphex
d4a322add3
Cleanups
2016-05-05 01:33:54 +02:00
twinaphex
0ad0763413
gl_read_viewport - cleanup
2016-05-05 01:32:35 +02:00
twinaphex
7feac862db
(GL) Cleanups
2016-05-05 01:29:52 +02:00
twinaphex
9465a00d4b
Create video_frame_convert_rgba_to_bgr
2016-05-04 18:44:39 +02:00
twinaphex
bf53a939da
Create gfx/video_frame.h
2016-05-04 16:32:24 +02:00
twinaphex
3ba02a3786
Cleanups
2016-05-04 04:34:05 +02:00
twinaphex
a393d9a75b
Cleanups
2016-05-04 04:22:41 +02:00
Twinaphex
51565e6336
(iOS) Avoid some analyze warnings
2016-05-04 04:10:33 +02:00
twinaphex
65dec874a8
Move some path settings
2016-04-28 19:52:25 +02:00
twinaphex
92faefbccc
(GL) Cleanups - gl_set_shader
2016-04-16 07:19:21 +02:00
twinaphex
dfe723c727
gl_shader_init - cleanup
2016-04-16 07:16:32 +02:00
twinaphex
4e041ff3d0
(GL) gl_shader_init - Cleanups
2016-04-16 05:36:09 +02:00
twinaphex
7b88378952
Add params to video_shader_ctx_init
2016-04-16 05:14:39 +02:00
twinaphex
8a90e2777c
Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND
2016-04-16 01:50:20 +02:00
twinaphex
9d85afd358
Refactor SHADER_CTL_USE
2016-04-15 07:37:06 +02:00
Hans-Kristian Arntzen
1ff4445ba0
Remove dead code with full_x/full_y.
...
Very confusing and no longer serves any purpose anyways.
2016-03-29 15:28:13 +02:00
twinaphex
870bce981d
(gl.c) Indenting nits
2016-03-24 03:32:00 +01:00
twinaphex
e1c47a68fe
Take prototype declaration out of video_driver.h
2016-03-23 06:57:29 +01:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +01:00
twinaphex
8b4a41155d
C89_BUILD buildfixes
2016-03-20 05:24:05 +01:00
Alwin Garside
97b60b1e20
Fixed emscripten build
2016-03-13 15:30:30 +01:00
twinaphex
64a77af881
Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
...
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex
6f80e09ce1
Change MIN/MAX to upper-case
2016-03-02 00:07:31 +01:00
twinaphex
09f2b64c1f
gl_render_overlay -add early return
2016-02-29 01:43:40 +01:00
twinaphex
34f3963e4e
Simplify RUNLOOP_CTL_IS_SLOWMOTION
2016-02-29 01:33:14 +01:00
twinaphex
6fbad68561
(gl.c) Cleanup
2016-02-29 01:29:49 +01:00
twinaphex
7d346d627f
Robustness fixes
2016-02-29 01:22:39 +01:00
twinaphex
ca497533db
Fix C89_BUILD warning
2016-02-28 22:47:46 +01:00
Monroe88
a669039523
Add option for menu linear filter
2016-02-27 17:30:12 -06:00
twinaphex
ef1feca097
Some C89_BUILD fixes
2016-02-22 12:25:41 +01:00
Hans-Kristian Arntzen
adbf9fed16
Vulkan implementation.
2016-02-16 20:42:02 +01:00
twinaphex
954ac39b91
Create SHADER_CTL_GET_PREV_TEXTURES
2016-02-14 22:22:40 +01:00
twinaphex
e790b503d9
Add SHADER_CTL_GET_IDENT
2016-02-14 22:17:00 +01:00
twinaphex
38034abce6
Add SHADER_CTL_DIRECT_GET_CURRENT_SHADER
2016-02-14 21:55:19 +01:00
twinaphex
46b963619a
Create SHADER_CTL_WRAP_TYPE
2016-02-14 21:41:16 +01:00
twinaphex
bd74390cde
Add SHADER_CTL_USE
2016-02-14 20:01:39 +01:00
twinaphex
b4dcbb235f
Add SHADER_CTL_FILTER_TYPE
2016-02-14 19:51:32 +01:00
twinaphex
37c2b47915
Add SHADER_CTL_SET_MVP
2016-02-14 19:43:47 +01:00
twinaphex
02ec7830d9
Create SHADER_CTL_INFO
2016-02-14 19:30:48 +01:00
twinaphex
cdd6684bb9
Create SHADER_CTL_SCALE
2016-02-14 19:21:54 +01:00
twinaphex
6c1b96f50d
Add SHADER_CTL_SET_COORDS
2016-02-14 18:59:42 +01:00
twinaphex
20441299e1
Add SHADER_CTL_MIPMAP_INPUT
2016-02-14 18:48:17 +01:00
twinaphex
fab6903522
Create SHADER_CTL_INIT
2016-02-14 18:41:45 +01:00
twinaphex
678cabc48c
Add SHADER_CTL_DEINIT
2016-02-14 18:22:38 +01:00
twinaphex
7c4b372208
Add SHADER_CTL_GET_FEEDBACK_PASS
2016-02-14 18:19:48 +01:00
twinaphex
fe3c3f5203
Create SHADER_CTL_INIT_FIRST
2016-02-14 18:17:43 +01:00
twinaphex
f906e828ba
Add SHADER_CTL_SET_PARAMS
2016-02-14 18:14:51 +01:00
twinaphex
f9824dd53e
Simplify video_shader_driver_set_params
2016-02-14 18:09:12 +01:00
twinaphex
57c4db4338
Style nits
2016-02-14 16:59:21 +01:00
twinaphex
68969d1363
Add GFX_CTL_GET_VIDEO_SIZE
2016-02-14 02:26:20 +01:00
twinaphex
bcaf08ad2d
Add GFX_CTL_SET_RESIZE
2016-02-14 02:15:43 +01:00
twinaphex
5516ff05b5
Create GFX_CTL_SET_VIDEO_MODE
2016-02-14 02:12:18 +01:00
twinaphex
6413449944
(Android/EGL Images) Buildfixes
2016-02-14 02:00:14 +01:00
twinaphex
154f85c6fa
Add GFX_CTL_SUPPRESS_SCREENSAVER
2016-02-13 23:39:12 +01:00
twinaphex
f6afe72a1e
Add GFX_CTL_IMAGE_BUFFER_WRITE
2016-02-13 23:35:47 +01:00
twinaphex
0a9787ec49
Create GFX_CTL_INPUT_DRIVER
2016-02-13 23:26:33 +01:00
twinaphex
ce41c5bbca
Create GFX_CTL_TRANSLATE_ASPECT
2016-02-13 22:07:56 +01:00
twinaphex
f94e9c532e
Create GFX_CTL_PROC_ADDRESS_GET
2016-02-13 22:02:49 +01:00
twinaphex
254d2d1fff
Avoid crash in gl_frame
2016-02-13 21:15:18 +01:00
twinaphex
9e186b4587
Create GFX_CTL_SWAP_INTERVAL
2016-02-13 20:45:45 +01:00
twinaphex
46c9ff36ef
Create GFX_CTL_CHECK_WINDOW
2016-02-13 19:53:14 +01:00
twinaphex
b9a5c326cd
Create GFX_CTX_GET_VIDEO_OUTPUT_SIZE
2016-02-13 19:36:02 +01:00
twinaphex
7c28ddbfc5
Add GFX_CTL_IMAGE_BUFFER_INIT
2016-02-13 18:51:16 +01:00
twinaphex
ef6ef13143
Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT
2016-02-13 18:47:38 +01:00
twinaphex
00e4793bed
Add GFX_CTL_BIND_HW_RENDER
2016-02-13 18:36:23 +01:00
twinaphex
b7c41c9fcd
Remove gfx_ctx_show_mouse
2016-02-13 18:29:07 +01:00
twinaphex
8721c857e9
Add GFX_CTL_SET
2016-02-13 18:27:05 +01:00
twinaphex
6a697ef2e1
GFX_CTL_SHOW_MOUSE added
2016-02-13 17:48:25 +01:00
twinaphex
425a290ced
Remove gfx_ctx_destroy
2016-02-13 16:33:38 +01:00
twinaphex
ef1b0b0965
Add GFX_CTL_UPDATE_WINDOW_TITLE
2016-02-13 08:50:22 +01:00
twinaphex
f079ca29e4
Add GFX_CTL_HAS_WINDOWED
2016-02-13 08:37:10 +01:00
twinaphex
752e9abd4e
Add GFX_CTL_SWAP_BUFFERS
2016-02-13 08:33:33 +01:00
twinaphex
0a7c481ff0
Create GFX_CTL_FOCUS
2016-02-13 08:29:58 +01:00
twinaphex
fab6c9b8c4
Add GFX_CTL_FREE
2016-02-13 08:26:54 +01:00
twinaphex
863b5306f8
CLeanups
2016-01-25 00:06:08 +01:00
twinaphex
54f46f4ee3
Update headers
2016-01-10 04:41:52 +01:00
twinaphex
c2d7cbe18b
Use string_is_empty
2015-12-26 07:59:15 +01:00
vanfanel
36d079f104
fixed segfault on exit caused by gl driver trying to free font context driver when osd mesages were disabled
2015-12-25 05:47:47 +01:00
vanfanel
886acba67f
fixed segfault when osd message rendering was disabled
2015-12-25 05:27:28 +01:00
twinaphex
f53711f791
Change return type of load_texture to uintptr_t
2015-12-20 22:38:18 +01:00
twinaphex
6362c86c31
Buildfixes
2015-12-20 21:08:03 +01:00
twinaphex
aa488dda25
Create video driver poke load_texture / unload_texture
2015-12-20 20:52:23 +01:00
twinaphex
6feff79547
(GL) Store major/minor version
2015-12-13 14:55:19 +01:00
twinaphex
b7988a33fe
shader_driver_ctx_init_first renamed
2015-12-09 08:45:55 +01:00
Higor Eurípedes
9e90efacbb
(videocore) Convert to new egl common api
2015-12-08 17:33:59 -03:00
Higor Eurípedes
c257374dcd
(video_context_driver) Make better use of the data argument in context calls
2015-12-08 12:19:08 -03:00
twinaphex
c614118ed8
Move context_bind_hw_render inline function to gl.c
2015-12-08 09:44:19 +01:00
twinaphex
75f10bfcdb
Remove unused variable
2015-12-08 09:33:36 +01:00
twinaphex
df60523f6c
Move current_shader pointer to video_shader_driver.c
2015-12-08 09:27:25 +01:00
twinaphex
99ea0095a3
Create RARCH_MENU_CTL_FRAME
2015-12-06 18:28:37 +01:00
twinaphex
18ab12ab83
Take header include record_driver.h out of driver.h
2015-12-05 16:12:29 +01:00
twinaphex
736f343d9f
Create RARCH_MENU_CTL_IS_ALIVE
2015-12-05 13:49:34 +01:00
twinaphex
2f29d9f18c
Take out menu/menu_driver.h include from driver.h
2015-12-05 13:22:50 +01:00
twinaphex
988162ed62
Cut down on code duplication
2015-12-05 11:29:06 +01:00
twinaphex
5f27366cb3
Expand font_driver_init_first
2015-12-05 11:18:05 +01:00
twinaphex
a26e64e24d
Expand font_driver_free
2015-12-05 10:54:53 +01:00
twinaphex
e196fdf141
font_driver_render_msg - make it possible to pass special font data
2015-12-05 10:49:28 +01:00
twinaphex
89721b8837
Start creating font driver wrapper functions
2015-12-05 10:31:15 +01:00
twinaphex
e735f84baa
Refactor shader subsystem
2015-12-05 07:33:32 +01:00
twinaphex
ab3f0f0652
Create remaining video_shader_driver_* functions
2015-12-04 16:45:38 +01:00
twinaphex
6d37cfc2fb
Create video_shader_driver_get_prev_textures
2015-12-04 16:34:58 +01:00
twinaphex
a2da59ac9b
Create video_shader_driver_set_coords and video_shader_driver_set_mvp
2015-12-04 16:33:07 +01:00
twinaphex
827b3cc89b
Create video_shader_driver_num_shaders
2015-12-04 16:19:12 +01:00
twinaphex
0ed77247a8
Create video_shader_driver_mipmap_input
2015-12-04 16:16:40 +01:00
twinaphex
c8f2ef7734
Create video_shader_driver_get_ident
2015-12-04 16:05:42 +01:00
twinaphex
1956dffe9b
Create video_shader_driver_use
2015-12-04 16:01:09 +01:00
twinaphex
bdf099a19c
Create video_shader_driver_deinit
2015-12-04 15:56:36 +01:00
twinaphex
de555d6040
Replace all instances of shader->init
2015-12-04 15:54:10 +01:00
twinaphex
3f6540dd58
Start using video_shader_driver_init for D3D too
2015-12-04 15:53:02 +01:00
twinaphex
11109a198b
Create video_shader_driver_init
2015-12-04 15:50:40 +01:00
twinaphex
e73224c5c2
Get rid of superfluous log
2015-12-03 23:24:54 +01:00
twinaphex
eda3e06898
(GL) Guard against possible segfaults in threaded video mode
2015-12-03 23:16:37 +01:00
twinaphex
beb01b5d57
Create gl_init_textures_reference
2015-12-03 22:42:54 +01:00
Twinaphex
96da691728
Revert "Revert "(gl) Fix gl->should_resize being always true""
...
This reverts commit d35840ebcd
.
2015-12-01 07:15:06 +01:00
Twinaphex
d35840ebcd
Revert "(gl) Fix gl->should_resize being always true"
...
This reverts commit 0f339caf30
.
2015-12-01 04:58:47 +01:00
Higor Eurípedes
0f339caf30
(gl) Fix gl->should_resize being always true
2015-11-30 21:32:32 -03:00
twinaphex
0db7cda264
Start moving rewind code to rewind.c
2015-11-30 22:25:13 +01:00
twinaphex
9824eb7ea9
Rename rarch_main_ctl to runloop_ctl
2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae
Rename RARCH_MAIN_CTL* to RUNLOOP_CTL*
2015-11-30 21:35:50 +01:00
twinaphex
1c867cedf0
Move nonblock_state to input_driver.c (NOTE: we probably need
...
to relocate this later on)
2015-11-29 17:53:11 +01:00
Higor Eurípedes
9bc10fef7a
(gl) Fix invalid enum error
2015-11-27 21:53:31 -03:00
Higor Eurípedes
428bc30a61
(gl) Add checks for full npot support
2015-11-27 21:21:23 -03:00
twinaphex
516422b1d1
Build fix
2015-11-24 00:23:32 +01:00
twinaphex
a3e52a9369
Put M_PI inside retro_miscellaneous.h
2015-11-24 00:05:37 +01:00
twinaphex
deae90e0bb
Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies
2015-11-23 23:58:40 +01:00
twinaphex
6f18656baa
driver->video_context should be self-contained now to video_context_driver.c
2015-11-23 21:20:21 +01:00
twinaphex
beceaf4a8c
Merge video_pixel_converter.c with video_driver.c
2015-11-23 13:02:24 +01:00
twinaphex
86504392b9
Create video_driver_set_size
2015-11-23 12:54:15 +01:00
twinaphex
892d99b3a6
Add SET_VIEWPORT_CONFIG
2015-11-21 13:13:55 +01:00
twinaphex
806c124eae
Merge video_viewport.c and video_driver.c
2015-11-21 13:01:23 +01:00
twinaphex
5b44bd0e6b
Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL
2015-11-21 12:54:38 +01:00
twinaphex
4db97a5300
Refactor away video_viewport_set_core
2015-11-21 12:45:36 +01:00
twinaphex
6286e4b74c
Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER
2015-11-20 15:34:10 +01:00
twinaphex
66c15314e2
Get rid of some header files
2015-11-19 08:56:08 +01:00
twinaphex
a3a5a82d47
(GL) doesn't access global state anymore
2015-11-18 03:08:19 +01:00
twinaphex
1ef9601966
Revert "(GL) Cleanups"
...
This reverts commit 36d5cc890b
.
2015-11-14 05:27:44 +01:00
twinaphex
36d5cc890b
(GL) Cleanups
2015-11-10 15:32:07 +01:00
twinaphex
ed35db13e8
Fix some linking errors with CXX_BUILD
2015-11-09 05:23:11 +01:00
twinaphex
7e207626ad
(gl.c) Add video_texture.h header include
2015-11-09 02:08:40 +01:00
twinaphex
df01279cf3
Add non-HAVE_MENU ifdefs
2015-10-28 00:55:11 +01:00
twinaphex
2b9e5539fb
Add another HAVE_FBO ifdef
2015-10-11 16:54:01 +02:00
twinaphex
6683ab16ef
(GL) Add HAVE_FBO ifdef around FBO feedback code
2015-10-11 16:53:18 +02:00
twinaphex
a61104dba3
Create video_shader_scale
2015-10-07 18:18:49 +02:00
twinaphex
e986b9e42a
Static code analysis cleanups
2015-09-29 17:35:28 +02:00
twinaphex
0cc56e2a1a
More static code analysis nits
2015-09-28 18:44:28 +02:00
twinaphex
631da50dfa
More static code analysis nits
2015-09-28 18:22:27 +02:00
twinaphex
4ca5d31f9b
Some more static code analysis nits when ran with enable=all
2015-09-28 18:12:02 +02:00
twinaphex
0d18c61bc5
Add RARCH_MAIN_CTL_IS_PAUSED
2015-09-26 13:04:07 +02:00
twinaphex
cc4a918296
Create rarch_main_ctl
2015-09-26 12:58:02 +02:00
twinaphex
b9ba75403e
(GL) Fix mixe code declaration (for C89_BUILD)
2015-09-21 11:50:02 +02:00
twinaphex
2b840c0384
Refactor perf counters
2015-09-20 10:02:59 +02:00
twinaphex
bbe210f7eb
C89_BUILD fixes
2015-09-06 23:43:27 +02:00
Twinaphex
d5f72ca9c1
remove unused variables
2015-08-30 18:45:02 +02:00
Twinaphex
e8d266cb9d
Revert "Revert "Add support for shader pass feedback.""
2015-08-30 18:37:41 +02:00
Twinaphex
ad1825ca50
Revert "Add support for shader pass feedback."
2015-08-30 18:21:07 +02:00
CautiousAlbino
aee5e74001
Add support for shader pass feedback.
2015-08-30 16:23:55 +02:00