Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: gpu/command_buffer/client/gles2_demo.cc

Issue 463052: Update initialization of gles2_demo.cc to match... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_demo.cc
===================================================================
--- gpu/command_buffer/client/gles2_demo.cc (revision 34064)
+++ gpu/command_buffer/client/gles2_demo.cc (working copy)
@@ -10,6 +10,8 @@
#include <shellapi.h>
#include <stdlib.h>
#include <stdio.h>
+#include "base/at_exit.h"
+#include "base/message_loop.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
#include "base/scoped_ptr.h"
@@ -19,6 +21,7 @@
#include "gpu/command_buffer/client/gles2_lib.h"
#include "gpu/command_buffer/client/gles2_demo_c.h"
#include "gpu/command_buffer/client/gles2_demo_cc.h"
+#include "gpu/np_utils/np_browser_stub.h"
apatrick 2009/12/08 20:51:14 You shouldn't need this now.
using base::SharedMemory;
using command_buffer::GPUProcessor;
@@ -192,6 +195,10 @@
int main(int argc, const char** argv) {
const int32 kCommandBufferSize = 1024 * 1024;
+
+ base::AtExitManager at_exit_manager;
+ MessageLoopForUI message_loop;
+
GLES2Demo* demo = new GLES2Demo();
void* hwnd = SetupWindow();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698