Themaister
b58fdce36a
Readback after swap buffers.
2012-11-21 22:52:58 +01:00
Themaister
6d4d1f8796
Use asynchronous PBO readbacks when recording.
...
This *greatly* optimizes GPU recording performance
by making readbacks asynchronous in GL.
This is only enabled for desktop GL and when recording is enabled.
2012-11-21 16:24:28 +01:00
Themaister
a25dcf337c
read_viewport can return false during video record.
2012-11-21 10:24:35 +01:00
twinaphex
51f51d4a65
(XDK) Remove force_16bit
2012-11-20 23:54:35 +01:00
Themaister
004cead50b
Strip down SDL SW driver a ton.
2012-11-20 23:35:40 +01:00
Themaister
28bb46483c
Drop video_force_16bit.
...
This option is silly now.
2012-11-20 23:23:18 +01:00
Themaister
ce47241697
Add perf test to d3d_read_viewport.
2012-11-20 18:06:52 +01:00
Themaister
958886bdd5
Performance log gl_read_viewport.
2012-11-20 18:05:33 +01:00
twinaphex
881e440ea6
(360) Add some FBO reiniting logic
2012-11-20 15:44:44 +01:00
twinaphex
c3db8e8c8f
(360) Build fixes
2012-11-20 15:16:54 +01:00
twinaphex
eaf5041cd8
(Xbox 1) Build fixes
2012-11-20 06:39:35 +01:00
twinaphex
28c39a5beb
(XDK) Fixed viewport settings
2012-11-20 06:08:58 +01:00
twinaphex
1f74056286
(Xbox 1) Build fixes
2012-11-20 03:19:00 +01:00
twinaphex
a8b3d23184
(XDK D3D) Reinits textures now
2012-11-20 02:51:00 +01:00
twinaphex
9570e39744
(XDK D3D) Cleanups
2012-11-20 02:03:26 +01:00
twinaphex
cfc2fac31a
(XDK D3D) Split up device creation code to context file
2012-11-20 01:55:16 +01:00
twinaphex
851befae00
(XDK D3D) Split off 3DPRESENT_PARAMETERS initialization into
...
separate public function
2012-11-20 01:40:52 +01:00
twinaphex
5976f4c7b1
(XDK D3D) Split off texture init into separate function
2012-11-19 23:30:32 +01:00
Themaister
18551b58e7
Report failed HRESULT in D3D init.
2012-11-20 00:06:51 +01:00
twinaphex
1f66496c67
(GL) small reactor of RMenu init function
2012-11-19 21:07:08 +01:00
twinaphex
ba2de00c8d
(XDK) Replace hardcoded 512 values with tex_w/tex_h
2012-11-19 19:57:25 +01:00
twinaphex
05b552e5a4
(Xbox 1) Build fixes
2012-11-19 05:00:38 +01:00
twinaphex
52f52bc253
(360) Build fixes
2012-11-19 04:46:48 +01:00
twinaphex
f0ebecfc32
(RMenu) Remove RMenu context files and use Gfx context files
...
instead
2012-11-19 04:09:16 +01:00
twinaphex
3bdfb3a011
(PS3/XDK) Get rid of redundant apply_fbo_state_changes function
2012-11-19 00:01:55 +01:00
Themaister
b1ea2dcc1e
Log vertex/frag profiles used in Cg.
2012-11-18 23:51:38 +01:00
Themaister
51f6cabc5f
Drop redundant functions in ps3 ctx.
2012-11-18 23:33:14 +01:00
twinaphex
d0be74d2e7
(PS3) Changing orientation and aspect ratio now no longer affects
...
the menu image
2012-11-18 23:29:27 +01:00
Themaister
dffbaff0b0
Use global vertexes_flipped.
2012-11-18 22:42:06 +01:00
Themaister
d7e5e77daa
Remove redundant call to gl_set_viewport.
2012-11-18 22:20:00 +01:00
twinaphex
8f821dd1d7
(PS3) Going to get rid of redundant apply fbo changes function -
...
non-FBO mode still broken
2012-11-18 22:02:29 +01:00
twinaphex
7445d15f53
(PS3) Remove FBO init hack even when FBO mode is disabled -
...
non-FBO mode is still broken though
2012-11-18 21:56:16 +01:00
twinaphex
ce1de27b5a
(GL/PS3) Refactor FBO setting
2012-11-18 21:50:27 +01:00
Themaister
f898709b1c
Remove useless variable.
2012-11-18 21:34:34 +01:00
twinaphex
6e5cfa433d
(GL) Get rid of unnecessary conditional for gl_start_frame_fbo
2012-11-18 21:31:25 +01:00
Themaister
e5acc803e9
Fix Python state tracker.
2012-11-18 21:23:34 +01:00
Themaister
fd58a38ff2
Greatly refactor XML code juggling in shader_glsl.
2012-11-18 19:40:18 +01:00
twinaphex
85140492aa
(PS3) Fixup gfx_ctx_apply_fbo_state_changes + indenting fixes
2012-11-18 19:19:07 +01:00
Themaister
99326a332d
Use correct internal format on PS3.
2012-11-18 18:23:20 +01:00
Themaister
c9c1404d70
Add support for loading GLSL sources externally.
2012-11-18 17:39:39 +01:00
Themaister
86e21686f7
Refactor out buggy 'in-line' path handling.
2012-11-18 17:16:20 +01:00
Themaister
325ba8f3d2
Also reinit texref buffer on reinit.
2012-11-18 15:39:29 +01:00
Themaister
3065b6740b
Only reinit FBO if strictly necessary.
2012-11-18 15:22:32 +01:00
Themaister
77d2c04e26
Check if GL error is set after texture reinit.
2012-11-18 15:06:33 +01:00
Themaister
be05eb67d2
Log if FBO targets fail to initialize.
2012-11-18 15:04:42 +01:00
Themaister
f195e1f153
Refactor texture init slightly.
2012-11-18 14:21:47 +01:00
twinaphex
cdb058bac2
Revert "(360) xdk360_fonts cleanups"
...
This reverts commit 93f591aaa286154941b66faa8997b4568035e005.
2012-11-18 04:15:06 +01:00
twinaphex
93f591aaa2
(360) xdk360_fonts cleanups
2012-11-18 04:12:02 +01:00
twinaphex
8101399cdd
(360) Simplify font rendering code
2012-11-18 03:39:49 +01:00
twinaphex
887f594875
(360) small build fix
2012-11-18 03:10:53 +01:00