diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 18:22:10 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 18:22:10 +0000 |
commit | ad8ef9ac2412b8179a06984bc23f14287a8bda45 (patch) | |
tree | d380154543deb075102735bd007a73319b7a1bb7 /ui/gfx/gl/gl_implementation.h | |
parent | c47566d1a86aec6fe5f6846015f6e6141148708b (diff) | |
download | chromium_src-ad8ef9ac2412b8179a06984bc23f14287a8bda45.zip chromium_src-ad8ef9ac2412b8179a06984bc23f14287a8bda45.tar.gz chromium_src-ad8ef9ac2412b8179a06984bc23f14287a8bda45.tar.bz2 |
Add gl.dll, compositor.dll, and surface.dll.
I considered merging these into ui.dll, but the respective GYP files are pretty
customized, and merging all of the special casing into ui.gyp seemed like it
would just make things messy. Plus, some components only need to link to
surface and not all of ui.
One thing that I'm not entirely sure about is the naming convention. In this
case the modules are named gl, compositor and surface instead of ui_gfx_gl, and
so on. I thought about declaring UI_GFX_GL_EXPORT, but I opted for the shorter
GL_EXPORT instead. I think Ben has been thinking about moving these
directories out of ui/gfx/ anyways since it is a bit odd for them to live there.
R=rvargas
Review URL: http://codereview.chromium.org/7645004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gl/gl_implementation.h')
-rw-r--r-- | ui/gfx/gl/gl_implementation.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gfx/gl/gl_implementation.h b/ui/gfx/gl/gl_implementation.h index c3e3ca4..aab0bdf 100644 --- a/ui/gfx/gl/gl_implementation.h +++ b/ui/gfx/gl/gl_implementation.h @@ -10,6 +10,7 @@ #include "base/native_library.h" #include "build/build_config.h" +#include "ui/gfx/gl/gl_export.h" #include "ui/gfx/gl/gl_switches.h" namespace gfx { @@ -30,7 +31,7 @@ typedef void* (*GLGetProcAddressProc)(const char* name); #endif // Initialize a particular GL implementation. -bool InitializeGLBindings(GLImplementation implementation); +GL_EXPORT bool InitializeGLBindings(GLImplementation implementation); // Initialize Debug logging wrappers for GL bindings. void InitializeDebugGLBindings(); @@ -39,7 +40,7 @@ void InitializeDebugGLBindings(); void SetGLImplementation(GLImplementation implementation); // Get the current GL implementation. -GLImplementation GetGLImplementation(); +GL_EXPORT GLImplementation GetGLImplementation(); // Get the GL implementation with a given name. GLImplementation GetNamedGLImplementation(const std::wstring& name); |