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

Side by Side Diff: content/common/gpu/image_transport_surface.cc

Issue 11722024: Remove some usage of the ENABLE_GPU macro. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
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 #if defined(ENABLE_GPU)
6
7 #include "content/common/gpu/image_transport_surface.h" 5 #include "content/common/gpu/image_transport_surface.h"
8 6
9 #include "base/bind.h" 7 #include "base/bind.h"
10 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
11 #include "base/command_line.h" 9 #include "base/command_line.h"
12 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
13 #include "content/common/gpu/gpu_channel.h" 11 #include "content/common/gpu/gpu_channel.h"
14 #include "content/common/gpu/gpu_channel_manager.h" 12 #include "content/common/gpu/gpu_channel_manager.h"
15 #include "content/common/gpu/gpu_command_buffer_stub.h" 13 #include "content/common/gpu/gpu_command_buffer_stub.h"
16 #include "content/common/gpu/gpu_messages.h" 14 #include "content/common/gpu/gpu_messages.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 328
331 PassThroughImageTransportSurface::~PassThroughImageTransportSurface() {} 329 PassThroughImageTransportSurface::~PassThroughImageTransportSurface() {}
332 330
333 void PassThroughImageTransportSurface::SendVSyncUpdateIfAvailable() { 331 void PassThroughImageTransportSurface::SendVSyncUpdateIfAvailable() {
334 GetVSyncParameters( 332 GetVSyncParameters(
335 base::Bind(&ImageTransportHelper::SendUpdateVSyncParameters, 333 base::Bind(&ImageTransportHelper::SendUpdateVSyncParameters,
336 helper_->AsWeakPtr())); 334 helper_->AsWeakPtr()));
337 } 335 }
338 336
339 } // namespace content 337 } // namespace content
340
341 #endif // defined(ENABLE_GPU)
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/image_transport_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698