summaryrefslogtreecommitdiffstats
path: root/o3d/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for selenium test failures. Using the color factor to correct color ↵vangelis@google.com2009-07-211-3/+3
| | | | | | | | | | differences in 2d sample. Increasing the pixel diff threshold for texturesamplers and zsorting to its previous glory until we figure out what the proper values are. Bumping up DEPS for assets to pick up new reference image for zsorting sample. Review URL: http://codereview.chromium.org/159120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21149 0039d316-1c4b-4281-b951-d872f2087c98
* Update the nacl part of the gyp build so it works correctly for tests,gspencer@google.com2009-07-201-1/+2
| | | | | | | and so it doesn't have a hard-coded path to python... Review URL: http://codereview.chromium.org/159093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21098 0039d316-1c4b-4281-b951-d872f2087c98
* add ignore_edge option in test list.yux@google.com2009-07-173-44/+64
| | | | | | Review URL: http://codereview.chromium.org/151060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21026 0039d316-1c4b-4281-b951-d872f2087c98
* Added a new sample which implements basic shadow mapping.petersont@chromium.org2009-07-171-0/+1
| | | | | | Review URL: http://codereview.chromium.org/155401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21000 0039d316-1c4b-4281-b951-d872f2087c98
* Fix createCheckerMaterial to use same colors as it original used.gman@google.com2009-07-151-2/+2
| | | | | | | | | and increase timeout for Google IO step14ex. Also make old-school-shadows use createCheckerMaterial Review URL: http://codereview.chromium.org/155554 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20800 0039d316-1c4b-4281-b951-d872f2087c98
* Update the archiving for Hive runs to work from Buildbot. Remove deadlock ↵thomaslewis@google.com2009-07-152-16/+45
| | | | | | | | from Selenium tests if no free ports are available. Review URL: http://codereview.chromium.org/149596 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20741 0039d316-1c4b-4281-b951-d872f2087c98
* expose bitmap in js.yux@google.com2009-07-157-0/+1
| | | | | | Review URL: http://codereview.chromium.org/150058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20700 0039d316-1c4b-4281-b951-d872f2087c98
* This splits the import.gyp file into two parts (one for building archive lib,gspencer@google.com2009-07-141-0/+115
| | | | | | | | | | and one for building import lib), so that the chrome build can depend only on the archive.gyp file to reduce its dependencies. It also adds a missing gyp file for the tests. Review URL: http://codereview.chromium.org/149623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20638 0039d316-1c4b-4281-b951-d872f2087c98
* Safari 4 has the unique behavior that typeof on the NP object that is meant ↵petersont@chromium.org2009-07-132-4/+16
| | | | | | | | to mimic an array returns 'function' so certain tests fail. Skip over those tests in Safari. Review URL: http://codereview.chromium.org/155442 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20555 0039d316-1c4b-4281-b951-d872f2087c98
* temp pdiff fix for billboardsgman@google.com2009-07-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20524 0039d316-1c4b-4281-b951-d872f2087c98
* Old School Shadow example.gman@google.com2009-07-131-0/+1
| | | | | | | | | | | | | | | | Shows how to use PolygonOffset to bring the shadows forward. Also shows how to set up a quick drawpass using some new o3djs functions so the shadows all get drawn last. The reference screenshot CL is here. http://codereview.appspot.com/91103 I'll add DEPS and DEPS_gpy in this CL once this is approved. Review URL: http://codereview.chromium.org/149507 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20514 0039d316-1c4b-4281-b951-d872f2087c98
* Added o3djs.material.createCheckerMaterial.gman@google.com2009-07-131-0/+19
| | | | | | | | | | | | | | | | It seems pretty useful for lots of samples. Added o3djs.effect.createCheckerEffect to support that. Also put pseudoRandom into math since so many samples use it. Will consider switching samples to use it. Review URL: http://codereview.chromium.org/149509 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20510 0039d316-1c4b-4281-b951-d872f2087c98
* Add a billboard and imposter sample.gman@google.com2009-07-111-0/+1
| | | | | | | The reference screenshot is in another CL git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20465 0039d316-1c4b-4281-b951-d872f2087c98
* Up the p4diff for the Google IO 2009 Step14 example.gman@google.com2009-07-111-1/+1
| | | | | | | | | I can't get the diff out of pulse so I'm just bumping this up so it passes. When it goes through the QA hive we can look at it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20460 0039d316-1c4b-4281-b951-d872f2087c98
* fix sample names to be compatible with selenium scripts.gman@google.com2009-07-111-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20446 0039d316-1c4b-4281-b951-d872f2087c98
* Add Google IO sample.gman@google.com2009-07-101-0/+2
| | | | | | Review URL: http://codereview.chromium.org/149438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20437 0039d316-1c4b-4281-b951-d872f2087c98
* Add ClientInfogman@google.com2009-07-094-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows an app to ask a few things from the client. 1) How many objects the client is tracking. This is useful for a quick way to check that you're freeing resources. While the developer could use client.objects.length or client.packs[ii].objects.length that wouldend up creating hundreds of thousands of NPObjects. 2) Check if the software renderer is being used 3) Check the approximate amount of memory used by textures. Again, they could compute this with client.getObjectsByClassName('o3d.Texture') but it seemed like it might be useful. I say approximate because I would have to dig down into the indivdual renderers to get better info since a NPOT card will use more memory but it didn't seem worth it. 4) check the approximate amount of memory used by hardware buffers. Review URL: http://codereview.chromium.org/155276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20334 0039d316-1c4b-4281-b951-d872f2087c98
* Change our selenium tests to call gman@google.com2009-07-081-0/+3
| | | | | | | | | window.o3d_prepForSelenium if it exists and fix becahdemo to use this feature. Review URL: http://codereview.chromium.org/155191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20113 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enabling features-test.html for IE. The test was fixed in rev 19867vangelis@google.com2009-07-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/155031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20061 0039d316-1c4b-4281-b951-d872f2087c98
* Add o3djs.DestinationBuffer to converter.gman@google.com2009-07-072-5/+44
| | | | | | | | | I named it o3djs.DestinationBuffer because it has nothing to do with O3D. It's purely part of our sample serialization example. Review URL: http://codereview.chromium.org/149236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20013 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing test to get it to work in IEvangelis@google.com2009-07-031-1/+1
| | | | | | Review URL: http://codereview.chromium.org/150075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19867 0039d316-1c4b-4281-b951-d872f2087c98
* Bumping up the pdiff threshold for beach demo mac by 200 pixels to fix ↵vangelis@google.com2009-07-031-1/+1
| | | | | | | | failing pulse test. Review URL: http://codereview.chromium.org/149147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19865 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing the check for offscreen. If the variable doesn't exist, then the ↵rlp@google.com2009-07-031-1/+1
| | | | | | | | function will return 0 and off_screen should be false. Review URL: http://codereview.chromium.org/149157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19863 0039d316-1c4b-4281-b951-d872f2087c98
* Adding in most of the unit tests. This adds 406 of our unit testsgspencer@google.com2009-07-012-7/+8
| | | | | | | | | into the gyp build. 21 of them fail, but that is only because they don't have test input yet -- I haven't added the build code that copies the test inputs into the build dir yet. Review URL: http://codereview.chromium.org/147129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19778 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling beachdemo selenium test in Chrome.apatrick@google.com2009-06-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19662 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled a couple of selenium tests that don't work in Chrome (see comment). ↵apatrick@google.com2009-06-301-3/+5
| | | | | | | | Set some members to NULL when Client::TearDown. Review URL: http://codereview.chromium.org/147185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19655 0039d316-1c4b-4281-b951-d872f2087c98
* Add param-array-test to seleniumgman@google.com2009-06-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19563 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Param Arrays for Effect parameters.gman@google.com2009-06-291-0/+307
| | | | | | | | | | | | Arrays of floats, float2, float3, float4, Matrix4, int, bool and sampler are all supported. I'll enable the test for selenium and check in a screenshot in another build. Review URL: http://codereview.chromium.org/125188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19548 0039d316-1c4b-4281-b951-d872f2087c98
* Fix indexed PNG loading.gman@google.com2009-06-292-0/+0
| | | | | | | | | The issue for indexed images is the bits per channel is how many bits are used to look up the value in the palette. The value that comes out is an RGB value. Review URL: http://codereview.chromium.org/149060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19543 0039d316-1c4b-4281-b951-d872f2087c98
* divVectorVector was copied from mulVectorVector and the * was still there. ↵petersont@chromium.org2009-06-261-0/+6
| | | | | | | | Fixed bug and added test. Review URL: http://codereview.chromium.org/147231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19419 0039d316-1c4b-4281-b951-d872f2087c98
* Code to load the software renderer and initialize it. Code to force the ↵apatrick@google.com2009-06-231-1/+16
| | | | | | | | 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
* 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
* 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
* 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-173-314/+6
| | | | 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-173-6/+314
| | | | | | | 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-173-314/+6
| | | | 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-173-6/+314
| | | | | | | 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
* 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
* 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
* Fixed some issues in the V8 bridge. It wasn't using HandleScopes correctly. ↵apatrick@google.com2009-06-103-3/+3
| | | | | | | | 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-101-1/+1
| | | | | | | | | | | 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
* 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
* 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
* 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 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
* Temporarily removing beachdemo from selenium tests as it crashes FF and ↵vangelis@google.com2009-06-051-1/+1
| | | | | | | | takes down the pulse machine too with it Review URL: http://codereview.chromium.org/118288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17701 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the description to describe the new pdiff parameters, colorfactor ↵rlp@google.com2009-06-041-0/+10
| | | | | | | | and downsample. Review URL: http://codereview.chromium.org/118207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17596 0039d316-1c4b-4281-b951-d872f2087c98
* * Raising the pdiff threshold for the beachdemo test to correct pulse ↵vangelis@google.com2009-06-042-3/+3
| | | | | | | | | | | | | failure (fails with the same diff on my PC) * Added comment about the valid values for the min, mag and mip filters in sampler.idl * Cleaned up some typos in texture.idl * Changed the texture-set-test to use POINT filter for min and mag to avoid issues with h/w that doesn't support linear filtering of floating point textures * Bumped up rev for o3d_assets to include new reference image for texture-set-test Review URL: http://codereview.chromium.org/118212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17582 0039d316-1c4b-4281-b951-d872f2087c98
* Final merge from O3D Perforce tree.gspencer@google.com2009-05-293-8/+473
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17243 0039d316-1c4b-4281-b951-d872f2087c98