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/compositor/compositor.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/compositor/compositor.h')
-rw-r--r-- | ui/gfx/compositor/compositor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h index bd28bda..df575dd 100644 --- a/ui/gfx/compositor/compositor.h +++ b/ui/gfx/compositor/compositor.h @@ -7,6 +7,7 @@ #pragma once #include "base/memory/ref_counted.h" +#include "ui/gfx/compositor/compositor_export.h" #include "ui/gfx/transform.h" #include "ui/gfx/native_widget_types.h" @@ -40,7 +41,7 @@ struct TextureDrawParams { // the bitmap. // // Views own the Texture. -class Texture : public base::RefCounted<Texture> { +class COMPOSITOR_EXPORT Texture : public base::RefCounted<Texture> { public: // Sets the canvas of this texture. The origin is at |origin|. // |overall_size| gives the total size of texture. @@ -67,7 +68,7 @@ class Texture : public base::RefCounted<Texture> { // displayable form of pixels comprising a single widget's contents. It draws an // appropriately transformed texture for each transformed view in the widget's // view hierarchy. -class Compositor : public base::RefCounted<Compositor> { +class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { public: // Create a compositor from the provided handle. static Compositor* Create(gfx::AcceleratedWidget widget, |