add CC_DLL in Renderer folder

This commit is contained in:
Huabing.Xu 2014-07-14 17:02:06 +08:00
parent 190264c090
commit 952ca0eb75
9 changed files with 11 additions and 11 deletions

View File

@ -33,7 +33,7 @@ NS_CC_BEGIN
class TextureAtlas;
class BatchCommand : public RenderCommand
class CC_DLL BatchCommand : public RenderCommand
{
public:

View File

@ -31,7 +31,7 @@
NS_CC_BEGIN
class CustomCommand : public RenderCommand
class CC_DLL CustomCommand : public RenderCommand
{
public:
CustomCommand();

View File

@ -47,7 +47,7 @@ class EventCustom;
// UniformValue
//
//
class UniformValue
class CC_DLL UniformValue
{
friend class GLProgram;
friend class GLProgramState;
@ -99,7 +99,7 @@ protected:
// VertexAttribValue
//
//
class VertexAttribValue
class CC_DLL VertexAttribValue
{
friend class GLProgram;
friend class GLProgramState;
@ -143,7 +143,7 @@ protected:
A GLProgram can be used by thousands of Nodes, but if different uniform values
are going to be used, then each node will need its own GLProgramState
*/
class GLProgramState : public Ref
class CC_DLL GLProgramState : public Ref
{
friend class GLProgramStateCache;
public:

View File

@ -43,7 +43,7 @@ class GLProgramState;
// GLProgramStateCache
//
//
class GLProgramStateCache
class CC_DLL GLProgramStateCache
{
public:
static GLProgramStateCache* getInstance();

View File

@ -48,7 +48,7 @@ protected:
std::unordered_map<int, bool> _groupMapping;
};
class GroupCommand : public RenderCommand
class CC_DLL GroupCommand : public RenderCommand
{
public:
GroupCommand();

View File

@ -40,7 +40,7 @@ class EventListenerCustom;
class EventCustom;
//it is a common mesh
class MeshCommand : public RenderCommand
class CC_DLL MeshCommand : public RenderCommand
{
public:

View File

@ -32,7 +32,7 @@
NS_CC_BEGIN
/** Command used to render one or more Quads */
class QuadCommand : public RenderCommand
class CC_DLL QuadCommand : public RenderCommand
{
public:
static const int MATERIAL_ID_DO_NOT_BATCH = 0;

View File

@ -37,7 +37,7 @@ NS_CC_BEGIN
*
The `Renderer` knows how to render `RenderCommands` objects.
*/
class RenderCommand
class CC_DLL RenderCommand
{
public:

View File

@ -72,7 +72,7 @@ class GroupCommandManager;
Whenever possible prefer to use `QuadCommand` objects since the renderer will automatically batch them.
*/
class Renderer
class CC_DLL Renderer
{
public:
static const int VBO_SIZE = 65536 / 6;