summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common')
-rw-r--r--gpu/command_buffer/common/command_buffer.h3
-rw-r--r--gpu/command_buffer/common/id_allocator.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/gpu/command_buffer/common/command_buffer.h b/gpu/command_buffer/common/command_buffer.h
index ee8fe06..6a2da68 100644
--- a/gpu/command_buffer/common/command_buffer.h
+++ b/gpu/command_buffer/common/command_buffer.h
@@ -5,6 +5,7 @@
#ifndef GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_
#define GPU_COMMAND_BUFFER_COMMON_COMMAND_BUFFER_H_
+#include "../../gpu_export.h"
#include "../common/buffer.h"
#include "../common/constants.h"
@@ -15,7 +16,7 @@ class SharedMemory;
namespace gpu {
// Common interface for CommandBuffer implementations.
-class CommandBuffer {
+class GPU_EXPORT CommandBuffer {
public:
enum {
kMaxCommandBufferSize = 4 * 1024 * 1024
diff --git a/gpu/command_buffer/common/id_allocator.h b/gpu/command_buffer/common/id_allocator.h
index de2d658..7e25dbb 100644
--- a/gpu/command_buffer/common/id_allocator.h
+++ b/gpu/command_buffer/common/id_allocator.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
+#include "../../gpu_export.h"
#include "../common/types.h"
namespace gpu {
@@ -21,7 +22,7 @@ typedef uint32 ResourceId;
// Invalid resource ID.
static const ResourceId kInvalidResource = 0u;
-class IdAllocatorInterface {
+class GPU_EXPORT IdAllocatorInterface {
public:
virtual ~IdAllocatorInterface();
@@ -43,7 +44,7 @@ class IdAllocatorInterface {
};
// A class to manage the allocation of resource IDs.
-class IdAllocator : public IdAllocatorInterface {
+class GPU_EXPORT IdAllocator : public IdAllocatorInterface {
public:
IdAllocator();
virtual ~IdAllocator();