зеркало из https://github.com/mozilla/gecko-dev.git
Bug 881997 - Use confvars to establish webgl conformance for different products. - r=bjacob,ted
This commit is contained in:
Родитель
ccaf62a7df
Коммит
3ebab6a4c4
|
@ -57,3 +57,4 @@ MOZ_MEDIA_NAVIGATOR=1
|
|||
if test "$OS_TARGET" = "WINNT" -o "$OS_TARGET" = "Darwin"; then
|
||||
MOZ_FOLD_LIBS=1
|
||||
fi
|
||||
MOZ_WEBGL_CONFORMANT=1
|
||||
|
|
|
@ -6012,6 +6012,10 @@ if test -n "$MOZ_WEBGL_DISABLED"; then
|
|||
MOZ_ANGLE_RENDERER=
|
||||
fi
|
||||
|
||||
if test -n "$MOZ_WEBGL_CONFORMANT"; then
|
||||
AC_DEFINE(MOZ_WEBGL_CONFORMANT)
|
||||
fi
|
||||
|
||||
# Locate a DirectX SDK here so we can use it for both ANGLE and
|
||||
# Joystick support.
|
||||
if test "$OS_TARGET" = "WINNT" -a -z "$CROSS_COMPILE"; then
|
||||
|
|
|
@ -1141,7 +1141,7 @@ static const mozilla::Module::ContractIDEntry kLayoutContracts[] = {
|
|||
{ "@mozilla.org/content/subtree-content-iterator;1", &kNS_SUBTREEITERATOR_CID },
|
||||
{ "@mozilla.org/content/canvas-rendering-context;1?id=moz-webgl", &kNS_CANVASRENDERINGCONTEXTWEBGL_CID },
|
||||
{ "@mozilla.org/content/canvas-rendering-context;1?id=experimental-webgl", &kNS_CANVASRENDERINGCONTEXTWEBGL_CID },
|
||||
#ifdef MOZ_PHOENIX // Not MOZ_FENNEC or MOZ_B2G yet.
|
||||
#ifdef MOZ_WEBGL_CONFORMANT
|
||||
{ "@mozilla.org/content/canvas-rendering-context;1?id=webgl", &kNS_CANVASRENDERINGCONTEXTWEBGL_CID },
|
||||
#endif
|
||||
{ NS_DOC_ENCODER_CONTRACTID_BASE "text/xml", &kNS_TEXT_ENCODER_CID },
|
||||
|
|
Загрузка…
Ссылка в новой задаче