427 Commits

Author SHA1 Message Date
Twinaphex
87e850ea08 (PS3) Don't use global g_quitting anymore 2012-05-26 16:44:02 +02:00
Themaister
9e50b0a8bb Make GL texture types more generic. 2012-05-26 16:29:22 +02:00
Themaister
f873960224 init_textures for ps3. 2012-05-26 16:01:59 +02:00
Themaister
f121f8d2bc Style nits. 2012-05-26 15:59:58 +02:00
Twinaphex
6000bd33e9 (PS3) Cleaned up ps3_video_psgl.c code - added some PS3-specific
ifdefs to gl.c
2012-05-26 15:45:36 +02:00
Themaister
04f325dcc9 Refactor texture init. 2012-05-26 15:46:37 +02:00
Themaister
9040e3348f Delete unneeded prototype. 2012-05-26 15:36:42 +02:00
Themaister
a10a5badcc Move font code to gl_font. 2012-05-26 15:22:48 +02:00
Twinaphex
97b966ab59 (PS3)_Made ps3_ctx file - implemented set_swap_interval function -
removed gl_common.c
2012-05-26 15:00:20 +02:00
Themaister
8f74b1a555 Build fixes for Win32. 2012-05-26 10:20:06 +02:00
Themaister
7cfd0a3660 Fix build. 2012-05-26 10:17:06 +02:00
Twinaphex
6583d8262b Add gl_common.c and move commonly used helper GL functions there 2012-05-26 06:45:55 +02:00
Twinaphex
426daa117c Add missing sdl_ctx.h 2012-05-26 04:48:55 +02:00
Twinaphex
1386e2ee90 Restructuring of sdlwrap.c for portability reasons -
could need a code review
2012-05-26 04:47:24 +02:00
Themaister
f29338580b Add missing config.h. 2012-05-25 23:31:24 +02:00
Twinaphex
c3cb3ba876 Add some HAVE_SDL ifdefs to gl.c 2012-05-25 23:18:38 +02:00
Themaister
4fdfe6a935 Fix header. 2012-05-25 22:30:40 +02:00
Themaister
a2e7805524 Move more SDL specifics to sdlwrap. 2012-05-25 22:28:20 +02:00
Themaister
1e73ba4661 Move SDL input driver init to sdlwrap. 2012-05-25 22:11:44 +02:00
Twinaphex
b2c7b766ae Revert "(PS3) ps3_video_psgl.c cleanups"
This reverts commit 824d2923a537e43ecfea3adac297b544001dc0d3.
2012-05-25 21:40:28 +02:00
Twinaphex
417cb55a6e Revert "(PS3) ps3_video_psgl.c cleanups #2"
This reverts commit 8aafbf63b835f8a5031edab5f87f3d6881197fb4.
2012-05-25 21:40:19 +02:00
Twinaphex
8aafbf63b8 (PS3) ps3_video_psgl.c cleanups #2 2012-05-25 17:37:48 +02:00
Twinaphex
824d2923a5 (PS3) ps3_video_psgl.c cleanups 2012-05-25 16:43:07 +02:00
Themaister
c986eb3491 Remove unneeded parens. 2012-05-25 16:20:28 +02:00
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