summaryrefslogtreecommitdiffstats
path: root/o3d
Commit message (Collapse)AuthorAgeFilesLines
* Fixing unit_test bugs. One of hte fixes is for the texture param. This ↵rlp@google.com2009-06-255-3/+25
| | | | | | | | quiets the unit test, but has a todo under the actual code. To make all examples run, this should be completed, but if we're going ot eliminate the texture path in favor of the sampler path, then it doesn't make sense to fill this in if we'll delete it shortly. Review URL: http://codereview.chromium.org/146133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19268 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/146126ericu@google.com2009-06-253-35/+53
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19216 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/147089ericu@google.com2009-06-252-1/+25
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19215 0039d316-1c4b-4281-b951-d872f2087c98
* Updating unused DEPS file for unused GYP build.gspencer@google.com2009-06-241-2/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19144 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing broken common.gypigspencer@google.com2009-06-241-3/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19143 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes types.h with a conditional block so that it provides down_cast<>,gspencer@google.com2009-06-242-0/+37
| | | | | | | | but only in the GYP build. The GYP build uses a newer chrome/base that doesn't provide down_cast<> anymore. Review URL: http://codereview.chromium.org/146092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19140 0039d316-1c4b-4281-b951-d872f2087c98
* This adds in the GYP files needed for our GYP build,gspencer@google.com2009-06-2418-1/+2100
| | | | | | | and modifies the DEPS file extensively to match. Review URL: http://codereview.chromium.org/131116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19091 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/147062ericu@google.com2009-06-244-11/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19087 0039d316-1c4b-4281-b951-d872f2087c98
* Bump V8 version to pick up Mac 10.4 compatibility changes.maf@google.com2009-06-241-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19084 0039d316-1c4b-4281-b951-d872f2087c98
* Code to load the software renderer and initialize it. Code to force the ↵apatrick@google.com2009-06-237-20/+137
| | | | | | | | software renderer enabled with registry entry even if hardware is capable. Build scripts copy the software renderer dll to the plugin directory on an intall build. Review URL: http://codereview.chromium.org/147039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19070 0039d316-1c4b-4281-b951-d872f2087c98
* These are code changes required to make the GYP build work.gspencer@google.com2009-06-2319-41/+154
| | | | | | | | | | | | | Mostly these are fixes to warnings (signed/unsigned mismatches were the most common), and some changes to include paths. I've updated the build.scons files and DEPS file to match these changes so that the scons build will still function with these changes. Review URL: http://codereview.chromium.org/146047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19062 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing some REWRITES that got missed somehow.gspencer@google.com2009-06-232-10/+60
| | | | | | Review URL: http://codereview.chromium.org/132074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19053 0039d316-1c4b-4281-b951-d872f2087c98
* Adjusting the pdiff threshold for hellocube image compares to 1000. Also ↵vangelis@google.com2009-06-231-1/+1
| | | | | | | | removed downsampling factor as that wasn't quite doing anything for it (other than making the image smaller and hence the number of different pixels a lot smaller. Review URL: http://codereview.chromium.org/146013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19004 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/140024ericu@google.com2009-06-221-6/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18953 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a typo that broke the windows build.vangelis@google.com2009-06-221-1/+1
| | | | | | Review URL: http://codereview.chromium.org/140072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18907 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the unused open source installer project file.maf@google.com2009-06-221-776/+0
| | | | | | Review URL: http://codereview.chromium.org/140030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18906 0039d316-1c4b-4281-b951-d872f2087c98
* Bump up the version of V8 we sync to.maf@google.com2009-06-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18874 0039d316-1c4b-4281-b951-d872f2087c98
* Add Mac support for setting plugin fullscreen area. maf@google.com2009-06-195-27/+59
| | | | | | Review URL: http://codereview.chromium.org/126252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18847 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/132023ericu@google.com2009-06-192-35/+67
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18781 0039d316-1c4b-4281-b951-d872f2087c98
* Change the plugin build file to build the real Mac installer if the ↵maf@google.com2009-06-181-5/+9
| | | | | | | | | o3d-internal tree is present, and otherwise build no installer. The bowdlerized open source version of the installer was no use at all, and developers can always install the plugin for their own use with a simple drag or a 1 line shell script. Review URL: http://codereview.chromium.org/131016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18740 0039d316-1c4b-4281-b951-d872f2087c98
* Add safari to the list of browser that can be tested with selenium.thomaslewis@google.com2009-06-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/131008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18738 0039d316-1c4b-4281-b951-d872f2087c98
* I think this fixes the issue with init-status-test.htmlgman@google.com2009-06-181-10/+12
| | | | | | | | It worked for me :-) Review URL: http://codereview.chromium.org/126255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18674 0039d316-1c4b-4281-b951-d872f2087c98
* Bumping o3d_assets to rev 76 which contains a new screenshot for ↵vangelis@google.com2009-06-171-1/+1
| | | | | | | | texture-set-test Review URL: http://codereview.chromium.org/125281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18665 0039d316-1c4b-4281-b951-d872f2087c98
* This should fix the texture-set-test sample togman@google.com2009-06-172-6/+7
| | | | | | | | | | | not have any filtering artifacts. I'll have to check in a screenshot and enable the test in separate CLs Review URL: http://codereview.chromium.org/126206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18604 0039d316-1c4b-4281-b951-d872f2087c98
* Undoing gcl bug damage AGAINgman@google.com2009-06-1721-2143/+322
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18600 0039d316-1c4b-4281-b951-d872f2087c98
* adding svn:ignore properties to ignore .o3dtgzgman@google.com2009-06-1721-322/+2143
| | | | | | | files as well as scons-out etc... git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18599 0039d316-1c4b-4281-b951-d872f2087c98
* Undoing gcl bug damagegman@google.com2009-06-1721-2143/+322
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18598 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a bunch of svn:ignore properties so that svn statusgman@google.com2009-06-1721-322/+2143
| | | | | | | doesn't show stuff we don't care about. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18595 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to make command buffers compile. Still failing some unit tests and ↵rlp@google.com2009-06-1719-71/+122
| | | | | | | | | examples, but wanted to get the compile fixes checked in. Pulling out the main.scons so as not to affect the build. Review URL: http://codereview.chromium.org/125169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18571 0039d316-1c4b-4281-b951-d872f2087c98
* Allow o3d selenium tests to run on the Mac if a hermetic versioncrogers@google.com2009-06-161-28/+61
| | | | | | | | of Firefox is not part of the source tree. Selenium will try to find a version of Firefox in /Applications and use that one Review URL: http://codereview.chromium.org/126231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18539 0039d316-1c4b-4281-b951-d872f2087c98
* Polish full-screen mode a bit:ericu@google.com2009-06-169-53/+127
| | | | | | | | | | | | | * Add a just-use-the-current-display-mode flag. * Make the sample use more parts of the API. * Correct the spelling of full-screen as per Google's policy. * Check for valid mode when the user gives it to us. * Expose clearFullscreenClickRegion to JS. * Fix a typo in convolution while I'm in there. Review URL: http://codereview.chromium.org/126034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18477 0039d316-1c4b-4281-b951-d872f2087c98
* Adding code to turn off anti-aliasing for certain older ATI driversvangelis@google.com2009-06-161-2/+30
| | | | | | Review URL: http://codereview.chromium.org/126173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18475 0039d316-1c4b-4281-b951-d872f2087c98
* Version number bump for releaseericu@google.com2009-06-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18437 0039d316-1c4b-4281-b951-d872f2087c98
* Fix o3djs.loader.loadScene so it has opt_options argument.gman@google.com2009-06-151-6/+10
| | | | | | Review URL: http://codereview.chromium.org/118366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18378 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling failing test on mac.bradnelson@google.com2009-06-121-1/+2
| | | | | | | | | | | | I wanna test more of the pipeline and would like the build to go green for a bit. BUG=None TEST=None TBR=crogers Review URL: http://codereview.chromium.org/125088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18331 0039d316-1c4b-4281-b951-d872f2087c98
* Adding back in o3dextras build.bradnelson@google.com2009-06-122-0/+33
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/126069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18323 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the bitmap class to zero out memory when it's allocated to avoid garbage ↵crogers@google.com2009-06-121-1/+5
| | | | | | | | on the screen Review URL: http://codereview.chromium.org/126018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18300 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing v8 build when include or lib are set.yux@google.com2009-06-111-6/+6
| | | | | | Review URL: http://codereview.chromium.org/125016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18216 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed some issues in the V8 bridge. It wasn't using HandleScopes correctly. ↵apatrick@google.com2009-06-104-37/+36
| | | | | | | | There seems to be an issue resizing V8 arrays. Whenever the bridge resized a V8 array, V8 would later crash. I changed the bridge to avoid resizing V8 arrays. Review URL: http://codereview.chromium.org/118531 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18097 0039d316-1c4b-4281-b951-d872f2087c98
* Reconstructing thomaslewis' change 118477.bradnelson@google.com2009-06-102-2/+3
| | | | | | | | | | | I'm submitting this now to get more things working on the continuous build. BUG=None TEST=None TBR=thomaslewis git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18080 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bugs where O3D would output lots of spurious log messages in thetschmelcher@google.com2009-06-101-4/+32
| | | | | | | | case of blocking errors or EOFs on NACL handles. Review URL: http://codereview.chromium.org/118258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18070 0039d316-1c4b-4281-b951-d872f2087c98
* Changing an access on os.environ to a get (so things don't complain onbradnelson@google.com2009-06-101-4/+1
| | | | | | | | mac/linux if DXSDK_DIR is not set). Review URL: http://codereview.chromium.org/119388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18025 0039d316-1c4b-4281-b951-d872f2087c98
* Make O3D fullscreen mode support resolution switching on Mac.maf@google.com2009-06-105-45/+250
| | | | | | | | First cut - a bit glitchy when leaving fullscreen currently as we get unwanted browser window resizing when the resolution requested is lower than the current window size. Review URL: http://codereview.chromium.org/118471 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18013 0039d316-1c4b-4281-b951-d872f2087c98
* Make the fullscreen sample be the simplest possible one that shows good ↵ericu@google.com2009-06-101-403/+195
| | | | | | | | practices. Review URL: http://codereview.chromium.org/119340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18007 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/118473petersont@chromium.org2009-06-091-1/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17998 0039d316-1c4b-4281-b951-d872f2087c98
* The features request broke backward compatibility for code currently in the ↵gman@google.com2009-06-093-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | wild. This CL fixes that as follows. If there is no 'o3d_features' argument passed to the plugin it assumes the code using the plugin is old and turns on the features that broke backward compatibility. Otherwise, the utility libraries always pass in a o3d_features argument from this point on so it will work the new way (ie, certain features must be requested). Also, the requested version is passed in as well. This way we can adjust the API by version number later. Unfortunately, as it is, neither the o3d_features argument is required nor is the version number which means if someone is not using the o3djs libraries it would be possible for them to make something that we would break later. We could maybe fix that by requiring a version number and failing if one is not passed in although old code will still not give us a version number so I'm really not sure how to handle that case. Review URL: http://codereview.chromium.org/118050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17994 0039d316-1c4b-4281-b951-d872f2087c98
* Commenting out V8-test until V8 bug is fixed.vangelis@google.com2009-06-091-1/+2
| | | | | | Review URL: http://codereview.chromium.org/119332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17967 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in Safari 4.0 final by making the O3D plug-in default to the ↵maf@google.com2009-06-091-12/+16
| | | | | | | | | | | Carbon event model, rather than the Cocoa event model. A recent change in the spec of the Cocoa event model for Mac OS X browser plug-ins means that essential window information is not supplied at NPP_SetWindow() time. Luckily we can use the Carbon event model while we work out what to do to operate in that environment (we really need to know what window to attach our AGL context to). Review URL: http://codereview.chromium.org/118434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17961 0039d316-1c4b-4281-b951-d872f2087c98
* Fix QA code to work from svn.thomaslewis@google.com2009-06-091-2/+4
| | | | | | Review URL: http://codereview.chromium.org/118442 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17958 0039d316-1c4b-4281-b951-d872f2087c98
* This CL makes the collada importer handle skinned datagman@google.com2009-06-098-20/+174
| | | | | | | | | | | | | | | | | | | | better. Specifically, it takes the original VertexBuffer and splits it. One VertexBuffer contains the parts fields that get skinned. (POSITION, NORMAL, etc...) The other VertexBuffer contains the fields that don't get Skinned. (COLOR, TEXCOORD, etc...) That way instancing you can share the non-skinned VertexBuffer. The next step is to not serialize the skinned VertexBuffer's contents. Review URL: http://codereview.chromium.org/118156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17942 0039d316-1c4b-4281-b951-d872f2087c98