twinaphex
45d6b4a228
Create win32_drag_query_file
2016-06-04 03:20:55 +02:00
twinaphex
d7d5f29c90
(win32_common.cpp) Buildfix
2016-06-03 19:46:09 +02:00
twinaphex
6628da2646
Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI
2016-06-03 18:43:05 +02:00
mudlord
1ab94a2c9a
updates to dragndrop
2016-06-03 18:25:45 +10:00
twinaphex
30d3cf8a4e
Indenting nits
2016-06-03 08:23:43 +02:00
twinaphex
4cfe09faed
Nits
2016-06-03 08:21:56 +02:00
twinaphex
59413e0289
(win32_common.cpp) Cleanups/get rid of warning
2016-06-03 08:20:36 +02:00
twinaphex
01390f8ceb
Use retro_common_api.h
2016-06-03 08:06:49 +02:00
Twinaphex
1aef6ddbc8
Merge pull request #3058 from mudlord/master
...
Updates to drag and drop:
2016-06-03 08:04:10 +02:00
mudlord
bcf636283b
Updates to drag and drop:
...
* Now recognises old core used, if compatible.
* If not compatible, compatibile cores are scanned and used.
* Different compatible cores are now enumerated to be selected at will.
2016-06-03 16:00:08 +10:00
twinaphex
5230aeb9d0
Use retro_common_api.h
2016-06-03 06:02:49 +02:00
twinaphex
8fc8ff4ed9
Use retro_common_api.h
2016-06-03 05:43:49 +02:00
twinaphex
2b33c731d0
Create RFILE_MODE_READ_TEXT
2016-06-03 03:14:42 +02:00
mudlord
4c53bdf4f9
add drag and drop
2016-06-03 09:14:53 +10:00
twinaphex
294777166f
video_shader_parse.c - use filestream
2016-06-03 00:11:41 +02:00
twinaphex
65d5ebc2bb
Fix some dereference after null check warnings
2016-06-02 20:40:51 +02:00
twinaphex
5eb43846da
Prevent explicit NULL dereferenced warnings
2016-06-01 04:14:48 +02:00
twinaphex
cf91d006b3
BB10 starts again
2016-05-31 05:16:35 +02:00
twinaphex
b23784ddc5
Update modern_alpha_blend.gls.vert.h
2016-05-30 08:55:31 +02:00
twinaphex
632cc599d6
Change modern_alpha_blend.glsl.frag.h
2016-05-30 08:53:49 +02:00
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
twinaphex
725c202498
Remove input_driver_ctl
2016-05-08 23:12:04 +02:00
Twinaphex
6ca2223671
Merge pull request #2975 from t-paul/vg-compile-fix
...
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
2016-05-08 22:02:27 +02:00
twinaphex
9c1885a46e
Fix Display FPS
2016-05-08 22:00:30 +02:00
Torsten Paul
737e2832f2
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
2016-05-08 21:55:46 +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
be1daeebd7
Merge pull request #2971 from t-paul/screensaver-fix
...
Suppress screensaver only if requested by user settings.
2016-05-08 20:26:39 +02:00
twinaphex
7399ba386a
Rename gfx_ctx_ prefix
2016-05-08 19:24:23 +02:00
Torsten Paul
1979ea52d2
Suppress screensaver only if requested by user settings.
2016-05-08 19:22:45 +02:00
twinaphex
bc74e7199b
Move variables outside of gfx_ctx_ctl
2016-05-08 19:18:17 +02:00
Torsten Paul
50a3cc3cf7
Ensure video_driver_frame_count is reset when the driver is (re-)initialized.
2016-05-08 18:48:38 +02:00
twinaphex
7e1a06d8dd
Remove some warnings
2016-05-08 17:54:30 +02:00
Hans-Kristian Arntzen
f91b36eec8
Fix inconsistencies between Vulkan and GL in ribbon.
...
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen
8870e85395
More fixes for menu_display_ctl.
...
Grep shows nothing now.
2016-05-08 14:18:12 +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
Hans-Kristian Arntzen
ade5131833
Vulkan: Move to SPIRV-Cross.
2016-05-08 12:43:58 +02:00
Hans-Kristian Arntzen
464a4add66
XMB ribbon works in Vulkan.
2016-05-08 11:11:28 +02:00
Hans-Kristian Arntzen
26cfedc546
Add XMB ribbon shaders to Vulkan.
2016-05-08 09:54:36 +02:00
twinaphex
889306f8ad
Remove unused variable
2016-05-08 07:10:51 +02:00
twinaphex
e165954395
Rename libretro_version_1 to core_impl
2016-05-08 05:29:10 +02:00
twinaphex
ae9ea8f2db
(MSVC) Buildfixes
2016-05-08 04:04:50 +02:00
twinaphex
6544772fb8
De-ioctl ify core_ctl
2016-05-08 01:33:57 +02:00
twinaphex
7f272a4bd0
Add missing parameters
2016-05-07 16:24:26 +02:00
twinaphex
f86d4d400d
Start adding jpeg hooks
2016-05-07 06:20:17 +02:00
twinaphex
857a6ac479
Remove streams/file_stream.h
2016-05-07 04:17:33 +02:00
twinaphex
c192b8d61f
(video_texture_image.c) Cleanup
2016-05-07 04:07:27 +02:00
twinaphex
b8644536d2
(video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
...
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex
9ac9ed4b36
Cleanups
2016-05-07 03:35:31 +02:00
twinaphex
afd56893f5
video_texture_image - cleanups
2016-05-07 03:31:24 +02:00
Twinaphex
a85bc7bab6
RARCH_DISPLAY_CT_LOCK_NEW - make sure lock is freed beforehand
2016-05-06 18:55:42 +02:00
Torsten Paul
ccb224043b
Initialize window name at window creation time ( fixes #1521 ).
...
The protocol error reported in #1521 is caused by two different issues.
First xdg-screensaver fails to parse decimal values for the window id
(https://bugzilla.redhat.com/show_bug.cgi?id=1274931 ). Using the hex
notation fixes this part.
Second, the script reads the WM_NAME property from the window which is
not yet available at this time. Calling x11_update_window_title() early
ensures the property is set when xdg-screensaver is run.
2016-05-06 00:17:47 +02:00
twinaphex
78cbf97e70
Another fix
2016-05-05 17:58:58 +02:00
twinaphex
2314733af7
Cleanup
2016-05-05 17:52:30 +02:00
twinaphex
493ad4dfb8
(WGL) Typo buildfix
2016-05-05 17:50:26 +02:00
twinaphex
a7588292bf
Another cleanup
2016-05-05 17:44:43 +02:00
twinaphex
8966f46d36
video_shader_set_backend - cleanup
2016-05-05 17:44:10 +02:00
twinaphex
c04122d385
Set context driver's set_flags function when core GL context
...
is requested, and query the core GL context set bit when
loading a Cg shader
2016-05-05 17:40:38 +02:00
twinaphex
10b0fca258
Add GFX_CTL_SET_FLAGS
2016-05-05 17:37:24 +02:00
twinaphex
60233d1abb
Add set_flags to context driver
2016-05-05 17:35:28 +02:00
twinaphex
400f50ddac
Comment this out for now until we fundamentally fix it
2016-05-05 05:58:40 +02:00
twinaphex
a22b99838d
Get rid of variable core_context_inited
2016-05-05 05:53:50 +02:00
twinaphex
d176f2d48f
Try to query context driver about core GL context ability
2016-05-05 05:52:38 +02:00
twinaphex
9d225e388f
Add GFX_CTL_GET_FLAGS
2016-05-05 05:49:48 +02:00
twinaphex
8136683ffc
(context drivers) Start exposing core GL flag
2016-05-05 05:46:00 +02:00
twinaphex
a0425dfb14
(Context drivers) Add get_flags function
2016-05-05 05:35:35 +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
2c77616ec3
(gfx/drivers) Cleanups
2016-05-05 01:59:05 +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
2e20e4bbdb
Add header
2016-05-04 17:13:25 +02:00
twinaphex
b8e140d6c4
(record_ffmpeg.c) Move scaler code to gfx/video_frame.h
2016-05-04 17:11:22 +02:00
twinaphex
bfcc89f580
(SDL) Use video_frame_scale
2016-05-04 16:56:16 +02:00
twinaphex
7b2a2f2336
Create video_frame_scale
2016-05-04 16:44:38 +02:00
twinaphex
2c3ca6efed
Move convert frame function to gfx/video_frame.h
2016-05-04 16:34:13 +02:00
twinaphex
bf53a939da
Create gfx/video_frame.h
2016-05-04 16:32:24 +02:00
twinaphex
83584c84f8
(sdl_gfx.c) Style nit
2016-05-04 04:45:46 +02:00
twinaphex
66b6129e98
Cleanups
2016-05-04 04:43: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
54427bd377
(gl_raster_font.c) Avoid another static code analysis warning
2016-05-02 17:10:21 +02:00
Twinaphex
4039bc89d6
(gl_raster_font.c) Cleanups
2016-05-02 17:08:40 +02:00
twinaphex
53fc458795
(Cocoa) Store idiom type inside unsigned variable
2016-05-02 14:53:23 +02:00
Twinaphex
fab90f4b96
(iOS) Avoid warning for unhandled CarPlay enum value
2016-05-02 01:55:02 +02:00
twinaphex
61d6fb57e6
Buildfixes
2016-04-28 20:55:26 +02:00
twinaphex
895783d854
Move some variables
2016-04-28 20:49:13 +02:00
twinaphex
65dec874a8
Move some path settings
2016-04-28 19:52:25 +02:00
twinaphex
ba415b6d3a
Silence warnings
2016-04-27 23:07:36 +02:00
Twinaphex
e69c43f2a8
C89_BUILD fixes
2016-04-27 23:03:49 +02:00
twinaphex
15a30dae70
CLeanups
2016-04-27 14:29:28 +02:00
twinaphex
b4f4720f51
(Cg) Update Cg simple ribbon courtesy of teepee
2016-04-26 22:11:58 +02:00
twinaphex
7c4df601f8
(Cg) Call gl_cg_set_program_base_attrib for XMB pipeline shaders
2016-04-26 09:16:25 +02:00
Torsten Paul
fdd6d26d85
Add uniform lookup for menu shaders.
...
This fixes the mix-up of parameter assignments for the XMB ribbon shader
which was caused by all 4 uniform locations set to 0.
2016-04-26 00:08:24 +02:00
twinaphex
54c0ca4bf5
C89_BUILD fixes
2016-04-25 13:45:53 +02:00
twinaphex
a83e6b3405
(Cg) Cleanups
2016-04-25 13:02:05 +02:00
twinaphex
0a3ca14fde
(Cg) Rename cg_data to cg
2016-04-25 12:51:01 +02:00
twinaphex
43943fe794
(Cg) Cleanups
2016-04-25 12:33:38 +02:00
twinaphex
d4184df592
(Cg) Call gl_cg_reset_attribs before initializing Cg shader backend
2016-04-25 12:22:55 +02:00
twinaphex
01a9185a2d
(Cg) Cleanups
2016-04-25 12:07:23 +02:00
twinaphex
9ff8a3c8e2
(Cg) Cleanups
2016-04-25 11:59:46 +02:00
twinaphex
242e579b89
(Cg/GLSL) Name some variables the same
2016-04-25 10:15:57 +02:00
twinaphex
8cb66dd021
Add way to switch back and forth between shader pipeline
2016-04-24 22:03:39 +02:00
twinaphex
b00202a83d
(GLES2) Use XMB ribbon simple shader for GLES2
2016-04-24 20:29:42 +02:00
twinaphex
d7b3e9cc8f
Add old shader versions of XMB ribbon
2016-04-24 20:25:56 +02:00
twinaphex
a34ce90940
(d3d_common.cpp) Include d3dx9tex.h instead
2016-04-23 19:09:15 +02:00
twinaphex
6083f850aa
(D3D) Buildfix
2016-04-23 19:04:19 +02:00
twinaphex
cc7f661f9c
(D3D) Buildfixes
2016-04-23 19:02:40 +02:00
Twinaphex
493b6850a5
Use include dir d3d/cg files
2016-04-23 18:19:35 +02:00
twinaphex
33cf9ce023
Add more d3dx9 header files
2016-04-23 18:17:28 +02:00
twinaphex
161b19cb73
Add gfx/include/d3d9
2016-04-23 18:11:22 +02:00
twinaphex
d94a0a912c
(D3D) Cleanups
2016-04-23 14:17:55 +02:00
twinaphex
7242d8dcf7
Revert "(D3D) Cleanups"
...
This reverts commit 64559154cf
.
2016-04-23 11:34:30 +02:00
twinaphex
64559154cf
(D3D) Cleanups
2016-04-23 11:21:38 +02:00
twinaphex
3902a6715a
(D3D) Buildfix
2016-04-23 10:22:23 +02:00
twinaphex
38bc378c4d
(D3D) Some buildfixes
2016-04-23 10:18:46 +02:00
twinaphex
61a71e91e0
(D3D common) Add C versions of functions
2016-04-23 09:26:38 +02:00
Twinaphex
5a0d656a47
(XMB) Rename noise2 to xmb_noise2 - fixes shader compilation
...
on OSX
2016-04-23 05:21:40 +02:00
Jean-André Santoni
422c6d8984
(XMB) Ribbon lighting + readability tweaks
2016-04-23 05:24:44 +07:00
twinaphex
ce077533c2
(GLSL) Increase attrib array size
2016-04-22 15:22:27 +02:00
twinaphex
99246ae3e8
(Cg) Cleanup
2016-04-22 14:37:11 +02:00
twinaphex
63f0e998db
(Cg) Code deduplication cleanups
2016-04-22 14:05:45 +02:00
twinaphex
4250161327
(GLSL/Cg) Simplify some variables
2016-04-22 14:00:30 +02:00
twinaphex
f3f6e6ff70
(Cg) Make cg_attribs bigger - would lead to overflows when sending
...
XMB ribbon to it
2016-04-22 13:27:50 +02:00
twinaphex
d9ddb92a90
(egl_common.c) Silence warning
2016-04-22 07:56:32 +02:00
twinaphex
1bbc2f09b5
(courtesy of teepee) Rewrite the ribbon code to use the coordinate
...
array
2016-04-19 23:00:55 +02:00
Twinaphex
9d0047798d
Merge pull request #2874 from aliaspider/master
...
(3DS) gfx driver: improvements / fixes.
2016-04-18 18:10:40 +02:00
aliaspider
0ffba39280
(3DS) restore state correctly when suspending/exiting app. ( fixes #2207 )
2016-04-18 16:38:32 +01:00
aliaspider
4f54025a50
(3DS) 3D slider display mode selection tweaks.
2016-04-18 15:55:34 +01:00
aliaspider
0f8895bcc3
(3DS) the parallax layer register can be written to from userland with
...
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
twinaphex
2d69615f1d
Add some compatibility defines for XMB ribbon pipeline shader
2016-04-18 03:56:08 +02:00
twinaphex
faa3e3557c
Exclude SDL for C89_BUILD
2016-04-18 03:23:47 +02:00
twinaphex
38cc90d0e0
(XMB) Refactor ribbon
2016-04-18 01:52:16 +02:00
Twinaphex
25c2acb98d
Merge pull request #2873 from lakkatv/master
...
(XMB) Fix the ribbon with GLES
2016-04-17 21:58:57 +02:00
Jean-André Santoni
8e4934edae
(XMB) Fix the ribbon with GLES
2016-04-18 02:50:48 +07:00
Twinaphex
1b111feb9e
Merge pull request #2872 from aliaspider/master
...
(3DS) add more display modes for the top screen that can be controlled by the 3D slider.
2016-04-17 21:16:07 +02:00
aliaspider
4994de806a
(3DS) add more display modes for the top screen that can be controlled
...
by the 3D slider.
2016-04-17 20:10:21 +01:00
Twinaphex
287fa45e73
Merge pull request #2871 from lakkatv/master
...
(XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers
2016-04-17 20:11:29 +02:00
Jean-André Santoni
0410d7a59e
(XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers
2016-04-18 01:05:27 +07:00
twinaphex
7b3b4de3b9
Ribbon GLSL fragment shader - remove this unused line
2016-04-17 18:25:25 +02:00
twinaphex
ec4f961348
(XMB Cg) Ribbon works with Cg now too
2016-04-17 17:59:40 +02:00
aliaspider
1465cf1ffc
(3DS) allow setting a start offset in the texture
2016-04-17 15:30:44 +01:00
twinaphex
05f2153549
Change uniform_info's uniform type to unsigned
2016-04-17 16:07:32 +02:00
aliaspider
a609a748db
(3DS) move shaders to a subdirectory.
2016-04-17 13:27:55 +01:00
aliaspider
27fc306b19
(3DS) refactor shaders.
2016-04-17 13:23:56 +01:00
Twinaphex
66ba52eab0
CXX_BUILD fixes
2016-04-17 07:49:54 +02:00
Twinaphex
c8d97d05e7
(shader_glsl.c) Fix warnings
2016-04-17 07:45:37 +02:00
twinaphex
ef835f93d5
Change function signature for set_coords
2016-04-17 07:12:48 +02:00
twinaphex
71df73e640
(video_shader_driver.h) Cleanup
2016-04-17 06:17:23 +02:00
twinaphex
58f145282e
(XMB) Set uniform to vertex program and add 'add_prefix' to uniform_info struct
2016-04-17 06:11:48 +02:00
twinaphex
6579b5f3c8
Add XMB shader compilation to shader_gl_cg.c
2016-04-17 05:52:26 +02:00
twinaphex
30ade96fc0
Add Cg conversions of XMB ribbon/Zahnrad
2016-04-17 05:48:06 +02:00
twinaphex
641a37ce06
Change some function parameters for gl_ff_matrix/gl_ff_vertex
2016-04-17 05:00:42 +02:00
twinaphex
46b2100132
gl_cg_set_mvp - cleanup
2016-04-17 04:55:58 +02:00
twinaphex
07d28091a2
(GLSL) CLeanups
2016-04-17 04:52:13 +02:00
twinaphex
19367da0ae
(GLSL) Cleanups
2016-04-17 04:37:38 +02:00
twinaphex
9386fb2fa0
Move D3D9 HLSL font shader to file
2016-04-17 04:13:23 +02:00
twinaphex
e7ab158a3b
(Cg) Refactor/cleanups
2016-04-17 03:56:20 +02:00
twinaphex
ade309d1f1
(D3D Cg) Cleanups
2016-04-17 03:51:24 +02:00
twinaphex
b3220cf53e
Move zahnrad shaders to separate files
2016-04-17 02:36:07 +02:00
Twinaphex
8616b21e1f
Merge pull request #2869 from aliaspider/master
...
(3DS) change shader format/assembler
2016-04-17 00:18:00 +02:00
twinaphex
e9d16655f0
Create d3d_shaders
2016-04-17 00:16:32 +02:00
twinaphex
02e0be55a8
Move GL stock shader to gfx/drivers/gl_shaders
2016-04-17 00:11:52 +02:00
twinaphex
f0f60901ff
Move all shader files to header files (gfx/drivers/gl_shaders)
2016-04-17 00:08:45 +02:00
twinaphex
8b6abde2f9
Start moving GL shaders to gfx/drivers/gl_shaders
2016-04-16 23:57:37 +02:00
aliaspider
ad0d73d8f0
(3DS) refactor shaders. simplify texture combiner usage.
2016-04-16 22:38:13 +01:00
aliaspider
c370afd861
(3DS) start porting shaders to the picasso format.
2016-04-16 20:26:05 +01:00
twinaphex
d8de78231b
Add SHADER_CTL_SET_PARAMETER
2016-04-16 21:04:13 +02:00
twinaphex
5d6b4d0a56
(GLSL) Refactor more code
2016-04-16 20:41:52 +02:00
twinaphex
3b5c4d963a
(shader_glsl.c) Lessen calls to glGetUniformLocation
2016-04-16 20:39:57 +02:00
twinaphex
a99dcaa929
(Cg) Get rid of pragma_cg_params
2016-04-16 20:35:08 +02:00
twinaphex
6d7dab2e66
(Cg) Fix Cg named parameter lookup
2016-04-16 20:32:45 +02:00
twinaphex
0b4ae30f6b
Fix erroneous loop variable passing
2016-04-16 20:23:55 +02:00
twinaphex
7f9249830a
set_uniform_parameter - implement parameter lookup properly
2016-04-16 20:06:18 +02:00
twinaphex
4e63113f72
Cleanups
2016-04-16 19:50:23 +02:00
twinaphex
d562bf38cb
Cleanups
2016-04-16 19:44:44 +02:00
twinaphex
0b7ee2fcf7
Change callback prototype
2016-04-16 19:41:48 +02:00
twinaphex
1230edf1ee
Add callback for setting single uniform parameter
2016-04-16 19:38:35 +02:00
twinaphex
ae218cf1a5
Expand uniform_set_parameter functions
2016-04-16 19:29:45 +02:00
twinaphex
ad627701da
(XMB) Cleanups
2016-04-16 17:57:51 +02:00
twinaphex
f45d2db0b1
Change function signature of uniform_set_parameter
2016-04-16 07:39:41 +02:00
Twinaphex
ae561de0c8
(Griffin) Buildfixes
2016-04-16 07:32:39 +02:00
Twinaphex
5bba5813cf
Cleanups - remove unused variables
2016-04-16 07:27:47 +02:00
twinaphex
87e8c28749
Favoritize GLSL as default shader type when available
2016-04-16 07:24:22 +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
1dfb29ddaf
Add video_shader_set_backend
2016-04-16 05:20:41 +02:00
twinaphex
7b88378952
Add params to video_shader_ctx_init
2016-04-16 05:14:39 +02:00
twinaphex
1f7e6690e3
compile_program - if 'program' is NULL, then try to set program
...
to built-in shader program slot
2016-04-16 04:58:03 +02:00
twinaphex
86cb092b02
Add SHADER_CTL_COMPILE_PROGRAM
2016-04-16 04:56:15 +02:00
twinaphex
79ef0268e5
(Cg) Cleanups
2016-04-16 04:34:32 +02:00
twinaphex
1439b38b20
(Cg shader) Cleanups
2016-04-16 04:31:24 +02:00
twinaphex
2479699131
Cleanups
2016-04-16 01:51:46 +02:00
twinaphex
8a90e2777c
Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND
2016-04-16 01:50:20 +02:00