Commit Graph

451 Commits

Author SHA1 Message Date
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