Commit Graph

403 Commits

Author SHA1 Message Date
Twinaphex
989731bbd0 Add HAVE_OPENGLES define to Makefile.ps3 - add HAVE_OPENGLES ifdef
to gl.c
2012-05-25 16:00:54 +02:00
Themaister
1b962e1b0d Remove useless check. 2012-05-25 11:55:00 +02:00
TwinAphex51224
11a03290ce (360) Got rid of crashes while repeatedly loading HLSL shaders -
apparently HLSL needs no memory management? (see comment for
source)
2012-05-24 09:39:03 +02:00
TwinAphex51224
cef6dcec66 (360) Small fix - (preliminary) FBO mode seems to work 2012-05-23 23:36:42 +02:00
Themaister
45566c3663 Set identity matrices by default in HLSL. 2012-05-23 23:27:09 +02:00
TwinAphex51224
9cd3db85aa (360) Very rough shader selection in Settings menu - second pass doesn't work yet - blank screen - some memory leaks when loading a lot of shaders one after another 2012-05-21 18:02:59 +02:00
Themaister
34553627b2 Add Python lookups to L2/R2/L3/R3. 2012-05-07 21:59:39 +02:00
TwinAphex51224
8e4d2f6feb (360) FBO/render target changes 2012-05-07 05:35:10 +02:00
Themaister
549a6c1349 Condom code. Playing it safe. 2012-05-06 23:40:29 +02:00
Themaister
f73a8d9875 Fix coding derp. 2012-05-06 22:38:25 +02:00
Themaister
a5f1634dca NULL sets a program to stock. 2012-05-06 22:35:29 +02:00
TwinAphex51224
3af750de3a (360) HLSL shader code expanded 2012-05-06 21:57:01 +02:00
Themaister
b95b101a37 Add compat to external APIs. 2012-04-21 23:36:55 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
TwinAphex51224
8e950ba5be (360) Convert texture first to some color format suitable for
GPU/sampling - this fixes most of the problems with the shaders
such as Lanzcos, Bead and Blinky.
2012-04-18 05:01:17 +02:00
TwinAphex51224
1f10d2d18a (360) Changes to shader_hlsl.c 2012-04-18 02:57:46 +02:00
TwinAphex51224
9bd2a4256b (360) Move to ps_3_0/vs_3_0 2012-04-17 21:27:47 +02:00
TwinAphex51224
ce7275393e (360) Attempt to make clear in xdk360_video.cpp what is 360-specific
and what is not
2012-04-17 05:23:54 +02:00
TwinAphex51224
6c5285c792 (360) Rewrite of xdk360_video.cpp and shader_hlsl.c - use
portable class-based function invocations
2012-04-17 05:12:47 +02:00
Themaister
dcbd252c38 Style nits. 2012-04-16 18:11:20 +02:00
TwinAphex51224
a8af68217f (360) Frame count in shaders works now 2012-04-16 04:22:16 +02:00
TwinAphex51224
6a942e046a (360) Flesh out hlsl_set_params 2012-04-15 20:02:51 +02:00
TwinAphex51224
1cdaa652a9 (360) Attempt to fix memory leaks - still broken 2012-04-15 18:13:24 +02:00
TwinAphex51224
17aa782223 (360) MVP now gets fetched from constant table too - stock.cg
now requires zero changes from Cg file
2012-04-15 17:51:01 +02:00
TwinAphex51224
f9ef9cd1f4 (HLSL) Implement set_program_attributes 2012-04-15 16:34:09 +02:00
TwinAphex51224
dee9b69661 (HLSL) Implement constant table for HLSL 2012-04-14 22:44:46 +02:00
TwinAphex51224
2a8ea913c0 (HLSL) small cleanups 2012-04-14 22:19:39 +02:00
TwinAphex51224
f4f2ff386a (HLSL) D3D device ptr for shader_hlsl.c 2012-04-14 22:05:56 +02:00
TwinAphex51224
a50a9a6ba1 (360) 360 port works with skeleton HLSL driver now 2012-04-14 21:45:43 +02:00
Twinaphex
6f56942d44 (HLSL) Add skeleton gfx/shader_hlsl.c (for initial use with 360) 2012-04-14 20:33:56 +02:00
Themaister
60cf4e569a Fix some warnings. 2012-04-11 20:17:17 +02:00
Themaister
9f0211d9d7 Fixup C++ build. 2012-04-09 22:30:29 +02:00
Themaister
ba2e913908 Use unsigned port. 2012-04-09 22:05:26 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
e012e290ae Builds clean. 2012-04-09 22:04:44 +02:00
Themaister
5d51942f69 libretro fixups. 2012-04-09 22:04:43 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
865229820a Fix edge case on rotation with multiple pass shaders. 2012-04-02 17:26:23 +02:00
Themaister
34bdea0f1c Add rotation to GL driver (PC). 2012-04-01 19:20:37 +02:00
Themaister
eee0233abb Wrap driver calls in overridable macros. 2012-03-29 00:30:50 +02:00
Twinaphex
2a6551a62a Fixup includes 2012-03-16 23:31:26 +01:00
Themaister
9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
Themaister
b50ddfc87a Fix some static analyzer warnings. 2012-02-27 17:29:59 +01:00
Themaister
9c664b875a LUT info for Cg. 2012-02-22 23:35:01 +01:00
Themaister
a13684c80c gl_cg_invalidate_context. 2012-02-22 20:45:58 +01:00
TwinAphex51224
10cfe3daa8 (PS3) update_input works now on PS3 2012-02-20 23:44:56 +01:00
Themaister
9bcbd27988 Add gl_cg_reinit(). 2012-02-20 16:22:58 +01:00