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

Unified Diff: command_buffer/service/cross/gl/gapi_gl.cc

Issue 329046: Splits the command buffers into common commands... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 2 months 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
Index: command_buffer/service/cross/gl/gapi_gl.cc
===================================================================
--- command_buffer/service/cross/gl/gapi_gl.cc (revision 30289)
+++ command_buffer/service/cross/gl/gapi_gl.cc (working copy)
@@ -44,11 +44,16 @@
namespace o3d {
GAPIGL::GAPIGL()
+ : cg_context_(NULL),
#ifdef OS_LINUX
- : window_(NULL),
+ window_(NULL),
#endif
- : anti_aliased_(false),
- cg_context_(NULL),
+#ifdef OS_WIN
+ hwnd_(NULL),
+ device_context_(NULL),
+ gl_context_(NULL),
+#endif
+ anti_aliased_(false),
current_vertex_struct_(kInvalidResource),
validate_streams_(true),
max_vertices_(0),
@@ -328,7 +333,6 @@
// present.
if (!GLEW_VERSION_2_0) {
DLOG(ERROR) << "GL drivers do not have OpenGL 2.0 functionality.";
- return false;
}
bool extensions_found = true;

Powered by Google App Engine
This is Rietveld 408576698