Commit Graph

2638 Commits

Author SHA1 Message Date
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 dd101ff04a (PS3) Updated set_viewport in ps3_video_psgl.c 2012-05-26 20:51:36 +02:00
Twinaphex 987d9c0b24 (PS3) Use fbo_inited 2012-05-26 20:25:37 +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 e34f6aa774 (PS3) Removed g_gl - will use pointer to driver.video_data from now on 2012-05-26 17:35:40 +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
Twinaphex 7ddad8ade9 (PS3) Streamline ps3_video_psgl.c with gl.c 2012-05-26 16:09:43 +02:00
Twinaphex 7ec17f1437 (PS3) Cleanup ps3_video_psgl.h header 2012-05-26 15:58:17 +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 15760c6a8b (PS3) Use gfx_ctx_set_swap_interval in gl_set_nonblock_state too 2012-05-26 15:04:10 +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 95a236ac61 (PS3) Some cleanups to RGL 2012-05-26 06:20:14 +02:00
Twinaphex 69ffd1c7a7 (RGL PS3) Implemented glRotatef 2012-05-26 05:59: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 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 3649376c03 Revert "(PS3) Added HAVE_LIBDBGFONTS define for PS3 port"
This reverts commit 06bb45a856.
2012-05-25 21:39:59 +02:00
Themaister f248d8b54a Reserve defines for RETRO_DEVICE_ANALOG. 2012-05-25 18:24:23 +02:00
Twinaphex 06bb45a856 (PS3) Added HAVE_LIBDBGFONTS define for PS3 port 2012-05-25 18:05:30 +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
Twinaphex 1b4cb55846 (PS3) Made HAVE_SYSUTILS and HAVE_SYSMODULES defines for PS3 port 2012-05-25 16:24:51 +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 83d6fd3cbb (360) Preliminary FBO scaling options - need to restart before change
is applied, fbo_reinit function doesn't seem to work on-the-fly yet,
and 3x/4x FBO seems to crash right now
2012-05-24 11:34:10 +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
Themaister 1bc5e338b9 Should fix crash. 2012-05-23 23:54:31 +02:00
Themaister 0657fd8e1d Hoist some FBO code outside. 2012-05-23 23:46:45 +02:00