content/canvas/src/WebGLContextNotSupported.cpp
author Benoit Jacob <bjacob@mozilla.com>
Thu, 04 Oct 2012 14:45:25 -0400
changeset 115559 6f37149454382667f6b1a156e6e2caaabc685782
parent 115472 0910857eb29404e40e2b39caf67b8eaa5ca51133
child 115560 5732dca84958b888d0c2aa6c2ada66285b314cf8
permissions -rw-r--r--
Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz

/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */

#include "nsIDOMWebGLRenderingContext.h"
#include "nsDOMClassInfoID.h"

#define DUMMY(func,rtype)  nsresult func (rtype ** aResult) { return NS_ERROR_FAILURE; }

DUMMY(NS_NewCanvasRenderingContextWebGL, nsIDOMWebGLRenderingContext)

DOMCI_DATA(WebGLBuffer, void)
DOMCI_DATA(WebGLProgram, void)
DOMCI_DATA(WebGLShader, void)
DOMCI_DATA(WebGLFramebuffer, void)
DOMCI_DATA(WebGLRenderbuffer, void)
DOMCI_DATA(WebGLActiveInfo, void)