Kaydet (Commit) 76718569 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

There is no separate vclopengl library since Oct 2014

Change-Id: Ie8ddac5cce6905c3a40350ff60fad24d4da43a66
üst 14045bbd
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
#define INCLUDED_VCL_GLM_GLMHELPER_HXX #define INCLUDED_VCL_GLM_GLMHELPER_HXX
#include "glm/glm.hpp" #include "glm/glm.hpp"
#include <vcl/vclopengl_dllapi.hxx> #include <vcl/dllapi.h>
#include <ostream> #include <ostream>
VCLOPENGL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::mat4& rMatrix); VCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::mat4& rMatrix);
VCLOPENGL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::vec4& rPos); VCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::vec4& rPos);
VCLOPENGL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::vec3& rPos); VCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::vec3& rPos);
#endif #endif
......
...@@ -51,7 +51,7 @@ class NSOpenGLView; ...@@ -51,7 +51,7 @@ class NSOpenGLView;
#include <GL/glxext.h> #include <GL/glxext.h>
#endif #endif
#include <vcl/vclopengl_dllapi.hxx> #include <vcl/dllapi.h>
#include <boost/ptr_container/ptr_map.hpp> #include <boost/ptr_container/ptr_map.hpp>
#include <vcl/window.hxx> #include <vcl/window.hxx>
#include <tools/gen.hxx> #include <tools/gen.hxx>
...@@ -164,7 +164,7 @@ struct GLWindow ...@@ -164,7 +164,7 @@ struct GLWindow
~GLWindow(); ~GLWindow();
}; };
class VCLOPENGL_DLLPUBLIC OpenGLContext class VCL_DLLPUBLIC OpenGLContext
{ {
public: public:
OpenGLContext(); OpenGLContext();
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define INCLUDED_VCL_OPENGL_OPENGLHELPER_HXX #define INCLUDED_VCL_OPENGL_OPENGLHELPER_HXX
#include <GL/glew.h> #include <GL/glew.h>
#include <vcl/vclopengl_dllapi.hxx> #include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx> #include <vcl/bitmapex.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# include <postx.h> # include <postx.h>
#endif #endif
class VCLOPENGL_DLLPUBLIC OpenGLHelper class VCL_DLLPUBLIC OpenGLHelper
{ {
public: public:
static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName, const OString& preamble = "" ); static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName, const OString& preamble = "" );
......
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
#include <vcl/event.hxx> #include <vcl/event.hxx>
#include <vcl/syschild.hxx> #include <vcl/syschild.hxx>
#include <vcl/vclopengl_dllapi.hxx> #include <vcl/dllapi.h>
class OpenGLContext; class OpenGLContext;
class OpenGLWindowImpl; class OpenGLWindowImpl;
class VCLOPENGL_DLLPUBLIC IRenderer class VCL_DLLPUBLIC IRenderer
{ {
public: public:
virtual ~IRenderer() {} virtual ~IRenderer() {}
...@@ -30,7 +30,7 @@ public: ...@@ -30,7 +30,7 @@ public:
}; };
// pImpl Pattern to avoid linking against OpenGL libs when using the class without the context // pImpl Pattern to avoid linking against OpenGL libs when using the class without the context
class VCLOPENGL_DLLPUBLIC OpenGLWindow : public vcl::Window class VCL_DLLPUBLIC OpenGLWindow : public vcl::Window
{ {
public: public:
OpenGLWindow(vcl::Window* pParent); OpenGLWindow(vcl::Window* pParent);
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_VCL_VCLOPENGL_DLLAPI_HXX
#define INCLUDED_VCL_VCLOPENGL_DLLAPI_HXX
#include "sal/types.h"
#if defined(VCLOPENGL_DLLIMPLEMENTATION)
#define VCLOPENGL_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define VCLOPENGL_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -45,7 +45,6 @@ $(eval $(call gb_Library_set_include,vcl,\ ...@@ -45,7 +45,6 @@ $(eval $(call gb_Library_set_include,vcl,\
$(eval $(call gb_Library_add_defs,vcl,\ $(eval $(call gb_Library_add_defs,vcl,\
-DVCL_DLLIMPLEMENTATION \ -DVCL_DLLIMPLEMENTATION \
-DVCLOPENGL_DLLIMPLEMENTATION \
-DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \ -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \
-DDESKTOP_DETECTOR_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,desktop_detector))\" \ -DDESKTOP_DETECTOR_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,desktop_detector))\" \
-DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \ -DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment