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

Side by Side Diff: command_buffer/service/cross/gl/gapi_gl.h

Issue 332036: move all O3D specific command buffer stuff to command_buffer::o3d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "command_buffer/common/cross/gapi_interface.h" 43 #include "command_buffer/common/cross/gapi_interface.h"
44 #include "command_buffer/service/cross/gl/gl_utils.h" 44 #include "command_buffer/service/cross/gl/gl_utils.h"
45 #include "command_buffer/service/cross/gl/effect_gl.h" 45 #include "command_buffer/service/cross/gl/effect_gl.h"
46 #include "command_buffer/service/cross/gl/geometry_gl.h" 46 #include "command_buffer/service/cross/gl/geometry_gl.h"
47 #include "command_buffer/service/cross/gl/render_surface_gl.h" 47 #include "command_buffer/service/cross/gl/render_surface_gl.h"
48 #include "command_buffer/service/cross/gl/sampler_gl.h" 48 #include "command_buffer/service/cross/gl/sampler_gl.h"
49 #include "command_buffer/service/cross/gl/texture_gl.h" 49 #include "command_buffer/service/cross/gl/texture_gl.h"
50 50
51 namespace o3d { 51 namespace o3d {
52 namespace command_buffer { 52 namespace command_buffer {
53 namespace o3d {
53 #if defined(OS_LINUX) 54 #if defined(OS_LINUX)
54 class XWindowWrapper; 55 class XWindowWrapper;
55 #endif // defined(OS_LINUX) 56 #endif // defined(OS_LINUX)
56 57
57 // This class implements the GAPI interface for GL. 58 // This class implements the GAPI interface for GL.
58 class GAPIGL : public GAPIInterface { 59 class GAPIGL : public GAPIInterface {
59 public: 60 public:
60 GAPIGL(); 61 GAPIGL();
61 virtual ~GAPIGL(); 62 virtual ~GAPIGL();
62 63
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 ResourceMap<IndexBufferGL> index_buffers_; 453 ResourceMap<IndexBufferGL> index_buffers_;
453 ResourceMap<VertexStructGL> vertex_structs_; 454 ResourceMap<VertexStructGL> vertex_structs_;
454 ResourceMap<EffectGL> effects_; 455 ResourceMap<EffectGL> effects_;
455 ResourceMap<EffectParamGL> effect_params_; 456 ResourceMap<EffectParamGL> effect_params_;
456 ResourceMap<TextureGL> textures_; 457 ResourceMap<TextureGL> textures_;
457 ResourceMap<SamplerGL> samplers_; 458 ResourceMap<SamplerGL> samplers_;
458 ResourceMap<RenderSurfaceGL> render_surfaces_; 459 ResourceMap<RenderSurfaceGL> render_surfaces_;
459 ResourceMap<RenderDepthStencilSurfaceGL> depth_surfaces_; 460 ResourceMap<RenderDepthStencilSurfaceGL> depth_surfaces_;
460 }; 461 };
461 462
463 } // namespace o3d
462 } // namespace command_buffer 464 } // namespace command_buffer
463 } // namespace o3d 465 } // namespace o3d
464 466
465 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_GAPI_GL_H_ 467 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_GAPI_GL_H_
OLDNEW
« no previous file with comments | « command_buffer/service/cross/gl/effect_gl.cc ('k') | command_buffer/service/cross/gl/gapi_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698