155 Commits

Author SHA1 Message Date
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
dd366cd5c5 Revert "Simplify set_coords"
This reverts commit e10eb51f718aff5e61cf3fa91d865ebe2e21767e.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71 Simplify set_coords 2019-02-03 18:03:07 +01:00
twinaphex
62bea6ad11 SOme header cleanups 2019-02-02 22:02:24 +01:00
twinaphex
90f1317498 Cut down on code duplication - create gl_load_luts 2019-02-02 21:32:37 +01:00
twinaphex
7c74f0abe8 Create gl_add_lut 2019-02-02 17:25:27 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
c5b9352c34 Revert "Rename some files"
This reverts commit 03a8bc9875ef4e0e942ab6d8d0d9402c4e1830fe.
2018-11-24 01:26:05 +01:00
twinaphex
03a8bc9875 Rename some files 2018-11-24 00:30:46 +01:00
twinaphex
97cf6613da (XMB/Shaders) Reimplement menu shader loading for GLSL/Cg/HLSL backends - if
XMB is selected, it will compile the shader pipelines in
advance
2018-04-12 02:20:17 +02:00
Twinaphex
ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
938f6cc26e Get rid of hashes in shader_gl_cg 2018-02-25 01:13:34 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
2b1481d97f Refactor set_mvp code a bit 2017-11-15 14:09:41 +01:00
twinaphex
e560adcc9f Refactor this - get rid of set_coords_fallback 2017-11-13 12:27:45 +01:00
twinaphex
f53fe4a07c Remove this from set_mvp function 2017-11-13 12:10:18 +01:00
twinaphex
96876c66ce Updates 2017-11-08 02:36:38 +01:00
twinaphex
fc43a14637 Updates 2017-11-07 21:03:29 +01:00
Twinaphex
d561c7ff2d Revert "Don't show this warning when HAVE_SHADER_PIPELINE is not defined"
This reverts commit 431f1b4b7febc0f0a87e49566eff50bdd89bb399.
2017-06-28 05:02:31 +02:00
Twinaphex
431f1b4b7f Don't show this warning when HAVE_SHADER_PIPELINE is not defined 2017-06-28 05:01:55 +02:00
twinaphex
efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df02872210e585e68473beb0dacfd038faba35.
2017-05-19 21:21:40 +02:00
twinaphex
06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
57089dc108 Update gl_common.c - update CHANGES.md 2017-05-11 02:56:11 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
755ceda4f9 More consistent log messages 2017-03-24 00:30:14 +01:00
twinaphex
17235d70e2 Create set_coords_fallback for shader driver 2017-03-23 21:49:29 +01:00
twinaphex
81b529696f Cleanups 2017-01-23 02:33:46 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
31b87594aa Get rid of some implicit memsets for state tracker 2016-12-19 19:08:37 +01:00
twinaphex
abaa6eda62 Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2 2016-12-06 00:34:38 +01:00
twinaphex
65ba82ca4b (shader_gl_cg.c) Cleanups 2016-12-02 16:45:58 +01:00
Jean-André Santoni
d4296b016f Make shader names consistent, step 5 2016-11-19 00:30:56 +01:00
twinaphex
547cb83652 Add third menu shader program 2016-11-17 21:14:19 +01:00
twinaphex
a2c69ec254 Added snow shader hooks - doesn't work yet though - shader driver
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
twinaphex
b95ec0d28e Make sure this string is null-terminated 2016-10-21 20:14:51 +02:00
twinaphex
c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
twinaphex
7a36ea7d1c Silence warnings 2016-09-08 06:11:02 +02:00
twinaphex
642e46779b Cleanups 2016-09-06 23:59:43 +02:00
twinaphex
883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex
01e3362f21 Remove unused variable 2016-05-16 07:52:26 +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 52d6a21e55dea138a93b5f0881829c3dfd8aeb5e.
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
dde471e001 Rename gfx_ structs 2016-05-10 02:39:09 +02:00
twinaphex
0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00