Commit Graph

41 Commits

Author SHA1 Message Date
mudlord 33d0ce63b3 Fixed some loose ends in the OpenGL renderer.
Now its nice and tidy. Heh.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@553 a31d4220-a93d-0410-bf67-fe4944624d44
2008-05-31 01:43:17 +00:00
mudlord 384941d596 Bleh, removed OGL dlists since it didnt seem to make much difference.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@476 a31d4220-a93d-0410-bf67-fe4944624d44
2008-04-07 13:37:54 +00:00
spacy51 0d082ba3f2 Change initialization of DirectSound and XAudio2 to load DLLs at runtime instead of linking statically to them.
Replace timeGetTime() with GetTickCount() in order to eliminate the need of additionally linking against winmm.lib.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@458 a31d4220-a93d-0410-bf67-fe4944624d44
2008-03-09 19:11:28 +00:00
mudlord c6b8db239d Ugh...
Someone (not me) was spawning a window and wasn't killing it afterwards. It caused a issue to do with fullscreen-window mode transition. Removed since I checked out and it made no difference at all to functionality, yet it caused this issue.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@453 a31d4220-a93d-0410-bf67-fe4944624d44
2008-03-09 08:43:30 +00:00
spacy51 c846e62d15 Update MSVC2008 project files.
Fix compiler errors.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@451 a31d4220-a93d-0410-bf67-fe4944624d44
2008-03-08 13:59:23 +00:00
Nach acacbd5c2d Whitespace trim, and eol-style native propery set again.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@448 a31d4220-a93d-0410-bf67-fe4944624d44
2008-03-05 00:35:39 +00:00
squall_leonhart69r 5ef313c0eb Added items remotely
D:\Projects\VisualBoy Advance-M-1.8.0 source\src\win32\OpenGL.cpp


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@431 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-29 04:05:35 +00:00
squall_leonhart69r 5c7972df00 Removed file/folder
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@422 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-29 03:54:07 +00:00
Nach 3c1c4aad4f You better believe it, it's a whitespace trim, and line conversions, eol settings comming up.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@409 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-27 23:58:25 +00:00
squall_leonhart69r fcb541eb22 moved some of the GBA core files to the new agb directory and setup the paths, fixed some includes i didn't setup properly for GB.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@391 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-27 15:48:18 +00:00
squall_leonhart69r 9e95199210 Renamed GB to DMG, fixed makefiles and vc project files to accomodate this change
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@390 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-27 13:33:37 +00:00
squall_leonhart69r 6a90061fb7 Reverts Spacy's Divide by Zero fix that caused GBA rom white screen (mudlord)
Note, spacy, in the future, have mudlord check any code you want to commit to svn, or have him fix the bug.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@349 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-01 09:11:34 +00:00
mudlord edf6f13bc4 Major Linux updates by bgKu:
- Added a basic manpage
- Added a default Linux configuration file
- Applied debian patch 01_use_dot_dir. This makes vba save the save states and battery files to $HOME/.vbam/. It is useful because the rom path is very likely to be read only. These paths can still be overridden using the config file. The configuration file and the vba-over.ini file can also be loaded from that .vbam path. Needs some Windows testing.
- Text.cpp/h getopt.c/h are sdl specific so moved them to the sdl folder.
- Removed the ability to disable the ASM version of the Sai2x scalers at runtime (to make them behave like the HQ filters)
- Fix the command line parsing bug I introduced in rev 191 (thanks to MNK)
- Gave to the interframe blending filters the same interface as fullscreen filters


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@334 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-24 05:33:18 +00:00
spacy51 39ffa7eee5 FIXED division by 0
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@332 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-22 13:27:31 +00:00
spacy51 604d8f54b2 mudlord:
REMOVED GLSL shaders.
FIXED Win OGL crashing on startup when a filter is enabled.
ADDED support for display lists.
FIXED resizing when using display lists.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@330 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-22 11:24:22 +00:00
spacy51 edc59c8013 ADDED fullscreen support to OpenGL
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@328 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-20 20:23:36 +00:00
spacy51 fd055c2756 WORKAROUND: Input does not work when switching from D3D to OGL
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@326 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-20 20:16:33 +00:00
spacy51 9df386d9a0 Prepare display interface for adding an extended full screen settings dialog.
Changes are backwards compatible to the old DirectDraw video mode enumeration code.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@306 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-14 23:13:49 +00:00
mudlord b46e90b62c Added extra commenting to OGL renderer source
Made more steps to allow OGL renderer to be more modular

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@245 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-28 23:07:44 +00:00
spacy51 9b808813d4 FIXED: Shader-related crashes when uninitializing OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@242 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 14:57:15 +00:00
mudlord 9f97116e06 Removed unneeded code, GL_TRIANGLE_STRIP is more than enough.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@230 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-24 20:31:39 +00:00
mudlord 31e5d61273 Added sanity checks when killing shaders
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@229 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-24 20:13:17 +00:00
spacy51 4382e41696 added NO_OGL switch
simplified fall back when initializing render API failed

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@225 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:09:29 +00:00
mudlord 6418ed33b0 Fixed up OpenGL code from last round
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@222 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 20:03:57 +00:00
mudlord b1fa777574 Spacy, we don't need GLEW anymore! ^_^
Rewrote vertex handling so that it is cleaner (switch() anyone?)

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@221 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 19:36:16 +00:00
spacy51 a52671188a fixed some x64 compiler errors/warnings
we still need a GLEW x64 lib

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@219 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 13:19:52 +00:00
mudlord d796bebb0b Fixed crash when changing filters
Changed expected sampler in shaders to "OGL2Texture"

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@210 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 23:55:21 +00:00
mudlord 535e114079 Fixed sound thread issues in Subversion
Updated SDL port so that it now compiles with fex_mini.cpp
Added custom GLSL shader support to Win32 OGL renderer (requires GLEW)
Updated code in OpenGL renderer to be more tidy

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@191 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-13 03:45:51 +00:00
spacy51 c963116c6f removed display::renderMenu function (was not used anymore)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@179 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-07 17:25:36 +00:00
mudlord e42aaa9c96 Optimized OpenGL rendering context creation
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@166 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-06 03:05:09 +00:00
spacy51 2bb5210603 moved the call to preInitialize to a central location
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@142 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-02 01:52:09 +00:00
spacy51 e2f3e132cc MainWnd creation is now the same for all render devices
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@141 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-02 01:46:05 +00:00
Nach 3c06fa079f Trimmed whitespace, and set propper line endings for SVN.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@68 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-14 12:28:27 +00:00
mudlord 672acaaba2 OpenGL update phase 2. Added GL_POLYGON support to renderer for the sake of complete customizability of render modes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@59 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-14 06:47:15 +00:00
DJRobX 8059a438ee OpenGL update phase 1. Window-based rendering working better.
Properly accepts various input filter sizes
Hq3x code modified to rearrange output for RGB instead of BGR
New code to draw text directly in OpenGL instead of using
GDI.



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@58 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-13 12:12:57 +00:00
DJRobX 7ae707653d GB use blargg's audio core correctly
Noise channel seems to be buggy in GBA mode (probably using uninitialized data somewhere).   Suddenly became very LOUD.  
Changed volume setting for now.

OpenGL is looking for glext which is not part of a standard windows build.  Probably should incldue it in dependencies if we are going to 
use it




git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@38 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 11:42:08 +00:00
mudlord 8cb7ccec0d Lovely...for some very strange reason, anisotropic filtering will not work in OpenGL......Reverted.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@36 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 11:31:25 +00:00
mudlord 5465b2cc5e Added missing glext.h for anisotropic filtering
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@35 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 10:34:40 +00:00
mudlord 3d9d44389e Implemented OpenGL anisotropic filtering
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@34 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 10:28:49 +00:00
DJRobX ee40ad3d5c Upgrade to 1.8 beta core
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@23 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 01:27:54 +00:00
mudlord a963483ee0 Added VBALink to the SVN code. Note that this is completely untested
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@2 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-30 19:04:22 +00:00