Commit Graph

5377 Commits

Author SHA1 Message Date
twinaphex
0f12336737 Take this out too 2016-05-30 08:51:41 +02:00
twinaphex
d93d8e7a8f Update stock_fragment_modern 2016-05-30 08:44:13 +02:00
twinaphex
d39d925c1d Fix opsque Cg shader 2016-05-29 03:48:08 +02:00
twinaphex
da6a74b2dc Leave only GLSL_330 macro 2016-05-28 20:58:49 +02:00
Twinaphex
2056d25e3e Update GLSL_330_ES/GLSL_330_CORE 2016-05-28 20:56:37 +02:00
Twinaphex
e331281d6a (shaders_common.h) Fix GLES 2016-05-28 20:56:02 +02:00
twinaphex
3d5cc14030 Convert other shaders 2016-05-28 18:43:00 +02:00
twinaphex
653359911a Cleanup shaders 2016-05-28 18:18:23 +02:00
twinaphex
a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex
7d12408f24 x11_create_input_context - prevent memleak 2016-05-26 07:34:25 +02:00
radius
38305f8fb7 Update the menu driver to work with the latest version 2016-05-24 21:41:51 -05:00
twinaphex
5a4ada4311 Avoid some warnings by using return value for config_get_int 2016-05-24 23:53:35 +02:00
twinaphex
a82a8cad51 Be more careful with config_get_bool 2016-05-24 22:48:15 +02:00
twinaphex
42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex
72d37e3917 Fix unreachable code 2016-05-24 21:48:32 +02:00
twinaphex
46872f8fcb (gfx/font_driver.c) Cleanups 2016-05-24 21:07:02 +02:00
twinaphex
80abd06bd8 Not sure where this came from 2016-05-23 22:39:02 +02:00
twinaphex
c17315cd27 (DRM) Prevent double free and prevent dereference before NULL check 2016-05-23 22:30:01 +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
6bd7fd482c Performance counters got function name changes 2016-05-21 13:14:25 +02:00
Twinaphex
72e1a33715 Merge pull request #3016 from Themaister/master
Add perf counter to fence waits.
2016-05-21 12:36:25 +02:00
Hans-Kristian Arntzen
218ecc07c1 Add perf counter to fence waits.
Makes it easy to check if we're GPU bound or not.
2016-05-21 12:13:46 +02:00
Lionel Flandrin
b7d5c1d3e8 potential fix for AMD and GL core contexts 2016-05-20 20:12:41 +02:00
Twinaphex
e133ce31e8 (QNX) Buildfixes 2016-05-19 20:10:10 +02:00
twinaphex
c104bc094b (QNX) Fix egl_create_surface call 2016-05-19 20:07:03 +02:00
Twinaphex
85331042be (QNX) Build fixes 2016-05-19 20:02:39 +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
265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
twinaphex
e2b5c69af9 (gfx/video_texture_image.c) Cleanups 2016-05-18 12:17:51 +02:00
twinaphex
9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex
492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
558dfd64f2 Exit video_texture_image_load_internal if we build
without HAVE_RJPEG/HAVE_RPNG depending on content type
2016-05-17 16:34:23 +02:00
twinaphex
1166be62ae (gfx/video_texture_image.c) Drop more implementation details 2016-05-17 16:32:53 +02:00
twinaphex
52948b436e We can take out RPNG implementation details out of video_texture_image.c
now
2016-05-17 16:23:22 +02:00
twinaphex
e7e9e90b0d (gfx/video_texture_image.c) Cleanup 2016-05-17 16:15:37 +02:00
twinaphex
b268869669 (gfx/video_texture_image.c) Refactor - go through image_transfer
interface
2016-05-17 16:11:37 +02:00
twinaphex
80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +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
b9ce94b360 (WGL) Change ifdef 2016-05-16 08:36:22 +02:00
twinaphex
0433d3ca6e (WGL) Make context driver more modular 2016-05-16 08:34:56 +02:00
twinaphex
822d66f401 (WGL) Avoid some warnings 2016-05-16 08:25:14 +02:00
twinaphex
01e3362f21 Remove unused variable 2016-05-16 07:52:26 +02:00
twinaphex
0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex
cda8e7b560 Rename gl_init_vao to gl_check_vao 2016-05-16 06:14:32 +02:00
twinaphex
8de39f261c (GLSL) Remove unused variables 2016-05-16 05:58:00 +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
b4abec5181 Cleanups 2016-05-15 19:59:03 +02:00
twinaphex
d63e7defb5 (GLSL) Remove more code 2016-05-15 19:58:02 +02:00
twinaphex
67d08f6790 Restore glsl_set_params 2016-05-15 19:56:53 +02:00
twinaphex
c15ec92c83 (Cg) set_params - don't use set_uniform_parameter function - fixes PS3 port 2016-05-15 19:03:39 +02:00
twinaphex
2f69c20e39 Revert "(Shaders) Get rid of third parameter"
This reverts commit 52d6a21e55.
2016-05-15 17:26:23 +02:00
twinaphex
52d6a21e55 (Shaders) Get rid of third parameter 2016-05-15 17:22:55 +02:00
twinaphex
fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex
8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex
df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex
35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex
f0b99edafc Prevent some warnings/errors from occurring with MESA_DEBUG 2016-05-12 04:29:36 +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
670b564f13 Add HAVE_RTGA switch 2016-05-11 21:57:41 +02:00
twinaphex
367150b487 Cleanups 2016-05-11 21:48:30 +02:00
twinaphex
5845a9944d Add more HAVE_THREADS ifdefs 2016-05-11 19:02:43 +02:00
twinaphex
fc56f6ebdb Add some HAVE_THREADS ifdefs 2016-05-11 10:10:30 +02:00
twinaphex
78783cc2aa Buildfixes for compiling without HAVE_MENU 2016-05-11 10:06:15 +02:00
twinaphex
9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex
4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex
35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex
0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +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
88ae5c0875 Rename gfx_mut_coords 2016-05-10 02:42:52 +02:00
twinaphex
b2f5e2ac08 Rename gfx_font_raster_block 2016-05-10 02:42:02 +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
0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
twinaphex
2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex
523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex
6bbe5fb83a Avoid warning 2016-05-09 19:24:10 +02:00
twinaphex
6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex
5f3f578311 Further otpimization 2016-05-09 08:03:36 +02:00
twinaphex
c82505ed9e Show FPS in title bar only when 'Display Framerate' is enabled 2016-05-09 07:44:13 +02:00
twinaphex
372e7d94cd Rename rewind.c to state_manager 2016-05-09 07:14:10 +02:00
twinaphex
f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex
e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex
44ed8d1116 CXX_BUILD fixes 2016-05-09 05:48:47 +02:00
twinaphex
d50109f60a video_texture_image.c - prevent warning 2016-05-09 04:56:41 +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
3dfd8a0584 Split up vertex/fragment shader conditionals for XMB ribbon 2016-05-09 04:31:21 +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