summaryrefslogtreecommitdiffstats
path: root/o3d/gpu_plugin
Commit message (Collapse)AuthorAgeFilesLines
* Implemented shared memory as an NPObject. Using NPObject method to expose ↵apatrick@google.com2009-09-0918-124/+546
| | | | | | | | | | | | mapping function rather than NPAPI change. Note that shared memory objects currently lose identity when they cross a process boundary. If an object is sent across a boundary and back, there are now two objects representing the same handle in a single process. This can be fixed. TEST=none BUG=none Review URL: http://codereview.chromium.org/194049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25749 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced BaseNPObject with DefaultNPObject because...apatrick@google.com2009-09-0827-657/+535
| | | | | | | | | | | | | | DefaultNPObject can derive from bases other than NPObject, allowing concrete NPObjects to choose their own NPObject subclass. DefaultNPObject does not rely on virtual functions. See change to NPGetClass in np_class.h. Removed count() from MockNPObject because I discovered gmock checks that no mock objects exist after a test completes anyway. TEST=none BUG=none Review URL: http://codereview.chromium.org/196032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25632 0039d316-1c4b-4281-b951-d872f2087c98
* Exracted CommandBuffer class from GPUPluginObject.apatrick@google.com2009-09-039-120/+314
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/200005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25348 0039d316-1c4b-4281-b951-d872f2087c98
* Wrote tests for GPUPluginObject::OpenCommandBuffer.apatrick@google.com2009-09-0214-58/+498
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/188015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25244 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for accidental early commit reviewed at URL below.apatrick@google.com2009-09-026-6/+91
| | | | | | | | | | http://codereview.chromium.org/177060 TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25203 0039d316-1c4b-4281-b951-d872f2087c98
* GPU plugin object can create a command buffer via a V8 extension in Chromium ↵apatrick@google.com2009-09-0235-962/+1707
| | | | | | | | | | | | and return it via NPAPI. Introduced NPBrowser class to abstract functions provided by browser to plugin, including Chromium extensions. NPBrowser is stubbed for tests. TEST=none BUG=none Review URL: http://codereview.chromium.org/177060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25135 0039d316-1c4b-4281-b951-d872f2087c98
* Added GPU plugin object, an NPObject to which a plugin instance's NPP calls ↵apatrick@google.com2009-08-2522-354/+1183
| | | | | | | | | | | are forwarded. TEST=none BUG=none Review URL: http://codereview.chromium.org/173386 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24364 0039d316-1c4b-4281-b951-d872f2087c98
* Added DispatchedNPObject.apatrick@google.com2009-08-2418-23/+1671
| | | | | | | | | | | | Automatically invokes member functions on C++ NPObjects for NPAPI methods. See comment in DispatchedNPObject. Utilities for invoking the methods of an NPAPI object using C++ typed arguments and return values. BUG=none TEST=none Review URL: http://codereview.chromium.org/173237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24177 0039d316-1c4b-4281-b951-d872f2087c98
* Added NPObjectBase, a base class for NPObject that forwards NPObject calls ↵apatrick@google.com2009-08-206-3/+489
| | | | | | | | | | | through to virtual functions in the subclass. BUG=none TEST=none Review URL: http://codereview.chromium.org/174180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23912 0039d316-1c4b-4281-b951-d872f2087c98
* Added GPU rendering plugin, an internal out-of-process plugin for rendering ↵apatrick@google.com2009-08-204-0/+230
3D graphics with the GPU. Does nothing at all yet. Only enabled if --enable-gpu-plugin is on the command line and only in Windows build. GPU plugin builds on Linux and Mac but is not functional or enabled yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/174158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23874 0039d316-1c4b-4281-b951-d872f2087c98