|
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37082
Total comments: 63
Total comments: 10
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+779 lines, -514 lines) |
Patch |
 |
D |
gpu/demos/app_framework/application.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
D |
gpu/demos/app_framework/application.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -169 lines |
0 comments
|
Download
|
 |
D |
gpu/demos/app_framework/platform.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
gpu/demos/demos.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+52 lines, -58 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/demo.h
|
View
|
1
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/demo.cc
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/demo_factory.h
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/main_exe.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/main_pepper.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+148 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
gpu/demos/framework/platform.h
|
View
|
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/plugin.h
|
View
|
1
2
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/plugin.cc
|
View
|
1
2
|
1 chunk |
+147 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/plugin.def
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/framework/plugin.rc
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
gpu/demos/framework/window.h
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -50 lines |
0 comments
|
Download
|
 |
A + |
gpu/demos/framework/window.cc
|
View
|
1
2
|
6 chunks |
+91 lines, -91 lines |
0 comments
|
Download
|
 |
M |
gpu/demos/gles2_book/example.h
|
View
|
1
2
3
4
5
|
2 chunks |
+33 lines, -19 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/gles2_book/hello_triangle.cc
|
View
|
1
2
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
D |
gpu/demos/hello_triangle/main.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
A |
gpu/demos/pepper_gpu_demo.html
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|