twinaphex
74b0d93aff
(XDK D3D) Don't have to call SetAddressU/V per frame
2014-06-14 20:23:04 +02:00
twinaphex
d550830285
(XDK D3D) Refactoring
2014-06-14 06:18:15 +02:00
twinaphex
ad4cbf36bc
(XDK D3D) Split up more code into render_chain_xdk.cpp
2014-06-14 06:00:20 +02:00
twinaphex
e51dae46b7
(XDK D3D) Split up render chain code into separate file
2014-06-14 05:56:39 +02:00
twinaphex
f7e9f4774d
(Menu) Replace more rgui_ references
2014-06-10 02:21:49 +02:00
twinaphex
4a4822e187
(Menu) Replace more rgui_ references to menu_
2014-06-10 02:15:29 +02:00
Twinaphex
cf4f756fe8
Merge pull request #745 from libretro/font-rewrite
...
Font rendering rewrite
2014-06-09 13:25:17 +02:00
Themaister
c1c7b6aec3
Fixup Win32/Xbox font_params_t.
2014-06-09 13:13:57 +02:00
twinaphex
afbe0b0666
(360) Build fix
2014-06-09 01:22:11 +02:00
twinaphex
4522fbb6af
(D3D) Create macro D3DTexture_Blit
2014-06-09 01:07:43 +02:00
twinaphex
e02d61a6a9
(D3D) Implement stub d3d_restore function for XDK
2014-06-08 23:35:14 +02:00
twinaphex
0735a8a672
(XDK D3D) Cleanup
2014-06-08 04:38:11 +02:00
twinaphex
327b05d760
(D3D) Cleanup SetTexture
2014-06-08 04:35:58 +02:00
twinaphex
4320efa9a1
(D3D) Move ifndef XBOX functionality to D3D context driver
2014-06-08 04:29:25 +02:00
twinaphex
bf4dbede7a
(XDK) Change DrawVerticeFormat to Vertex
2014-06-08 04:20:49 +02:00
twinaphex
6c50de497f
(D3D) Go through macro for SetStreamSource
2014-06-08 04:05:55 +02:00
twinaphex
c4989fbf6b
(D3D) Renderchain_clear_texture can go into blit_texture
...
function now
2014-06-08 03:02:02 +02:00
twinaphex
48fc3d209a
(360) Build fixes
2014-06-08 02:50:53 +02:00
twinaphex
dbbc764529
(D3D) Go through macro for D3DDevice_CreateVertexBuffer
2014-06-08 02:45:07 +02:00
twinaphex
94f059a4a4
(XDK D3D) Small correction to D3DDevice_Presents macro
2014-06-07 07:47:51 +02:00
twinaphex
e64775ba7a
(D3D) Create macro for D3DDevice_Present
2014-06-07 07:45:02 +02:00
twinaphex
1f5769f1db
(XDK D3D) Clear texture by tex_h instead of tex_w - inline with PC D3D now
2014-06-07 07:31:41 +02:00
twinaphex
5d8e4cb358
(D3D) D3DTexture LockRect clear - turned into macro for
...
both PC D3D and XDK D3D
2014-06-07 07:29:40 +02:00
twinaphex
346a341cf8
(D3D) Go through macros for D3DDevice member functions - will
...
be needed for XDK compatibility later on
2014-06-07 07:03:36 +02:00
twinaphex
4ad1246fc4
(XDK D3D) Changes pt. 2
2014-06-07 06:12:02 +02:00
twinaphex
8b9fc04f2e
(XDK) Changes to bring inline with PC D3D
2014-06-07 05:33:42 +02:00
twinaphex
7ab54fd734
(XDK) Implement viewport_info
2014-06-07 05:24:39 +02:00
twinaphex
6307202a6d
(Menu) render_messagebox/render/frame functions from menu_ctx no longer
...
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex
c020f362b6
Remove hacky restart function in video interface
2014-05-30 17:57:21 +02:00
twinaphex
6f62101180
(360) Build fix
2014-05-30 09:24:52 +02:00
twinaphex
3a9e468ac6
(XDK) Reinit entire renderchain instead of 'reinit texture'
2014-05-30 08:51:34 +02:00
twinaphex
1f06f610e2
(XDK D3D) Make drdiver more feature-complete and inline with PC
...
D3D driver
2014-05-30 08:23:29 +02:00
twinaphex
1eef295450
(XDK) Fixes FPS count
2014-05-30 06:31:53 +02:00
twinaphex
6e48692bf5
(XDK D3D) Cleanup - call to make_d3d_d3dpp unnecessary
2014-05-30 06:17:10 +02:00
twinaphex
61fdcf4836
(XDK D3D) More cleanups - calling SetViewport from init_texture
...
is also not necessary
2014-05-30 06:08:45 +02:00
twinaphex
bb2bf81f00
(XDK D3D) Cleanup init_textures further - memsetting first pass
...
texture to 0 is not necessary
2014-05-30 05:56:45 +02:00
twinaphex
b38caa3cd3
(XDK D3D) Cleanups - don't set vertex buffer immediately at
...
init texture time - wait until set_vertices gets triggered
2014-05-30 05:38:36 +02:00
twinaphex
c8f44ba94d
(XDK) set_vertices changes
2014-05-30 05:35:10 +02:00
twinaphex
a97b53f9f1
Reimplement driver.*_data_own variables so that they actually
...
work for a usecase now -
on Xbox, full teardown/re-initing of D3D context seems to be
error-prone - so by flagging driver.video_data_own to true inside
of the video_init function, we signal later on to the uninit_drivers
function that we DO NOT want to call the free function of this driver
and clean up the handle.
Instead, this driver should properly retain the handle by returning
the pre-existing handle when (for example) driver.video_data is
not NULL. You can see an example of this in xdk/xdk_d3d.cpp.
Overall still a quite clean solution and we will only use this in
extraordinary conditions (like this Xbox one I suppose) - full
teardown/setup will be the goal for all other platforms where we
can be certain that the state can be brought down and up entirely
during runtime without any problems.
2014-05-30 02:37:48 +02:00
twinaphex
1e1e95a663
(XDK) Don't put early return in free function since this
...
function won't be called during game time anyway
2014-05-30 01:53:55 +02:00
twinaphex
ffd68d4878
(Xbox) Seems that Xbox D3D does not free up all resources
...
for some reason and that they didn't anticipate full teardown/setup.
Not sure if I can confirm, but it has been hell so far trying to get
this to work. So, instead, implement a butt-ugly hack that forces
ownership over video/input lifetime state. Will properly refactor
the driver.*_data_own variables later so that this hack is less
ugly. Ideally we'd solve the teardown/setup problem but given this
is esoteric D3D gibberish - good luck debugging >_>
2014-05-30 01:48:55 +02:00
twinaphex
020546f923
(XDK) Take out Xbox-specific destruction code in gfx_ctx_destroy
2014-05-29 22:45:45 +02:00
twinaphex
6aabd86c13
(XDK D3D) Start implementing more functionality of render passes
2014-05-29 21:23:15 +02:00
twinaphex
1fbdb85fb0
(XDK D3D) Deinit more state in deinit_chain
2014-05-29 21:23:15 +02:00
twinaphex
abdb49bfa6
(XDK D3D) Make more like PC D3D driver pt. 2
2014-05-29 18:49:01 +02:00
twinaphex
66fa1114aa
(XDK D3D) Make driver more like PC D3D driver
2014-05-29 18:11:41 +02:00
twinaphex
e909479edc
(XDK D3D) Build fix
2014-05-29 17:55:30 +02:00
twinaphex
6e333c966c
(Xbox/D3D) Make two drivers more alike
2014-05-29 17:35:24 +02:00
twinaphex
e53c3a0b60
Make xdk_d3d.cpp more like gfx/d3d9/d3d.cpp
2014-05-29 16:26:42 +02:00
twinaphex
fc1e9786bb
(D3D) Work towards common base driver
2014-05-29 08:20:32 +02:00