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

Side by Side Diff: ui/surface/io_surface_support_mac.cc

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS Created 8 years, 7 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 | « ui/surface/io_surface_support_mac.h ('k') | ui/surface/surface.gyp » ('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) 2011 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 #include <dlfcn.h> 5 #include <dlfcn.h>
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "ui/gfx/surface/io_surface_support_mac.h" 8 #include "ui/surface/io_surface_support_mac.h"
9 9
10 typedef CFTypeRef (*IOSurfaceCreateProcPtr)(CFDictionaryRef properties); 10 typedef CFTypeRef (*IOSurfaceCreateProcPtr)(CFDictionaryRef properties);
11 typedef uint32 (*IOSurfaceGetIDProcPtr)(CFTypeRef io_surface); 11 typedef uint32 (*IOSurfaceGetIDProcPtr)(CFTypeRef io_surface);
12 typedef CFTypeRef (*IOSurfaceLookupProcPtr)(uint32 io_surface_id); 12 typedef CFTypeRef (*IOSurfaceLookupProcPtr)(uint32 io_surface_id);
13 typedef mach_port_t (*IOSurfaceCreateMachPortProcPtr)(CFTypeRef io_surface); 13 typedef mach_port_t (*IOSurfaceCreateMachPortProcPtr)(CFTypeRef io_surface);
14 typedef CFTypeRef (*IOSurfaceLookupFromMachPortProcPtr)(mach_port_t port); 14 typedef CFTypeRef (*IOSurfaceLookupFromMachPortProcPtr)(mach_port_t port);
15 typedef size_t (*IOSurfaceGetWidthPtr)(CFTypeRef io_surface); 15 typedef size_t (*IOSurfaceGetWidthPtr)(CFTypeRef io_surface);
16 typedef size_t (*IOSurfaceGetHeightPtr)(CFTypeRef io_surface); 16 typedef size_t (*IOSurfaceGetHeightPtr)(CFTypeRef io_surface);
17 typedef CGLError (*CGLTexImageIOSurface2DProcPtr)(CGLContextObj ctx, 17 typedef CGLError (*CGLTexImageIOSurface2DProcPtr)(CGLContextObj ctx,
18 GLenum target, 18 GLenum target,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 IOSurfaceSupport* IOSurfaceSupport::Initialize() { 261 IOSurfaceSupport* IOSurfaceSupport::Initialize() {
262 return IOSurfaceSupportImpl::GetInstance(); 262 return IOSurfaceSupportImpl::GetInstance();
263 } 263 }
264 264
265 IOSurfaceSupport::IOSurfaceSupport() { 265 IOSurfaceSupport::IOSurfaceSupport() {
266 } 266 }
267 267
268 IOSurfaceSupport::~IOSurfaceSupport() { 268 IOSurfaceSupport::~IOSurfaceSupport() {
269 } 269 }
270 270
OLDNEW
« no previous file with comments | « ui/surface/io_surface_support_mac.h ('k') | ui/surface/surface.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698