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

Side by Side Diff: app/surface/accelerated_surface_mac.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « app/surface/accelerated_surface_mac.h ('k') | app/surface/transport_dib_linux.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "app/surface/accelerated_surface_mac.h" 5 #include "app/surface/accelerated_surface_mac.h"
6 6
7 #include "app/gfx/gl/gl_bindings.h" 7 #include "app/gfx/gl/gl_bindings.h"
8 #include "app/gfx/gl/gl_implementation.h" 8 #include "app/gfx/gl/gl_implementation.h"
9 #include "app/surface/io_surface_support_mac.h" 9 #include "app/surface/io_surface_support_mac.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/mac/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
12 #include "gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 13
14 AcceleratedSurface::AcceleratedSurface() 14 AcceleratedSurface::AcceleratedSurface()
15 : io_surface_id_(0), 15 : io_surface_id_(0),
16 allocate_fbo_(false), 16 allocate_fbo_(false),
17 texture_(0), 17 texture_(0),
18 fbo_(0), 18 fbo_(0),
19 depth_stencil_renderbuffer_(0) { 19 depth_stencil_renderbuffer_(0) {
20 } 20 }
21 21
22 bool AcceleratedSurface::Initialize(gfx::GLContext* share_context, 22 bool AcceleratedSurface::Initialize(gfx::GLContext* share_context,
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 } 336 }
337 return transport_dib_->handle(); 337 return transport_dib_->handle();
338 } 338 }
339 339
340 void AcceleratedSurface::SetTransportDIBAllocAndFree( 340 void AcceleratedSurface::SetTransportDIBAllocAndFree(
341 Callback2<size_t, TransportDIB::Handle*>::Type* allocator, 341 Callback2<size_t, TransportDIB::Handle*>::Type* allocator,
342 Callback1<TransportDIB::Id>::Type* deallocator) { 342 Callback1<TransportDIB::Id>::Type* deallocator) {
343 dib_alloc_callback_.reset(allocator); 343 dib_alloc_callback_.reset(allocator);
344 dib_free_callback_.reset(deallocator); 344 dib_free_callback_.reset(deallocator);
345 } 345 }
OLDNEW
« no previous file with comments | « app/surface/accelerated_surface_mac.h ('k') | app/surface/transport_dib_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698