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

Side by Side Diff: command_buffer/service/cross/gl/texture_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 25 matching lines...) Expand all
36 #ifndef O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_ 36 #ifndef O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_
37 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_ 37 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_
38 38
39 #include "command_buffer/common/cross/gapi_interface.h" 39 #include "command_buffer/common/cross/gapi_interface.h"
40 #include "command_buffer/service/cross/gl/gl_utils.h" 40 #include "command_buffer/service/cross/gl/gl_utils.h"
41 #include "command_buffer/service/cross/resource.h" 41 #include "command_buffer/service/cross/resource.h"
42 #include "command_buffer/service/cross/texture_utils.h" 42 #include "command_buffer/service/cross/texture_utils.h"
43 43
44 namespace o3d { 44 namespace o3d {
45 namespace command_buffer { 45 namespace command_buffer {
46 namespace o3d {
46 47
47 class RenderDepthStencilSurfaceGL; 48 class RenderDepthStencilSurfaceGL;
48 class RenderSurfaceGL; 49 class RenderSurfaceGL;
49 50
50 // The base class for a GL texture resource, providing access to the base GL 51 // The base class for a GL texture resource, providing access to the base GL
51 // texture that can be assigned to an effect parameter or a sampler unit. 52 // texture that can be assigned to an effect parameter or a sampler unit.
52 class TextureGL : public Texture { 53 class TextureGL : public Texture {
53 public: 54 public:
54 TextureGL(texture::Type type, 55 TextureGL(texture::Type type,
55 unsigned int levels, 56 unsigned int levels,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 int side); 272 int side);
272 273
273 virtual bool InstallFrameBufferObjects( 274 virtual bool InstallFrameBufferObjects(
274 RenderSurfaceGL *gl_surface); 275 RenderSurfaceGL *gl_surface);
275 276
276 private: 277 private:
277 unsigned int side_; 278 unsigned int side_;
278 DISALLOW_COPY_AND_ASSIGN(TextureCubeGL); 279 DISALLOW_COPY_AND_ASSIGN(TextureCubeGL);
279 }; 280 };
280 281
282 } // namespace o3d
281 } // namespace command_buffer 283 } // namespace command_buffer
282 } // namespace o3d 284 } // namespace o3d
283 285
284 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_ 286 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_TEXTURE_GL_H_
OLDNEW
« no previous file with comments | « command_buffer/service/cross/gl/states_gl.cc ('k') | command_buffer/service/cross/gl/texture_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698