author Chris Lord <chrislord.net@gmail.com>
Wed, 31 Aug 2011 18:25:25 +0100
changeset 76342 891e5dbae3ec7f84ee003213e6377b2602066119
parent 32244 e936fa034d28b50a35c34489db27d2f0683ceb53
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst other variables. This really helps us when uploading sub-regions of a buffer that don't span the entire width of that buffer (for example, when scrolling horizontally). This extension is available on Android tablets, and possibly other Tegra 2 devices, so is very much worth taking advantage of. Details: http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt

# Version: MPL 1.1/GPL 2.0/LGPL 2.1
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (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.mozilla.org/MPL/
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
# The Original Code is Mozilla Build System
# The Initial Developer of the Original Code is
# Ben Turner <mozilla@songbirdnest.com>
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
# Contributor(s):
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
# ***** END LICENSE BLOCK *****

ifneq (extensions,$(MOZ_BUILD_APP))
$(error This file shouldn't be included without --enable-application=extensions)

$(error You forgot to set --enable-extensions)

TIERS += app
tier_app_dirs += extensions

	@echo Check each extension for an installer.
	@exit 1