Themaister
4e9a5a5360
DOS retardations creep in.
2012-05-27 23:30:00 +02:00
Themaister
6aa621a8f8
Minor refactor.
2012-05-27 23:21:30 +02:00
Themaister
4ffecbb058
Minor initializer fixup.
2012-05-27 23:16:22 +02:00
Themaister
72310b6661
Style nit party.
2012-05-27 23:15:02 +02:00
Twinaphex
e88318e886
Fixed up initializer for gl driver
2012-05-27 22:50:03 +02:00
Twinaphex
15e16728f2
PC fix build
2012-05-27 22:45:00 +02:00
Twinaphex
b6131dfcd7
(PS3) PS3 now uses gl.c - ps3_video_psgl.c removed
2012-05-27 22:39:29 +02:00
Twinaphex
4f9b284c6d
(PS3) Restructure / move set functions to ps3_ctx.c
2012-05-27 21:52:52 +02:00
Themaister
0171023edc
Fix build.
2012-05-27 21:24:55 +02:00
Twinaphex
1c2c2e1a37
Rename to gfx_ctx_set_projection
2012-05-27 20:55:11 +02:00
Twinaphex
6ff8154d19
(PS3) Abstracted rotation code to allow for different implementations
2012-05-27 20:50:06 +02:00
Twinaphex
29ba19bc73
(PS3) Implement start/stop/restart
2012-05-27 19:29:10 +02:00
Twinaphex
e4367646c4
(PS3) Move resolution code to ps3_ctx.c
2012-05-27 19:11:52 +02:00
Twinaphex
4c1c9cfff5
(PS3) Sets vsync correctly now on startup
2012-05-27 19:03:14 +02:00
Twinaphex
1a4c122310
(PS3) Don't use custom type macros in ps3_video_psgl.c anymore
2012-05-27 18:46:20 +02:00
Themaister
1b01a00e3e
Fix trigger happy warnings.
2012-05-27 18:40:07 +02:00
Themaister
9cd51921cb
Apply vsync on init.
2012-05-27 18:22:55 +02:00
Twinaphex
90d6aca1e1
(PS3) Move set_filtering and set_fbo to ps3_ctx.c
2012-05-27 18:04:25 +02:00
Twinaphex
f32bc9e017
(PS3) Implemented gfx_ctx_init, gfx_ctx_destroy and other
...
functions
2012-05-27 17:46:47 +02:00
Twinaphex
754e36ea33
(PS3) Moved gfx_ctx_menu_init to ps3_ctx.c
2012-05-27 17:20:02 +02:00
Twinaphex
dfb5678ce1
(PS3) Put menu rendering code in gl_frame
2012-05-27 17:03:43 +02:00
Themaister
ac96bee03d
Fix build for Win32.
2012-05-27 16:52:30 +02:00
Twinaphex
d72751956e
(PS3) Implement gfx_ctx_swap_buffers
2012-05-27 16:23:01 +02:00
Themaister
9aaf878908
Init gl handle early.
2012-05-27 15:04:43 +02:00
Themaister
86295bf057
Re-add gl_render_msg_post().
2012-05-27 14:27:17 +02:00
Themaister
e1a3bf48fd
Use correlating ifdef.
2012-05-27 12:38:07 +02:00
Themaister
8e45e6bc4a
Fix warnings on non-freetype builds.
2012-05-27 12:28:16 +02:00
Themaister
8e17f8695e
Remove unneeded pre/post calls.
2012-05-27 12:26:43 +02:00
Twinaphex
efa3bef528
(PS3) Move header file include for libdbgfont
2012-05-27 04:34:21 +02:00
Twinaphex
7f13257d1b
Move remaining FREETYPE/font code from gl.c to font files
2012-05-27 04:21:54 +02:00
Twinaphex
503f01867a
(PS3) Use new font abstraction code
2012-05-27 04:02:07 +02:00
Themaister
ca0a5b9f76
Move font stuff to gfx/fonts.
2012-05-27 02:04:50 +02:00
Twinaphex
4176ddeccc
Split up font code so that it's more portable
2012-05-27 01:16:55 +02:00
Twinaphex
e53db23031
(PS3) Change HAVE_OPENGL_PBO to HAVE_OPENGL_TEXREF
2012-05-27 01:00:05 +02:00
Themaister
5d70568003
Micronit.
2012-05-27 01:03:58 +02:00
Twinaphex
42bcc8ea59
(PS3) Add HAVE_OPENGL_PBO and HAVE_CG_MENU defines
2012-05-27 00:51:02 +02:00
Twinaphex
c40edf878c
(PS3) Removed g_frame_count - will use pointer to gl->frame_count
2012-05-26 18:18:09 +02:00
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
Toad King
2cb3ae3476
Change quality for smooth setting
...
Keep alpha channel for rgb32 mode
2012-05-25 20:38:14 -04:00
Toad King
c0050a7c8b
Don't use linuxraw input if the user isn't running RetroArch from a terminal
2012-05-25 18:12:07 -04: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
Toad King
38ceb89ce4
set vsync correctly first time
2012-05-25 16:07:11 -04:00
Toad King
f651b6d706
Merge branch 'master' of http://github.com/Themaister/RetroArch
2012-05-25 15:48:06 -04:00
Toad King
6c79d66e1b
linuxraw input: gets input straight from stdin
...
WARNING: this mode uses a raw keyboard mode. if the emulator does not exit cleanly, you could be left at a terminal with no form of input. do not use this mode for testing.
2012-05-25 15:44:39 -04:00
Twinaphex
b2c7b766ae
Revert "(PS3) ps3_video_psgl.c cleanups"
...
This reverts commit 824d2923a5
.
2012-05-25 21:40:28 +02:00
Twinaphex
417cb55a6e
Revert "(PS3) ps3_video_psgl.c cleanups #2 "
...
This reverts commit 8aafbf63b8
.
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
Toad King
dca427c1ad
Merge branch 'master' of http://github.com/Themaister/RetroArch
2012-05-24 03:17:02 -04:00
Toad King
4e600c5edd
Drop OpenGLES in favor of OpenVG. Video now works.
...
Audio might work with the ALSA drivers, but SDL input is not playing nice with OpenVG/EGL.
2012-05-24 01:29:35 -04: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
Toad King
350af0a458
initial Raspberry Pi work. Currently just displays a solid blue screen.
2012-05-23 02:31:29 -04: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