Commit Graph

  • 1ff681a412 D3D: move streaming buffer fallback into D3D backend degasus 2014-01-23 15:27:18 +01:00
  • 62f1905978 VideoCommon: don't save streaming fifos into savestate degasus 2014-01-23 14:27:02 +01:00
  • ff002320a5 OpenGL: Stream vertices + indices degasus 2014-01-23 13:41:53 +01:00
  • 52feed04db VideoCommon: allow backends to set the buffer pointer as they want to degasus 2014-01-23 13:11:38 +01:00
  • 128fcdac26 OpenGL: refactor all of our StreamBuffers degasus 2014-01-23 00:47:49 +01:00
  • be1fee6d74 OpenGL: change StreamBuffer in a streaming way degasus 2014-01-22 18:02:55 +01:00
  • 650bae12e1 Bit of a failure. Fixes 6964. I was attempting to grab wglSwapIntervalEXT prior to having a valid WGL context. This was doomed to fail. Ryan Houdek 2014-01-23 08:04:33 -06:00
  • 07db7520bf [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers gl.h and glext.h provide most of the function pointer typedefs and defines for extensions and core features. The only one it doesn't provide is GL 1.1 function typedefs, but this is to be expected. If anything needs defines or typedefs in their header in the future, that's as easy as before. Ryan Houdek 2014-01-23 07:11:13 -06:00
  • 391d26d3bf [DolphinWX] Prevent hotkeys from being assigned to more than one button/function. Lioncash 2014-01-22 18:28:08 -05:00
  • 521aa631dc [Android] Parse integer ranges in the GLES3 info tab. Lioncash 2014-01-22 12:28:46 -05:00
  • 36863bf7b8 [Android] Get rid of the version check class in VideoSettingsFragment.java. Not needed anymore since the introduction of the EGLHelper class. Also decouples some classes from the VideoSettingsFragment.java class (yay). Lioncash 2014-01-22 11:56:25 -05:00
  • 5c4d087e8f [Android] Greatly clean up the previous commits. Now here is the long list of cleaned up things: - Spaces -> Tabs | Consistency - Javadoc everything that was added and not documented. - Remove duplicated code regarding the adapter that used to reside in DolphinInfoFragment.java. Now it resides in AboutActivity.java without a second duplication of it. - Properly retrieve all of the contexts in the EGL initialization in EGLHelper.java. - Remove the attribute EGL_RENDERABLE_TYPE from the pbuffersurface attributes in EGLHelper.java. With this present, the EGL context will always fail to reinitialize if destroyed and attempted to be recreated. - Break the inner class Limit within GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java into its own single class. Greatly reduces code duplication. - Introduce a Type enum into Limit.java (one of the wildly rare cases in Java where an enum is actually an OK solution). Removes duplicated constants from the Java files stated in the previous bullet note. - Add a copyright comment to the top of EGLHelper.java. Forgot to do this initially, my bad. - Add some missing override annotations to GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java. - Use StringBuilders in the previously mentioned three Java files. This is better than using a String in this instance, as the String object won't have to be recreated multiple times (ala concatenation). - Fix some constant accessors in the previously mentioned three Java files. - Added the 'final' modifier to the above three classes and to Limit.java. These classes serve a single purpose only, and are not intended to be inherited. Lioncash 2014-01-22 00:41:23 -05:00
  • eb29177c5a Automatic translation template update Dolphin i18n Bot 2014-01-22 00:00:20 +00:00
  • 7e9b8d18a7 [android-about-menu-info] Add desktop OpenGL tab population. Since showing every single limit that desktop OGL supports is crazy, Let's just show the basic information, and extensions. Ryan Houdek 2014-01-21 17:55:00 -06:00
  • d3ccf1c7b5 [android-about-menu-info] Have information populate the GLES2 and GLES3 tabs. There is a /lot/ of information in these tabs, we may have to think about changing how the information looks OpenGL isn't done yet since there are a million limits on desktop GL, may just show a few things and extensions there. Ryan Houdek 2014-01-21 17:45:39 -06:00
  • 3cb5bb3b30 VertexLoader: temp class for reader/writer degasus 2014-01-21 23:44:51 +01:00
  • 0b97b33ceb VertexLoader: inline destionation buffer degasus 2014-01-21 19:23:07 +01:00
  • c613868f57 VertexLoader: load scale factor as const, this will save some assembler instructions degasus 2014-01-21 18:54:16 +01:00
  • f90fe90320 fix windows debug comile degasus 2014-01-21 14:23:50 +01:00
  • ebbf1d392b VideoCommon: merge trivial parts of VertexManager::Flush degasus 2014-01-21 10:47:00 +01:00
  • 60632fda6f OpenGL: remove small optimization degasus 2014-01-21 10:34:48 +01:00
  • fe02833f13 OpenGL: fix our ubo workaround when blend_func_extended is missing degasus 2014-01-21 10:03:05 +01:00
  • 0dc437e94d [Android] Finally check if regular OpenGL is possible on devices and display/hide it's fragment based upon this in AboutActivity.java. Lioncash 2014-01-21 00:12:40 -05:00
  • 8b2c540544 Finally Merge branch 'videosoftware-xfb' Scott Mansell 2014-01-21 00:10:00 +13:00
  • 2c8340e1dc Move GLInterface.h into GLInterface directory Scott Moreau 2014-01-20 00:46:21 -07:00
  • 4b3c338930 Merge Platform.h into GLInterface.h Scott Moreau 2014-01-19 19:06:55 -07:00
  • 75020b9b51 Automatic translation resources update from Transifex Dolphin i18n Bot 2014-01-20 00:00:51 +00:00
  • f8abdbf91a [Android] Initial introduction of the EGLHelper utility class. Should simplify all interop with the EGL/GL APIs. Not hooked up yet. However it is entirely functional. Lioncash 2014-01-19 18:29:43 -05:00
  • f28bf81db1 Revert "Modified project settings" Ryan Houdek 2014-01-19 15:07:40 -06:00
  • 683dbc09ac Stop building GLExtensions.cpp twice(One in GL, one in software). We don't need to build it twice, this'll save a bit of time in the build process. Also a bit of spacing cleanup. Ryan Houdek 2014-01-19 11:06:53 -06:00
  • 6ad4c0efa6 Modified project settings Matthew Parlane 2014-01-15 12:12:12 +00:00
  • 84aa98a5a4 wayland: Add bits required to run as a wayland client. Scott Moreau 2014-01-19 09:11:07 -07:00
  • 3b25bf2f14 Readme: Windows XP is not supported anymore. Tony Wasserka 2014-01-19 18:00:20 +01:00
  • 21b0252e27 Jit64: disable non-IEEE mode emulation Tillmann Karras 2014-01-19 09:33:55 +01:00
  • 4a81baff3f Reenable vsync after releasing tab even if frame limit is disabled. Rachel Bryk 2014-01-19 02:47:06 -05:00
  • 287ac90dc3 Automatic translation template update Dolphin i18n Bot 2014-01-18 16:43:14 +00:00
  • 127e78d846 Change the gettextize to not update .po files (Transifex will do that) Dolphin i18n Bot 2014-01-18 16:40:28 +00:00
  • a39be49c55 Automatic translation resources update from Transifex Dolphin i18n Bot 2014-01-18 16:17:24 +00:00
  • 5d26bf6d9d Rename our GLInterface class function 'GetProcAddress' in order to not have clashing function names due to Windows. Ryan Houdek 2014-01-18 14:18:32 +00:00
  • bea484e12f Move Win32 specific function grabbing fallback to WGL.cpp. Fixes issue 6964. Ryan Houdek 2014-01-18 14:10:24 +00:00
  • 839df31347 Merge of GL-AutoChoose. This branch is the final step of fully supporting both OpenGL and OpenGL ES in the same binary. This of course only applies to EGL and won't work for GLX/AGL/WGL since they don't really support GL ES. The changes here actually aren't too terrible, basically change every #ifdef USE_GLES to a runtime check. Ryan Houdek 2014-01-18 04:11:59 +00:00
  • 0a5bd83af2 Gameini database update for Mega Man Anniversary Collection (gc), Tony Hawk's Pro Skater 3 (gc) and WarioWare, Inc. Mega Party Games (gc). kostamarino@hotmail.com 2014-01-17 18:14:10 +02:00
  • 5a599d472e Merge branch 'GLExtensions' degasus 2014-01-17 16:49:51 +01:00
  • 355df60abd Merge branch 'index_buffer_cleanup' degasus 2014-01-17 16:35:54 +01:00
  • 304adc6e0d IndexGenerator: inline all variables degasus 2014-01-16 14:30:17 +01:00
  • 1d6425bd5e IndexGenerator: drop unused variable degasus 2014-01-16 13:56:20 +01:00
  • 6b01839525 VideoCommon: merge triangle+list+point index buffers degasus 2014-01-15 21:44:46 +01:00
  • e932a349e8 [GLExtensions] fixup for missing changes on rebase degasus 2014-01-17 16:10:10 +01:00
  • 29e0a90b88 [GLExtensions] Rename internal GetProcAddress function since it clashes with the global Windows function. Fix Windows function pointer grabbing. Ryan Houdek 2014-01-15 11:43:31 -06:00
  • cd145cb63e [GLExtensions] Refix GLES3 build. Until we clean up the platform detection this'll need to be here. Ryan Houdek 2014-01-13 04:09:02 -06:00
  • c744aca323 [GLExtensions] Move the include directory location for Externals/GL so no other library includes global GL folder first. Ryan Houdek 2014-01-13 03:33:33 -06:00
  • 3d4d3f6b11 [GLExtensions] Remove a bunch of unneeded headers. Fix Linux+EGL compiling. Move include to glx.h around to work around it including global GL/gl.h Ryan Houdek 2014-01-13 03:14:09 -06:00
  • 6cdb05b633 [GLExtensions] OpenGL 3.0 also added GL_ARB_map_buffer_range to core. Ryan Houdek 2014-01-08 10:27:05 -06:00
  • a5ffe9932a [GLExtensions] Future proof ourself by putting the default: instance on the top, so we'll grab extensions if they support something newer. Handle older GLVersions in the case they get that far. Ryan Houdek 2014-01-08 10:16:39 -06:00
  • 2a11fead5c [GLExtensions] Populate the extension list for OpenGL implementations that don't show core extensions. Ryan Houdek 2014-01-08 09:42:29 -06:00
  • 0ea6718d99 [GLExtensions] Fix OS X build. Ryan Houdek 2014-01-07 00:11:23 -06:00
  • 34c9a33807 [GLExtensions] Remove AGL GetProcAddress. Change dlsym to using RTLD_NEXT. Enable dlsym fallback for OS X Ryan Houdek 2014-01-06 22:16:03 -06:00
  • ca96274936 [GLExtensions] Make sure to link against libdl since we use it to grab GL function pointers in Linux/Android in the case the GLInterface->GetProcAddress fails. Ryan Houdek 2014-01-01 20:57:15 -06:00
  • 45dfa3a481 [GLExtensions] Missed a couple USE_GLES3 compile time differences. Ryan Houdek 2014-01-01 20:25:59 -06:00
  • 95ab2380c9 [GLExtensions] wxWidgets expects to statically link in to GL 1.1 functions like any sane project. Let them do this. Ryan Houdek 2014-01-01 20:20:16 -06:00
  • 97dc20d1be [GLExtensions] Pull in all the function pointers for OpenGL 1.1, This removes the need for a couple compile time differences between GL and GLES3 mode. Ryan Houdek 2014-01-01 20:06:11 -06:00
  • f308b878b2 [GLExtensions] Oops. Don't just outright disable these helper functions. Ryan Houdek 2014-01-01 16:02:18 -06:00
  • cfb8b43b4a [GLExtensions] Don't fail out loading funciton pointers in both ES2 and ES3 modes. Ryan Houdek 2013-12-31 22:59:01 -06:00
  • fc1f8291d6 [GLExtensions] Make sure to initialize our function pointers with VideoSoftware as well. Ryan Houdek 2013-12-31 22:33:55 -06:00
  • eba0c21b5a [GLExtensions] Fix Windows build. Ryan Houdek 2013-12-31 16:44:50 -06:00
  • 17955fa025 [GLExtensions] Still had a GLEW lib hanging out in the CMake file for the software renderer. Ryan Houdek 2013-12-30 17:39:45 -06:00
  • 2a8ee1a7ff [GLExtensions] Hopefully fix OS X build. Ryan Houdek 2013-12-30 17:36:46 -06:00
  • f4bd7bdef0 fix windows build Jack Frost 2013-12-31 00:03:49 +01:00
  • 10bd61a9d2 [GLExtensions] Dynamically pull in the GL 1.3 and 1.4 functions as well. Ryan Houdek 2013-12-30 16:34:28 -06:00
  • d5a7ea2041 [GLExtensions] KHR_debug on OpenGL ES 3 has a KHR suffix on their function pointers. In Desktop OpenGL there is no suffix. So handle this correctly. Make the GrabFunction macro slightly less evil, so update the init_* to reflect it. Thanks Bh44L for the suggestion. Ryan Houdek 2013-12-30 15:33:53 -06:00
  • d093276e93 [GLExtensions] Fix a typo in KHR_debug Ryan Houdek 2013-12-30 08:05:46 -06:00
  • a024c515c8 [GLExtensions] Remove glew includes from wgl and agl. Ryan Houdek 2013-12-30 07:43:01 -06:00
  • cf8865a6e5 [GLExtensions] Add ARB_buffer_storage to negate at least one null pointer instance. Ryan Houdek 2013-12-30 07:44:11 -06:00
  • 71681de81a [GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. Ryan Houdek 2013-12-30 07:22:50 -06:00
  • 770485ad04 VertexLoader: don't check for possible range degasus 2014-01-16 22:07:48 +01:00
  • 5eae39766b enable buffer_storage on nvidia 331.38 on linux degasus 2014-01-16 17:51:38 +01:00
  • 5fb8d07953 GameSettings: Deleted references to the ZTP hack. Tony Wasserka 2014-01-16 00:42:33 +01:00
  • 331af32038 fixup "Remove the ZTP speedup hack" degasus 2014-01-16 00:26:49 +01:00
  • f1adc56a56 Remove vertex streaming hack. Tony Wasserka 2014-01-15 23:16:10 +01:00
  • b49c09c36b Remove the ZTP speedup hack. Also remove useless debugging code, and a presumably outdated workaround (which was commented out). Tony Wasserka 2014-01-15 22:22:28 +01:00
  • 5e5db9fbc6 VideoCommon: cleanup of "components" usage degasus 2014-01-15 16:58:36 +01:00
  • a561c436fc Change the default GFX backend from D3D11 to OGL. Pierre Bourdon 2014-01-14 21:57:32 +01:00
  • 8b53385c54 Added a check for a redundant mov in the fastmem writes code. skidau 2014-01-13 22:18:19 +11:00
  • e00c3ce363 TextureConverter: remove implicit int->float convertion degasus 2014-01-13 12:10:17 +01:00
  • 9aff16e7c1 Fix stupid bug in Z16L depth texture efb2ram encoding shader. Scott Mansell 2014-01-12 13:32:06 +13:00
  • e3d103f60c Update some of the comments in DriverDetails.h for drivers that have fixed their bugs. Ryan Houdek 2014-01-11 07:31:47 -06:00
  • 67f099af33 Enable buffer_storage for Nvidia drivers 332.21 and above. Ryan Houdek 2014-01-09 12:06:05 -06:00
  • 95aa977d81 OGL: remove masking from streambuffer degasus 2014-01-09 18:52:05 +01:00
  • eb310cbd1d VideoCommon: disable efb access + perf querys on cph thread degasus 2014-01-09 18:37:59 +01:00
  • 45f74840d6 Do not fastmem addresses that were constant propagated Pierre Bourdon 2014-01-09 08:28:45 +01:00
  • 48470a20ca Code cleanup Rachel Bryk 2014-01-08 20:34:14 -05:00
  • 3046d0e701 NetPlay: Sync CPU engine between NetPlay clients/servers Jasper St. Pierre 2014-01-08 17:58:27 -05:00
  • 216f4c927a Fix copy and paste error in BootManager.cpp. Rachel Bryk 2014-01-08 19:37:51 -05:00
  • b55a4bb087 Slight optimization in the pixel shader. We are using pow(2.0, X) in place of exp2(X). This can be faster in places that don't optimize a pow to a exp2 in this case. Notice this from here: http://cgit.freedesktop.org/mesa/mesa/commit/?id=847bc36a38d42967ad6bf0492fe90a4892d9d799 Intel Haswell GPU is 24 cycles for POW and 14 cycles for EXP2. Maybe other GPUs don't optimize this either. Just be safe. Ryan Houdek 2014-01-08 16:40:31 -06:00
  • cdf69adcb0 Fix for previous commit. I was supposed to use GL_VERSION, not GL_RENDERER. Ryan Houdek 2014-01-07 19:35:06 -06:00
  • 45964e4b46 [Android] Initial implementation of the extended info menu. Lioncash 2014-01-07 19:47:15 -05:00
  • d2e62796fc Probe the GL_RENDERER string on Nvidia to grab the driver version. Ryan Houdek 2014-01-07 18:29:04 -06:00
  • 7acc64eb0a [Android] Reenable the bug for dynamic UBO array member accesses. Some information on this bug since this isn't quite true. Seemingly with the v53 driver, Qualcomm has actually fixed this bug. So we can dynamically access UBO array members. The issue that is cropping up is actually converting our attribute 'fposmtx' to an integer. int posmtx = int(fpostmtx); This line causes some seemingly garbage values to enter in to the posmtx variable. Not sure exactly why it is failing, probably them just not actually converting the float to an integer and just handling the float directly as a integer. So the bug is going to stay active with Qualcomm devices until we convert this vertex attribute from a float to a integer. Ryan Houdek 2014-01-07 07:56:30 -06:00
  • 55717ed216 D3D: Verbosify an error message. NeoBrainX 2014-01-06 10:31:09 +00:00
  • e6676b4565 OpenGL: fix scaled efb2ram copys degasus 2014-01-05 18:19:17 +01:00