aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkOSLibrary.h
diff options
context:
space:
mode:
authorGravatar hendrikw <hendrikw@chromium.org>2015-10-01 18:29:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-01 18:29:34 -0700
commitb1ac52fb0f8c5f03844ef3bbb198ba32427194b5 (patch)
tree0069759ea9576ba179656c7a5c7224bb6b56f538 /src/ports/SkOSLibrary.h
parent9442ab8a40dd0effde253e3b2d166bcf47222e92 (diff)
Skia: Add Command Buffer support to Linux/Mac
Code added to load libcommand_buffer_gles2.so on linux or mac. Review URL: https://codereview.chromium.org/1346423002
Diffstat (limited to 'src/ports/SkOSLibrary.h')
-rw-r--r--src/ports/SkOSLibrary.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ports/SkOSLibrary.h b/src/ports/SkOSLibrary.h
new file mode 100644
index 0000000000..7de2b902e3
--- /dev/null
+++ b/src/ports/SkOSLibrary.h
@@ -0,0 +1,16 @@
+
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkOSLibrary_DEFINED
+#define SkOSLibrary_DEFINED
+
+void* DynamicLoadLibrary(const char* libraryName);
+void* GetProcedureAddress(void* library, const char* functionName);
+
+#endif
+