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

Side by Side Diff: src/ports/SkOSLibrary_posix.cpp

Issue 1346423002: Skia: Add Command Buffer support to Linux/Mac (Closed) Base URL: https://skia.googlesource.com/skia@angle_on_linux
Patch Set: make windows compile Created 5 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
« no previous file with comments | « src/ports/SkOSLibrary.h ('k') | src/ports/SkOSLibrary_win.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2015 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8 #include "SkOSLibrary.h"
9
10 #include <dlfcn.h>
11
12 void* DynamicLoadLibrary(const char* libraryName) {
13 return dlopen(libraryName, RTLD_LAZY);
14 }
15
16 void* GetProcedureAddress(void* library, const char* functionName) {
17 return dlsym(library, functionName);
18 }
OLDNEW
« no previous file with comments | « src/ports/SkOSLibrary.h ('k') | src/ports/SkOSLibrary_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698