Commit Graph

4237 Commits

Author SHA1 Message Date
rogerman 52ffa0e577 Video Filters:
- Move videofilter.cpp/.h files out of the cocoa directory since it is planned to be use in other ports.
2013-02-11 06:53:26 +00:00
zeromus 529797517c win32-reorganize menus to be more compact and sensible 2013-02-10 08:16:03 +00:00
rogerman 90b038f19a GFX3D:
- Fix some texture coloring bugs on big-endian systems. (Some endianness bugs remain with texturing enabled.)
2013-02-10 04:46:50 +00:00
zeromus 654b51eeb9 win32-unhook language option. its just doing a disservice to people 2013-02-09 19:19:01 +00:00
zeromus 24647e57e0 win32-tweak opengl display method 2013-02-09 19:02:17 +00:00
rogerman 533b810efe OpenGL Renderer:
- Fix polygon coloring bug when converting the framebuffer on big-endian systems. (Disabling textures will show the correct polygon coloring. Endianness bugs remain with texturing enabled.)
2013-02-08 23:38:10 +00:00
rogerman 58d32b05c4 OpenGL Renderer:
- Revert OpenGLRenderer_1_2::CreateShaders() to r4522.
- Add OpenGLRenderer::LoadShaderPrograms() to give a chance to modify the shader programs before compiling them.
- Fix bug where shader compiling would fail on the 3.2 renderer.
2013-02-08 22:37:15 +00:00
zeromus a08b1a3d0a win32-improve opengl initialization some more, add gma965 hack 2013-02-08 09:23:28 +00:00
rogerman 006d39c3a3 OpenGL Renderer:
- Remove vertex draw batching. This fixes polygon rendering in certain games, like Metroid Prime Hunters. There is a performance penalty in doing this, but for GPUs that support VBOs, the performance hit will be negligible.
- Do a bunch of code cleanup.
2013-02-08 04:15:51 +00:00
rogerman 78c13cc41d Cocoa Port:
- Bring back glVertexAttribPointer() to the OpenGL blitter.
- Disable shaders on PowerPC builds since they don't seem to work there.
- Since OS X v10.5 is required, assume the availability of GL_APPLE_vertex_array_object and GL_ARB_vertex_buffer_object. Remove the associated code paths to reduce code complexity.
2013-02-07 22:18:21 +00:00
zeromus 854c15de87 win32-dont depend on wgl render target extension 2013-02-07 20:27:46 +00:00
zeromus 83b9722276 win32-refine opengl init code 2013-02-07 20:17:53 +00:00
squall-leonhart 53756bc480 and missing libsasl32.dll 2013-02-07 15:14:41 +00:00
squall-leonhart 4127ce530e may as well put the latest executable as well. 2013-02-07 15:06:25 +00:00
squall-leonhart f57f8e00fb added missing libsvn_tsvn32.dll 2013-02-07 15:02:21 +00:00
zeromus dfe56f909d win32-retool opengl initialization 2013-02-07 09:07:59 +00:00
zeromus ba1a39d2e5 win32-update subwcrev and bring dll deps along for the ride 2013-02-07 09:06:31 +00:00
rogerman 98b01c43d8 Cocoa Port:
- The OpenGL blitter now uses legacy gl*Pointer functions instead of glVertexAttribPointer() to improve compatibility with older drivers.
- The OpenGL blitter now uses ARB versions of VBO functions to improve compatibility with older drivers.
- Do some code cleanup.
2013-02-07 07:52:20 +00:00
zeromus 0e380f908a win32-fix bug making old opengl renderer not work well at all 2013-02-07 00:43:22 +00:00
zeromus 9bd7b25aff win32-fix selection of null 3d core 2013-02-06 23:53:29 +00:00
zeromus 37ebeb0682 win32-dont print garbage in console when initializing 2013-02-06 21:59:08 +00:00
zeromus b16f5e8c07 win32-try a different approach to improve new opengl initialization reliability 2013-02-06 21:39:38 +00:00
rogerman 719e1244cc Cocoa Port:
- Remove the requirement for the OS X v10.5 SDK when building using the "OS X App; v10.5 Leopard Release Build" scheme in the Xcode 4 project. The scheme now uses the latest OS X SDK available. This is being done for forward compatibility purposes.
- Fix compiling when building using the OS X v10.5 and earlier SDKs in the Xcode 3 and Legacy projects.
- Fix compiling when building for all PowerPC build targets.
2013-02-06 21:39:22 +00:00
zeromus db77b2456e win32-add some opengl initialization diagnostics clarification 2013-02-06 21:12:07 +00:00
rogerman 71345d4d20 Cocoa Port:
- Fix many compiler warnings.
2013-02-06 05:55:23 +00:00
rogerman aef86fe900 Cocoa Port:
- Add Rigorous 3D Rendering Timing setting to Emulation Settings.
- Add option for 8 Threads to 3D Rendering Settings.
- Do some code cleanup to the display code.
2013-02-06 05:17:53 +00:00
rogerman 2e6ab871c1 Cocoa Port:
- Move OpenGL renderer code from the UI code to the emulation core interface code.
- Clean up the OpenGL renderer init code, and lazy load the context init.
- Fix bug where the wrong display would show when changing display modes after changing video filters.
- Do some other random bug fixes.
2013-02-06 00:54:39 +00:00
rogerman 2dc9077511 Cocoa Port:
- Add support for the new OpenGL 3.2 renderer. (Requires OS X v10.7 or later, Xcode 4 builds only.)
2013-02-05 07:12:50 +00:00
rogerman 14d6e53f54 OpenGL Renderer:
- Fix bug with automatic renderer selection.
- Do some code cleanup.
2013-02-05 06:36:47 +00:00
zeromus f2d177b23a win32-fix magnification filters in ogl display mode 2013-02-05 00:44:04 +00:00
zeromus 98f9f0b64e win32-support ogl 3.2 and oglOld driver choices independently, and fallback to oglOld when ogl3.2 cant initialize 2013-02-05 00:35:57 +00:00
zeromus f09aaa3205 win32-clarify threading logic in ogl display method 2013-02-05 00:10:40 +00:00
zeromus 5538270c1a win32-make ogl display method not leak gdi handles like theyre going out of style, and run more peacefully with new opengl code (i.e. not at 2fps) 2013-02-05 00:02:59 +00:00
rogerman 5b215efacc OpenGL Renderer:
- Major rewrite of the OpenGL rendering code! Most important changes listed below.
- Encapsulate 3D rendering code in C++ classes.
- Add support for 3.2 Core Profile contexts, while preserving backwards compatibility with legacy contexts.
- Initialize the renderer to choose the best OpenGL entry points available from the driver, automatically falling back to legacy entry points as needed.
- Remove multithreading code. New and previous optimizations have obsoleted the need for it, so remove it to reduce code complexity.
- Obsolete shaders.h and add the shader code directly into the .cpp files. Ports can safely remove the shaders.h file from their project/make files.
2013-02-04 22:30:20 +00:00
zeromus d310766240 win32-add opengl display method 2013-02-03 23:05:40 +00:00
rogerman 6506df3a30 OpenGL Renderer:
- Temporary compile fix: Don't dynamically link glActiveTextureARB for Linux/X11 platforms.
2013-01-27 01:12:36 +00:00
rogerman a340c63734 OpenGL Renderer:
- Use ARB version of glActiveTexture() to improve backwards compatibility.
2013-01-26 22:04:32 +00:00
zeromus 02d131a365 win32-fix tiny buglet in gethostbyname call ? 2013-01-22 20:16:25 +00:00
squall-leonhart 6b7896cf93 replaces all instances of >un7z_and_touch.bat with >call un7z_and_touch.bat to make VS2010 and 2012 builds compile first time instead of having to run the build 2-3 times to extract all libs. 2013-01-22 19:10:18 +00:00
rogerman ed2ef989d7 OpenGL Renderer:
- Move lookup table initialization to its own function + bugfixes.
2013-01-21 22:58:56 +00:00
mtabachenko a1fbdd04a6 - fix crash when use wrong index bridge adapter; 2013-01-20 16:32:23 +00:00
rogerman e751cfb9bd OpenGL Renderer:
- Lots of refactoring and code cleanup (important points listed below).
- Clean up #include stuff.
- Make dynamic extension linking a bit nicer.
- Remove ARB and EXT tokens and replace with 3.2 Core Profile tokens. Add backwards compatibility for pre-3.0 OpenGL headers.
- Check for GL_ARB_texture_mirrored_repeat, GL_EXT_blend_func_separate, and GL_EXT_blend_equation_separate. Older GPUs that don't support these extensions should no longer malfunction.
2013-01-20 01:33:12 +00:00
rogerman 2914677ad6 Cocoa Port:
- Add the (Get/Set)FilterParameter family of methods for video filters that need parameters.
- Make VideoFilter::RunFilter() and the destructor a little bit more thread-safe.
- Do some minor code cleanup.
2013-01-18 07:53:09 +00:00
rogerman 4abb36899b OpenGL Renderer:
- Fix compiling on OS X.
2013-01-17 09:14:06 +00:00
zeromus f3bbcfcd63 fix windows compiling by adding GL prototypes for newly-required MSAA junk. not sure what the implications are on old opengl drivers. we'll have to wait for someone to complain. 2013-01-17 06:34:21 +00:00
rogerman 91c53cc772 Cocoa Port:
- New feature: Add support for the OpenGL renderer's multisample antialiasing (MSAA) feature.
- Update UI tooltips for the 3D renderers to reflect the current state of the code.
2013-01-17 01:22:53 +00:00
rogerman 72eb5e6d12 OpenGL Renderer:
- New feature: Support multisample antialiasing (MSAA). This can be enabled through the CommonSettings.GFX3D_Renderer_Multisample setting (disabled by default).
- Do some cleanup of the init code.
2013-01-17 01:19:08 +00:00
rogerman c15911a1b1 GFX3D:
- Do various stability improvements.

task.cpp:
- Fix race condition on Windows.
- Do some minor code cleanup.
2013-01-16 23:38:47 +00:00
zeromus 39997cfebf fix bug from r4479 in windows with softrasterizer task freezing 2013-01-16 09:24:53 +00:00
rogerman fb60a9bcd8 OpenGL Renderer:
- Do some more code cleanup.
2013-01-16 06:17:24 +00:00