diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 17:37:36 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 17:37:36 +0000 |
commit | fe377e179b83f77f0ad65150f22d1b2a07f516dc (patch) | |
tree | b448d81085dbe2764ee51b4e3c683ed9c589b03d /ui/gfx/gl/gl_surface.h | |
parent | 07890d18d5874d213d3ddfa80ef80f0742ab699b (diff) | |
download | chromium_src-fe377e179b83f77f0ad65150f22d1b2a07f516dc.zip chromium_src-fe377e179b83f77f0ad65150f22d1b2a07f516dc.tar.gz chromium_src-fe377e179b83f77f0ad65150f22d1b2a07f516dc.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
Originally reviewed at http://codereview.chromium.org/7645004
Review URL: http://codereview.chromium.org/7659017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gl/gl_surface.h')
-rw-r--r-- | ui/gfx/gl/gl_surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h index 1d6ddc2d..88b4f24 100644 --- a/ui/gfx/gl/gl_surface.h +++ b/ui/gfx/gl/gl_surface.h @@ -8,6 +8,7 @@ #include "base/memory/ref_counted.h" #include "build/build_config.h" +#include "ui/gfx/gl/gl_export.h" #include "ui/gfx/native_widget_types.h" #include "ui/gfx/size.h" @@ -17,7 +18,7 @@ class GLContext; // Encapsulates a surface that can be rendered to with GL, hiding platform // specific management. -class GLSurface : public base::RefCounted<GLSurface> { +class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { public: GLSurface(); |