Commit Graph

3639 Commits

Author SHA1 Message Date
Amar Takhar c9bc025bb2 Add a ',' so --enable-debug and --prefix don't get mashed together, this was stopping ppc builds from being debug (annoying).
Originally committed to SVN as r3616.
2009-10-05 16:54:30 +00:00
Thomas Goyne cbd76e7010 Rewrite the video rendering code to support displaying videos which are larger than the maximum texture size. This does not currently support YV12 (which Aegisub currently never uses), but should be otherwise functional.
Originally committed to SVN as r3615.
2009-10-05 04:22:28 +00:00
Thomas Goyne 39954493c0 Add platform_windows.h and .cpp to the project.
Originally committed to SVN as r3614.
2009-10-05 02:43:14 +00:00
Thomas Goyne df58224b55 Add #pragma once to exception.h.
Originally committed to SVN as r3613.
2009-10-05 00:06:11 +00:00
Amar Takhar 0cecf3c598 Add a stub class for Windows.. whoever fills this in should take over the license.
Originally committed to SVN as r3612.
2009-10-03 17:45:34 +00:00
Amar Takhar 41f39f65d7 Fix locale dir under windows, I forgot to change it after copying and pasting some code from aegisub.
Originally committed to SVN as r3611.
2009-10-03 17:37:09 +00:00
Thomas Goyne e1469154ea Create vcproj for reporter and make it build (but not be very useful) on windows.
Originally committed to SVN as r3610.
2009-10-03 17:16:52 +00:00
Thomas Goyne d54ddc688b Make font_file_lister.cpp build on windows when freetype2 is disabled (broken by r3536).
Originally committed to SVN as r3609.
2009-10-02 23:15:31 +00:00
Thomas Goyne 6f38989076 Remove some files from the iconv project that we shouldn't have been building.
Originally committed to SVN as r3608.
2009-10-02 22:02:00 +00:00
Grigori Goronzy b0810a7663 Wrap() after SetFont() and don't SetMinSize() to a fixed size to calculate
reporter window dimensions correctly.

Originally committed to SVN as r3603.
2009-09-29 11:56:43 +00:00
Amar Takhar c3fe549d4d Place the OpenGL info strings into their own block. OS X reports these as completely different strings it was co-incidence that the actual vendor/card info is there on FreeBSD/Linux. It's likely other operating systems (eg. Windows) does the same thing as OS X. Eventually I'll re-add vendor information for the actual card once I figure out a way to get it on BSD/OS X.
Originally committed to SVN as r3601.
2009-09-28 08:08:16 +00:00
Amar Takhar 84e17451f9 Fill in most of the hardware fields for MAC.
Originally committed to SVN as r3600.
2009-09-28 05:16:36 +00:00
Amar Takhar b7caa012da Add list of available OpenGL extensions.
Originally committed to SVN as r3598.
2009-09-27 13:26:23 +00:00
Amar Takhar c821a7e172 * Fix commandline support, I have no idea what the !OnInit block was after OnInit(), I removed it and everthing works as expected.
* Add -x switch for dumping the report to report.xml

Unfortunatly this causes a flicker of the reporter as we need to create the main frame in order to gather some desktop metrics.

Originally committed to SVN as r3597.
2009-09-27 11:30:29 +00:00
Amar Takhar 38d5f06821 * Move VideoInfo under private:
* Add doxygen docs for GetVideoInfo().

Originally committed to SVN as r3595.
2009-09-27 09:58:13 +00:00
Amar Takhar b2a7247d01 Switch GetVideoInfo to use an enum and return a single value rather than use private member variables. There are a few reasons for this:
* Over time too many private member variables will be hard to look at.
 * Speed isn't a concern, but code managability is.
 * I opted to create a custom enum rather than use GLenum to avoid polluting platform.h with OpenGL headers.

Originally committed to SVN as r3594.
2009-09-27 09:50:04 +00:00
Amar Takhar c32899df9a * Remove Video entry as duplicates what's now under Display.
* Remove unessicary 'Video ' before renderer/version/vendor entries.
 * Put entries under Hardware->Display and bump them to the top of the list.

Originally committed to SVN as r3593.
2009-09-27 09:27:44 +00:00
Grigori Goronzy 400365d831 Move OpenGL code down into Platform as it's portable now
Originally committed to SVN as r3592.
2009-09-27 04:15:41 +00:00
Grigori Goronzy e0b36fdaff Use wxGL to make OpenGL usage portable
Originally committed to SVN as r3591.
2009-09-27 03:12:17 +00:00
Grigori Goronzy 9230d5360a Fix breakage due to OS X support, introduced by one of the last commits
Originally committed to SVN as r3590.
2009-09-27 02:18:09 +00:00
Grigori Goronzy d64f10faa9 Split up video into vendor/renderer/version and acquire video
adapter info via OpenGL/GLX on Unix.

Originally committed to SVN as r3589.
2009-09-27 02:18:05 +00:00
Amar Takhar eaf3353982 Fix location of config.dat on OSX.
Originally committed to SVN as r3588.
2009-09-27 01:53:42 +00:00
Amar Takhar 6a792f0635 Add support for OSX to the reporter, the base is from the BSD version which works seamlessly with the exception of different sysctl names. (not updated)
Originally committed to SVN as r3587.
2009-09-27 01:47:11 +00:00
Amar Takhar e0d4dde970 Remove the actual files as well.
Originally committed to SVN as r3586.
2009-09-27 01:28:36 +00:00
Amar Takhar 877f908064 Remove the haali* files that were unintentionally introduced in r3575, they're windows-only.
Originally committed to SVN as r3585.
2009-09-27 01:26:34 +00:00
Grigori Goronzy 4d422b1997 Minor fixes to the reporter Linux support
* drop BSD-specific includes
* document CPU cores/count vs. logical CPU count
* close files properly
* return memory size in bytes

Originally committed to SVN as r3584.
2009-09-27 01:20:29 +00:00
Grigori Goronzy 6ce51f9435 Add a forward declaration which is apparently needed with certain gcc
versions

Originally committed to SVN as r3583.
2009-09-27 01:20:12 +00:00
Karl Blomster 6490c82e79 Change the way ffms2 index cache files are named to use source filename (without path) + source file's size in bytes + source file modification time, instead of just source file path + size in bytes, in order to make reusing index cache files on other computers easier. Closes #1008.
Originally committed to SVN as r3582.
2009-09-27 00:32:19 +00:00
Amar Takhar ab269aac37 Set proper defines for the reporter.
Originally committed to SVN as r3581.
2009-09-27 00:23:32 +00:00
Karl Blomster 5217854199 Update ffms2 to r222. Fixes compilation with ancient ffmpeg's and is a better solution than verm's hack in r3578.
Originally committed to SVN as r3580.
2009-09-26 23:54:26 +00:00
Amar Takhar 16f5d0aea6 Make sure the reporter is built and installed as reporter-2.2.
Originally committed to SVN as r3579.
2009-09-26 23:09:39 +00:00
Amar Takhar cf8b0ae97c Comment out a couple of lines in src/core/matroskavideo.cpp and src/core/lavfvideo.cpp to get aegisub building again, thefluff is working on a proper fix.
Originally committed to SVN as r3578.
2009-09-26 23:05:47 +00:00
Amar Takhar 8802e0ba3d Remove -I../src from ffms, it hasn't been needed for a very long time.
Originally committed to SVN as r3577.
2009-09-26 22:58:56 +00:00
Karl Blomster 9d80eb066f Updating ffms2 to r221 (2.12), step 3/3: Aegisub interface
Originally committed to SVN as r3576.
2009-09-26 21:58:00 +00:00
Karl Blomster 6e39199cb4 Updating ffms2 to r221 (2.12), step 2/3: makefile
Originally committed to SVN as r3575.
2009-09-26 21:56:39 +00:00
Karl Blomster 6fe92bce72 Updating ffms2 to r221 (2.12), step 1/3: sources
Originally committed to SVN as r3574.
2009-09-26 21:56:15 +00:00
Amar Takhar 8322981b47 Use wxString in lieu of std::string to stop confusion on OSX, also makes more sense..
Originally committed to SVN as r3573.
2009-09-26 21:12:15 +00:00
Amar Takhar 56ff7c2133 Fix tab alignment.
Originally committed to SVN as r3572.
2009-09-26 20:31:28 +00:00
Amar Takhar 3ba3955e2f Fix doxygen markup in platform_unix_linux.cpp.
Originally committed to SVN as r3571.
2009-09-26 20:29:25 +00:00
Amar Takhar 71065e6f66 Clarify what Features2 can be.
Originally committed to SVN as r3570.
2009-09-26 20:19:36 +00:00
Amar Takhar e9c5762cf7 Remove unused header.
Originally committed to SVN as r3568.
2009-09-26 20:08:52 +00:00
Amar Takhar db35bacceb Use elif instead of nested ifdefs.
Originally committed to SVN as r3567.
2009-09-26 20:05:54 +00:00
Amar Takhar ecc15a9935 Add the reporter subdir to Makefile.am so it gets built.
Originally committed to SVN as r3565.
2009-09-26 20:00:34 +00:00
Amar Takhar e13ca226fb Document the platform class and fix doxygen markup.
Originally committed to SVN as r3564.
2009-09-26 19:59:24 +00:00
Niels Martin Hansen 9104079dab Uncomment stuff to close #716.
Originally committed to SVN as r3563.
2009-09-26 19:44:41 +00:00
Grigori Goronzy a299f79515 Basic Linux support for the reporter.
Gather basic CPU and memory information by parsing /proc/cpuinfo and
/proc/meminfo.

Originally committed to SVN as r3562.
2009-09-26 16:44:36 +00:00
Grigori Goronzy ce6cdd77ce Fix reporter compilation without precompiled headers
Originally committed to SVN as r3561.
2009-09-26 14:53:27 +00:00
Amar Takhar 4f01dab280 Add dynamic build support for *bsd and linux.
Originally committed to SVN as r3560.
2009-09-26 14:50:24 +00:00
Amar Takhar c7bbf95c9b Add quotes around PROJECT_NAME so the space doesn't get swallowed.
Originally committed to SVN as r3559.
2009-09-26 09:40:49 +00:00
Amar Takhar c98fe933a4 Add @ingroup tags and another doxygen comment.
Originally committed to SVN as r3558.
2009-09-26 09:38:17 +00:00