144 Commits

Autor SHA1 Mensagem Data
gman@google.com 57b06601cf Add Google IO sample.
Review URL: http://codereview.chromium.org/149438

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20437 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:14:53 +00:00
apatrick@google.com e108f57bfc Avoid calling Abort from main thread on IBinding created on another thread. Instead signal through a variable and wait for it to abort itself.
Review URL: http://codereview.chromium.org/149434

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20384 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:00:26 +00:00
vangelis@google.com 375ddbdce5 Making it possible to run scons on vista using VS2008 without having to install an additional MS SDK. VS2008 does come with SDK version 6.0, it's just that the registry entries for it are slightly different than in XP. This change takes care of Vista but I'm not sure what the registry looks like in Windows XP when you install VS 2008.
Review URL: http://codereview.chromium.org/155326

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20356 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 02:44:14 +00:00
gman@google.com 000914b322 fix for osx
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20346 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 00:58:41 +00:00
gman@google.com da2e11bea2 Add ClientInfo
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
2009-07-09 22:59:37 +00:00
tschmelcher@google.com 686b73e648 Explicitly specify -rfakeroot to dpkg-buildpackage, since that is only the default in relatively new versions.
Review URL: http://codereview.chromium.org/155319

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20322 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 21:44:30 +00:00
piman@google.com e4c3a26d46 linux: bump deps to get the fcollada fix, add -ldl necessary on some platforms
Review URL: http://codereview.chromium.org/149403


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20307 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 20:31:37 +00:00
apatrick@google.com 6ab3f7b0f0 In preparation for becoming an internal plugin in chrome I did these things:
- Move declarations in the global namespace into the o3d namespace to avoid conflicts with Chrome.
- Ifdef out code that we do not want to run as an internal plugin (like breakpad, DllMain, etc)
- Prevent NP_Initialize, etc from being exported as an internal plugin.

Unfortunately I had to move functions around to group them by namespace so the diffs look like there is more change than there actually is.
Review URL: http://codereview.chromium.org/149130

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20285 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 18:35:53 +00:00
gman@google.com 530dc7b8fa Fix bug with render targets not getting restored correctly.
Review URL: http://codereview.chromium.org/155185

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20117 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 01:28:03 +00:00
gman@google.com d22520af56 Add missing Param IDL for ParamRenderSurface and
ParamRenderDepthStencilSurface.

Review URL: http://codereview.chromium.org/149298

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20116 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 01:27:57 +00:00
gman@google.com 2a899035d7 These files were meant to be checked in with
http://codereview.chromium.org/149236

The change SourceBuffer to use scoped_array
and they add a test for Class::unqualified_name.

Review URL: http://codereview.chromium.org/149300

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20115 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 01:27:06 +00:00
gman@google.com 004a1b61ac Change dump.js to show render nodes sorted by priority.
Review URL: http://codereview.chromium.org/149297

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20114 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 01:27:00 +00:00
gman@google.com 0a5da7e0f0 Change our selenium tests to call
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
2009-07-08 01:26:46 +00:00
rlp@google.com d078581912 Removing unneeded EffectStream class. Cleaning up data assignment for stream info. Updating the main.scons so that cb can build.
Review URL: http://codereview.chromium.org/155188

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20106 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 00:33:06 +00:00
tschmelcher@google.com f3c0732ece Enable build dependency checking for dpkg-buildpackage so that we get a better error if there are missing dependencies. (I thought this was on by default already, but it turns out that adding -a turns it off by default.)
Review URL: http://codereview.chromium.org/149275

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20074 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 20:44:52 +00:00
vangelis@google.com 47884e573c Adding toon.shader to the samples MANIFEST
Review URL: http://codereview.chromium.org/155125

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20063 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 19:35:34 +00:00
vangelis@google.com a744cc8bae Re-enabling features-test.html for IE. The test was fixed in rev 19867
Review URL: http://codereview.chromium.org/155031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20061 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 19:31:44 +00:00
gman@google.com a836f1fd8f Fix for shader-test.html and IE
Issue #1) creating HTML by string is fast in all browsers.
Creating HTML by DOM methods is extremely slow in IE. 100-300x slower.

http://www.quirksmode.org/dom/innerhtml.html

Issue #2) There's a bug in IE related to <select> tags.

http://support.microsoft.com/kb/276228


Review URL: http://codereview.chromium.org/155154

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20059 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 19:25:23 +00:00
tschmelcher@google.com 98745b2661 Initial support for Linux installers. Currently just an amd64 .deb, but more later.
Review URL: http://codereview.chromium.org/149132

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20051 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 18:39:12 +00:00
gman@google.com be74a85f10 Add o3djs.DestinationBuffer to converter.
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
2009-07-07 04:24:21 +00:00
kbr@google.com 4bbd3c1355 Worked around infinite loop seen in Chrome on Windows when raising and
dismissing JavaScript alert over O3D view

Review URL: http://codereview.chromium.org/155119

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20002 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 00:42:14 +00:00
vangelis@google.com eb17a7ec0a Fixing test to get it to work in IE
Review URL: http://codereview.chromium.org/150075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19867 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-03 00:26:27 +00:00
vangelis@google.com 9bc479a032 Bumping up the pdiff threshold for beach demo mac by 200 pixels to fix 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
2009-07-03 00:24:27 +00:00
vangelis@google.com ef28ce6b98 Turning async loading off to get the beachdemo to work again in IE. This is logged as issue #82. Once it's fixed, we should turn async loading back on.
Review URL: http://codereview.chromium.org/155028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19864 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-03 00:23:10 +00:00
rlp@google.com e8d58aa55c Fixing the check for offscreen. If the variable doesn't exist, then the 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
2009-07-03 00:06:15 +00:00
rlp@google.com bb00bed828 Adding GetStreamInfo functionality (and passing corresponding unit test).
Review URL: http://codereview.chromium.org/147237

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19859 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 23:28:00 +00:00
ericu@google.com a7be8e3e7e Review URL: http://codereview.chromium.org/155005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19854 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 22:49:00 +00:00
chrome-bot 06b21af38f Version number bump for release
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19851 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 21:45:02 +00:00
gman@google.com 7d0be9e6ef Fix scrollwheel in beachdemo
Review URL: http://codereview.chromium.org/149139

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19842 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 20:34:41 +00:00
ericu@google.com 6a6c1a7183 Review URL: http://codereview.chromium.org/147258
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19795 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 00:54:37 +00:00
maf@google.com eba91f2cb5 Add a dependency to the Mac installer build stage so that the postflight.sh script always gets processed before it tries to build the installer than needs it.
Review URL: http://codereview.chromium.org/150184

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19793 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 00:52:34 +00:00
gspencer@google.com 9f960d975b Adding in most of the unit tests. This adds 406 of our unit tests
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
2009-07-01 22:30:03 +00:00
gman@google.com cf2861045f Make the beachdemo not require LargeGeometry
Review URL: http://codereview.chromium.org/150153

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19769 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 21:55:26 +00:00
gman@google.com d35e4d04aa Fix for Windows 7
Review URL: http://codereview.chromium.org/150182

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19764 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 21:25:25 +00:00
rlp@google.com e546c97d44 Fixing EffectTest.LogOpenGLCalls and cleaning up a line in DrawPassTest.
Review URL: http://codereview.chromium.org/150089

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19749 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 18:40:29 +00:00
gspencer@google.com 1f2cffd1ff This updates python to the same version as Chrome uses, to fix a problem
with python crashing on Vista and Windows 7.
Review URL: http://codereview.chromium.org/150170

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19741 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 16:59:14 +00:00
maf@google.com c6d357c4f7 Fix Mac installer build. We were not inserting the version number into the Keystone registration script, which gave it a bogus registered version that caused a silent update once a day.
Review URL: http://codereview.chromium.org/151106

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19678 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 22:29:37 +00:00
apatrick@google.com c52c1fc979 Review URL: http://codereview.chromium.org/151103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19663 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 21:50:16 +00:00
apatrick@google.com b4047e19bc Disabling beachdemo selenium test in Chrome.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19662 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 21:49:45 +00:00
gman@google.com 9027245885 Forgot these 2 files in the last checkin
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19661 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 21:45:24 +00:00
gman@google.com 42f7abce8d This CL contains the the changes needed to build
an externs file for the JSCompiler as well as
the code to build a compiled verison of the o3djs
sample libs.

Review URL: http://codereview.chromium.org/147079

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19659 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 21:44:39 +00:00
gman@google.com bfacf25d5f Some minor JS fixes
Review URL: http://codereview.chromium.org/150131

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19658 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 21:17:27 +00:00
apatrick@google.com bbfb73e783 Disabled a couple of selenium tests that don't work in Chrome (see comment). 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
2009-06-30 21:00:49 +00:00
apatrick@google.com 8efcb008da Made CHostControl use atomic reference counting because it is accessed from StreamOperation threads.
Review URL: http://codereview.chromium.org/151096

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19635 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 20:03:17 +00:00
gman@google.com 271880260e Fix a few more doc errors.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19575 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 02:14:36 +00:00
ericu@google.com d94fc743e6 Review URL: http://codereview.chromium.org/149101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19574 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 01:52:48 +00:00
gman@google.com 18e47572fd Fix a minor doc issue in fps.js
Review URL: http://codereview.chromium.org/151062

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19571 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 00:56:10 +00:00
gman@google.com c5350963b2 Fix particle sample for IE
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19566 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 00:15:53 +00:00
gman@google.com fc845457e8 Add param-array-test to selenium
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19563 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 00:10:43 +00:00
gman@google.com 0f9181198b Added particle trails for things like exhaust on a car.
Review URL: http://codereview.chromium.org/125189

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19549 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-29 23:17:38 +00:00