Commit Graph

78 Commits

Author SHA1 Message Date
twinaphex
ffcf96dd24 Add config.h includes 2016-09-06 23:47:05 +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
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
0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
twinaphex
1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
twinaphex
b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
twinaphex
2314733af7 Cleanup 2016-05-05 17:52:30 +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
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
61d6fb57e6 Buildfixes 2016-04-28 20:55:26 +02:00
Twinaphex
66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +02:00
twinaphex
d8de78231b Add SHADER_CTL_SET_PARAMETER 2016-04-16 21:04:13 +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
86cb092b02 Add SHADER_CTL_COMPILE_PROGRAM 2016-04-16 04:56:15 +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
5c0f4f4ac8 Cleanups 2016-03-20 17:41:28 +01:00
twinaphex
e9a0aba85b Silence bunch of warnings and fix an error 2016-03-04 19:42:30 +01:00
twinaphex
0784608604 Buildfix 2016-02-14 22:23:30 +01: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
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
8c867394a0 Cleanups 2016-02-14 18:23:47 +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
b8b7ee530c Respect 80-char width limits 2016-02-06 21:51:37 +01:00
twinaphex
64e43a9935 Start using string_is_equal in more places 2016-01-20 04:14:55 +01:00