74 Commits

Author SHA1 Message Date
twinaphex
8cb66dd021 Add way to switch back and forth between shader pipeline 2016-04-24 22:03:39 +02:00
twinaphex
05f2153549 Change uniform_info's uniform type to unsigned 2016-04-17 16:07:32 +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
d8de78231b Add SHADER_CTL_SET_PARAMETER 2016-04-16 21:04:13 +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
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
87e8c28749 Favoritize GLSL as default shader type when available 2016-04-16 07:24:22 +02:00
twinaphex
7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +02:00
twinaphex
86cb092b02 Add SHADER_CTL_COMPILE_PROGRAM 2016-04-16 04:56:15 +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
twinaphex
0f65518118 Add set_active to 'use' function callback for shader driver 2016-04-15 05:08:03 +02:00
twinaphex
5f98068e7d Add shader_program_data 2016-04-14 01:33:43 +02:00
twinaphex
1e9aed1683 Create struct shader_program_info 2016-04-13 20:06:43 +02:00
twinaphex
7321a9431b Cleanup 2016-04-13 18:24:31 +02:00
twinaphex
ea824bdee1 Start implementing glsl_uniform_set_parameter 2016-04-13 04:44:08 +02:00
twinaphex
bf39033bc3 Add 'enabled' attribute to uniform_params 2016-04-13 04:21:17 +02:00
twinaphex
c5e4c90e88 (Cg) Flesh out uniform switch 2016-04-13 02:54:01 +02:00
twinaphex
f68d98a6a4 Move uniform info structs to video_shader_driver.h 2016-04-13 02:31:49 +02:00
twinaphex
5f0aa1852e This needs to be properly refactored later 2016-04-12 17:56:34 +02:00
twinaphex
954ac39b91 Create SHADER_CTL_GET_PREV_TEXTURES 2016-02-14 22:22:40 +01:00
twinaphex
5a2816c6da Remove unused functions
t# Please enter the commit message for your changes. Lines starting
2016-02-14 22:18:46 +01:00
twinaphex
e790b503d9 Add SHADER_CTL_GET_IDENT 2016-02-14 22:17:00 +01:00
twinaphex
debb5dd0ce Add SHADER_CTL_GET_CURRENT_SHADER 2016-02-14 22:13:21 +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
47cf62cdbd Header cleanups 2016-02-14 19:01:37 +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
8b714895a8 Create video_shader_driver_ctl 2016-02-14 18:12:42 +01:00
twinaphex
f9824dd53e Simplify video_shader_driver_set_params 2016-02-14 18:09:12 +01:00
twinaphex
b3e72f6f42 Respect 80-char width limit 2016-02-08 00:31:11 +01:00
twinaphex
54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex
b7988a33fe shader_driver_ctx_init_first renamed 2015-12-09 08:45:55 +01:00
twinaphex
df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00