summaryrefslogtreecommitdiffstats
path: root/ui/gfx/compositor/compositor.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 17:37:36 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 17:37:36 +0000
commitfe377e179b83f77f0ad65150f22d1b2a07f516dc (patch)
treeb448d81085dbe2764ee51b4e3c683ed9c589b03d /ui/gfx/compositor/compositor.h
parent07890d18d5874d213d3ddfa80ef80f0742ab699b (diff)
downloadchromium_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/compositor/compositor.h')
-rw-r--r--ui/gfx/compositor/compositor.h5
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,