summaryrefslogtreecommitdiffstats
path: root/o3d/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug with render targets not getting restored correctly.gman@google.com2009-07-081-0/+2
| | | | | | Review URL: http://codereview.chromium.org/155185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20117 0039d316-1c4b-4281-b951-d872f2087c98
* These files were meant to be checked in with gman@google.com2009-07-083-10/+17
| | | | | | | | | | | 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
* Add o3djs.DestinationBuffer to converter.gman@google.com2009-07-073-8/+33
| | | | | | | | | 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
* Adding GetStreamInfo functionality (and passing corresponding unit test).rlp@google.com2009-07-022-2/+59
| | | | | | Review URL: http://codereview.chromium.org/147237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19859 0039d316-1c4b-4281-b951-d872f2087c98
* Adding in most of the unit tests. This adds 406 of our unit testsgspencer@google.com2009-07-012-59/+64
| | | | | | | | | 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
* Fixing EffectTest.LogOpenGLCalls and cleaning up a line in DrawPassTest.rlp@google.com2009-07-012-5/+7
| | | | | | Review URL: http://codereview.chromium.org/150089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19749 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/151103apatrick@google.com2009-06-305-20/+18
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19663 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Param Arrays for Effect parameters.gman@google.com2009-06-295-101/+746
| | | | | | | | | | | | 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-6/+58
| | | | | | | | | 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
* Fixing unit_test bugs. One of hte fixes is for the texture param. This ↵rlp@google.com2009-06-252-3/+8
| | | | | | | | 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-252-29/+43
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19216 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes types.h with a conditional block so that it provides down_cast<>,gspencer@google.com2009-06-241-0/+34
| | | | | | | | 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-241-0/+399
| | | | | | | 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
* Code to load the software renderer and initialize it. Code to force the ↵apatrick@google.com2009-06-233-11/+100
| | | | | | | | 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-237-16/+127
| | | | | | | | | | | | | 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
* 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
* Undoing gcl bug damage AGAINgman@google.com2009-06-175-720/+76
| | | | 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-175-76/+720
| | | | | | | 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-175-720/+76
| | | | 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-175-76/+720
| | | | | | | 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-1711-63/+113
| | | | | | | | | 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
* Polish full-screen mode a bit:ericu@google.com2009-06-162-12/+25
| | | | | | | | | | | | | * 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
* 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
* 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
* The features request broke backward compatibility for code currently in the ↵gman@google.com2009-06-092-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* This CL makes the collada importer handle skinned datagman@google.com2009-06-096-15/+135
| | | | | | | | | | | | | | | | | | | | 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
* This fixes a bunch of warnings that are in our code, in order for the GYP ↵gspencer@google.com2009-06-0815-40/+45
| | | | | | | | build to succeed. Review URL: http://codereview.chromium.org/118346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17865 0039d316-1c4b-4281-b951-d872f2087c98
* This is the O3D source tree's initial commit to the Chromium tree. It gspencer@google.com2009-05-27306-0/+64758
is not built or referenced at all by the chrome build yet, and doesn't yet build in it's new home. We'll change that shortly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17035 0039d316-1c4b-4281-b951-d872f2087c98