Commit Graph

76 Commits

Author SHA1 Message Date
Twinaphex
c09fdcc14a Revert "(360) Corrections to gfx_init and fbo_init"
This reverts commit 7bab422a44.
2012-04-19 15:59:15 +02:00
Twinaphex
3492d89147 Revert "(360) FBO changes"
This reverts commit 77b4b76db4.
2012-04-19 15:59:07 +02:00
TwinAphex51224
77b4b76db4 (360) FBO changes 2012-04-18 23:57:01 +02:00
TwinAphex51224
7bab422a44 (360) Corrections to gfx_init and fbo_init 2012-04-18 23:35:01 +02:00
TwinAphex51224
9d5da1e9e0 (360) Quick fix to gfx_frame 2012-04-18 23:29:42 +02:00
TwinAphex51224
97aba979c0 (360) Add offscreen render targets (FBO for D3D) to video driver 2012-04-18 23:19:11 +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
23d05ea55d (360) Assume Release of d3d render device / device will also
free all associated resources
2012-04-17 05:45:55 +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
TwinAphex51224
731f3e7bba (360) found bug while in debug mode - have to set texture to NULL
first before doing lockrect / unlockrect
2012-04-16 18:32:57 +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
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
Twinaphex
089e97b942 (360/PS3) Indenting nits 2012-04-14 04:38:40 +02:00
Twinaphex
9db2a51a81 Updated meta.xml + fixed some indenting in xdk360_video.cpp 2012-04-13 03:23:23 +02:00
Twinaphex
3e2769d199 (360) Updated 360 for new aspect ratio code too 2012-04-13 03:07:10 +02:00
Twinaphex
db00f689c8 Fixed indenting in a lot of console files 2012-04-10 21:24:05 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
84f40dab16 Move set_aspect_ratio to SSNES_CONSOLE. 2012-04-09 22:02:46 +02:00
Twinaphex
e18a9e1001 Added set_aspect_ratio callback function 2012-04-09 16:04:24 +02:00
TwinAphex51224
525d9b3cf5 (360) Implemented rotation callback function 2012-04-01 16:10:02 +02:00
TwinAphex51224
a7b486cef1 (360) Some cleanups to xdk360_video_resources 2012-03-29 17:27:42 +02:00
TwinAphex51224
a860a71016 (360) 360 uses Griffin now too 2012-03-29 12:04:58 +02:00
TwinAphex51224
885c165716 (360) Combine xdk360_video.cpp and xdk360_video_resources.cpp 2012-03-18 00:23:11 +01:00
TwinAphex51224
81988fc1ef (360) Don't include D3D/Netcode where not needed through NOD3D/
NONET defines
2012-03-11 16:17:42 +01:00
TwinAphex51224
e30966bfd0 (360) Get rid of constant table - seem to be getting nowhere with
this
2012-03-11 03:40:52 +01:00
TwinAphex51224
c5d8e1a75c (360) Add constant table for fragment shader too 2012-03-10 20:55:55 +01:00
TwinAphex51224
5cad1e4c39 (360) Stock Cg/HLSL shaders should be now almost the same - only
mall 1/2-line ifdefs should be needed
2012-03-10 18:50:30 +01:00
TwinAphex51224
40035908f3 (360) Nit. 2012-03-10 17:00:21 +01:00
TwinAphex51224
b0de19f3e0 (360) force_resize_enable member was a hack for hacky orientation,
can go now that we do it properly
2012-03-10 16:57:59 +01:00
TwinAphex51224
a47bcf6cc1 (360) Texture coordinates updated now again per video width/height change 2012-03-10 16:50:11 +01:00
TwinAphex51224
bc307d4b63 (360) Moving away from crufty orientation code 2012-03-10 16:41:10 +01:00
TwinAphex51224
bdb8b3f0fe (360) MVP shader stuff fixed 2012-03-10 15:51:42 +01:00
TwinAphex51224
6053b61b5b (360) MVP stuff - right now ouputs black - to be fixed shortly 2012-03-10 15:32:36 +01:00
TwinAphex51224
31be6766c6 (360) Uses runtime shader compiler - loads stock shader from
file now
2012-03-09 21:50:12 +01:00
TwinAphex51224
7d8d8f39f7 (360) Add aspect ratio changing - fixed bugs 2012-03-09 01:22:01 +01:00
TwinAphex51224
760d3bbecf (360) WIP aspect ratio changing - currently broken 2012-03-09 00:09:39 +01:00
TwinAphex51224
ac070a6b2b (360) Added gamma correction setting 2012-03-08 23:29:18 +01:00
TwinAphex51224
94f09d2093 (360) Some more replacing of D3D functions 2012-03-08 21:15:18 +01:00
TwinAphex51224
b8e6443710 (360) Use C functions for D3D 2012-03-08 16:14:09 +01:00
TwinAphex51224
8823b47a05 (360) Added screen orientation options - might want to refactor
this later on
2012-03-08 13:45:00 +01:00
TwinAphex51224
356d565ce6 (360) xdk360_video_console no longer class-based 2012-02-16 18:19:22 +01:00
TwinAphex51224
52402d02c5 (360) Some improvements to font rendering 2012-02-16 16:14:31 +01:00
TwinAphex51224
69a5faaaab (360) Implement swap callback 2012-02-13 22:53:07 +01:00