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

Side by Side Diff: content/renderer/pepper/pepper_platform_context_3d.h

Issue 25666014: Remove the ENABLE_GPU #define and enable_gpu gyp variable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/pepper/pepper_platform_context_3d.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
13 #include "gpu/command_buffer/common/mailbox.h" 13 #include "gpu/command_buffer/common/mailbox.h"
14 14
15 #ifdef ENABLE_GPU
16
17 class CommandBufferProxy; 15 class CommandBufferProxy;
18 namespace gpu { 16 namespace gpu {
19 class CommandBuffer; 17 class CommandBuffer;
20 struct Mailbox; 18 struct Mailbox;
21 } // namespace gpu 19 } // namespace gpu
22 20
23 namespace content { 21 namespace content {
24 class ContextProviderCommandBuffer; 22 class ContextProviderCommandBuffer;
25 class GpuChannelHost; 23 class GpuChannelHost;
26 24
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 gpu::Mailbox mailbox_; 70 gpu::Mailbox mailbox_;
73 bool has_alpha_; 71 bool has_alpha_;
74 CommandBufferProxyImpl* command_buffer_; 72 CommandBufferProxyImpl* command_buffer_;
75 base::Closure context_lost_callback_; 73 base::Closure context_lost_callback_;
76 ConsoleMessageCallback console_message_callback_; 74 ConsoleMessageCallback console_message_callback_;
77 base::WeakPtrFactory<PlatformContext3D> weak_ptr_factory_; 75 base::WeakPtrFactory<PlatformContext3D> weak_ptr_factory_;
78 }; 76 };
79 77
80 } // namespace content 78 } // namespace content
81 79
82 #endif // ENABLE_GPU
83
84 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_ 80 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/pepper/pepper_platform_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698