2010-02-28 23:56:18 -08:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2010-02-28 23:56:18 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-02-28 23:56:18 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2010-03-14 10:30:40 -07:00
|
|
|
VPATH = \
|
|
|
|
$(srcdir) \
|
|
|
|
$(srcdir)/basic \
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 02:20:52 -07:00
|
|
|
$(srcdir)/client \
|
|
|
|
$(srcdir)/composite \
|
2010-03-29 21:48:52 -07:00
|
|
|
$(srcdir)/opengl \
|
2010-05-24 08:28:51 -07:00
|
|
|
$(srcdir)/d3d9 \
|
2010-09-30 15:53:51 -07:00
|
|
|
$(srcdir)/d3d10 \
|
2013-05-03 10:34:29 -07:00
|
|
|
$(srcdir)/d3d11 \
|
2011-04-02 19:14:00 -07:00
|
|
|
$(srcdir)/ipc \
|
2010-03-14 10:30:40 -07:00
|
|
|
$(NULL)
|
2010-02-28 23:56:18 -08:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = layers
|
2013-05-16 06:33:26 -07:00
|
|
|
MSVC_ENABLE_PGO := 1
|
2010-05-24 08:28:51 -07:00
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
DEFINES += -DD3D_DEBUG_INFO
|
|
|
|
endif
|
2010-03-01 02:46:37 -08:00
|
|
|
|
2011-08-09 12:38:26 -07:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2010-02-28 23:56:18 -08:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2010-07-21 14:17:33 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2012-07-19 23:48:25 -07:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
2012-10-08 21:06:35 -07:00
|
|
|
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright \
|
|
|
|
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
|
2013-05-02 14:21:22 -07:00
|
|
|
-I$(ANDROID_SOURCE)/frameworks/av/include/media/stagefright \
|
|
|
|
-I$(ANDROID_SOURCE)/frameworks/native/include/media/openmax \
|
2012-07-19 23:48:25 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-05-25 23:44:00 -07:00
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
|
2012-10-09 23:17:30 -07:00
|
|
|
|
|
|
|
ifdef _MSC_VER
|
|
|
|
ifeq ($(CPU_ARCH),x86_64)
|
|
|
|
# Workaround compiler bug (Bug 795594)
|
|
|
|
LayerTreeInvalidation.$(OBJ_SUFFIX): CXXFLAGS += -GL-
|
|
|
|
Layers.$(OBJ_SUFFIX): CXXFLAGS += -GL-
|
|
|
|
endif
|
|
|
|
endif
|