| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
client.js. Fixed bug where window.event was being overwritten, which
for some reason broke key event handling in Firefox even though the
event wrapper wasn't being used. Tested pool sample in Firefox, WebKit
and Chromium.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1826002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46140 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resized poolballs.png to power-of-two dimensions. Retested all
o3d-webgl samples in top of tree Firefox, WebKit and Chromium.
BUG=none
TEST=none
TBR=gman,petersont
Review URL: http://codereview.chromium.org/1695031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46100 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Reverting 46012.
Review URL: http://codereview.chromium.org/1815003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
instructions at the bottom of the page.
BUG=none
TEST=ran pool sample
Review URL: http://codereview.chromium.org/1706020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46022 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=ran built pool sample
TBR=petersont
Review URL: http://codereview.chromium.org/1812006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
needed for WebGL asset conversion.
BUG=none
TEST=built on Windows
TBR=gman
Review URL: http://codereview.chromium.org/1755019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46016 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
by enumerating all files needing to be copied.
BUG=none
TEST=built on Windows
TBR=gman
Review URL: http://codereview.chromium.org/1695030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46012 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiler.
BUG=none
TEST=ran o3d-webgl pool on Windows with NVIDIA hardware
already reviewed=petersont
Review URL: http://codereview.chromium.org/1748017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46010 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conversion step always occurs before the copying step, which fixes a
build problem on Windows. Worked around a gyp issue on Windows to
properly convert both the plugin and WebGL versions of a couple of the
assets.
BUG=none
TEST=built on Windows
TBR=gman
Review URL: http://codereview.chromium.org/1801008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46002 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1703014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45993 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Flipping a bitmap vertically was deferred to the texture, which is fine, unless the bitmap actually gets modified before the texture gets made, so now flipVertically() actually flips the image.
Review URL: http://codereview.chromium.org/1699021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45960 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
appears to be broken in the Windows build, however.
BUG=none
TEST=built on Mac, attempted build on Windows
TBR=gman
Review URL: http://codereview.chromium.org/1699024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45903 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45899 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Manually copy webgl.js to output directory because we are not prepared
to run the documentation generation on this file yet. All o3d-webgl
samples now run out of the build directory.
BUG=none
TEST=ran o3d-webgl samples out of build directory
TBR=gman
Review URL: http://codereview.chromium.org/1796004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45897 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1759012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45893 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
building the samples.
BUG=none
TEST=ran build on Mac, verified files were copied
TBR=gman
Review URL: http://codereview.chromium.org/1742016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45891 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
variable scoping problems making debugging more difficult.
BUG=none
TEST=none
TBR=petersont
Review URL: http://codereview.chromium.org/1758015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45890 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setup of the containing div is identical to that in the plugin version
of O3D. Fixed createClients to only call the initialization callback
once the client's initial size has been set. Fixed bug in texture wrap
mode setup which was breaking the bump map in helloworld.html.
BUG=none
TEST=ran all o3d-webgl samples
TBR=petersont
Review URL: http://codereview.chromium.org/1687019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45866 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
caught by Linux try bots. Need to specify a different output than the
non-WebGL target for the same asset, because otherwise multithreaded builds
choose one or the other target to execute.
BUG=none
TEST=reran build
Review URL: http://codereview.chromium.org/1723019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45837 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none (ran converter script)
Review URL: http://codereview.chromium.org/1687015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45830 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=amarinichev
Review URL: http://codereview.chromium.org/1696015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45772 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
resizing of div containing O3D element. Added simpleviewer sample.
BUG=none
TEST=ran simpleviewer sample
Review URL: http://codereview.chromium.org/1798006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45770 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/1752016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45756 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added conversion step for teapot and cube assets, which are known to
work within helloworld.html. Added comment to helloworld.html about
enabling the debug rendering context.
BUG=none
TEST=tested helloworld.html against converted assets
Review URL: http://codereview.chromium.org/1793004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45754 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as a last resort. This will allow the converter to always be run as part of
the build process.
BUG=none
TEST=manual testing on Mac and Windows
TBR=amarinichev
Review URL: http://codereview.chromium.org/1773008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1741009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45723 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=gman
Review URL: http://codereview.chromium.org/1773007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45721 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1746010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory for the cgc executable, to match the layout of the prebuilt
O3D COLLADA converter binaries which already bundle cgc and its
dependent DLLs.
BUG=none
TEST=verified new searching code manually on Windows and Mac
TBR=amarinichev
Review URL: http://codereview.chromium.org/1804001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45663 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
executable during the build process.
BUG=none
TEST=built and verified that script is copied properly
Review URL: http://codereview.chromium.org/1711015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--convert-cg-to-glsl command line option to Windows. Ported to Python
2.4, which is what Cygwin and depot_tools both contain. Fixed regular
expression match and cgc.exe determination in Cygwin Python. Added
explicit invocation of python.exe to collada.cc.
BUG=none
TEST=converted teapot sample with --convert-cg-to-glsl on Windows and Mac
TBR=amarinichev
Review URL: http://codereview.chromium.org/1715009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45525 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1750008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45514 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vertex data in JSON format. Fixed problems in effect.js where GLSL
code path needed to name the texture coordinate attributes with the
semantic names and not the names like "diffuseUV" because otherwise
the backend did not know how to hook them up. Fixed problem with cube
map faces being flipped and bug in binding cube map textures.
At this point o3d-webgl can load the converted cube and teapot, though
the teapot is currently missing the bump map. Tested O3D plugin with
this sample to ensure no regression.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1729012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45495 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1766002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45459 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
during shader compilation. Added reporting of link failures.
BUG=none
TEST=ran some o3d-webgl samples
TBR=petersont
Review URL: http://codereview.chromium.org/1757006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=reran against teapot shader
Review URL: http://codereview.chromium.org/1705006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45337 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementation to be backed by Params using
o3d.ParamObject.setUpO3DParam_. This change was needed to maintain the
semantics of the plugin, where fetching a parameter of a certain name
and setting it is equivalent to setting the field against the object.
This change mandated moving all of the assignments of the form
"constructor.prototype.fieldName = defaultValue" into the constructor
function itself, so that the setter created by setUpO3DParam will be
properly called for those assignments. For all files touched by this
CL, moved all default field assignments, not just those associated
with Param-backed fields.
Incorporated petersont's setup of the dx_clipping uniform introduced
in amarinichev's cg_to_glsl converter. Commented out bogus
modification of projection matrix in o3d.Param.SAS.setProjection and
added TODO to modify all handwritten shaders. Fixed bug in
o3d.Buffer.prototype.resize where it needed to coerce the argument to
an integer, a bug in the type determination for arrays in param.js,
and a couple of other bugs.
Changed cg_to_glsl script to use the expected case for the SAS
matrices in the o3d-webgl backend. Hopefully this change will not
break the GLES2 backend.
Ran all o3d-webgl samples. All work except for shadow-map.html
(affected by https://bugs.webkit.org/show_bug.cgi?id=37963 ) and
helloworld.html, which now does not report any errors but also does
not display any output yet.
BUG=none
TEST=ran o3d-webgl samples
TBR=petersont,amarinichev
Review URL: http://codereview.chromium.org/1751006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45278 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45262 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ArchiveRequest, which expects to be pointed to the top-level scene.json,
and which emulates the behavior of the O3D plugin by downloading the
referenced resources and creating RawData objects for each. Pulled in
public domain JSON parser from http://www.json.org/ . Implemented portions
of TextureCUBE. Fixed some unimplemented functionality and a few bugs
related to creation of parameters. At this point a larger refactoring of
o3d-webgl is needed to make the deserialization work properly, so this code
is being checked in as a checkpoint.
Also fixed small bug in the cg_to_glsl converter script.
BUG=none
TEST=none
TBR=petersont,amarinichev
Review URL: http://codereview.chromium.org/1745002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45143 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1646016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45069 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which causes all DDS textures to be outputted as PNGs. This required
changes to the serialization code to reconstitute cube map textures from
six separate images. Some bugs in the plugin were uncovered with this
change which have been worked around for the time being.
Pulled in libtxc_dxtn library for decompressing DXTn textures.
Tested by converting teapot with --convert-dds-to-png and running
helloworld.html and render-mode.html.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1677002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45014 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
implemented it. Verified that normal operation is unchanged and that
--no-archive produces desired results. Also tested with --no-binary.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1646012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
kkania where varying declarations were being repeated twice in Cg
versions of shaders.
BUG=none
TEST=ran primitives.html
Review URL: http://codereview.chromium.org/1669003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44849 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1595017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44831 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44721 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1515007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44717 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1530042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(rather than the static "O3D" name) so that differently branded versions can co-exist. This also changes the default name from O3D.plugin to npo3dautoplugin.plugin to harmonize it with the other platforms.
TEST=built & tested a rebranded plugin and non-rebranded plugin on Mac
BUG=none
Review URL: http://codereview.chromium.org/1585034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Enable build flag O3D_PLUGIN_SUPPORT_SET_MAX_FPS
Review URL: http://codereview.chromium.org/1527030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44550 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
threading support needed for Safari on 10.6.
Review URL: http://codereview.chromium.org/1622023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44434 0039d316-1c4b-4281-b951-d872f2087c98
|