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/win/d3d9/gapi_d3d9.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 28 matching lines...) Expand all
39 #include "command_buffer/common/cross/gapi_interface.h" 39 #include "command_buffer/common/cross/gapi_interface.h"
40 #include "command_buffer/service/win/d3d9/d3d9_utils.h" 40 #include "command_buffer/service/win/d3d9/d3d9_utils.h"
41 #include "command_buffer/service/win/d3d9/geometry_d3d9.h" 41 #include "command_buffer/service/win/d3d9/geometry_d3d9.h"
42 #include "command_buffer/service/win/d3d9/effect_d3d9.h" 42 #include "command_buffer/service/win/d3d9/effect_d3d9.h"
43 #include "command_buffer/service/win/d3d9/texture_d3d9.h" 43 #include "command_buffer/service/win/d3d9/texture_d3d9.h"
44 #include "command_buffer/service/win/d3d9/sampler_d3d9.h" 44 #include "command_buffer/service/win/d3d9/sampler_d3d9.h"
45 #include "command_buffer/service/win/d3d9/render_surface_d3d9.h" 45 #include "command_buffer/service/win/d3d9/render_surface_d3d9.h"
46 46
47 namespace o3d { 47 namespace o3d {
48 namespace command_buffer { 48 namespace command_buffer {
49 namespace o3d {
49 50
50 // This class implements the GAPI interface for D3D9. 51 // This class implements the GAPI interface for D3D9.
51 class GAPID3D9 : public GAPIInterface { 52 class GAPID3D9 : public GAPIInterface {
52 public: 53 public:
53 GAPID3D9(); 54 GAPID3D9();
54 virtual ~GAPID3D9(); 55 virtual ~GAPID3D9();
55 56
56 void set_hwnd(HWND hwnd) { hwnd_ = hwnd; } 57 void set_hwnd(HWND hwnd) { hwnd_ = hwnd; }
57 HWND hwnd() const { return hwnd_; } 58 HWND hwnd() const { return hwnd_; }
58 59
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 LPD3DXBUFFER * compilation_errors); 495 LPD3DXBUFFER * compilation_errors);
495 D3DXCreateEffectProc create_effect_; 496 D3DXCreateEffectProc create_effect_;
496 497
497 typedef HRESULT (WINAPI *D3DXGetShaderInputSemanticsProc)( 498 typedef HRESULT (WINAPI *D3DXGetShaderInputSemanticsProc)(
498 const DWORD* function, 499 const DWORD* function,
499 D3DXSEMANTIC* semantics, 500 D3DXSEMANTIC* semantics,
500 UINT* count); 501 UINT* count);
501 D3DXGetShaderInputSemanticsProc get_shader_input_semantics_; 502 D3DXGetShaderInputSemanticsProc get_shader_input_semantics_;
502 }; 503 };
503 504
505 } // namespace o3d
504 } // namespace command_buffer 506 } // namespace command_buffer
505 } // namespace o3d 507 } // namespace o3d
506 508
507 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_GAPI_D3D9_H_ 509 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_GAPI_D3D9_H_
508 510
OLDNEW
« no previous file with comments | « command_buffer/service/win/d3d9/effect_d3d9.cc ('k') | command_buffer/service/win/d3d9/gapi_d3d9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698