diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-26 02:53:54 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-26 02:53:54 +0000 |
commit | 326975bc6d456cf9fd4a6d944ce1f9f5f834e7e4 (patch) | |
tree | 544760f0e2efb3a6e81ab024ea51adc4b7c0dddd /gpu/demos/pepper_gpu_demo.html | |
parent | a651b74d09d8f96d6dbb488dde3c494d97544886 (diff) | |
download | chromium_src-326975bc6d456cf9fd4a6d944ce1f9f5f834e7e4.zip chromium_src-326975bc6d456cf9fd4a6d944ce1f9f5f834e7e4.tar.gz chromium_src-326975bc6d456cf9fd4a6d944ce1f9f5f834e7e4.tar.bz2 |
Added infrastructure to run gpu demos under Pepper3D. Created a Demo class that can be run as both standalone apps (exe) or pepper plugins (dll). Created entry points and framework classes for both platforms - exe and pepper. A demo application has three layers:
1. Entry point
- standalone (main_exe.cc): Contains the main function for console applications. Instantiates and runs a window.
- pepper (main_pepper.cc): Contains NPAPI entry points. Instantiates pepper plugin object.
2. Framework that hosts demo
- standalone: Window
- pepper: Plugin
3. Demo - One demo class for all platforms. This does all the rendering and event handling.
BUG=26099
Review URL: http://codereview.chromium.org/554053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos/pepper_gpu_demo.html')
-rw-r--r-- | gpu/demos/pepper_gpu_demo.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gpu/demos/pepper_gpu_demo.html b/gpu/demos/pepper_gpu_demo.html new file mode 100644 index 0000000..8be4e57 --- /dev/null +++ b/gpu/demos/pepper_gpu_demo.html @@ -0,0 +1,12 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Pepper GPU Demo</title> +</head> + +<body style="background-color:Silver"> + +<h1>Pepper GPU Demo</h1> +<object id="plugin" type="pepper-application/x-gpu-demo" width="512" height="512" /> + +</body> +</html> |