build_flag (WITH_GLX_LIB "Build development library for OpenGL/X11 based renderers" OFF)
#===========================================================================================================
if (WITH_GLX_LIB)
+ add_subdirectory_once (LayerManagerPlugins/Renderers/Graphic)
add_subdirectory_once (LayerManagerPlugins/Renderers/GraphicLib/LayerManagerGraphicGLX)
endif(WITH_GLX_LIB)
build_flag (WITH_WAYLAND_X11_LIB "Build development library for GLES/Wayland X11 based renderers" OFF)
#===========================================================================================================
if (WITH_WAYLAND_X11_LIB)
+ add_subdirectory_once (LayerManagerPlugins/Renderers/Graphic)
add_subdirectory_once (LayerManagerPlugins/Renderers/GraphicLib/LayerManagerGraphicWaylandX11GLESv2)
endif(WITH_WAYLAND_X11_LIB)
build_flag (WITH_WAYLAND_DRM_LIB "Build development library for GLES/Wayland DRM based renderers" OFF)
#===========================================================================================================
if (WITH_WAYLAND_DRM_LIB)
+ add_subdirectory_once (LayerManagerPlugins/Renderers/Graphic)
add_subdirectory_once (LayerManagerPlugins/Renderers/GraphicLib/LayerManagerGraphicWaylandDrmGLESv2)
endif(WITH_WAYLAND_DRM_LIB)
build_flag (WITH_WAYLAND_FBDEV_LIB "Build development library for GLES/Wayland FBDEV based renderers" OFF)
#===========================================================================================================
if (WITH_WAYLAND_FBDEV_LIB)
+ add_subdirectory_once (LayerManagerPlugins/Renderers/Graphic)
add_subdirectory_once (LayerManagerPlugins/Renderers/GraphicLib/LayerManagerGraphicWaylandFbdevGLESv2)
endif(WITH_WAYLAND_FBDEV_LIB)
build_flag (WITH_GLESv2_LIB "Build development library for GLES/X11 based renderers" OFF)
#===========================================================================================================
if (WITH_GLESv2_LIB)
+ add_subdirectory_once (LayerManagerPlugins/Renderers/Graphic)
add_subdirectory_once (LayerManagerPlugins/Renderers/GraphicLib/LayerManagerGraphicGLESv2)
endif(WITH_GLESv2_LIB)
ShaderProgramTest.cpp
ShaderProgramFactoryTest.cpp
RectangleTest.cpp
+ ViewportTransformTest.cpp
)
target_link_libraries(${PROJECT_NAME}
+++ /dev/null
-############################################################################
-#
-# Copyright 2010-2012 BMW Car IT GmbH
-# Copyright (C) 2011 DENSO CORPORATION and Robert Bosch Car Multimedia Gmbh
-#
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-############################################################################
-
-cmake_minimum_required (VERSION 2.6)
-
-#===========================================================================
-# Common
-#===========================================================================
-
-include_directories(
- include
- ../Base/include
- ${CMAKE_SOURCE_DIR}/config
- ${CMAKE_SOURCE_DIR}/LayerManagerBase/include
- ${CMAKE_SOURCE_DIR}/LayerManagerUtils/include
-)
-
-if (WITH_TESTS)
- set (CMAKE_CXX_FLAGS "")
- enable_testing()
- add_subdirectory (tests)
-endif(WITH_TESTS)
-
+++ /dev/null
-############################################################################
-#
-# Copyright 2010, 2011 BMW Car IT GmbH
-#
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-############################################################################
-
-cmake_minimum_required (VERSION 2.6)
-
-find_package (Threads)
-
-include_directories(
- "."
- "../include"
- "${PROJECT_SOURCE_DIR}/LayerManagerService/include"
- "${PROJECT_SOURCE_DIR}/LayerManagerUtils/include"
-)
-
-set(LIBS
- ${LIBS}
- ${CMAKE_THREAD_LIBS_INIT}
- LayerManagerUtils
-)
-
-file(GLOB LM_SOURCES
- ${PROJECT_SOURCE_DIR}/LayerManagerService/src/Scene.cpp
- ${PROJECT_SOURCE_DIR}/LayerManagerService/src/GraphicalSurface.cpp
- ${PROJECT_SOURCE_DIR}/LayerManagerService/src/GraphicalObject.cpp
- ${PROJECT_SOURCE_DIR}/LayerManagerService/src/LogicalGraphicsObject.cpp
-)
-
-enable_testing()
-
-add_executable(ViewportTransform_Test
- ${LM_SOURCES}
- ViewportTransformTest.cpp
-)
-
-target_link_libraries(ViewportTransform_Test
- ${LIBS}
- gtest
-)
-
-add_test(ViewportTransformations ViewportTransform_Test)