From c7d0caa2a8b690eb280af19cb7f57a3ee63d59fa Mon Sep 17 00:00:00 2001 From: Tim Neil Date: Thu, 24 Nov 2011 17:11:55 -0500 Subject: [PATCH] updated ability for PB20 tags and fixed docs to reflect --- api/blackberry_app.js | 26 +- api/blackberry_app_events.js | 8 +- api/blackberry_identity.js | 6 +- api/blackberry_invoke.js | 16 +- api/blackberry_invoke_BrowserArguments.js | 2 +- api/blackberry_invoke_CameraArguments.js | 8 +- api/blackberry_io_dir.js | 34 +- api/blackberry_io_file.js | 30 +- api/blackberry_io_file_FileProperties.js | 12 +- api/blackberry_media_camera.js | 4 +- api/blackberry_media_microphone.js | 6 +- api/blackberry_payment.js | 18 +- api/blackberry_system.js | 22 +- api/blackberry_system_event.js | 4 +- api/blackberry_ui_dialog.js | 30 +- api/blackberry_utils.js | 16 +- api/html5_app_cache.js | 38 +- api/html5_canvas.js | 14 +- api/html5_canvas_context2d.js | 136 +- api/html5_canvas_context3d.js | 1419 ++++++++++++++------- api/html5_database.js | 42 +- api/html5_deviceMotion.js | 14 +- api/html5_geolocation.js | 40 +- api/html5_localStorage.js | 14 +- api/html5_media.js | 162 +-- api/html5_media_audio.js | 6 +- api/html5_media_source.js | 8 +- api/html5_media_track .js | 16 +- api/html5_media_video.js | 12 +- api/html5_touch.js | 64 +- api/html5_worker.js | 6 +- build/bbPlugin.js | 39 +- 32 files changed, 1378 insertions(+), 894 deletions(-) diff --git a/api/blackberry_app.js b/api/blackberry_app.js index ab85b4fa89..9d2c89c1cd 100644 --- a/api/blackberry_app.js +++ b/api/blackberry_app.js @@ -17,8 +17,6 @@ /** * @toc {System} Application * @featureID blackberry.app - * @notice {Warning ( Playbook 1.0 Notice):} - * For URI based APIs, webworks:// has been deprecated and replaced with http://localhost:8472. This change does not affect the procedural APIs. * @namespace The Application object provides functions and properties for the currently running application. * @example * <script type="text/javascript"> @@ -51,7 +49,7 @@ blackberry.app ={ /** * @description This function will cause the application to exit. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ exit: function(){}, @@ -110,7 +108,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The ID of the author's name that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -120,7 +118,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The author's email of the BlackBerry WebWorks application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -130,7 +128,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The author's URL of the BlackBerry WebWorks application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -139,7 +137,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The copyright information of the BlackBerry WebWorks application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -149,7 +147,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The description of the BlackBerry WebWorks application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -159,7 +157,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The ID of the BlackBerry WebWorks Application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -178,7 +176,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The license of the BlackBerry WebWorks Application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -188,7 +186,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The license URL of the BlackBerry WebWorks Application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -198,7 +196,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The name of the BlackBerry WebWorks Application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -208,7 +206,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * @description The version of the BlackBerry WebWorks Application that is specified in the config.xml file. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -220,7 +218,7 @@ A banner indicator can have an optional numeric value that usually serves as a c /** * Returns a JSON object containing all properties of the application. * @uri - * @PB10 + * @PB10+ * @returns {JSON of all the properties} * { * "data":{ diff --git a/api/blackberry_app_events.js b/api/blackberry_app_events.js index c79be7b7b9..1d99de3ac3 100644 --- a/api/blackberry_app_events.js +++ b/api/blackberry_app_events.js @@ -44,7 +44,7 @@ blackberry.app.event = { * This event is dispatched whenever the application goes to the background, but has not ended. Only one function can be assigned to this event. To unregister the callback, call the onBackground method and pass in null for the callback parameter. *

Note: The BlackBerry PlayBook's "Application Behavior" setting has an impact on when onBackground gets dispatched. When "Application Behavior" is set to "Default", onBackground does not get dispatched until another application goes fullscreen. When "Application Behavior" is set to "Showcase", onBackground does not get dispatched because all open applications stay active. When "Application Behavior" is set to "Paused", onBackground gets dispatched once the application is sent to the background. * @callback {function} onBackgroundCallback Function to be called when the application goes to the background. Expected signature: function onBackgroundCallback(). - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @example @@ -69,7 +69,7 @@ blackberry.app.event = { * This event is dispatched whenever the application comes to the foreground, for example, when the user re-opens the application from the application list. Only one function can be assigned to this event. To unregister the callback call the onForeground method and pass in null for the callback parameter. *

Note: The BlackBerry PlayBook's "Application Behavior" setting has an impact on when onForeground gets dispatched. Refer to {@link blackberry.app.event.onBackground} documentation for details. * @callback {function} onForegroundCallback Function to be called when the application goes to the foreground. Expected signature: function onForegroundCallback(). - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -81,7 +81,7 @@ blackberry.app.event = { *

* This event is dispatched when a user swipes down from the top bezel of the BlackBerry PlayBook onto the screen. Only one function can be assigned to this event. To unregister the callback call the onSwipeDown method and pass in null for the callback parameter. * @callback {function} onSwipeDownCallback Function to be called when the swipe down action occurs. Expected signature: function onSwipeDownCallback(). - * @PB10 + * @PB10+ * @RIPPLE */ onSwipeDown : function(onSwipeDownCallback) {}, @@ -91,7 +91,7 @@ blackberry.app.event = { *

* This event is dispatched when the user starts a swipe from the top bezel of the BlackBerry PlayBook. Only one function can be assigned to this event. To unregister the callback call the onSwipeStart method and pass in null for the callback parameter. * @callback {function} onSwipeStartCallback Function to be called when the user starts a swipe from the top bezel of the PlayBook. Expected signature: function onSwipeStartCallback(). Static="true" returns="void". - * @PB10 + * @PB10+ * @RIPPLE */ onSwipeStart : function(onSwipeStartCallback) {} diff --git a/api/blackberry_identity.js b/api/blackberry_identity.js index 302917fedd..538adced47 100644 --- a/api/blackberry_identity.js +++ b/api/blackberry_identity.js @@ -18,8 +18,6 @@ * @toc {Identity} Identity * @BB50+ * @RIPPLE -* @notice {Warning ( Playbook 1.0 Notice):} -* For URI based APIs, webworks:// has been deprecated and replaced with http://localhost:8472. This change does not affect the procedural APIs. * @namespace The Identity object contains information regarding the user's identity and accounts on a BlackBerry smartphone. * @featureID blackberry.identity * @featureID blackberry.identity.phone @@ -30,7 +28,7 @@ blackberry.identity = { /** * Returns a JSON object containing the PIN of the device. * @uri - * @PB10 + * @PB10+ * @returns {JSON of all the properties} * { * "data":{ @@ -101,7 +99,7 @@ blackberry.identity.getTransportList = function() { }; * @readOnly * @BB50+ * @RIPPLE -* @PB10 +* @PB10+ */ blackberry.identity.PIN = { }; diff --git a/api/blackberry_invoke.js b/api/blackberry_invoke.js index d5540c0e47..8380491bfe 100644 --- a/api/blackberry_invoke.js +++ b/api/blackberry_invoke.js @@ -44,7 +44,7 @@ blackberry.invoke = { * @param {Object} [args] An arguments object specifying information for the application being invoked. * @throws {Exception} If values supplied are not correct. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ invoke : function(appType, args){}, @@ -94,7 +94,7 @@ blackberry.invoke = { * @type Number * @constant * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @description Camera. */ @@ -105,7 +105,7 @@ blackberry.invoke = { * @type Number * @constant * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @description Maps. */ @@ -164,7 +164,7 @@ blackberry.invoke = { * @type Number * @constant * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @description Browser. */ @@ -182,7 +182,7 @@ blackberry.invoke = { * @default 13 * @type Number * @constant - * @PB10 + * @PB10+ * @RIPPLE * @description Music Application. */ @@ -191,7 +191,7 @@ blackberry.invoke = { * @default 14 * @type Number * @constant - * @PB10 + * @PB10+ * @RIPPLE * @description Photos Application. */ @@ -200,7 +200,7 @@ blackberry.invoke = { * @default 15 * @type Number * @constant - * @PB10 + * @PB10+ * @RIPPLE * @description Videos Application. */ @@ -209,7 +209,7 @@ blackberry.invoke = { * @default 16 * @type Number * @constant - * @PB10 + * @PB10+ * @RIPPLE * @description App World Application. */ diff --git a/api/blackberry_invoke_BrowserArguments.js b/api/blackberry_invoke_BrowserArguments.js index 58d8478a7d..1c33ad4a09 100644 --- a/api/blackberry_invoke_BrowserArguments.js +++ b/api/blackberry_invoke_BrowserArguments.js @@ -21,7 +21,7 @@ *

* @toc {Invoke} BrowserArguments * @BB50+ -* @PB10 +* @PB10+ * @RIPPLE * @class The BrowserArguments object is an instance object, and is used as a parameter to the invoke() method when invoking the BlackBerry Browser application. * @featureID blackberry.invoke diff --git a/api/blackberry_invoke_CameraArguments.js b/api/blackberry_invoke_CameraArguments.js index 0ec692a326..ee307c0135 100644 --- a/api/blackberry_invoke_CameraArguments.js +++ b/api/blackberry_invoke_CameraArguments.js @@ -20,7 +20,7 @@ *

* @toc {Invoke} CameraArguments * @BB50+ -* @PB10 +* @PB10+ * @RIPPLE * @class The CameraArguments object is an instance object, and is used as a parameter to the invoke() method when invoking the Camera application or Recorder application. * @featureID blackberry.invoke @@ -40,7 +40,7 @@ blackberry.invoke.CameraArguments = function() { }; * Photo Camera * @type Number * @constant -* @PB10 +* @PB10+ * @BB50+ * @RIPPLE */ @@ -51,7 +51,7 @@ blackberry.invoke.CameraArguments.VIEW_CAMERA = 0; * @type Number * @constant * @BB50+ -* @PB10 +* @PB10+ * @RIPPLE */ blackberry.invoke.CameraArguments.VIEW_RECORDER = 1; @@ -60,7 +60,7 @@ blackberry.invoke.CameraArguments.VIEW_RECORDER = 1; * Value that specifies what kind of camera application you want to open. * @type Number * @BB50+ -* @PB10 +* @PB10+ * @RIPPLE */ blackberry.invoke.CameraArguments.prototype.view = { }; diff --git a/api/blackberry_io_dir.js b/api/blackberry_io_dir.js index 9c7a8b6043..962b5ed6e7 100644 --- a/api/blackberry_io_dir.js +++ b/api/blackberry_io_dir.js @@ -16,8 +16,6 @@ /** * @toc {IO} Directory -* @notice {Warning ( Playbook 1.0 Notice):} -* For URI based APIs, webworks:// has been deprecated and replaced with http://localhost:8472. This change does not affect the procedural APIs. * @namespace The Directory object provides functions for interacting with directories on the file system.

* See also {@link blackberry.io.file} * @featureID blackberry.io.dir @@ -33,7 +31,7 @@ blackberry.io.dir = { * * @type Object * @readOnly - * @PB10 + * @PB10+ * @example * <script type="text/javascript"> * var dirs = blackberry.io.dir.appDirs; @@ -101,7 +99,7 @@ blackberry.io.dir = { * } * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -112,7 +110,7 @@ blackberry.io.dir = { * @param {String} path Path location of the directory. * @returns {String[]} * @BB50+ - * @PB10 + * @PB10+ */ listFiles : function(path) { }, @@ -121,7 +119,7 @@ blackberry.io.dir = { * @param {String} path path location of the directory. * @returns {String[]} * @BB50+ - * @PB10 + * @PB10+ */ listDirectories : function(path) { }, @@ -133,7 +131,7 @@ blackberry.io.dir = { * @param {String} path path location of the directory. * @returns {Boolean} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.dir.exists @@ -146,7 +144,7 @@ blackberry.io.dir = { * "exists" : true if the path exists and points to a directory, false otherwise * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -160,7 +158,7 @@ blackberry.io.dir = { * @param {String} newDirectoryName the new name for the directory. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.dir.rename @@ -174,7 +172,7 @@ blackberry.io.dir = { * "newDirectoryName" : "<newDirectoryName that was passed>" * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -186,7 +184,7 @@ blackberry.io.dir = { * @param {Boolean} [recursive] flag to decide if all contents should be deleted * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ deleteDirectory : function(path, recursive) { }, @@ -195,7 +193,7 @@ blackberry.io.dir = { * @param {String} path Path of the directory or file. * @returns {String} * @BB50+ - * @PB10 + * @PB10+ */ getParentDirectory : function(path) { }, @@ -204,7 +202,7 @@ blackberry.io.dir = { * @param {String} path path location of the new directory. The name of the new directory should be included as parts of the path. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ createNewDir : function(path) { }, @@ -246,7 +244,7 @@ blackberry.io.dir = { * "path": "<path that was passed>" * } * } - * @PB10 + * @PB10+ * @uri */ create : function(path) {}, @@ -263,7 +261,7 @@ blackberry.io.dir = { * "recursive" : the boolean that was passed (false if "recursive" was not specified) * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -281,7 +279,7 @@ blackberry.io.dir = { * "isEmpty": true (if directory does not contain files or sub-directories) or false (if directory contains files or sub-directories), // only defined if "code" is 0 * } * } - * @PB10 + * @PB10+ * @uri */ get : function(path) {}, @@ -296,7 +294,7 @@ blackberry.io.dir = { * "directory" : "<parent directory>" // only defined if "code" is 0 * } * } - * @PB10 + * @PB10+ * @uri */ parent : function(path) {}, @@ -343,7 +341,7 @@ blackberry.io.dir = { * } * }); * </script> - * @PB10 + * @PB10+ * @uri */ list : function(path) {} diff --git a/api/blackberry_io_file.js b/api/blackberry_io_file.js index 5e9071ddcd..39056500b0 100644 --- a/api/blackberry_io_file.js +++ b/api/blackberry_io_file.js @@ -16,8 +16,6 @@ /** * @toc {IO} File -* @notice {Warning ( Playbook 1.0 Notice):} -* For URI based APIs, webworks:// has been deprecated and replaced with http://localhost:8472. This change does not affect the procedural APIs. * @namespace The File object provides functions for interacting with the file system.

* See also {@link blackberry.io.dir} * @featureID blackberry.io.file @@ -29,7 +27,7 @@ blackberry.io.file = { * @param {String} path local storage file path to the file * @returns {blackberry.io.file.FileProperties} * @BB50+ - * @PB10 + * @PB10+ */ getFileProperties : function(path) { }, @@ -40,7 +38,7 @@ blackberry.io.file = { * @param {String} path local storage file path to the file * @returns {Boolean} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.file.exists @@ -53,7 +51,7 @@ blackberry.io.file = { * "exists" : true if the path exists and points to a file, false otherwise * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -66,7 +64,7 @@ blackberry.io.file = { * @param {String} path file path to the file to be opened. * @returns {Boolean} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.file.open @@ -79,7 +77,7 @@ blackberry.io.file = { * } * } * @type {Boolean} - * @PB10 + * @PB10+ * @uri * @function */ @@ -93,7 +91,7 @@ blackberry.io.file = { * @param {String} newFileName the new file name. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.file.rename @@ -107,7 +105,7 @@ blackberry.io.file = { * "newFileName" : "<newFileName that was passed>" * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -121,7 +119,7 @@ blackberry.io.file = { * @param {String} targetPath local storage file path to the new copied file. The name of the copied file should be specified at the end of the targetPath. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ /** * @name blackberry.io.file.copy @@ -135,7 +133,7 @@ blackberry.io.file = { * "targetPath" : "<targetPath that was passed>" * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -146,7 +144,7 @@ blackberry.io.file = { * @param {String} path local storage file path to the file to be deleted * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ deleteFile : function(path) { }, @@ -158,7 +156,7 @@ blackberry.io.file = { * @param {Blob} data The Blob to be saved. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ * @example * <script type="text/javascript"> * var xmlString = "<test>IO functions</test>"; @@ -190,7 +188,7 @@ blackberry.io.file = { * @param {Boolean} [async] a flag specifying if the call to read should be asynchronous or synchronous. If this parameter is not supplied the default of true will be used. * @returns {void} * @BB50+ - * @PB10 + * @PB10+ */ readFile : function(path,onFileOpened,async) { }, @@ -204,7 +202,7 @@ blackberry.io.file = { * "path" : "<path that was passed>" * } * } - * @PB10 + * @PB10+ * @uri * @function */ @@ -225,7 +223,7 @@ blackberry.io.file = { * "size" : <file size in bytes> // only defined if "code" is 0 * } * } - * @PB10 + * @PB10+ * @uri * @example * <script type="text/javascript" src="js/jquery-1.4.2.js"></script> diff --git a/api/blackberry_io_file_FileProperties.js b/api/blackberry_io_file_FileProperties.js index b2187ff495..f14d19e192 100644 --- a/api/blackberry_io_file_FileProperties.js +++ b/api/blackberry_io_file_FileProperties.js @@ -46,7 +46,7 @@ blackberry.io.file.FileProperties.prototype.isReadonly = { }; * @type Boolean * @readOnly * @BB50+ -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.isHidden = { }; @@ -55,7 +55,7 @@ blackberry.io.file.FileProperties.prototype.isHidden = { }; * @type Number * @readOnly * @BB50+ -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.size = { }; @@ -63,7 +63,7 @@ blackberry.io.file.FileProperties.prototype.size = { }; * File creation date * @type Date * @readOnly -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.dateCreated = { }; @@ -72,7 +72,7 @@ blackberry.io.file.FileProperties.prototype.dateCreated = { }; * @type Date * @readOnly * @BB50+ -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.dateModified = { }; @@ -81,7 +81,7 @@ blackberry.io.file.FileProperties.prototype.dateModified = { }; * @type String * @readOnly * @BB50+ -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.fileExtension = { }; @@ -90,7 +90,7 @@ blackberry.io.file.FileProperties.prototype.fileExtension = { }; * @type String * @readOnly * @BB50+ -* @PB10 +* @PB10+ */ blackberry.io.file.FileProperties.prototype.directory = { }; diff --git a/api/blackberry_media_camera.js b/api/blackberry_media_camera.js index 5d41867006..c621ec3a96 100644 --- a/api/blackberry_media_camera.js +++ b/api/blackberry_media_camera.js @@ -54,7 +54,7 @@ blackberry.media.camera = { * @callback {function} [onError] Method will be invoked when an error occurs.
Expected signature: function onError(e) * @callback {String} [onError.e] Error message * @BB50+ - * @PB10 + * @PB10+ */ takePicture: function(onCaptured, onCameraClosed, onError) { }, @@ -67,7 +67,7 @@ blackberry.media.camera = { * @callback {function} [onError] Method will be invoked when an error occurs.
Expected signature: function onError(e) * @callback {String} [onError.e] Error message * @BB50+ - * @PB10 + * @PB10+ * @example * function takeVideo() { * try { diff --git a/api/blackberry_media_microphone.js b/api/blackberry_media_microphone.js index ee7e5a7da5..676fbbe569 100644 --- a/api/blackberry_media_microphone.js +++ b/api/blackberry_media_microphone.js @@ -151,7 +151,7 @@ blackberry.media.microphone = { * @callback {Number} onError.errorCode The error code for the error. * @callback {String} onError.errorMsg The error message for the error. * @returns {void} - * @PB10 + * @PB10+ * @BB50+ */ record : function(filePath, onCaptured, onError) {}, @@ -160,7 +160,7 @@ blackberry.media.microphone = { * Pauses/resumes recording.

If the microphone is in recording mode, calling pause() would cause recording to * pause. If the microphone is paused, calling pause() would cause recording to resume.

* @returns {void} - * @PB10 + * @PB10+ * @BB50+ */ pause : function() {}, @@ -169,7 +169,7 @@ blackberry.media.microphone = { * Stops recording, this causes the recorded audio data to be saved to the file. The onCaptured callback function passed in record will be * invoked when the audio file has been saved to disk. * @returns {void} - * @PB10 + * @PB10+ * @BB50+ */ stop : function() {} diff --git a/api/blackberry_payment.js b/api/blackberry_payment.js index eaea92bcf1..b896d3850f 100644 --- a/api/blackberry_payment.js +++ b/api/blackberry_payment.js @@ -63,7 +63,7 @@ blackberry.payment = { *
  • Illegal Application Error = 5 [BlackBerry OS 5.0+ only]
  • * * Note: The actual values may be different when {@link blackberry.payment.developmentMode} equals true. - * @PB10 + * @PB10+ * @BB50+ */ getExistingPurchases : function (refresh, callbackOnSuccess, callbackOnFailure) { @@ -90,7 +90,7 @@ blackberry.payment = { *
  • Digital Good not Found = 4
  • *
  • Illegal Application Error = 5 [BlackBerry OS 5.0+ only]
  • * - * @PB10 + * @PB10+ * @BB50+ * @example * <script type="text/javascript"> @@ -128,7 +128,7 @@ blackberry.payment = { * @type Boolean * @description Defines the development mode used in the application. If development mode is set to true, the application does not contact the Payment Service server for any transactions. For purchases, a simulated purchase screen is displayed, allowing the user to choose the result of the purchase. For retrieving existing purchases, only simulated successful purchases are returned. This mode is useful for testing how your application handles the possible results without requiring network connections or currency. THIS MODE SHOULD NOT BE USED IN PRODUCTION CODE. If development mode is set to false, purchases and retrievals of existing purchases proceed normally, contacting the Payment Service server as necessary. This is the default development mode, and applications in production should not modify it. * @default false - * @PB10 + * @PB10+ * @BB50+ */ developmentMode: false; @@ -147,7 +147,7 @@ Purchase = { }; /** * @type String * @description The transaction ID for this purchase. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.transactionID = null; @@ -155,7 +155,7 @@ Purchase.prototype.transactionID = null; /** * @type String * @description The ID of the purchased digital good. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.digitalGoodID = null; @@ -163,7 +163,7 @@ Purchase.prototype.digitalGoodID = null; /** * @type String * @description The SKU of the purchased digital good. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.digitalGoodSKU = null; @@ -171,7 +171,7 @@ Purchase.prototype.digitalGoodSKU = null; /** * @type String * @description The metadata for this purchase, or null if no metadata was included with the purchase. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.metaData = null; @@ -179,7 +179,7 @@ Purchase.prototype.metaData = null; /** * @type String * @description The Epoch time represention of the date this purchase was made. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.date = null; @@ -187,7 +187,7 @@ Purchase.prototype.date = null; /** * @type String * @description Represents the license key for this purchase, or null if the purchased digital good does not have a license key. - * @PB10 + * @PB10+ * @BB50+ */ Purchase.prototype.licenseKey = null; diff --git a/api/blackberry_system.js b/api/blackberry_system.js index 8620ed7fdf..e7266215ea 100644 --- a/api/blackberry_system.js +++ b/api/blackberry_system.js @@ -17,8 +17,6 @@ /** * @toc {System} System * @featureID blackberry.system - * @notice {Warning ( Playbook 1.0 Notice):} - * For URI based APIs, webworks:// has been deprecated and replaced with http://localhost:8472. This change does not affect the procedural APIs. * @namespace The System object allows you to get access to system level functions and attributes of the BlackBerry PlayBook.
    *
    The System object is static; all of its functions and properties are used directly from the object. * @example @@ -56,7 +54,7 @@ blackberry.system ={ *
    and network.iden. * @returns {Boolean} Returns true if the device is capable of the given service. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ hasCapability : function(capability){}, @@ -66,7 +64,7 @@ blackberry.system ={ * @description Returns true if the device is in coverage, otherwise returns false. This can be used in conjunction with the blackberry.network property to find out what kind of coverage it is in. * @returns {Boolean} Returns true if the BlackBerry PlayBook or the BlackBerry Smartphone device has any network interface active. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ hasDataCoverage : function(){}, @@ -85,7 +83,7 @@ blackberry.system ={ * @description Determines the level of access to the requested module. * @returns {Number} The possible return values: 0 - ALLOW 1 - DENY * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ hasPermission : function(module){}, @@ -94,7 +92,7 @@ blackberry.system ={ * @description Returns whether USB MassStorage mode is active. * @returns {Boolean} Always returns false on the BlackBerry PlayBook since Mass Storage Mode is not supported. All memory is presented as a network share when connected by USB and is not blocked. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ isMassStorageActive : function(){}, @@ -102,7 +100,7 @@ blackberry.system ={ /** * @uri * @BB50+ - * @PB10 + * @PB10+ * @description The objects in hasPermission will always be ALLOW (0). They will correspond to all the entries in the whitelist. If they are not whitelisted, they are omitted from the list. Similarly, all of the objects in hasCapability will be true, otherwise they will be omitted. * @returns {JSON of all the properties} * { @@ -169,7 +167,7 @@ blackberry.system ={ * @description Returns the model number of the BlackBerry PlayBook or the BlackBerry Smartphone device. * @readOnly * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ model: null, @@ -179,7 +177,7 @@ blackberry.system ={ * @description Returns the current version of the WebWorks library being used. * @readOnly * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ scriptApiVersion:null, @@ -189,7 +187,7 @@ blackberry.system ={ * @description Returns the current version of the operating system, for example, 1.0.0.0. * @readOnly * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ softwareVersion:null, @@ -200,7 +198,7 @@ blackberry.system ={ * @description Returned by hasPermission() indicating that the module requested is accessible. * @default 0 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ ALLOW : 0, @@ -210,7 +208,7 @@ blackberry.system ={ * @description Returned by hasPermission() indicating that the module is not accessible. * @default 1 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ DENY:1 diff --git a/api/blackberry_system_event.js b/api/blackberry_system_event.js index acad1814db..7edb1e3005 100644 --- a/api/blackberry_system_event.js +++ b/api/blackberry_system_event.js @@ -136,7 +136,7 @@ blackberry.system.event.onCoverageChange = function(onSystemEvent) { }; * Battery level is a percentage value. * @callback {function} onBatteryLevelChange Function to be called when the battery level changes. The level is passed as its only argument. * @callback {Number} onBatteryLevelChange.level battery level of the device ranging from 0 to 100 - * @PB10 + * @PB10+ * @RIPPLE * @example * <script type="text/javascript"> @@ -164,7 +164,7 @@ blackberry.system.event.deviceBatteryLevelChange = function(onBatteryLevelChang *
    UNPLUGGED = 3; * @callback {function} onBatteryStateChange Function to be called when the battery charge state changes. The new state is passed as its only argument. * @callback {Number} onBatteryStateChange.state battery state of the device - * @PB10 + * @PB10+ * @RIPPLE */ blackberry.system.event.deviceBatteryStateChange = function(onBatteryStateChange){}; diff --git a/api/blackberry_ui_dialog.js b/api/blackberry_ui_dialog.js index 4dafafba5f..bf87ca9602 100644 --- a/api/blackberry_ui_dialog.js +++ b/api/blackberry_ui_dialog.js @@ -58,7 +58,7 @@ blackberry.ui.dialog ={ * @param {String} [settings.title] Desired title of the dialog. * @param {String[]} [settings.size] Desired size of the dialog. * @param {String[]} [settings.position] Desired position of the dialog. - * @PB10 + * @PB10+ * @RIPPLE * @example * <script type="text/javascript"> @@ -118,7 +118,7 @@ blackberry.ui.dialog ={ * @param {String} [settings.title] Desired title of the dialog. * @param {String[]} [settings.size] Desired size of the dialog. * @param {String[]} [settings.position] Desired position of the dialog. - * @PB10 + * @PB10+ * @RIPPLE * @example * <script type="text/javascript"> @@ -145,7 +145,7 @@ blackberry.ui.dialog ={ * @description Standard OK dialog * @default 0 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ D_OK : 0, @@ -155,7 +155,7 @@ blackberry.ui.dialog ={ * @description Standard Save dialog * @default 1 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ D_SAVE:1, @@ -165,7 +165,7 @@ blackberry.ui.dialog ={ * @description Standard Delete confirmation dialog * @default 2 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ D_DELETE:2, @@ -175,7 +175,7 @@ blackberry.ui.dialog ={ * @description Standard Yes/No dialog * @default 3 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ D_YES_NO:3, @@ -185,7 +185,7 @@ blackberry.ui.dialog ={ * @description Standard OK/Cancel dialog * @default 4 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ D_OK_CANCEL:4, @@ -258,7 +258,7 @@ blackberry.ui.dialog ={ * @type String * @description Bottom located dialog * @default "bottomCenter" - * @PB10 + * @PB10+ * @RIPPLE */ BOTTOM : "bottomCenter", @@ -267,7 +267,7 @@ blackberry.ui.dialog ={ * @type String * @description Center located dialog * @default "middleCenter" - * @PB10 + * @PB10+ * @RIPPLE */ CENTER : "middleCenter", @@ -276,7 +276,7 @@ blackberry.ui.dialog ={ * @type String * @description Top located dialog * @default "topCenter" - * @PB10 + * @PB10+ * @RIPPLE */ TOP : "topCenter", @@ -285,7 +285,7 @@ blackberry.ui.dialog ={ * @type String * @description Full size dialog * @default "full" - * @PB10 + * @PB10+ * @RIPPLE */ SIZE_FULL : null, @@ -294,7 +294,7 @@ blackberry.ui.dialog ={ * @type String * @description Large size dialog * @default "large" - * @PB10 + * @PB10+ * @RIPPLE */ SIZE_LARGE : null, @@ -303,7 +303,7 @@ blackberry.ui.dialog ={ * @type String * @description Medium size dialog * @default "medium" - * @PB10 + * @PB10+ * @RIPPLE */ SIZE_MEDIUM : null, @@ -312,7 +312,7 @@ blackberry.ui.dialog ={ * @type String * @description Small size dialog * @default "small" - * @PB10 + * @PB10+ * @RIPPLE */ SIZE_SMALL : null, @@ -321,7 +321,7 @@ blackberry.ui.dialog ={ * @type String * @description Tall size dialog * @default "tall" - * @PB10 + * @PB10+ * @RIPPLE */ SIZE_TALL : null diff --git a/api/blackberry_utils.js b/api/blackberry_utils.js index afa971c752..e117001d13 100644 --- a/api/blackberry_utils.js +++ b/api/blackberry_utils.js @@ -33,7 +33,7 @@ blackberry.utils = { * @param {String} [encoding = ISO-8859-1] The name of a supported character encoding.BlackBerry supports the following character encodings: ISO-8859-1, UTF-8, UTF-16BE, US-ASCII. Besides these encodings, Web API also supports BASE64 encoding. Support of other encodings depends on the configuration of the BlackBerry Smartphone. * @returns {String} The String result from converting the Blob * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ blobToString : function(blob,encoding){}, @@ -60,7 +60,7 @@ blackberry.utils = { * @param {String} [encoding = ISO-8859-1] The name of a supported character encoding.BlackBerry supports the following character encodings: ISO-8859-1, UTF-8, UTF-16BE, US-ASCII. Besides these encodings, Web API also supports BASE64 encoding. Support of other encodings depends on the configuration of the BlackBerry Smartphone. * @returns {Blob} The Blob result from converting the String * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ stringToBlob : function(str,encoding){}, @@ -70,7 +70,7 @@ blackberry.utils = { * @description This method will generate a unique number. * @returns {Number} A unique number from JavaScript's Math.random() function. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ generateUniqueId: function(){}, @@ -80,7 +80,7 @@ blackberry.utils = { * @param {String} url The URL string to be parsed. * @returns {blackberry.utils.URL} A {@link blackberry.utils.URL} object is returned if the parsing is successful. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ parseURL: function(url){}, @@ -99,7 +99,7 @@ blackberry.utils = { * @param {String} key The key of the parameter to be retrieved. * @returns {String} An undefined object is returned if the key does not exist in the URL query. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ getURLParameter:function(key){}, @@ -109,7 +109,7 @@ blackberry.utils = { * @param {Number} index The index of the parameter to be retrieved. * @returns {String} An undefined object is returned if the index is invalid. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ getURLParameterByIndex:function(index){}, @@ -118,7 +118,7 @@ blackberry.utils = { * @readOnly * @type String * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @description Host address in the URL string. */ @@ -127,7 +127,7 @@ blackberry.utils = { * @readOnly * @type Number * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @description Port number in the URL string. */ diff --git a/api/html5_app_cache.js b/api/html5_app_cache.js index a403bff0b7..2115b2f872 100644 --- a/api/html5_app_cache.js +++ b/api/html5_app_cache.js @@ -32,7 +32,7 @@ ApplicationCache ={ * var appCache = window.applicationCache; * </script> * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ windowConstructor : undefined, @@ -50,7 +50,7 @@ ApplicationCache ={ * * var appCache = self.applicationCache() * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ workerConstructor : undefined, @@ -61,7 +61,7 @@ ApplicationCache ={ * @description The ApplicationCache object's cache host is not associated with an application cache at this time. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ UNCACHED: 0, @@ -75,7 +75,7 @@ ApplicationCache ={ * and the application cache group is not marked as obsolete. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ IDLE: 1, @@ -87,7 +87,7 @@ ApplicationCache ={ * whose application cache group's update status is checking. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ CHECKING: 2, @@ -99,7 +99,7 @@ ApplicationCache ={ * whose application cache group's update status is downloading. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ DOWNLOADING: 3, @@ -112,7 +112,7 @@ ApplicationCache ={ * is not marked as obsolete, but that application cache is not the newest cache in its group. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ UPDATEREADY: 4, @@ -124,7 +124,7 @@ ApplicationCache ={ * whose application cache group is marked as obsolete. * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ OBSOLETE: 5 @@ -143,7 +143,7 @@ ApplicationCache ={ * @readonly * @type Number * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * var appCache = window.applicationCache; @@ -178,7 +178,7 @@ ApplicationCache.prototype.status = undefined; * @description Invokes the application cache download process. *
    Throws an INVALID_STATE_ERR exception if there is no application cache to update.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * var appCache = window.applicationCache; @@ -198,7 +198,7 @@ ApplicationCache.prototype.update = undefined; * The only change is that subsequent requests for cached resources will obtain the newer copies.
    * @throws {INVALID_STATE_ERR} If the current app cache is the most recent * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * var appCache = window.applicationCache; @@ -213,7 +213,7 @@ ApplicationCache.prototype.swapCache = undefined; /**@event * @description Sent when the cache update process begins.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -228,7 +228,7 @@ ApplicationCache.prototype.checking = undefined; * @event * @description Sent when an error occurs.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheErro(e) { @@ -244,7 +244,7 @@ ApplicationCache.prototype.error = undefined; * @event * @description Sent when the update process finishes but the manifest file does not change.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -259,7 +259,7 @@ ApplicationCache.prototype.noupdate = undefined; * @event * @description Sent when the update process begins downloading resources in the manifest file.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -274,7 +274,7 @@ ApplicationCache.prototype.downloading = undefined; * @event * @description Sent when each resource in the manifest file begins to download.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -290,7 +290,7 @@ ApplicationCache.prototype.progress = undefined; * @description Sent when there is an existing application cache, the update process finishes, * and there is a new application cache ready for use.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -306,7 +306,7 @@ ApplicationCache.prototype.updateready = undefined; * @description Sent when the resources listed in the manifest have been downloaded, * and the application is now cached.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { @@ -322,7 +322,7 @@ ApplicationCache.prototype.cached = undefined; * @description Sent when the manifest was found to have become a 404 or 410 page, * so the application cache is being deleted.
    * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * function handleCacheEvent(e) { diff --git a/api/html5_canvas.js b/api/html5_canvas.js index e672de9d7d..fa81d92737 100644 --- a/api/html5_canvas.js +++ b/api/html5_canvas.js @@ -22,7 +22,7 @@ * The canvas element has several methods for drawing paths, boxes, circles, characters, and adding images. * Any text inside the between <canvas> tags will be displayed in browsers that do not support the canvas element. * @BB60+ - * @PB10 + * @PB10++ */ canvas ={ @@ -38,7 +38,7 @@ * <canvas height="value"> * @type pixels * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * <canvas id="myCanvas" width="200" height="100"></canvas> @@ -56,7 +56,7 @@ * <canvas width="value"> * @type pixels * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE */ width :, @@ -64,12 +64,12 @@ /** * @description Returns an object that exposes an API for drawing on the canvas. * @param {String} contextId Specifies the desired API.
    - * List of defined contexts: 2d, webgl. + * List of defined contexts: 2d, experimental-webgl. * @returns {Object} Returns an object for contextId. * Returns null if the given context ID is not supported or if the canvas has already been initialised with some other (incompatible) - * context type (e.g. trying to get a "2d" context after getting a "webgl" context). + * context type (e.g. trying to get a "2d" context after getting a "experimental-webgl" context). * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * <script type="text/javascript"> @@ -91,7 +91,7 @@ * given by type. The possible values are MIME types with no parameters, for example image/png, image/jpeg, * or even maybe image/svg+xml if the implementation actually keeps enough information to reliably render an SVG image from the canvas. * @BB60+ - * @PB10 + * @PB10+ * @RIPPLE * @example * <script> diff --git a/api/html5_canvas_context2d.js b/api/html5_canvas_context2d.js index 867396300a..a3560a8f92 100644 --- a/api/html5_canvas_context2d.js +++ b/api/html5_canvas_context2d.js @@ -26,7 +26,7 @@ * increasing when going down. * @toc {User Interface} HTML5 2D Canvas Context * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D = { }; @@ -64,7 +64,7 @@ CanvasRenderingContext2D = { }; * <canvas id="myCanvas" width="300" height="300"></canvas> * </body> * </html> -* @PB10 +* @PB10+ * @BB60+ * @RIPPLE */ @@ -76,7 +76,7 @@ CanvasRenderingContext2D.documentConstructor = undefined; * @type canvas * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.canvas = { }; @@ -84,7 +84,7 @@ CanvasRenderingContext2D.prototype.canvas = { }; /** * Push a copy of the current drawing state onto the drawing state stack. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.save = function() { }; @@ -93,7 +93,7 @@ CanvasRenderingContext2D.prototype.save = function() { }; * Pop the top entry in the drawing state stack, and reset the drawing * state it describes. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.restore = function() { }; @@ -106,7 +106,7 @@ CanvasRenderingContext2D.prototype.restore = function() { }; * @param {Number} x the amount to scale horizontally * @param {Number} y the amount to scale vertically * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.scale = function(x, y) { }; @@ -118,7 +118,7 @@ CanvasRenderingContext2D.prototype.scale = function(x, y) { }; * rotation angle expressed in radians. * @param {Number} angle clockwise rotation angle expressed in radians * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.rotate = function(angle) { }; @@ -132,7 +132,7 @@ CanvasRenderingContext2D.prototype.rotate = function(angle) { }; * @param {Number} x x-coord of the translation * @param {Number} y y-coord of the translation * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.translate = function(x, y) { }; @@ -153,7 +153,7 @@ CanvasRenderingContext2D.prototype.translate = function(x, y) { }; * @param {Number} dx Is the x-scalar of the transformation matrix * @param {Number} dy Is the y-scalar of the transformation matrix * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.transform = function(m11, m12, m21, m22, dx, dy) { }; @@ -169,7 +169,7 @@ CanvasRenderingContext2D.prototype.transform = function(m11, m12, m21, m22, dx, * @param {Number} dx Is the x-scalar of the transformation matrix * @param {Number} dy Is the y-scalar of the transformation matrix * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.setTransform = function(m11, m12, m21, m22, dx, dy) { }; @@ -180,7 +180,7 @@ CanvasRenderingContext2D.prototype.setTransform = function(m11, m12, m21, m22, d * from 0.0 to 1.0 are ignored. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.globalAlpha = 1.0; @@ -247,7 +247,7 @@ CanvasRenderingContext2D.prototype.globalAlpha = 1.0; * the value of globalCompositeOperation unaffected. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.globalCompositeOperation = "source-over"; @@ -259,7 +259,7 @@ CanvasRenderingContext2D.prototype.globalCompositeOperation = "source-over"; * {@link CanvasGradient} or {@link CanvasPattern} object. * @type Object * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.strokeStyle = "black"; @@ -272,7 +272,7 @@ CanvasRenderingContext2D.prototype.strokeStyle = "black"; * Invalid values are ignored. * @type Object * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.fillStyle = "black" @@ -291,7 +291,7 @@ CanvasRenderingContext2D.prototype.fillStyle = "black" * @return {CanvasGradient} The created {@link CanvasGradient} * @throws {NOT_SUPPORTED_ERR} If any of the arguments are not finite numbers. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.createLinearGradient = function(x0, y0, x1, y1) { }; @@ -310,7 +310,7 @@ CanvasRenderingContext2D.prototype.createLinearGradient = function(x0, y0, x1, y * @throws {NOT_SUPPORTED_ERR} If any of the arguments are not finite numbers. * @throws {INDEX_SIZE_ERR} If either of the radii are negative. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.createRadialGradient = function (x0, y0, r0, x1, y1, r1) { }; @@ -341,7 +341,7 @@ CanvasRenderingContext2D.prototype.createRadialGradient = function (x0, y0, r0, * @throws {INVALID_STATE_ERR} If the image has no image data. * @throws {SYNTAX_ERR} If the second argument isn't one of the allowed values. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.createPattern = function(image, repetition) { }; @@ -352,7 +352,7 @@ CanvasRenderingContext2D.prototype.createPattern = function(image, repetition) { * Values that are not finite values greater than zero are ignored. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.lineWidth = 1; // (default 1) @@ -365,7 +365,7 @@ CanvasRenderingContext2D.prototype.lineWidth = 1; // (default 1) * Other values are ignored.
    * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.lineCap = "butt"; // "butt", "round", "square" (default "butt") @@ -377,7 +377,7 @@ CanvasRenderingContext2D.prototype.lineCap = "butt"; // "butt", "round", "square * Other values are ignored. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.lineJoin = "miter"; // "miter", "round", "bevel" (default "miter") @@ -388,7 +388,7 @@ CanvasRenderingContext2D.prototype.lineJoin = "miter"; // "miter", "round", "bev * Values that are not finite values greater than zero are ignored. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.miterLimit = 10; // (default 10) @@ -399,7 +399,7 @@ CanvasRenderingContext2D.prototype.miterLimit = 10; // (default 10) * finite numbers are ignored. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.shadowOffsetX = 0; // (default 0) @@ -410,7 +410,7 @@ CanvasRenderingContext2D.prototype.shadowOffsetX = 0; // (default 0) * finite numbers are ignored. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.shadowOffsetY = 0; // (default 0) @@ -423,7 +423,7 @@ CanvasRenderingContext2D.prototype.shadowOffsetY = 0; // (default 0) * not affected by the current transformation matrix. * @type Number * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.shadowBlur = 0; // (default 0) @@ -434,7 +434,7 @@ CanvasRenderingContext2D.prototype.shadowBlur = 0; // (default 0) * parsed as CSS colors are ignored. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.shadowColor = "transparent black"; // (default transparent black) @@ -447,7 +447,7 @@ CanvasRenderingContext2D.prototype.shadowColor = "transparent black"; // (defaul * @param {Number} w width of the rectangle * @param {Number} h height of the rectangle * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.clearRect = function(x, y, w, h) { }; @@ -460,7 +460,7 @@ CanvasRenderingContext2D.prototype.clearRect = function(x, y, w, h) { }; * @param {Number} w width of the rectangle * @param {Number} h height of the rectangle * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.fillRect = function(x, y, w, h) { }; @@ -473,7 +473,7 @@ CanvasRenderingContext2D.prototype.fillRect = function(x, y, w, h) { }; * @param {Number} w width of the rectangle * @param {Number} h height of the rectangle * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.strokeRect = function(x, y, w, h) { }; @@ -482,7 +482,7 @@ CanvasRenderingContext2D.prototype.strokeRect = function(x, y, w, h) { }; /** * Resets the current path. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.beginPath = function() { }; @@ -491,7 +491,7 @@ CanvasRenderingContext2D.prototype.beginPath = function() { }; * Marks the current subpath as closed, and starts a new subpath with * a point the same as the start and end of the newly closed subpath. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.closePath = function() { }; @@ -502,7 +502,7 @@ CanvasRenderingContext2D.prototype.closePath = function() { }; * @param {Number} x x-coord of the point to move to * @param {Number} y y-coord of the point to move to * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.moveTo = function(x, y) { }; @@ -513,7 +513,7 @@ CanvasRenderingContext2D.prototype.moveTo = function(x, y) { }; * @param {Number} x x-coord of the end point to draw a line to * @param {Number} y y-coord of the end point to draw a line to * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.lineTo = function(x, y) { }; @@ -527,7 +527,7 @@ CanvasRenderingContext2D.prototype.lineTo = function(x, y) { }; * @param {Number} x x-coord of the end point * @param {Number} y y-coord of the end point * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.quadraticCurveTo = function(cpx, cpy, x, y) { }; @@ -542,7 +542,7 @@ CanvasRenderingContext2D.prototype.quadraticCurveTo = function(cpx, cpy, x, y) { * @param {Number} x x-coord of the end point * @param {Number} y y-coord of the end point * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.bezierCurveTo = function(cp1x, cp1y, cp2x, cp2y, x, y) { }; @@ -561,7 +561,7 @@ CanvasRenderingContext2D.prototype.bezierCurveTo = function(cp1x, cp1y, cp2x, cp * @param {Number} radius radius of the arc * @throws {INDEX_SIZE_ERR} If the given radius is negative. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.arcTo = function(x1, y1, x2, y2, radius) { }; @@ -574,7 +574,7 @@ CanvasRenderingContext2D.prototype.arcTo = function(x1, y1, x2, y2, radius) { }; * @param {Number} w width of the rectangle * @param {Number} h height of the rectangle * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.rect = function(x, y, w, h) { }; @@ -595,7 +595,7 @@ CanvasRenderingContext2D.prototype.rect = function(x, y, w, h) { }; * @param {Boolean} anticlockwise if true draw the arc anti-clockwise * @throws {INDEX_SIZE_ERR} If the given radius is negative. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.arc = function(x, y, radius, startAngle, endAngle, anticlockwise) { }; @@ -603,7 +603,7 @@ CanvasRenderingContext2D.prototype.arc = function(x, y, radius, startAngle, endA /** * Fills the subpaths with the current fill style. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.fill = function() { }; @@ -612,7 +612,7 @@ CanvasRenderingContext2D.prototype.fill = function() { }; * Creates the strokes of the subpaths with the current * stroke style. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.stroke = function() { }; @@ -620,7 +620,7 @@ CanvasRenderingContext2D.prototype.stroke = function() { }; /** * Further constrains the clipping region to the given path. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.clip = function() { }; @@ -631,7 +631,7 @@ CanvasRenderingContext2D.prototype.clip = function() { }; * @param {Number} y y-coord of the point to check * @returns {Boolean} true if point x,y is in the path, otherwise false * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.isPointInPath = function(x, y) { }; @@ -645,7 +645,7 @@ CanvasRenderingContext2D.prototype.isPointInPath = function(x, y) { }; * @param {Boolean} [canDrawCustom] If true, then the focus ring is only drawn if the user has configured his system to draw focus rings in a particular manner. (For example, high contrast focus rings.) * @returns {Boolean} When the method returns true, the author is expected to manually draw a focus ring * @BB60+ -* @PB10 +* @PB10+ */ CanvasRenderingContext2D.prototype.drawFocusRing = function(element, canDrawCustom) { }; @@ -655,7 +655,7 @@ CanvasRenderingContext2D.prototype.drawFocusRing = function(element, canDrawCust * Otherwise, returns -1 if it is unsupported by the system. * @returns {Number} blinkrate in milliseconds. -1 if unsupported. * @BB60+ -* @PB10 +* @PB10+ */ CanvasRenderingContext2D.prototype.caretBlinkRate = function() { }; @@ -670,7 +670,7 @@ CanvasRenderingContext2D.prototype.caretBlinkRate = function() { }; * @param {Number} h height of the selection position * @returns {Boolean} true if the given element is focused or a document descendant of an element with focus. Otherwise, returns false * @BB60+ -* @PB10 +* @PB10+ */ CanvasRenderingContext2D.prototype.setCaretSelectionRect = function(element, x, y, w, h){}; @@ -684,7 +684,7 @@ CanvasRenderingContext2D.prototype.setCaretSelectionRect = function(element, x, * font of the canvas interface element. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.font = "10px sans-serif"; // (default 10px sans-serif) @@ -697,7 +697,7 @@ CanvasRenderingContext2D.prototype.font = "10px sans-serif"; // (default 10px sa * Other values are ignored. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.textAlign = "start"; // "start", "end", "left", "right", "center" (default: "start") @@ -710,7 +710,7 @@ CanvasRenderingContext2D.prototype.textAlign = "start"; // "start", "end", "left * ignored. * @type String * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.textBaseline = "alphabetic"; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic") @@ -724,7 +724,7 @@ CanvasRenderingContext2D.prototype.textBaseline = "alphabetic"; // "top", "hangi * @param {Number} y the y-coord of where the text is placed * @param {Number} [maxWidth] The maximum width the text should take up * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.fillText = function(text, x, y, maxWidth) { }; @@ -738,7 +738,7 @@ CanvasRenderingContext2D.prototype.fillText = function(text, x, y, maxWidth) { } * @param {Number} y the y-coord of where the text is placed * @param {Number} [maxWidth] The maximum width the text should take up * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.strokeText = function(text, x, y, maxWidth) { }; @@ -749,7 +749,7 @@ CanvasRenderingContext2D.prototype.strokeText = function(text, x, y, maxWidth) { * @param {String} text the text string to measure * @returns {TextMetrics} the width of the text if rendered * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.measureText = function(text) { }; @@ -764,7 +764,7 @@ CanvasRenderingContext2D.prototype.measureText = function(text) { }; * @param {Number} [dw] width of the destination position * @param {Number} [dh] height of the destination position * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.drawImage = function(image, dx, dy, dw, dh) { }; @@ -799,7 +799,7 @@ CanvasRenderingContext2D.prototype.drawImage = function(image, dx, dy, dw, dh) { * @param {Number} dw width of the destination position * @param {Number} dh height of the destination position * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.drawImage = function(image, sx, sy, sw, sh, dx, dy, dw, dh) { }; @@ -816,7 +816,7 @@ CanvasRenderingContext2D.prototype.drawImage = function(image, sx, sy, sw, sh, d * @param {Number} sh height of the image data object to create * @returns {ImageData} The {@link ImageData} for the current context * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.createImageData = function(sw, sh) { }; @@ -829,7 +829,7 @@ CanvasRenderingContext2D.prototype.createImageData = function(sw, sh) { }; * @returns {ImageData} The {@link ImageData} for the current context * @throws {NOT_SUPPORTED_ERR} If the argument is null * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.createImageData = function(imagedata) { }; @@ -845,7 +845,7 @@ CanvasRenderingContext2D.prototype.createImageData = function(imagedata) { }; * @throws {INDEX_SIZE_ERR} If the either of the width or height arguments are zero. * @throws {NOT_SUPPORTED_ERR} If the argument is null * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.getImageData = function(sx, sy, sw, sh) { }; @@ -871,7 +871,7 @@ CanvasRenderingContext2D.prototype.getImageData = function(sx, sy, sw, sh) { }; * @throws {TYPE_MISMATCH_ERR} If the first argument is null * @throws {NOT_SUPPORTED_ERR} If any of the other arguments are not finite. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasRenderingContext2D.prototype.putImageData = function(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { }; @@ -881,7 +881,7 @@ CanvasRenderingContext2D.prototype.putImageData = function(imagedata, dx, dy, di * @namespace * An object representing a canvas gradient pattern * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasGradient = function() { }; @@ -895,7 +895,7 @@ CanvasGradient = function() { }; * @throws {INDEX_SIZE_ERR} If the offset is less than 0, greater than 1, infinite, or NaN * @throws {SYNTAX_ERR} If the color cannot be parsed * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasGradient.prototype.addColorStop = function(offset, color) { }; @@ -904,7 +904,7 @@ CanvasGradient.prototype.addColorStop = function(offset, color) { }; * @namespace * An object representing a canvas pattern * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasPattern = function() { }; @@ -918,7 +918,7 @@ CanvasPattern = function() { }; * http://dev.w3.org/html5/2dcontext/#dom-context-2d-createlineargradient * @BB60+ * @RIPPLE -* @PB10 +* @PB10+ */ TextMetrics = function() { }; @@ -927,7 +927,7 @@ TextMetrics = function() { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ TextMetrics.prototype.width = { }; @@ -936,7 +936,7 @@ TextMetrics.prototype.width = { }; * @namespace * An object representing image data on a canvas * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ ImageData = function() { }; @@ -946,7 +946,7 @@ ImageData = function() { }; * @type CanvasPixelArray * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ ImageData.prototype.data = undefined; @@ -956,7 +956,7 @@ ImageData.prototype.data = undefined; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ ImageData.prototype.height = undefined; @@ -966,7 +966,7 @@ ImageData.prototype.height = undefined; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ ImageData.prototype.width = undefined; @@ -984,7 +984,7 @@ ImageData.prototype.width = undefined; * components must be assigned consecutive indices starting with * 0 for the top left pixel's red component. * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasPixelArray = function() {}; @@ -996,7 +996,7 @@ CanvasPixelArray = function() {}; * @returns {Number} the value of the index'th component in the array * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasPixelArray.prototype.item = function() { }; @@ -1006,7 +1006,7 @@ CanvasPixelArray.prototype.item = function() { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @RIPPLE */ CanvasPixelArray.prototype.length = { }; diff --git a/api/html5_canvas_context3d.js b/api/html5_canvas_context3d.js index 0fc6a73c6e..233d149fae 100644 --- a/api/html5_canvas_context3d.js +++ b/api/html5_canvas_context3d.js @@ -22,7 +22,8 @@ * @namespace * The WebGLRenderingContext object is used to manage OpenGL state and render to the drawing buffer * @toc {User Interface} HTML5 WebGL Canvas Context -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext = { }; @@ -52,28 +53,32 @@ WebGLRenderingContext = { }; * <canvas id="myCanvas" width="300" height="300"></canvas> * </body> * </html> -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.documentConstructor = undefined; /** * @namespace * The WebGLContextAttributes interface contains drawing surface attributes and is passed as the second parameter to getContext -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextAttributes = { }; /** * Default: true. If the value is true, the drawing buffer has a depth buffer of at least 16 bits. If the value is false, no depth buffer is available * @type boolean -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextAttributes.prototype.depth = { }; /** * Default: false. If the value is true, the drawing buffer has a stencil buffer of at least 8 bits. If the value is false, no stencil buffer is available * @type boolean -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextAttributes.prototype.stencil = { }; @@ -82,7 +87,8 @@ WebGLContextAttributes.prototype.stencil = { }; * technique (multisample/supersample) and quality. If the value is false or the implementation does not support antialiasing, no antialiasing is * performed * @type boolean -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextAttributes.prototype.antialias = { }; @@ -90,14 +96,16 @@ WebGLContextAttributes.prototype.antialias = { }; * Default: true. If the value is true the page compositor will assume the drawing buffer contains colors with premultiplied alpha. If the value is false * the page compositor will assume that colors in the drawing buffer are not premultiplied * @type boolean -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextAttributes.prototype.premultipliedAlpha = { }; /** * @namespace * The WebGLObject interface is the parent interface for all GL objects. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLObject = { }; @@ -106,7 +114,8 @@ WebGLObject = { }; * The WebGLBuffer interface represents an OpenGL Buffer Object. The underlying object is created as if by calling glGenBuffers, bound as if by calling * glBindBuffer and destroyed as if by calling glDeleteBuffers * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLBuffer = { }; @@ -115,7 +124,8 @@ WebGLBuffer = { }; * The WebGLFramebuffer interface represents an OpenGL Framebuffer Object. The underlying object is created as if by calling glGenFramebuffers, bound as * if by calling glBindFramebuffer and destroyed as if by calling glDeleteFramebuffers * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLFramebuffer = { }; @@ -124,7 +134,8 @@ WebGLFramebuffer = { }; * The WebGLProgram interface represents an OpenGL Program Object. The underlying object is created as if by calling glCreateProgram, used as if by * calling glUseProgram and destroyed as if by calling glDeleteProgram * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLProgram = { }; @@ -133,7 +144,8 @@ WebGLProgram = { }; * The WebGLRenderbuffer interface represents an OpenGL Renderbuffer Object. The underlying object is created as if by calling glGenRenderbuffers, bound * as if by calling glBindRenderbuffer and destroyed as if by calling glDeleteRenderbuffers * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderbuffer = { }; @@ -142,7 +154,8 @@ WebGLRenderbuffer = { }; * The WebGLShader interface represents an OpenGL Shader Object. The underlying object is created as if by calling glCreateShader, attached to a Program * as if by calling glAttachShader and destroyed as if by calling glDeleteShader * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLShader = { }; @@ -150,2113 +163,2415 @@ WebGLShader = { }; * @namespace * The WebGLTexture interface represents an OpenGL Texture Object. The underlying object is created as if by calling glGenTextures, bound as if by calling * glBindTexture and destroyed as if by calling glDeleteTextures * @extends WebGLObject -* @PB10 +* @PB20 +* @RIPPLE */ WebGLTexture = { }; /** * @namespace * The WebGLUniformLocation interface represents the location of a uniform variable in a shader program -* @PB10 +* @PB20 +* @RIPPLE */ WebGLUniformLocation = { }; /** * @namespace * The WebGLActiveInfo interface represents the information returned from the getActiveAttrib and getActiveUniform calls -* @PB10 +* @PB20 +* @RIPPLE */ WebGLActiveInfo = { }; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BUFFER_BIT = 0x00000400; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COLOR_BUFFER_BIT = 0x00004000; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.POINTS = 0x0000; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINES = 0x0001; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINE_LOOP = 0x0002; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINE_STRIP = 0x0003; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TRIANGLES = 0x0004; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TRIANGLE_STRIP = 0x0005; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TRIANGLE_FAN = 0x0006; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ZERO = 0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE = 1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SRC_COLOR = 0x0300; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_SRC_COLOR = 0x0301; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SRC_ALPHA = 0x0302; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_SRC_ALPHA = 0x0303; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DST_ALPHA = 0x0304; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_DST_ALPHA = 0x0305; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DST_COLOR = 0x0306; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_DST_COLOR = 0x0307; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SRC_ALPHA_SATURATE = 0x0308; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FUNC_ADD = 0x8006; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_EQUATION = 0x8009; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_EQUATION_RGB = 0x8009; /* same as BLEND_EQUATION */ /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_EQUATION_ALPHA = 0x883D; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FUNC_SUBTRACT = 0x800A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FUNC_REVERSE_SUBTRACT = 0x800B; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_DST_RGB = 0x80C8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_SRC_RGB = 0x80C9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_DST_ALPHA = 0x80CA; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_SRC_ALPHA = 0x80CB; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CONSTANT_COLOR = 0x8001; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR = 0x8002; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CONSTANT_ALPHA = 0x8003; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA = 0x8004; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND_COLOR = 0x8005; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ARRAY_BUFFER = 0x8892; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ELEMENT_ARRAY_BUFFER = 0x8893; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ARRAY_BUFFER_BINDING = 0x8894; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STREAM_DRAW = 0x88E0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STATIC_DRAW = 0x88E4; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DYNAMIC_DRAW = 0x88E8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BUFFER_SIZE = 0x8764; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BUFFER_USAGE = 0x8765; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CURRENT_VERTEX_ATTRIB = 0x8626; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRONT = 0x0404; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BACK = 0x0405; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRONT_AND_BACK = 0x0408; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_2D = 0x0DE1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CULL_FACE = 0x0B44; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLEND = 0x0BE2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DITHER = 0x0BD0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_TEST = 0x0B90; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_TEST = 0x0B71; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SCISSOR_TEST = 0x0C11; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.POLYGON_OFFSET_FILL = 0x8037; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE = 0x809E; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLE_COVERAGE = 0x80A0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NO_ERROR = 0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INVALID_ENUM = 0x0500; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INVALID_VALUE = 0x0501; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INVALID_OPERATION = 0x0502; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.OUT_OF_MEMORY = 0x0505; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CW = 0x0900; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CCW = 0x0901; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINE_WIDTH = 0x0B21; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE = 0x846D; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE = 0x846E; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CULL_FACE_MODE = 0x0B45; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRONT_FACE = 0x0B46; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_RANGE = 0x0B70; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_WRITEMASK = 0x0B72; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_CLEAR_VALUE = 0x0B73; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_FUNC = 0x0B74; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_CLEAR_VALUE = 0x0B91; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_FUNC = 0x0B92; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_FAIL = 0x0B94; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL = 0x0B95; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS = 0x0B96; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_REF = 0x0B97; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_VALUE_MASK = 0x0B93; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_WRITEMASK = 0x0B98; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_FUNC = 0x8800; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_FAIL = 0x8801; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_REF = 0x8CA3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_VALUE_MASK = 0x8CA4; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BACK_WRITEMASK = 0x8CA5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VIEWPORT = 0x0BA2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SCISSOR_BOX = 0x0C10; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COLOR_CLEAR_VALUE = 0x0C22; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COLOR_WRITEMASK = 0x0C23; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNPACK_ALIGNMENT = 0x0CF5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.PACK_ALIGNMENT = 0x0D05; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_TEXTURE_SIZE = 0x0D33; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_VIEWPORT_DIMS = 0x0D3A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SUBPIXEL_BITS = 0x0D50; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RED_BITS = 0x0D52; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.GREEN_BITS = 0x0D53; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BLUE_BITS = 0x0D54; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ALPHA_BITS = 0x0D55; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_BITS = 0x0D56; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_BITS = 0x0D57; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.POLYGON_OFFSET_UNITS = 0x2A00; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.POLYGON_OFFSET_FACTOR = 0x8038; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_BINDING_2D = 0x8069; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLE_BUFFERS = 0x80A8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLES = 0x80A9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLE_COVERAGE_VALUE = 0x80AA; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLE_COVERAGE_INVERT = 0x80AB; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS = 0x86A3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DONT_CARE = 0x1100; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FASTEST = 0x1101; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NICEST = 0x1102; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.GENERATE_MIPMAP_HINT = 0x8192; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BYTE = 0x1400; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_BYTE = 0x1401; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SHORT = 0x1402; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_SHORT = 0x1403; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INT = 0x1404; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_INT = 0x1405; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT = 0x1406; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_COMPONENT = 0x1902; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ALPHA = 0x1906; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RGB = 0x1907; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RGBA = 0x1908; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LUMINANCE = 0x1909; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LUMINANCE_ALPHA = 0x190A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4 = 0x8033; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1 = 0x8034; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNSIGNED_SHORT_5_6_5 = 0x8363; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAGMENT_SHADER = 0x8B30; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_SHADER = 0x8B31; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_VERTEX_ATTRIBS = 0x8869; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_VARYING_VECTORS = 0x8DFC; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS = 0x8872; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SHADER_TYPE = 0x8B4F; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DELETE_STATUS = 0x8B80; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINK_STATUS = 0x8B82; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VALIDATE_STATUS = 0x8B83; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ATTACHED_SHADERS = 0x8B85; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ACTIVE_UNIFORMS = 0x8B86; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ACTIVE_ATTRIBUTES = 0x8B89; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SHADING_LANGUAGE_VERSION = 0x8B8C; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CURRENT_PROGRAM = 0x8B8D; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NEVER = 0x0200; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LESS = 0x0201; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.EQUAL = 0x0202; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LEQUAL = 0x0203; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.GREATER = 0x0204; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NOTEQUAL = 0x0205; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.GEQUAL = 0x0206; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ALWAYS = 0x0207; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.KEEP = 0x1E00; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.REPLACE = 0x1E01; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INCR = 0x1E02; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DECR = 0x1E03; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INVERT = 0x150A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INCR_WRAP = 0x8507; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DECR_WRAP = 0x8508; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VENDOR = 0x1F00; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERER = 0x1F01; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERSION = 0x1F02; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NEAREST = 0x2600; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINEAR = 0x2601; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NEAREST_MIPMAP_NEAREST = 0x2700; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINEAR_MIPMAP_NEAREST = 0x2701; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NEAREST_MIPMAP_LINEAR = 0x2702; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LINEAR_MIPMAP_LINEAR = 0x2703; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_MAG_FILTER = 0x2800; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_MIN_FILTER = 0x2801; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_WRAP_S = 0x2802; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_WRAP_T = 0x2803; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE = 0x1702; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP = 0x8513; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP = 0x8514; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE0 = 0x84C0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE1 = 0x84C1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE2 = 0x84C2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE3 = 0x84C3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE4 = 0x84C4; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE5 = 0x84C5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE6 = 0x84C6; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE7 = 0x84C7; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE8 = 0x84C8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE9 = 0x84C9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE10 = 0x84CA; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE11 = 0x84CB; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE12 = 0x84CC; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE13 = 0x84CD; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE14 = 0x84CE; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE15 = 0x84CF; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE16 = 0x84D0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE17 = 0x84D1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE18 = 0x84D2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE19 = 0x84D3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE20 = 0x84D4; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE21 = 0x84D5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE22 = 0x84D6; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE23 = 0x84D7; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE24 = 0x84D8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE25 = 0x84D9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE26 = 0x84DA; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE27 = 0x84DB; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE28 = 0x84DC; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE29 = 0x84DD; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE30 = 0x84DE; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.TEXTURE31 = 0x84DF; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.ACTIVE_TEXTURE = 0x84E0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.REPEAT = 0x2901; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CLAMP_TO_EDGE = 0x812F; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MIRRORED_REPEAT = 0x8370; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_VEC2 = 0x8B50; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_VEC3 = 0x8B51; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_VEC4 = 0x8B52; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INT_VEC2 = 0x8B53; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INT_VEC3 = 0x8B54; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INT_VEC4 = 0x8B55; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BOOL = 0x8B56; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BOOL_VEC2 = 0x8B57; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BOOL_VEC3 = 0x8B58; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BOOL_VEC4 = 0x8B59; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_MAT2 = 0x8B5A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_MAT3 = 0x8B5B; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FLOAT_MAT4 = 0x8B5C; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLER_2D = 0x8B5E; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SAMPLER_CUBE = 0x8B60; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COMPILE_STATUS = 0x8B81; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INFO_LOG_LENGTH = 0x8B84; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.SHADER_SOURCE_LENGTH = 0x8B88; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LOW_FLOAT = 0x8DF0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MEDIUM_FLOAT = 0x8DF1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.HIGH_FLOAT = 0x8DF2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.LOW_INT = 0x8DF3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MEDIUM_INT = 0x8DF4; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.HIGH_INT = 0x8DF5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER = 0x8D40; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER = 0x8D41; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RGBA4 = 0x8056; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RGB5_A1 = 0x8057; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RGB565 = 0x8D62; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_COMPONENT16 = 0x81A5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_INDEX = 0x1901; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_INDEX8 = 0x8D48; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_STENCIL = 0x84F9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_WIDTH = 0x8D42; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_HEIGHT = 0x8D43; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_RED_SIZE = 0x8D50; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE = 0x8D51; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE = 0x8D52; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE = 0x8D53; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE = 0x8D54; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE = 0x8D55; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.COLOR_ATTACHMENT0 = 0x8CE0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_ATTACHMENT = 0x8D00; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.STENCIL_ATTACHMENT = 0x8D20; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT = 0x821A; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.NONE = 0; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_COMPLETE = 0x8CD5; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED = 0x8CDD; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.FRAMEBUFFER_BINDING = 0x8CA6; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.RENDERBUFFER_BINDING = 0x8CA7; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.MAX_RENDERBUFFER_SIZE = 0x84E8; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION = 0x0506; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL = 0x9240; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.CONTEXT_LOST_WEBGL = 0x9242; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; /** * @type GLenum * @constant -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.BROWSER_DEFAULT_WEBGL = 0x9244; @@ -2264,28 +2579,32 @@ WebGLRenderingContext.BROWSER_DEFAULT_WEBGL = 0x9244; * Return the canvas interface element that the context paints on * @type canvas * @readonly -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.canvas = { }; /** * Returns the WebGLContextAttributes describing the current drawing buffer * @return {WebGLContextAttributes} The {@link WebGLContextAttributes} object describing the current drawing buffer -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getContextAttributes = function() { }; /** * Returns true if the context is in the lost state * @return {boolean} true if the context is in the lost state, false otherwise -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isContextLost = function() { }; /** * Returns an array of all the supported extension strings * @return {DOMString[]} an array of all the supported extension strings -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getSupportedExtensions = function() { }; @@ -2295,14 +2614,16 @@ WebGLRenderingContext.prototype.getSupportedExtensions = function() { }; * returned. That object is used to indicate that the extension has been enabled * @param {DOMString} name name of extension * @return {object} an object if the passed extension is supported, or null if not -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getExtension = function(name) { }; /** * Select active texture unit * @param {GLenum} texture Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of TEXTUREi, where i ranges from 0 to (MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is TEXTURE0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.activeTexture = function(texture) { }; @@ -2310,7 +2631,8 @@ WebGLRenderingContext.prototype.activeTexture = function(texture) { }; * Attach a shader object to a program object * @param {WebGLProgram} program Specifies the program object to which a shader object will be attached. * @param {WebGLShader} shader Specifies the shader object that is to be attached. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.attachShader = function(program, shader) { }; @@ -2319,7 +2641,8 @@ WebGLRenderingContext.prototype.attachShader = function(program, shader) { }; * @param {WebGLProgram} program Specifies the handle of the program object in which the association is to be made. * @param {GLuint} index Specifies the index of the generic vertex attribute to be bound. * @param {DOMString} name Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bindAttribLocation = function(program, index, name) { }; @@ -2327,7 +2650,8 @@ WebGLRenderingContext.prototype.bindAttribLocation = function(program, index, na * Bind a named buffer object * @param {GLenum} target Specifies the target to which the buffer object is bound. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. * @param {WebGLBuffer} buffer Specifies the name of a buffer object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bindBuffer = function(target, buffer) { }; @@ -2335,7 +2659,8 @@ WebGLRenderingContext.prototype.bindBuffer = function(target, buffer) { }; * Bind a named framebuffer object * @param {GLenum} target Specifies the target to which the framebuffer object is bound. The symbolic constant must be FRAMEBUFFER. * @param {WebGLFramebuffer} framebuffer Specifies the name of a framebuffer object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bindFramebuffer = function(target, framebuffer) { }; @@ -2343,7 +2668,8 @@ WebGLRenderingContext.prototype.bindFramebuffer = function(target, framebuffer) * Bind a named renderbuffer object * @param {GLenum} target Specifies the target to which the renderbuffer object is bound. The symbolic constant must be RENDERBUFFER. * @param {WebGLRenderbuffer} renderbuffer Specifies the name of a renderbuffer object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bindRenderbuffer = function(target, renderbuffer) { }; @@ -2351,7 +2677,8 @@ WebGLRenderingContext.prototype.bindRenderbuffer = function(target, renderbuffer * Bind a named texture to a texturing target * @param {GLenum} target Specifies the target of the active texture unit to which the texture is bound. Must be either TEXTURE_2D or TEXTURE_CUBE_MAP. * @param {WebGLTexture} texture Specifies the name of a texture. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bindTexture = function(target, texture) { }; @@ -2361,14 +2688,16 @@ WebGLRenderingContext.prototype.bindTexture = function(target, texture) { }; * @param {GLclampf} green specify the green component of BLEND_COLOR * @param {GLclampf} blue specify the blue component of BLEND_COLOR * @param {GLclampf} alpha specify the alpha component of BLEND_COLOR -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.blendColor = function(red, green, blue, alpha) { }; /** * Specify the equation used for both the RGB blend equation and the Alpha blend equation * @param {GLenum} mode specifies how source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.blendEquation = function(mode) { }; @@ -2376,7 +2705,8 @@ WebGLRenderingContext.prototype.blendEquation = function(mode) { }; * Set the RGB blend equation and the alpha blend equation separately * @param {GLenum} modeRGB specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. * @param {GLenum} modeAlpha specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.blendEquationSeparate = function(modeRGB, modeAlpha) { }; @@ -2384,7 +2714,8 @@ WebGLRenderingContext.prototype.blendEquationSeparate = function(modeRGB, modeAl * Specify pixel arithmetic * @param {GLenum} sfactor Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA, CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, ONE_MINUS_CONSTANT_ALPHA, and SRC_ALPHA_SATURATE. The initial value is ONE. * @param {GLenum} dfactor Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA. CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, and ONE_MINUS_CONSTANT_ALPHA. The initial value is ZERO. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.blendFunc = function(sfactor, dfactor) { }; @@ -2394,7 +2725,8 @@ WebGLRenderingContext.prototype.blendFunc = function(sfactor, dfactor) { }; * @param {GLenum} dstRGB Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA. CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, and ONE_MINUS_CONSTANT_ALPHA. The initial value is ZERO. * @param {GLenum} srcAlpha Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is ONE. * @param {GLenum} dstAlpha Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is ZERO. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.blendFuncSeparate = function(srcRGB, dstRGB, srcAlpha, dstAlpha) { }; @@ -2403,7 +2735,8 @@ WebGLRenderingContext.prototype.blendFuncSeparate = function(srcRGB, dstRGB, src * @param {GLenum} target Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. * @param {GLsizeiptr/ArrayBufferView/ArrayBuffer} size Specifies the size in bytes of the buffer object's new data store. * @param {GLenum} usage Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bufferData = function(target, size, usage) { }; @@ -2412,7 +2745,8 @@ WebGLRenderingContext.prototype.bufferData = function(target, size, usage) { }; * @param {GLenum} target Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. * @param {GLintptr} offset Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. * @param {ArrayBufferView/ArrayBuffer} data Specifies the size in bytes of the data store region being replaced. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.bufferSubData = function(target, offset, data) { }; @@ -2420,14 +2754,16 @@ WebGLRenderingContext.prototype.bufferSubData = function(target, offset, data) { * Return the framebuffer completeness status of a framebuffer object * @param {GLenum} target Specifies the target framebuffer object. The symbolic constant must be FRAMEBUFFER. * @return {GLenum} symbolic constant that identifies whether or not the currently bound framebuffer is framebuffer complete, and if not, which of the rules of framebuffer completeness is violated -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.checkFramebufferStatus = function(target) { }; /** * Clear buffers to preset values * @param {GLbitfield} mask Bitwise OR of masks that indicate the buffers to be cleared. The three masks are COLOR_BUFFER_BIT, DEPTH_BUFFER_BIT, and STENCIL_BUFFER_BIT. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.clear = function(mask) { }; @@ -2437,21 +2773,24 @@ WebGLRenderingContext.prototype.clear = function(mask) { }; * @param {GLclampf} green * @param {GLclampf} blue * @param {GLclampf} alpha Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.clearColor = function(red, green, blue, alpha) { }; /** * Specify the clear value for the depth buffer * @param {GLclampf} depth Specifies the depth value used when the depth buffer is cleared. The initial value is 1. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.clearDepth = function(depth) { }; /** * Specify the clear value for the stencil buffer * @param {GLint} s Specifies the index used when the stencil buffer is cleared. The initial value is 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.clearStencil = function(s) { }; @@ -2461,14 +2800,16 @@ WebGLRenderingContext.prototype.clearStencil = function(s) { }; * @param {GLboolean} green * @param {GLboolean} blue * @param {GLboolean} alpha Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all TRUE, indicating that the color components can be written. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.colorMask = function(red, green, blue, alpha) { }; /** * Compile a shader object * @param {WebGLShader} shader Specifies the shader object to be compiled. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.compileShader = function(shader) { }; @@ -2482,7 +2823,8 @@ WebGLRenderingContext.prototype.compileShader = function(shader) { }; * @param {GLsizei} width Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. * @param {GLsizei} height Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. * @param {GLint} border Specifies the width of the border. Must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.copyTexImage2D = function(target, level, internalformat, x, y, width, height, border) { }; @@ -2496,35 +2838,40 @@ WebGLRenderingContext.prototype.copyTexImage2D = function(target, level, interna * @param {GLint} y Specify the y coordinate of the lower left corner of the rectangular region of pixels to be copied. * @param {GLsizei} width Specifies the width of the texture subimage. * @param {GLsizei} height Specifies the height of the texture subimage. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.copyTexSubImage2D = function(target, level, xoffset, yoffset, x, y, width, height) { }; /** * Create a WebGLBuffer object * @return {WebGLBuffer} the created {@link WebGLBuffer} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createBuffer = function() { }; /** * Create a WebGLFramebuffer object * @return {WebGLFramebuffer} the created {@link WebGLFramebuffer} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createFramebuffer = function() { }; /** * Create a WebGLProgram object * @return {WebGLProgram} the created {@link WebGLProgram} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createProgram = function() { }; /** * Create a WebGLRenderbuffer object * @return {WebGLRenderbuffer} the created {@link WebGLRenderbuffer} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createRenderbuffer = function() { }; @@ -2532,77 +2879,88 @@ WebGLRenderingContext.prototype.createRenderbuffer = function() { }; * Create a WebGLShader object * @param {GLenum} type Specifies the type of shader to be created. Must be either VERTEX_SHADER or FRAGMENT_SHADER. * @return {WebGLShader} the created {@link WebGLShader} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createShader = function(type) { }; /** * Create a WebGLTexture object * @return {WebGLTexture} the created {@link WebGLTexture} object -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.createTexture = function() { }; /** * Specify whether front- or back-facing facets can be culled * @param {GLenum} mode Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants FRONT, BACK, and FRONT_AND_BACK are accepted. The initial value is BACK. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.cullFace = function(mode) { }; /** * Delete a buffer object * @param {WebGLBuffer} buffer Specifies the buffer object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteBuffer = function(buffer) { }; /** * Delete a framebuffer object * @param {WebGLFramebuffer} framebuffer Specifies the framebuffer object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteFramebuffer = function(framebuffer) { }; /** * Delete a program object * @param {WebGLProgram} program Specifies the program object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteProgram = function(program) { }; /** * Delete a renderbuffer object * @param {WebGLRenderbuffer} renderbuffer Specifies the renderbuffer object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteRenderbuffer = function(renderbuffer) { }; /** * Delete a shader object * @param {WebGLShader} shader Specifies the shader object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteShader = function(shader) { }; /** * Delete a texture object * @param {WebGLTexture} texture Specifies the texture object to be deleted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.deleteTexture = function(texture) { }; /** * Specify the value used for depth buffer comparisons * @param {GLenum} func Specifies the depth comparison function. Symbolic constants NEVER, LESS, EQUAL, LEQUAL, GREATER, NOTEQUAL, GEQUAL, and ALWAYS are accepted. The initial value is LESS. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.depthFunc = function(func) { }; /** * Enable or disable writing into the depth buffer * @param {GLboolean} flag Specifies whether the depth buffer is enabled for writing. If flag is FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.depthMask = function(flag) { }; @@ -2610,7 +2968,8 @@ WebGLRenderingContext.prototype.depthMask = function(flag) { }; * Specify mapping of depth values from normalized device coordinates to window coordinates. zNear and zFar values are clamped to the range 0 to 1 and zNear must be less than or equal to zFar * @param {GLclampf} zNear Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. * @param {GLclampf} zFar Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.depthRange = function(zNear, zFar) { }; @@ -2618,7 +2977,8 @@ WebGLRenderingContext.prototype.depthRange = function(zNear, zFar) { }; * Detach a shader object from a program object * @param {WebGLProgram} program Specifies the program object from which to detach the shader object. * @param {WebGLShader} shader Specifies the shader object to be detached. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.detachShader = function(program, shader) { }; @@ -2637,14 +2997,16 @@ WebGLRenderingContext.prototype.detachShader = function(program, shader) { }; *
  • WebGLRenderingContext.SCISSOR_TEST
    If enabled, discard fragments that are outside the scissor rectangle. See {@link #scissor}.
  • *
  • WebGLRenderingContext.STENCIL_TEST
    If enabled, do stencil testing and update the stencil buffer. See {@link #stencilFunc} and {@link #stencilOp}.
  • * -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.disable = function(cap) { }; /** * Disables the generic vertex attribute array specified by index * @param {GLuint} index Specifies the index of the generic vertex attribute to be disabled. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.disableVertexAttribArray = function(index) { }; @@ -2653,7 +3015,8 @@ WebGLRenderingContext.prototype.disableVertexAttribArray = function(index) { }; * @param {GLenum} mode Specifies what kind of primitives to render. Symbolic constants POINTS, LINE_STRIP, LINE_LOOP, LINES, TRIANGLE_STRIP, TRIANGLE_FAN, and TRIANGLES are accepted. * @param {GLint} first Specifies the starting index in the enabled arrays. * @param {GLsizei} count Specifies the number of vertices to be rendered. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.drawArrays = function(mode, first, count) { }; @@ -2663,33 +3026,38 @@ WebGLRenderingContext.prototype.drawArrays = function(mode, first, count) { }; * @param {GLsizei} count Specifies the number of elements to be rendered. * @param {GLenum} type Specifies the type of the values in indices. Must be UNSIGNED_BYTE or UNSIGNED_SHORT. * @param {GLintptr} offset Specifies a pointer to the location where the indices are stored. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.drawElements = function(mode, count, type, offset) { }; /** * Enable server-side GL capabilities * @param {GLenum} cap Specifies a symbolic constant indicating a GL capability. See @link {#disable} for list of valid constants. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.enable = function(cap) { }; /** * Enable a generic vertex attribute array * @param {GLuint} index Specifies the index of the generic vertex attribute to be enabled. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.enableVertexAttribArray = function(index) { }; /** * Block until all GL execution is complete -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.finish = function() { }; /** * Force execution of GL commands in finite time -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.flush = function() { }; @@ -2699,7 +3067,8 @@ WebGLRenderingContext.prototype.flush = function() { }; * @param {GLenum} attachment Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: COLOR_ATTACHMENT0, DEPTH_ATTACHMENT, or STENCIL_ATTACHMENT. * @param {GLenum} renderbuffertarget Specifies the renderbuffer target. The symbolic constant must be RENDERBUFFER. * @param {WebGLRenderbuffer} renderbuffer Specifies the renderbuffer object that is to be attached. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.framebufferRenderbuffer = function(target, attachment, renderbuffertarget, renderbuffer) { }; @@ -2710,21 +3079,24 @@ WebGLRenderingContext.prototype.framebufferRenderbuffer = function(target, attac * @param {GLenum} textarget Specifies the texture target. Must be one of the following symbolic constants: TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. * @param {WebGLTexture} texture Specifies the texture object whose image is to be attached. * @param {GLint} level Specifies the mipmap level of the texture image to be attached, which must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.framebufferTexture2D = function(target, attachment, textarget, texture, level) { }; /** * Define front- and back-facing polygons * @param {GLenum} mode Specifies the orientation of front-facing polygons. CW and CCW are accepted. The initial value is CCW. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.frontFace = function(mode) { }; /** * Generate a complete set of mipmaps for a texture object * @param {GLenum} target Specifies the texture target of the active texture unit to which the texture object is bound whose mipmaps will be generated. Must be one of the following symbolic constants: TEXTURE_2D or TEXTURE_CUBE_MAP. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.generateMipmap = function(target) { }; @@ -2733,7 +3105,8 @@ WebGLRenderingContext.prototype.generateMipmap = function(target) { }; * @param {WebGLProgram} program Specifies the program object to be queried. * @param {GLuint} index Specifies the index of the attribute variable to be queried. * @return {WebGLActiveInfo} information about the size, type and name of the vertex attribute at the passed index of the passed program object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getActiveAttrib = function(program, index) { }; @@ -2742,7 +3115,8 @@ WebGLRenderingContext.prototype.getActiveAttrib = function(program, index) { }; * @param {WebGLProgram} program Specifies the program object to be queried. * @param {GLuint} index Specifies the index of the uniform variable to be queried. * @return {WebGLActiveInfo} information about the size, type and name of the uniform at the passed index of the passed program object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getActiveUniform = function(program, index) { }; @@ -2750,7 +3124,8 @@ WebGLRenderingContext.prototype.getActiveUniform = function(program, index) { }; * Return the handles of the shader objects attached to a program object * @param {WebGLProgram} program Specifies the program object to be queried. * @return {WebGLShader[ ]} the list of shaders attached to the passed program. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getAttachedShaders = function(program) { }; @@ -2759,7 +3134,8 @@ WebGLRenderingContext.prototype.getAttachedShaders = function(program) { }; * @param {WebGLProgram} program Specifies the program object to be queried. * @param {DOMString} name Points to a null terminated string containing the name of the attribute variable whose location is to be queried. * @return {GLint} the index of the generic vertex attribute that is bound to that attribute variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getAttribLocation = function(program, name) { }; @@ -2856,7 +3232,8 @@ WebGLRenderingContext.prototype.getAttribLocation = function(program, name) { }; * VERSIONDOMString * VIEWPORTInt32Array (with 4 elements) * -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getParameter = function(pname) { }; @@ -2865,7 +3242,8 @@ WebGLRenderingContext.prototype.getParameter = function(pname) { }; * @param {GLenum} target Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. * @param {GLenum} pname Specifies the symbolic name of a buffer object parameter. Accepted values are BUFFER_SIZE or BUFFER_USAGE. * @return {any} the value for the passed pname. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getBufferParameter = function(target, pname) { }; @@ -2881,7 +3259,8 @@ WebGLRenderingContext.prototype.getBufferParameter = function(target, pname) { } *
  • WebGLRenderingContext.OUT_OF_MEMORY
    There is not enough memory left to execute the command. The state of the GL is undefined, except for the state of the error flags, after this error is recorded.
  • WebGLRenderingContext.CONTEXT_LOST_WEBGL
    getError returns CONTEXT_LOST_WEBGL the first time it is called while the context is lost. Afterward it will return NO_ERROR until the context has been restored.
  • * -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getError = function() { }; @@ -2891,7 +3270,8 @@ WebGLRenderingContext.prototype.getError = function() { }; * @param {GLenum} attachment Specifies the symbolic name of a framebuffer object attachment point. Accepted values are COLOR_ATTACHMENT0, DEPTH_ATTACHMENT, and STENCIL_ATTACHMENT. * @param {GLenum} pname Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, and FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE. * @return {any} the value for the passed pname given the passed target and attachment. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getFramebufferAttachmentParameter = function(target, attachment, pname) { }; @@ -2900,7 +3280,8 @@ WebGLRenderingContext.prototype.getFramebufferAttachmentParameter = function(tar * @param {WebGLProgram} program Specifies the program object to be queried. * @param {GLenum} pname Specifies the object parameter. Accepted symbolic names are DELETE_STATUS, LINK_STATUS, VALIDATE_STATUS, ATTACHED_SHADERS, ACTIVE_ATTRIBUTES, ACTIVE_UNIFORMS. * @return {any} the value for the passed pname given the passed program. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getProgramParameter = function(program, pname) { }; @@ -2908,7 +3289,8 @@ WebGLRenderingContext.prototype.getProgramParameter = function(program, pname) { * Return the information log for a program object * @param {WebGLProgram} program Specifies the program object whose information log is to be queried. * @return {DOMString} the information log for the specified program object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getProgramInfoLog = function(program) { }; @@ -2917,7 +3299,8 @@ WebGLRenderingContext.prototype.getProgramInfoLog = function(program) { }; * @param {GLenum} target Specifies the target renderbuffer object. The symbolic constant must be RENDERBUFFER. * @param {GLenum} pname Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RENDERBUFFER_WIDTH, RENDERBUFFER_HEIGHT, RENDERBUFFER_INTERNAL_FORMAT, RENDERBUFFER_RED_SIZE, RENDERBUFFER_GREEN_SIZE, RENDERBUFFER_BLUE_SIZE, RENDERBUFFER_ALPHA_SIZE, RENDERBUFFER_DEPTH_SIZE, or RENDERBUFFER_STENCIL_SIZE. * @return {any} the value for the passed pname given the passed target. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getRenderbufferParameter = function(target, pname) { }; @@ -2926,7 +3309,8 @@ WebGLRenderingContext.prototype.getRenderbufferParameter = function(target, pnam * @param {WebGLShader} shader Specifies the shader object to be queried. * @param {GLenum} pname Specifies the object parameter. Accepted symbolic names are SHADER_TYPE, DELETE_STATUS, COMPILE_STATUS. * @return {any} the value for the passed pname given the passed shader. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getShaderParameter = function(shader, pname) { }; @@ -2934,7 +3318,8 @@ WebGLRenderingContext.prototype.getShaderParameter = function(shader, pname) { } * Return the information log for a shader object * @param {WebGLShader} shader Specifies the shader object whose information log is to be queried. * @return {DOMString} the information log for the specified shader object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getShaderInfoLog = function(shader) { }; @@ -2942,7 +3327,8 @@ WebGLRenderingContext.prototype.getShaderInfoLog = function(shader) { }; * Return the source code string from a shader object * @param {WebGLShader} shader Specifies the shader object to be queried. * @return {DOMString} the concatenation of the source code strings from the shader object specified by shader. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getShaderSource = function(shader) { }; @@ -2951,7 +3337,8 @@ WebGLRenderingContext.prototype.getShaderSource = function(shader) { }; * @param {GLenum} target Specifies the symbolic name of the target texture of the active texture unit. TEXTURE_2D and TEXTURE_CUBE_MAP are accepted. * @param {GLenum} pname Specifies the symbolic name of a texture parameter. TEXTURE_MAG_FILTER, TEXTURE_MIN_FILTER, TEXTURE_WRAP_S, and TEXTURE_WRAP_T are accepted. * @return {any} the value of the texture parameter specified as pname. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getTexParameter = function(target, pname) { }; @@ -2978,7 +3365,8 @@ WebGLRenderingContext.prototype.getTexParameter = function(target, pname) { }; * mat3Float32Array (with 9 elements) * mat4Float32Array (with 16 elements) * -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getUniform = function(program, location) { }; @@ -2987,7 +3375,8 @@ WebGLRenderingContext.prototype.getUniform = function(program, location) { }; * @param {WebGLProgram} program Specifies the program object to be queried. * @param {DOMString} name Points to a null terminated string containing the name of the uniform variable whose location is to be queried. * @return {WebGLUniformLocation} an integer that represents the location of a specific uniform variable within a program object. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getUniformLocation = function(program, name) { }; @@ -2996,7 +3385,8 @@ WebGLRenderingContext.prototype.getUniformLocation = function(program, name) { } * @param {GLuint} index Specifies the generic vertex attribute parameter to be queried. * @param {GLenum} pname Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, VERTEX_ATTRIB_ARRAY_ENABLED, VERTEX_ATTRIB_ARRAY_SIZE, VERTEX_ATTRIB_ARRAY_STRIDE, VERTEX_ATTRIB_ARRAY_TYPE, VERTEX_ATTRIB_ARRAY_NORMALIZED, or CURRENT_VERTEX_ATTRIB. * @return {any} the value of a generic vertex attribute parameter. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getVertexAttrib = function(index, pname) { }; @@ -3005,7 +3395,8 @@ WebGLRenderingContext.prototype.getVertexAttrib = function(index, pname) { }; * @param {GLuint} index Specifies the generic vertex attribute parameter to be returned. * @param {GLenum} pname Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VERTEX_ATTRIB_ARRAY_POINTER. * @return {GLsizeiptr} the pointer value. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.getVertexAttribOffset = function(index, pname) { }; @@ -3013,7 +3404,8 @@ WebGLRenderingContext.prototype.getVertexAttribOffset = function(index, pname) { * Specify implementation-specific hints * @param {GLenum} target Specifies a symbolic constant indicating the behavior to be controlled. GENERATE_MIPMAP_HINT is accepted. * @param {GLenum} mode Specifies a symbolic constant indicating the desired behavior. FASTEST, NICEST, and DONT_CARE are accepted. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.hint = function(target, mode) { }; @@ -3021,7 +3413,8 @@ WebGLRenderingContext.prototype.hint = function(target, mode) { }; * Determine if a name corresponds to a buffer object * @param {WebGLBuffer} buffer Specifies a value that may be the name of a buffer object. * @return {GLboolean} TRUE if buffer is currently the name of a buffer object. If buffer is zero, or is a non-zero value that is not currently the name of a buffer object, or if an error occurs, isBuffer returns FALSE. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isBuffer = function(buffer) { }; @@ -3072,7 +3465,8 @@ WebGLRenderingContext.prototype.isBuffer = function(buffer) { }; * {@link #stencilFunc}, {@link #stencilOp} * * -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isEnabled = function(cap) { }; @@ -3080,7 +3474,8 @@ WebGLRenderingContext.prototype.isEnabled = function(cap) { }; * Determine if a name corresponds to a framebuffer object * @param {WebGLFramebuffer} framebuffer Specifies a value that may be the name of a framebuffer object. * @return {GLboolean} true if the passed WebGLFramebuffer is valid and false otherwise. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isFramebuffer = function(framebuffer) { }; @@ -3088,7 +3483,8 @@ WebGLRenderingContext.prototype.isFramebuffer = function(framebuffer) { }; * Determine if a name corresponds to a program object * @param {WebGLProgram} program Specifies a potential program object. * @return {GLboolean} true if the passed WebGLProgram is valid and false otherwise. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isProgram = function(program) { }; @@ -3096,7 +3492,8 @@ WebGLRenderingContext.prototype.isProgram = function(program) { }; * Determine if a name corresponds to a renderbuffer object * @param {WebGLRenderbuffer} renderbuffer Specifies a value that may be the name of a renderbuffer object. * @return {GLboolean} true if the passed WebGLRenderbuffer is valid and false otherwise. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isRenderbuffer = function(renderbuffer) { }; @@ -3104,7 +3501,8 @@ WebGLRenderingContext.prototype.isRenderbuffer = function(renderbuffer) { }; * Determine if a name corresponds to a shader object * @param {WebGLShader} shader Specifies a potential shader object. * @return {GLboolean} true if the passed WebGLShader is valid and false otherwise. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isShader = function(shader) { }; @@ -3112,21 +3510,24 @@ WebGLRenderingContext.prototype.isShader = function(shader) { }; * Determine if a name corresponds to a texture * @param {WebGLTexture} texture Specifies a value that may be the name of a texture. * @return {GLboolean} true if the passed WebGLTexture is valid and false otherwise. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.isTexture = function(texture) { }; /** * Specify the width of rasterized lines * @param {GLfloat} width Specifies the width of rasterized lines. The initial value is 1. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.lineWidth = function(width) { }; /** * Link a program object * @param {WebGLProgram} program Specifies the handle of the program object to be linked. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.linkProgram = function(program) { }; @@ -3134,7 +3535,8 @@ WebGLRenderingContext.prototype.linkProgram = function(program) { }; * Set pixel storage modes * @param {GLenum} pname Specifies the symbolic name of the parameter to be set. One value affects the packing of pixel data into memory: PACK_ALIGNMENT. The other affects the unpacking of pixel data from memory: UNPACK_ALIGNMENT. * @param {GLint} param Specifies the value that pname is set to. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.pixelStorei = function(pname, param) { }; @@ -3142,7 +3544,8 @@ WebGLRenderingContext.prototype.pixelStorei = function(pname, param) { }; * Set the scale and units used to calculate depth values * @param {GLfloat} factor Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. * @param {GLfloat} units Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.polygonOffset = function(factor, units) { }; @@ -3155,7 +3558,8 @@ WebGLRenderingContext.prototype.polygonOffset = function(factor, units) { }; * @param {GLenum} format Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, and RGBA. * @param {GLenum} type Specifies the data type of the pixel data. Must be one of UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, or UNSIGNED_SHORT_5_5_5_1. * @param {ArrayBufferView} pixels Returns the pixel data. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.readPixels = function(x, y, width, height, format, type, pixels) { }; @@ -3165,7 +3569,8 @@ WebGLRenderingContext.prototype.readPixels = function(x, y, width, height, forma * @param {GLenum} internalformat Specifies the color-renderable, depth-renderable, or stencil-renderable format of the renderbuffer. Must be one of the following symbolic constants: RGBA4, RGB565, RGB5_A1, DEPTH_COMPONENT16, or STENCIL_INDEX8. * @param {GLsizei} width Specifies the width of the renderbuffer in pixels. * @param {GLsizei} height Specifies the height of the renderbuffer in pixels. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.renderbufferStorage = function(target, internalformat, width, height) { }; @@ -3173,7 +3578,8 @@ WebGLRenderingContext.prototype.renderbufferStorage = function(target, internalf * Specify multisample coverage parameters * @param {GLclampf} value Specify a single floating-point sample coverage value. The value is clamped to the range 0-1. The initial value is 1.0 . * @param {GLboolean} invert Specify a single boolean value representing if the coverage masks should be inverted. TRUE and FALSE are accepted. The initial value is FALSE. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.sampleCoverage = function(value, invert) { }; @@ -3183,7 +3589,8 @@ WebGLRenderingContext.prototype.sampleCoverage = function(value, invert) { }; * @param {GLint} y Specify the lower left corner of the scissor box. Initially (0, 0). * @param {GLsizei} width Specify the width of the scissor box. When a GL context is first attached to a window, width is set to the dimensions of that window. * @param {GLsizei} height Specify the height of the scissor box. When a GL context is first attached to a window, height is set to the dimensions of that window. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.scissor = function(x, y, width, height) { }; @@ -3191,7 +3598,8 @@ WebGLRenderingContext.prototype.scissor = function(x, y, width, height) { }; * Replace the source code in a shader object * @param {WebGLShader} shader Specifies the handle of the shader object whose source code is to be replaced. * @param {DOMString} source Specifies the number of elements in the string and length arrays. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.shaderSource = function(shader, source) { }; @@ -3200,7 +3608,8 @@ WebGLRenderingContext.prototype.shaderSource = function(shader, source) { }; * @param {GLenum} func Specifies the test function. Eight symbolic constants are valid: NEVER, LESS, LEQUAL, GREATER, GEQUAL, EQUAL, NOTEQUAL, and ALWAYS. The initial value is ALWAYS. * @param {GLint} ref Specifies the reference value for the stencil test. ref is clamped to the range 0-(2n-1), where n is the number of bitplanes in the stencil buffer. The initial value is 0. * @param {GLuint} mask Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilFunc = function(func, ref, mask) { }; @@ -3210,14 +3619,16 @@ WebGLRenderingContext.prototype.stencilFunc = function(func, ref, mask) { }; * @param {GLenum} func Specifies the test function. Eight symbolic constants are valid: NEVER, LESS, LEQUAL, GREATER, GEQUAL, EQUAL, NOTEQUAL, and ALWAYS. The initial value is ALWAYS. * @param {GLint} ref Specifies the reference value for the stencil test. ref is clamped to the range 0-(2n-1), where n is the number of bitplanes in the stencil buffer. The initial value is 0. * @param {GLuint} mask Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilFuncSeparate = function(face, func, ref, mask) { }; /** * Control the front and back writing of individual bits in the stencil planes * @param {GLuint} mask Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilMask = function(mask) { }; @@ -3225,7 +3636,8 @@ WebGLRenderingContext.prototype.stencilMask = function(mask) { }; * Control the front and/or back writing of individual bits in the stencil planes * @param {GLenum} face Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: FRONT, BACK, and FRONT_AND_BACK. * @param {GLuint} mask Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilMaskSeparate = function(face, mask) { }; @@ -3234,7 +3646,8 @@ WebGLRenderingContext.prototype.stencilMaskSeparate = function(face, mask) { }; * @param {GLenum} fail Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: KEEP, ZERO, REPLACE, INCR, INCR_WRAP, DECR, DECR_WRAP, and INVERT. The initial value is KEEP. * @param {GLenum} zfail Specifies the stencil action when the stencil test passes, but the depth test fails. zfail accepts the same symbolic constants as fail. The initial value is KEEP. * @param {GLenum} zpass Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. zpass accepts the same symbolic constants as fail. The initial value is KEEP. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilOp = function(fail, zfail, zpass) { }; @@ -3244,7 +3657,8 @@ WebGLRenderingContext.prototype.stencilOp = function(fail, zfail, zpass) { }; * @param {GLenum} fail Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: KEEP, ZERO, REPLACE, INCR, INCR_WRAP, DECR, DECR_WRAP, and INVERT. The initial value is KEEP. * @param {GLenum} zfail Specifies the stencil action when the stencil test passes, but the depth test fails. zfail accepts the same symbolic constants as fail. The initial value is KEEP. * @param {GLenum} zpass Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. zpass accepts the same symbolic constants as fail. The initial value is KEEP. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.stencilOpSeparate = function(face, fail, zfail, zpass) { }; @@ -3259,7 +3673,8 @@ WebGLRenderingContext.prototype.stencilOpSeparate = function(face, fail, zfail, * @param {GLenum} format Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. * @param {GLenum} type Specifies the data type of the texel data. The following symbolic values are accepted: UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, and UNSIGNED_SHORT_5_5_5_1. * @param {ArrayBufferView} pixels Specifies a pointer to the image data in memory. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalformat, width, height, border, format, type, pixels) { }; @@ -3271,7 +3686,8 @@ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalfor * @param {GLenum} format Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. * @param {GLenum} type Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. * @param {ImageData} pixels Specifies the width of the border. Must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalformat, format, type, pixels) { }; @@ -3283,7 +3699,8 @@ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalfor * @param {GLenum} format Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. * @param {GLenum} type Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. * @param {HTMLImageElement} image Specifies the width of the border. Must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalformat, format, type, image) { }; @@ -3295,7 +3712,8 @@ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalfor * @param {GLenum} format Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. * @param {GLenum} type Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. * @param {HTMLCanvasElement} canvas Specifies the width of the border. Must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalformat, format, type, canvas) { }; @@ -3307,7 +3725,8 @@ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalfor * @param {GLenum} format Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. * @param {GLenum} type Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. * @param {HTMLVideoElement} video Specifies the width of the border. Must be 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalformat, format, type, video) { }; @@ -3316,7 +3735,8 @@ WebGLRenderingContext.prototype.texImage2D = function(target, level, internalfor * @param {GLenum} target Specifies the target texture of the active texture unit, which must be either TEXTURE_2D or TEXTURE_CUBE_MAP. * @param {GLenum} pname Specifies the symbolic name of a texture parameter. pname can be one of the following: TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER, TEXTURE_WRAP_S, or TEXTURE_WRAP_T. * @param {GLfloat} param Specifies the value of pname. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texParameterf = function(target, pname, param) { }; @@ -3325,7 +3745,8 @@ WebGLRenderingContext.prototype.texParameterf = function(target, pname, param) { * @param {GLenum} target Specifies the target texture of the active texture unit, which must be either TEXTURE_2D or TEXTURE_CUBE_MAP. * @param {GLenum} pname Specifies the symbolic name of a texture parameter. pname can be one of the following: TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER, TEXTURE_WRAP_S, or TEXTURE_WRAP_T. * @param {GLint} param Specifies the value of pname. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texParameteri = function(target, pname, param) { }; @@ -3340,7 +3761,8 @@ WebGLRenderingContext.prototype.texParameteri = function(target, pname, param) { * @param {GLenum} format Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. * @param {GLenum} type Specifies the data type of the pixel data. The following symbolic values are accepted: UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, and UNSIGNED_SHORT_5_5_5_1. * @param {ArrayBufferView} pixels Specifies a pointer to the image data in memory. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, yoffset, width, height, format, type, pixels) { }; @@ -3353,7 +3775,8 @@ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, * @param {GLenum} format Specifies the width of the texture subimage. * @param {GLenum} type Specifies the height of the texture subimage. * @param {ImageData} pixels Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, yoffset, format, type, pixels) { }; @@ -3366,7 +3789,8 @@ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, * @param {GLenum} format Specifies the width of the texture subimage. * @param {GLenum} type Specifies the height of the texture subimage. * @param {HTMLImageElement} image Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, yoffset, format, type, image) { }; @@ -3379,7 +3803,8 @@ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, * @param {GLenum} format Specifies the width of the texture subimage. * @param {GLenum} type Specifies the height of the texture subimage. * @param {HTMLCanvasElement} canvas Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, yoffset, format, type, canvas) { }; @@ -3392,7 +3817,8 @@ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, * @param {GLenum} format Specifies the width of the texture subimage. * @param {GLenum} type Specifies the height of the texture subimage. * @param {HTMLVideoElement} video Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, yoffset, format, type, video) { }; @@ -3400,7 +3826,8 @@ WebGLRenderingContext.prototype.texSubImage2D = function(target, level, xoffset, * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {GLfloat} x Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1f = function(location, x) { }; @@ -3408,7 +3835,8 @@ WebGLRenderingContext.prototype.uniform1f = function(location, x) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {FloatArray} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1fv = function(location, v) { }; @@ -3416,7 +3844,8 @@ WebGLRenderingContext.prototype.uniform1fv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1fv = function(location, v) { }; @@ -3424,7 +3853,8 @@ WebGLRenderingContext.prototype.uniform1fv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {GLint} x Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1i = function(location, x) { }; @@ -3432,7 +3862,8 @@ WebGLRenderingContext.prototype.uniform1i = function(location, x) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {Int32Array} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1iv = function(location, v) { }; @@ -3440,7 +3871,8 @@ WebGLRenderingContext.prototype.uniform1iv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform1iv = function(location, v) { }; @@ -3449,7 +3881,8 @@ WebGLRenderingContext.prototype.uniform1iv = function(location, v) { }; * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {GLfloat} x Specifies the new value to be used for the specified uniform variable. * @param {GLfloat} y Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2f = function(location, x, y) { }; @@ -3457,7 +3890,8 @@ WebGLRenderingContext.prototype.uniform2f = function(location, x, y) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {FloatArray} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2fv = function(location, v) { }; @@ -3465,7 +3899,8 @@ WebGLRenderingContext.prototype.uniform2fv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2fv = function(location, v) { }; @@ -3474,7 +3909,8 @@ WebGLRenderingContext.prototype.uniform2fv = function(location, v) { }; * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {GLint} x Specifies the new value to be used for the specified uniform variable. * @param {GLint} y Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2i = function(location, x, y) { }; @@ -3482,7 +3918,8 @@ WebGLRenderingContext.prototype.uniform2i = function(location, x, y) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {Int32Array} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2iv = function(location, v) { }; @@ -3490,7 +3927,8 @@ WebGLRenderingContext.prototype.uniform2iv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform2iv = function(location, v) { }; @@ -3500,7 +3938,8 @@ WebGLRenderingContext.prototype.uniform2iv = function(location, v) { }; * @param {GLfloat} x Specifies the new value to be used for the specified uniform variable. * @param {GLfloat} y Specifies the new value to be used for the specified uniform variable. * @param {GLfloat} z Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3f = function(location, x, y, z) { }; @@ -3508,7 +3947,8 @@ WebGLRenderingContext.prototype.uniform3f = function(location, x, y, z) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {FloatArray} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3fv = function(location, v) { }; @@ -3516,7 +3956,8 @@ WebGLRenderingContext.prototype.uniform3fv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3fv = function(location, v) { }; @@ -3526,7 +3967,8 @@ WebGLRenderingContext.prototype.uniform3fv = function(location, v) { }; * @param {GLint} x Specifies the new value to be used for the specified uniform variable. * @param {GLint} y Specifies the new value to be used for the specified uniform variable. * @param {GLint} z Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3i = function(location, x, y, z) { }; @@ -3534,7 +3976,8 @@ WebGLRenderingContext.prototype.uniform3i = function(location, x, y, z) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {Int32Array} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3iv = function(location, v) { }; @@ -3542,7 +3985,8 @@ WebGLRenderingContext.prototype.uniform3iv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform3iv = function(location, v) { }; @@ -3553,7 +3997,8 @@ WebGLRenderingContext.prototype.uniform3iv = function(location, v) { }; * @param {GLfloat} y Specifies the new value to be used for the specified uniform variable. * @param {GLfloat} z Specifies the new value to be used for the specified uniform variable. * @param {GLfloat} w Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4f = function(location, x, y, z, w) { }; @@ -3561,7 +4006,8 @@ WebGLRenderingContext.prototype.uniform4f = function(location, x, y, z, w) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {FloatArray} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4fv = function(location, v) { }; @@ -3569,7 +4015,8 @@ WebGLRenderingContext.prototype.uniform4fv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4fv = function(location, v) { }; @@ -3580,7 +4027,8 @@ WebGLRenderingContext.prototype.uniform4fv = function(location, v) { }; * @param {GLint} y Specifies the new value to be used for the specified uniform variable. * @param {GLint} z Specifies the new value to be used for the specified uniform variable. * @param {GLint} w Specifies the new value to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4i = function(location, x, y, z, w) { }; @@ -3588,7 +4036,8 @@ WebGLRenderingContext.prototype.uniform4i = function(location, x, y, z, w) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {Int32Array} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4iv = function(location, v) { }; @@ -3596,7 +4045,8 @@ WebGLRenderingContext.prototype.uniform4iv = function(location, v) { }; * Specify the value of a uniform variable for the current program object * @param {WebGLUniformLocation} location Specifies the location of the uniform variable to be modified. * @param {sequence} v Specifies the new values to be used for the specified uniform variable. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniform4iv = function(location, v) { }; @@ -3605,7 +4055,8 @@ WebGLRenderingContext.prototype.uniform4iv = function(location, v) { }; * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {FloatArray} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix2fv = function(location, transpose, value) { }; @@ -3614,7 +4065,8 @@ WebGLRenderingContext.prototype.uniformMatrix2fv = function(location, transpose, * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {sequence} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix2fv = function(location, transpose, value) { }; @@ -3623,7 +4075,8 @@ WebGLRenderingContext.prototype.uniformMatrix2fv = function(location, transpose, * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {FloatArray} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix3fv = function(location, transpose, value) { }; @@ -3632,7 +4085,8 @@ WebGLRenderingContext.prototype.uniformMatrix3fv = function(location, transpose, * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {sequence} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix3fv = function(location, transpose, value) { }; @@ -3641,7 +4095,8 @@ WebGLRenderingContext.prototype.uniformMatrix3fv = function(location, transpose, * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {FloatArray} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix4fv = function(location, transpose, value) { }; @@ -3650,21 +4105,24 @@ WebGLRenderingContext.prototype.uniformMatrix4fv = function(location, transpose, * @param {WebGLUniformLocation} location Specifies the location of the uniform value to be modified. * @param {GLboolean} transpose Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. * @param {sequence} value Specifies a pointer to an array of values that will be used to update the specified uniform matrix. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.uniformMatrix4fv = function(location, transpose, value) { }; /** * Install a program object as part of current rendering state * @param {WebGLProgram} program Specifies the handle of the program object whose executables are to be used as part of current rendering state. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.useProgram = function(program) { }; /** * Validate a program object * @param {WebGLProgram} program Specifies the handle of the program object to be validated. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.validateProgram = function(program) { }; @@ -3672,7 +4130,8 @@ WebGLRenderingContext.prototype.validateProgram = function(program) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {GLfloat} x Specifies the new value to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib1f = function(indx, x) { }; @@ -3680,7 +4139,8 @@ WebGLRenderingContext.prototype.vertexAttrib1f = function(indx, x) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {FloatArray} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx, values) { }; @@ -3688,7 +4148,8 @@ WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx, values) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {sequence} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx, values) { }; @@ -3697,7 +4158,8 @@ WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx, values) { }; * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {GLfloat} x Specifies the new value to be used for the specified vertex attribute. * @param {GLfloat} y Specifies the new value to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib2f = function(indx, x, y) { }; @@ -3705,7 +4167,8 @@ WebGLRenderingContext.prototype.vertexAttrib2f = function(indx, x, y) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {FloatArray} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx, values) { }; @@ -3713,7 +4176,8 @@ WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx, values) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {sequence} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx, values) { }; @@ -3723,7 +4187,8 @@ WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx, values) { }; * @param {GLfloat} x Specifies the new value to be used for the specified vertex attribute. * @param {GLfloat} y Specifies the new value to be used for the specified vertex attribute. * @param {GLfloat} z Specifies the new value to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib3f = function(indx, x, y, z) { }; @@ -3731,7 +4196,8 @@ WebGLRenderingContext.prototype.vertexAttrib3f = function(indx, x, y, z) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {FloatArray} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx, values) { }; @@ -3739,7 +4205,8 @@ WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx, values) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {sequence} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx, values) { }; @@ -3750,7 +4217,8 @@ WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx, values) { }; * @param {GLfloat} y Specifies the new value to be used for the specified vertex attribute. * @param {GLfloat} z Specifies the new value to be used for the specified vertex attribute. * @param {GLfloat} w Specifies the new value to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib4f = function(indx, x, y, z, w) { }; @@ -3758,7 +4226,8 @@ WebGLRenderingContext.prototype.vertexAttrib4f = function(indx, x, y, z, w) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {FloatArray} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx, values) { }; @@ -3766,7 +4235,8 @@ WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx, values) { }; * Specify the value of a generic vertex attribute * @param {GLuint} indx Specifies the index of the generic vertex attribute to be modified. * @param {sequence} values Specifies the new values to be used for the specified vertex attribute. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx, values) { }; @@ -3778,7 +4248,8 @@ WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx, values) { }; * @param {GLboolean} normalized Specifies whether fixed-point data values should be normalized (TRUE) or converted directly as fixed-point values (FALSE) when they are accessed. * @param {GLsizei} stride Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. * @param {GLintptr} offset Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.vertexAttribPointer = function(indx, size, type, normalized, stride, offset) { }; @@ -3788,7 +4259,8 @@ WebGLRenderingContext.prototype.vertexAttribPointer = function(indx, size, type, * @param {GLint} y Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). * @param {GLsizei} width Specify the width of the viewport. When a GL context is first attached to a window, width is set to the dimensions of that window. * @param {GLsizei} height Specify the height of the viewport. When a GL context is first attached to a window, height is set to the dimensions of that window. -* @PB10 +* @PB20 +* @RIPPLE */ WebGLRenderingContext.prototype.viewport = function(x, y, width, height) { }; @@ -3796,7 +4268,8 @@ WebGLRenderingContext.prototype.viewport = function(x, y, width, height) { }; * @namespace * WebGL generates a WebGLContextEvent event in response to a status change to the WebGL rendering context associated with the HTMLCanvasElement which has a listener for this event. * @extends Event -* @PB10 +* @PB20 +* @RIPPLE */ WebGLContextEvent = { }; diff --git a/api/html5_database.js b/api/html5_database.js index 5939ce2f5e..ed3e52f194 100644 --- a/api/html5_database.js +++ b/api/html5_database.js @@ -34,7 +34,7 @@ Database = { * @returns {Database} The database object that has been opened. * @example * Database db=window.openDatabase('documents', '1.0', 'Offline document storage', 5*1024*1024, null); - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -46,7 +46,7 @@ Database = { * @description The current version of the database. * @readOnly * @type String - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -59,7 +59,7 @@ Database = { * @callback {function} [errorCallback] Function to be called when an SQL error occurs. * @callback {SQLError} errorCallback.error The {@link SQLError} object describing the SQL error that occurred. * @callback {function} [successCallback] Function to be called when SQL statement is executed successfully. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -72,7 +72,7 @@ Database = { * @callback {function} [errorCallback] Function to be called when an SQL error occurs. * @callback {SQLError} errorCallback.error The {@link SQLError} object describing the SQL error that occurred. * @callback {function} [successCallback] Function to be called when SQL statement is executed successfully. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @example @@ -104,7 +104,7 @@ Database = { * @callback {function} [errorCallback] Function to be called when an SQL error occurs. * @callback {SQLError} errorCallback.error The {@link SQLError} object describing the SQL error that occurred. * @callback {function} [successCallback] Function to be called when SQL statement is executed successfully. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @example @@ -129,7 +129,7 @@ SQLTransaction = {}; * @callback {function} [errorCallback] Function to be called when an SQL error occurs. * @callback {SQLTransaction} errorCallback.transaction The {@link SQLTransaction} object that executed this transaction. * @callback {SQLError} errorCallback.error The {@link SQLError} object describing the SQL error that occurred. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @example @@ -162,7 +162,7 @@ SQLResultSet = {}; * @description If the SQL statement inserted a row, this attribute returns the row ID of the row that the SQLResultSet object's SQL statement inserted into the database. If the SQL statement inserted multiple rows, this attribute returns the the ID of the last row. * @readOnly * @type Number - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -172,7 +172,7 @@ SQLResultSet = {}; * @description This attribute returns the number of rows that were changed by the SQL statement. If the statement did not affected any rows, 0 is returned. * @readOnly * @type Number - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -182,7 +182,7 @@ SQLResultSet = {}; * @description This attribute represents the rows returned in the order returned by the database.If no rows were returned, then the object will be empty (its length will be zero). * @readOnly * @type SQLResultSetRowList - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -199,7 +199,7 @@ SQLResultSetRowList = {}; * @description The number of rows returned by the database. * @readOnly * @type Number - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -209,7 +209,7 @@ SQLResultSetRowList = {}; * @description Return the row with the given index. * @param {Number} index the index * @returns {Object} the row with the given index. If there is no such row, return null. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -225,7 +225,7 @@ SQLError = { * @constant * @type Number * @description The transaction failed for reasons unrelated to the database itself and not covered by any other error code. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 0 @@ -236,7 +236,7 @@ SQLError = { * @constant * @type Number * @description The statement failed for database reasons not covered by any other error code. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 1 @@ -247,7 +247,7 @@ SQLError = { * @constant * @type Number * @description The operation failed because the actual database version was not what it should be. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 2 @@ -258,7 +258,7 @@ SQLError = { * @constant * @type Number * @description The statement failed because the data returned from the database was too large. The SQL "LIMIT" modifier might be useful to reduce the size of the result set. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 3 @@ -269,7 +269,7 @@ SQLError = { * @constant * @type Number * @description The statement failed because there was not enough remaining storage space, or the storage quota was reached and the user declined to give more space to the database. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 4 @@ -280,7 +280,7 @@ SQLError = { * @constant * @type Number * @description The statement failed because of a syntax error, or the number of arguments did not match the number of ? placeholders in the statement, or the statement tried to use a statement that is not allowed, such as BEGIN, COMMIT, or ROLLBACK, or the statement tried to use a verb that could modify the database but the transaction was read-only. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 5 @@ -291,7 +291,7 @@ SQLError = { * @constant * @type Number * @description An INSERT, UPDATE, or REPLACE statement failed due to a constraint failure. For example, because a row was being inserted and the value given for the primary key column duplicated the value of an existing row. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 6 @@ -302,7 +302,7 @@ SQLError = { * @constant * @type Number * @description A lock for the transaction could not be obtained in a reasonable time. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @default 7 @@ -314,7 +314,7 @@ SQLError = { * @description The most appropriate error code. * @readOnly * @type Number - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -324,7 +324,7 @@ SQLError = { * @description An error message describing the error encountered. The message should be localized to the user's language. * @readOnly * @type String - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ diff --git a/api/html5_deviceMotion.js b/api/html5_deviceMotion.js index 6c3454ce3b..3feb1d128b 100644 --- a/api/html5_deviceMotion.js +++ b/api/html5_deviceMotion.js @@ -35,7 +35,7 @@ Acceleration = { * @type Number * @description x-coordinate of the acceleration * @readOnly - * @PB10 + * @PB10+ * @RIPPLE */ Acceleration.prototype.x=Number, @@ -44,7 +44,7 @@ Acceleration = { * @type Number * @description y-coordinate of the acceleration * @readOnly - * @PB10 + * @PB10+ * @RIPPLE */ Acceleration.prototype.y=Number, @@ -53,7 +53,7 @@ Acceleration = { * @type Number * @description z-coordinate of the acceleration * @readOnly - * @PB10 + * @PB10+ * @RIPPLE */ Acceleration.prototype.z=Number, @@ -61,7 +61,7 @@ Acceleration = { /** * @toc {Device Motion} HTML5 Device Motion Event - * @PB10 + * @PB10+ * @RIPPLE * @namespace * This event provides direct access to motion data from an accelerometer and gyroscope. The three pieces of data provided are the acceleration, acceleration including gravity and rotation rate.
    At this moment the data supported is from Accelerometer only.
    @@ -86,7 +86,7 @@ DeviceMotionEvent = { * @type Number * @description The regular interval at which the event must fire at, given in milliseconds * @readOnly - * @PB10 + * @PB10+ */ DeviceMotionEvent.prototype.interval= Number, @@ -95,7 +95,7 @@ DeviceMotionEvent = { * @description Implementations that are unable to provide acceleration data without the effect of gravity (due, for example, to the lack of a gyroscope) may instead supply the acceleration including the effect of gravity. This is less useful in many applications but is provided as a means of providing best-effort support. * In this case, the values reported are equal to the acceleration of the device, plus an acceleration equal and opposite to the acceleration due to gravity. * @readOnly - * @PB10 + * @PB10+ * @RIPPLE */ DeviceMotionEvent.prototype.accelerationIncludingGravity=null, @@ -103,7 +103,7 @@ DeviceMotionEvent = { /** * @function * @description Initializes the event listener and it's parameters - * @PB10 + * @PB10+ */ DeviceMotionEvent.prototype.initDeviceMotionEvent = function(){} }; diff --git a/api/html5_geolocation.js b/api/html5_geolocation.js index a1718a7093..1d735cf827 100644 --- a/api/html5_geolocation.js +++ b/api/html5_geolocation.js @@ -31,7 +31,7 @@ navigator.geolocation = { * @callback {PositionError} [positionErrorCallback.error] Error call if there is an error. * @param {PositionOptions} [options] return {@link PositionOptions} of a current position. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @example * To get current position @@ -81,7 +81,7 @@ navigator.geolocation = { * @param {PositionOptions} [options] Return {@link PositionOptions} of a watch position. * @returns {Long} Return a watchId so that it can be use in function {@link navigator.geolocation.clearWatch}. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE */ watchPosition : function(PositionCallback, PositionErrorCallback, positionOptions) {}, @@ -90,7 +90,7 @@ navigator.geolocation = { /** * @description Like {@link getCurrentPosition} continue to monitor the position of the device and invoke the appropriate callback every time this position changes. It continues until the clearWatch method is called with the corresponding identifier. * @param {long} watchId A unique identifier return from {@link navigator.geolocation.watchPosition}. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE */ @@ -108,7 +108,7 @@ Position = {}; /** * @description The coords attribute contains a set of geographic coordinates together with their associated accuracy, as well as a set of other optional attributes such as altitude and speed. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Coordinates */ @@ -117,7 +117,7 @@ Position = {}; /** * @description The timestamp attribute represents the time when the Position object was acquired and is represented as a Date. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Date */ @@ -136,7 +136,7 @@ PositionError = { * @constant * @default 1 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Number */ @@ -147,7 +147,7 @@ PositionError = { * @constant * @default 2 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Number */ @@ -158,7 +158,7 @@ PositionError = { * @constant * @default 3 * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Number */ @@ -169,7 +169,7 @@ PositionError = { /** * @description Error code. One of the {@link PositionError.PERMISSION_DENIED}, {@link PositionError.POSITION_UNAVAILABLE} or {@link PositionError.TIMEOUT} * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type Number @@ -179,7 +179,7 @@ PositionError = { /** * @description Error message describing the details of the error encountered. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type String @@ -197,7 +197,7 @@ PositionOptions = {}; /** * @description The enableHighAccuracy attribute provides a hint that the application would like to receive the best possible results. This may result in slower response times or increased power consumption. The user might also deny this capability, or the device might not be able to provide more accurate results than if the flag wasn't specified. The intended purpose of this attribute is to allow applications to inform the implementation that they do not require high accuracy geolocation fixes and, therefore, the implementation can avoid using geolocation providers that consume a significant amount of power (e.g. GPS). This is especially useful for applications running on battery-powered devices, such as mobile phones. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Boolean */ @@ -206,7 +206,7 @@ PositionOptions = {}; /** * @description The timeout attribute denotes the maximum length of time (expressed in milliseconds) that is allowed to pass from the call to getCurrentPosition() or watchPosition(). * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @type Number */ @@ -215,7 +215,7 @@ PositionOptions = {}; /** * @description The maximumAge attribute indicates that the application is willing to accept a cached position whose age is no greater than the specified time in milliseconds. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readonly * @type Number @@ -235,7 +235,7 @@ Coordinates = {}; /** * @description The latitude attributes is geographic coordinates specified in decimal degrees. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -245,7 +245,7 @@ Coordinates = {}; /** * @description The longitude attributes is geographic coordinates specified in decimal degrees. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -255,7 +255,7 @@ Coordinates = {}; /** * @description The altitude attribute denotes the height of the position, specified in meters above the [WGS84] ellipsoid. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -265,7 +265,7 @@ Coordinates = {}; /** * @description The accuracy attribute denotes the accuracy level of the latitude and longitude coordinates. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -275,7 +275,7 @@ Coordinates = {}; /** * @description The altitudeAccuracy attribute is in meters. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -285,7 +285,7 @@ Coordinates = {}; /** * @description The heading attribute denotes the direction of travel of the hosting device in degrees, where 0° ≤ heading ≤ 360°, counting clockwise relative to the true north. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number @@ -295,7 +295,7 @@ Coordinates = {}; /** * @description The speed attribute denotes the current ground speed of the hosting device in meters per second. * @BB50+ - * @PB10 + * @PB10+ * @RIPPLE * @readOnly * @type Number diff --git a/api/html5_localStorage.js b/api/html5_localStorage.js index cc34b484e6..f64c4b45b4 100644 --- a/api/html5_localStorage.js +++ b/api/html5_localStorage.js @@ -16,7 +16,7 @@ /** * @toc {Data Storage} HTML5 Local Storage - * @PB10 + * @PB10+ * @namespace This object provides functions to access a list of key/value pairs. *

    Each Storage object provides access to a list of key/value pairs, which are sometimes called items. * Keys are strings. Any string (including the empty string) is a valid key. @@ -26,7 +26,7 @@ localStorage ={ /** - * @PB10 + * @PB10+ * @RIPPLE * @description The number of key/value pairs currently present in the list associated with the object. * @readOnly @@ -35,7 +35,7 @@ localStorage ={ length :0, /** - * @PB10 + * @PB10+ * @RIPPLE * @description Return the name of the nth key in the list. The order of keys is user-agent defined, but must be consistent within an object so long as the number of keys doesn't change. * @param {Number} index the nth key in the list @@ -44,7 +44,7 @@ localStorage ={ key : function(index){}, /** - * @PB10 + * @PB10+ * @RIPPLE * @description Return a structured clone of the current value associated with the given key. * @param {String} key the key for the key/value pair @@ -55,7 +55,7 @@ localStorage ={ getItem : function(key){}, /** - * @PB10 + * @PB10+ * @RIPPLE * @description This method first create a structured clone of the given value. * If this raises an exception, then the exception must be thrown and the list associated with the object is left unchanged. @@ -74,7 +74,7 @@ localStorage ={ setItem : function(key, value){}, /** - * @PB10 + * @PB10+ * @RIPPLE * @description This method causes the key/value pair with the given key to be removed from the list associated with the object, if it exists. If no item with that key exists, the method do nothing. * @param {String} key the key for the key/value pair @@ -84,7 +84,7 @@ localStorage ={ removeItem : function(key){}, /** - * @PB10 + * @PB10+ * @RIPPLE * @description This method atomically causes the list associated with the object to be emptied of all key/value pairs, if there are any. If there are none, then the method do nothing. */ diff --git a/api/html5_media.js b/api/html5_media.js index 67a5cdcde5..58ca5d2e85 100644 --- a/api/html5_media.js +++ b/api/html5_media.js @@ -29,7 +29,7 @@ * return the MediaError object created for this last error, or null if * there has not been an error. * @BB60+ -* @PB10 +* @PB10+ */ MediaError = function() { } @@ -39,7 +39,7 @@ MediaError = function() { } * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ MediaError.MEDIA_ERR_ABORTED = 1; @@ -50,7 +50,7 @@ MediaError.MEDIA_ERR_ABORTED = 1; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ MediaError.MEDIA_ERR_NETWORK = 2; @@ -60,7 +60,7 @@ MediaError.MEDIA_ERR_NETWORK = 2; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ MediaError.MEDIA_ERR_DECODE = 3; @@ -69,7 +69,7 @@ MediaError.MEDIA_ERR_DECODE = 3; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4; @@ -80,7 +80,7 @@ MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4; * @type Number|MediaError.MEDIA_ERR_ABORTED|MEDIA_ERR_NETWORK|MediaError.MEDIA_ERR_DECODE|MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ MediaError.prototype.code = { } @@ -97,7 +97,7 @@ MediaError.prototype.code = { } * overlap, aren't empty, and don't touch (adjacent ranges are folded * into one bigger range). * @BB60+ -* @PB10 +* @PB10+ */ TimeRanges = function() { } @@ -108,7 +108,7 @@ TimeRanges = function() { } * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TimeRanges.prototype.length = { }; @@ -116,7 +116,7 @@ TimeRanges.prototype.length = { }; * Returns the time for the start of the range with the given index. * @param {Number} index * @BB60+ -* @PB10 +* @PB10+ */ TimeRanges.prototype.start = function(index) { }; @@ -124,7 +124,7 @@ TimeRanges.prototype.start = function(index) { }; * Returns the time for the end of the range with the given ind * @param {Number} index * @BB60+ -* @PB10 +* @PB10+ */ TimeRanges.prototype.end = function(index) { }; @@ -146,7 +146,7 @@ HTMLMediaElement = function() { } * @type MediaError|null * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.error = { }; @@ -161,7 +161,7 @@ HTMLMediaElement.prototype.error = { }; * source elements present). * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.src = { }; @@ -172,7 +172,7 @@ HTMLMediaElement.prototype.src = { }; * @readOnly * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.currentSRC = { }; @@ -182,7 +182,7 @@ HTMLMediaElement.prototype.currentSRC = { }; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.NETWORK_EMPTY = 0; @@ -192,7 +192,7 @@ HTMLMediaElement.NETWORK_EMPTY = 0; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.NETWORK_IDLE = 1; @@ -202,7 +202,7 @@ HTMLMediaElement.NETWORK_IDLE = 1; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.NETWORK_LOADING = 2; @@ -211,7 +211,7 @@ HTMLMediaElement.NETWORK_LOADING = 2; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.NETWORK_NO_SOURCE = 3; @@ -223,7 +223,7 @@ HTMLMediaElement.NETWORK_NO_SOURCE = 3; * @type Number|HTMLMediaElement.NETWORK_EMPTY|HTMLMediaElement.NETWORK_IDLE|HTMLMediaElement.NETWORK_LOADING|HTMLMediaElement.NETWORK_NO_SOURCE * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.networkState = { }; @@ -264,7 +264,7 @@ HTMLMediaElement.prototype.networkState = { }; * </table> * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.preload = { }; @@ -275,7 +275,7 @@ HTMLMediaElement.prototype.preload = { }; * @type TimeRanges * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.buffered; @@ -283,7 +283,7 @@ HTMLMediaElement.prototype.buffered; * Causes the element to reset and start selecting and loading a * new media resource from scratch. * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.load = function () { }; @@ -294,7 +294,7 @@ HTMLMediaElement.prototype.load = function () { }; * play media resources of the given type. * @param {String} type The media type you are trying to play, for example: "application/octet-stream;codecs=theora" would return an empty string. * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.canPlayType = function(type) { }; @@ -306,7 +306,7 @@ HTMLMediaElement.prototype.canPlayType = function(type) { }; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.HAVE_NOTHING = 0; @@ -319,7 +319,7 @@ HTMLMediaElement.HAVE_NOTHING = 0; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.HAVE_METADATA = 1; @@ -335,7 +335,7 @@ HTMLMediaElement.HAVE_METADATA = 1; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.HAVE_CURRENT_DATA = 2; @@ -350,7 +350,7 @@ HTMLMediaElement.HAVE_CURRENT_DATA = 2; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.HAVE_FUTURE_DATA = 3; @@ -364,7 +364,7 @@ HTMLMediaElement.HAVE_FUTURE_DATA = 3; * @constant * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.HAVE_ENOUGH_DATA = 4; @@ -375,7 +375,7 @@ HTMLMediaElement.HAVE_ENOUGH_DATA = 4; * @type Number|HTMLMediaElement.HAVE_NOTHING|HTMLMediaElement.HAVE_METADATA|HTMLMediaElement.HAVE_CURRENT_DATA|HTMLMediaElement.HAVE_FUTURE_DATA|HTMLMediaElement.HAVE_ENOUGH_DATA * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.readyState = { }; @@ -384,7 +384,7 @@ HTMLMediaElement.prototype.readyState = { }; * attribute must initially have the value false. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.seeking = { }; @@ -394,7 +394,7 @@ HTMLMediaElement.prototype.seeking = { }; * must seek to the new value (which might raise an exception). * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.currentTime = { }; @@ -405,7 +405,7 @@ HTMLMediaElement.prototype.currentTime = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.initialTime = { }; @@ -414,7 +414,7 @@ HTMLMediaElement.prototype.initialTime = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.duration = {}; @@ -423,7 +423,7 @@ HTMLMediaElement.prototype.duration = {}; * @type Date * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.startOffsetTime = { }; @@ -432,7 +432,7 @@ HTMLMediaElement.prototype.startOffsetTime = { }; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.paused = { }; @@ -444,7 +444,7 @@ HTMLMediaElement.prototype.paused = { }; * attribute must be set to the new value. * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.defaultPlaybackRate = { }; @@ -459,7 +459,7 @@ HTMLMediaElement.prototype.defaultPlaybackRate = { }; * change speed (if the element is potentially playing). * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.playbackRate = { }; @@ -471,7 +471,7 @@ HTMLMediaElement.prototype.playbackRate = { }; * @type TimeRanges * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.played = { }; @@ -482,7 +482,7 @@ HTMLMediaElement.prototype.played = { }; * is evaluated. * @type TimeRanges * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.seekable = { }; @@ -493,7 +493,7 @@ HTMLMediaElement.prototype.seekable = { }; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.ended = { }; @@ -502,7 +502,7 @@ HTMLMediaElement.prototype.ended = { }; * resource as soon as it can do so without stopping. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.autoplay = { }; @@ -512,7 +512,7 @@ HTMLMediaElement.prototype.autoplay = { }; * reaching the end. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.loop = { }; @@ -520,14 +520,14 @@ HTMLMediaElement.prototype.loop = { }; * Play the video. If the video has ended, the player will seek to the * beginning and start again. * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.play = function() { }; /** * Pause playback of the video. * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.pause = function() { }; @@ -536,7 +536,7 @@ HTMLMediaElement.prototype.pause = function() { }; * would like the user agent to provide its own set of controls. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.controls = { }; @@ -550,7 +550,7 @@ HTMLMediaElement.prototype.controls = { }; * the new value. * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.volume = { }; @@ -558,7 +558,7 @@ HTMLMediaElement.prototype.volume = { }; * Must return true if the audio channels are muted and false otherwise. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.muted = { }; @@ -575,7 +575,7 @@ TextTrackCue = function() { } * @type TextTrack * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.track = { }; @@ -584,7 +584,7 @@ TextTrackCue.prototype.track = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.id = { }; @@ -593,7 +593,7 @@ TextTrackCue.prototype.id = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.startTime = { }; @@ -602,7 +602,7 @@ TextTrackCue.prototype.startTime = { }; * @type * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.endTime = { }; @@ -611,7 +611,7 @@ TextTrackCue.prototype.endTime = { }; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.pauseOnExit = { }; @@ -619,7 +619,7 @@ TextTrackCue.prototype.pauseOnExit = { }; * Fire the onenter event if the current position now includes this * text cue. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {Event} event */ @@ -629,7 +629,7 @@ TextTrack.prototype.onenter = function(event) { }; * Fire the onexit event if the current position no longer includes this * text cue. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {Event} event */ @@ -639,7 +639,7 @@ TextTrack.prototype.onexit = function(event) { }; * Returns the text track cue text in raw unparsed form. * @returns String * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.getCueAsSource = function() { }; @@ -648,7 +648,7 @@ TextTrackCue.prototype.getCueAsSource = function() { }; * HTML elements and other DOM nodes. * @returns String * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCue.prototype.getCueAsHTML = function() { }; @@ -658,7 +658,7 @@ TextTrackCue.prototype.getCueAsHTML = function() { }; * A {@link TextTrackCueList} object represents a dynamically updating list * of {@link TextTrackCue}s in a given order. * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCueList = function() { } @@ -672,7 +672,7 @@ TextTrackCueList = function() { } * @readOnly * @throws {IndexOutOfBoundsException} When the index is invalid. * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCueList.prototype.item = function(index) { }; @@ -682,7 +682,7 @@ TextTrackCueList.prototype.item = function(index) { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCueList.prototype.length = { }; @@ -691,7 +691,7 @@ TextTrackCueList.prototype.length = { }; * @param {String} id Returns the first text track cue (in text track cue order) with text track cue identifier id. Returns null if none of the cues have the given identifier or if the argument is the empty string. * @returns TextTrackCue * @BB60+ -* @PB10 +* @PB10+ */ TextTrackCueList.prototype.getCueById = function(id) { }; @@ -703,7 +703,7 @@ TextTrackCueList.prototype.getCueById = function(id) { }; * @class * @extends EventTarget * @BB60+ -* @PB10 +* @PB10+ */ TextTrack = function() { } @@ -713,7 +713,7 @@ TextTrack = function() { } * @type String * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.kind = { }; @@ -722,7 +722,7 @@ TextTrack.prototype.kind = { }; * @type String * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.label = { }; @@ -731,7 +731,7 @@ TextTrack.prototype.label = { }; * @type String * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.language = { }; @@ -740,7 +740,7 @@ TextTrack.prototype.language = { }; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.NONE = 0; @@ -749,7 +749,7 @@ TextTrack.NONE = 0; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.LOADING = 1; @@ -758,7 +758,7 @@ TextTrack.LOADING = 1; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.LOADED = 2; @@ -767,7 +767,7 @@ TextTrack.LOADED = 2; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.ERROR = 3; @@ -776,14 +776,14 @@ TextTrack.ERROR = 3; * @type Number|TextTrack.NONE|TextTrack.LOADING|TextTrack.LOADED|TextTrack.ERROR * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.readyState = { }; /** * Fire the onload if the {@link TextTrack} has loaded. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {Event} event */ @@ -793,7 +793,7 @@ TextTrack.prototype.onload = function(event) { }; * Fire the onerror event if an error has occured with this {@link TextTrack}. * For example loading has failed. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {Event} event */ @@ -804,7 +804,7 @@ TextTrack.prototype.onerror = function(event) { }; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.OFF = 0; @@ -813,7 +813,7 @@ TextTrack.OFF = 0; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.HIDDEN = 1; @@ -822,7 +822,7 @@ TextTrack.HIDDEN = 1; * @type Number * @constant * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.SHOWING = 2; @@ -832,7 +832,7 @@ TextTrack.SHOWING = 2; * TextTrack object represents. * @type Number|TextTrack.OFF|TextTrack.HIDDEN|TextTrack.SHOWING * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.mode = { }; @@ -849,7 +849,7 @@ TextTrack.prototype.mode = { }; * @type TextTrackCueList * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.cues = { }; @@ -865,7 +865,7 @@ TextTrack.prototype.cues = { }; * @type TextTrackCueList * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TextTrack.prototype.activeCues = { }; @@ -875,7 +875,7 @@ TextTrack.prototype.activeCues = { }; * an oncuechange event for affected track if the text cue becomes * active. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {Event} event */ @@ -896,7 +896,7 @@ MutableTextTrack = function() { } * Raises an exception if the argument is null, associated with * another text track, or already in the list of cues. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TextTrackCue} cue the cue to add */ @@ -909,7 +909,7 @@ MutableTextTrack.prototype.addCue(cue) { } * Raises an exception if the argument is null, associated with * another text track, or not in the list of cues. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TextTrackCue} cue the cue to remove */ @@ -922,7 +922,7 @@ MutableTextTrack.prototype.removeCue(cue) { } * @type TextTrack[] * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.textTracks = { }; @@ -934,7 +934,7 @@ HTMLMediaElement.prototype.textTracks = { }; * @param {String} language Language of the text track * @returns {MutableTextTrack} * @BB60+ -* @PB10 +* @PB10+ */ HTMLMediaElement.prototype.addTrack = function(kind, label, language) { }; diff --git a/api/html5_media_audio.js b/api/html5_media_audio.js index b228eb92af..83a7f19157 100644 --- a/api/html5_media_audio.js +++ b/api/html5_media_audio.js @@ -22,7 +22,7 @@ /** * @namespace * An audio element represents a sound or audio stream. -* @PB10 +* @PB10+ * @BB60+ * @toc {Media} HTML5 Audio * @extends HTMLMediaElement @@ -38,7 +38,7 @@ HTMLAudioElement = { * audio.src = 'audio.wav'; * audio.controls = true; * document.body.appendChild(audio); - * @PB10 + * @PB10+ * @BB60+ */ documentConstructor : undefined @@ -53,7 +53,7 @@ HTMLAudioElement = { * audio.src = 'audio.wav'; * @example * var audio = new Audio('audio.wav'); - * @PB10 + * @PB10+ * @BB60+ */ audioConstructor : undefined diff --git a/api/html5_media_source.js b/api/html5_media_source.js index 95d88cccb4..4529188282 100644 --- a/api/html5_media_source.js +++ b/api/html5_media_source.js @@ -43,7 +43,7 @@ HTMLSourceElement = function() { }; * @description Creates an HTMLSourceElement * @example * var source = document.createElement("source"); - * @PB10 + * @PB10+ * @BB60+ */ HTMLSourceElement.documentConstructor = undefined; @@ -54,7 +54,7 @@ HTMLSourceElement.documentConstructor = undefined; * attribute must be present. * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLSourceElement.prototype.src = { }; @@ -62,7 +62,7 @@ HTMLSourceElement.prototype.src = { }; * * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLSourceElement.prototype.type = { }; @@ -70,7 +70,7 @@ HTMLSourceElement.prototype.type = { }; * * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLSourceElement.prototype.media = { }; diff --git a/api/html5_media_track .js b/api/html5_media_track .js index 8586f5ea6d..18dddd7d13 100644 --- a/api/html5_media_track .js +++ b/api/html5_media_track .js @@ -33,7 +33,7 @@ * missing or both have the same value. * @extends HTMLElement * @BB60+ -* @PB10 +* @PB10+ * @example * <video src=\"brave.webm\"> * <track kind=subtitles src=brave.en.vtt srclang=en label=\"English\"> @@ -51,7 +51,7 @@ HTMLTrackElement = function() { }; * @description Creates an HTMLTrackElement * @example * var track = document.createElement("track"); - * @PB10 + * @PB10+ * @BB60+ */ HTMLTrackElement.documentConstructor = undefined; @@ -61,7 +61,7 @@ HTMLTrackElement.documentConstructor = undefined; * "descriptions", "chapters", "metadata" * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLTrackElement.prototype.kind = { }; @@ -72,7 +72,7 @@ HTMLTrackElement.prototype.kind = { }; * spaces. This attribute must be presen * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLTrackElement.prototype.src = { }; @@ -83,7 +83,7 @@ HTMLTrackElement.prototype.src = { }; * be present if the element's kind attribute is in the subtitles state. * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLTrackElement.prototype.srclang = { }; @@ -97,7 +97,7 @@ HTMLTrackElement.prototype.srclang = { }; * must not be the empty string. * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLTrackElement.prototype.label = { }; @@ -110,7 +110,7 @@ HTMLTrackElement.prototype.label = { }; * attribute specified. * @type Boolean * @BB60+ -* @PB10 +* @PB10+ */ HTMLTrackElement.prototype.default = { }; @@ -120,7 +120,7 @@ HTMLTrackElement.prototype.default = { }; * @type TextTrack * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLSourceElement.prototype.track = { }; diff --git a/api/html5_media_video.js b/api/html5_media_video.js index 669e5e1502..4c9423d366 100644 --- a/api/html5_media_video.js +++ b/api/html5_media_video.js @@ -43,7 +43,7 @@ HTMLVideoElement = function() { }; * video.src = 'video.avi'; * video.controls = true; * document.body.appendChild(video); - * @PB10 + * @PB10+ * @BB60+ */ HTMLVideoElement.documentConstructor = undefined; @@ -53,7 +53,7 @@ HTMLVideoElement.documentConstructor = undefined; * Width of the video area. * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLVideoElement.prototype.width = { }; @@ -62,7 +62,7 @@ HTMLVideoElement.prototype.width = { }; * Height of the video area. * @type Number * @BB60+ -* @PB10 +* @PB10+ */ HTMLVideoElement.prototype.height = { }; @@ -73,7 +73,7 @@ HTMLVideoElement.prototype.height = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLVideoElement.prototype.videoWidth = { }; @@ -84,7 +84,7 @@ HTMLVideoElement.prototype.videoWidth = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ HTMLVideoElement.prototype.videoHeight = { }; @@ -95,7 +95,7 @@ HTMLVideoElement.prototype.videoHeight = { }; * non-empty URL potentially surrounded by spaces. * @type String * @BB60+ -* @PB10 +* @PB10+ */ HTMLVideoElement.prototype.poster = { }; diff --git a/api/html5_touch.js b/api/html5_touch.js index 6e49f03582..3b7432c4f3 100644 --- a/api/html5_touch.js +++ b/api/html5_touch.js @@ -25,7 +25,7 @@ * @namespace * This interface defines an individual point of contact for a touch event. * @BB60+ -* @PB10 +* @PB10+ */ Touch = function() { } @@ -43,7 +43,7 @@ Touch = function() { * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.identifier = { }; @@ -52,7 +52,7 @@ Touch.prototype.identifier = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.screenX = { }; @@ -61,7 +61,7 @@ Touch.prototype.screenX = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.screenY = { }; @@ -70,7 +70,7 @@ Touch.prototype.screenY = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.clientX = { }; @@ -79,7 +79,7 @@ Touch.prototype.clientX = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.clientY = { }; @@ -88,7 +88,7 @@ Touch.prototype.clientY = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.pageX = { }; @@ -97,7 +97,7 @@ Touch.prototype.pageX = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.pageY = { }; @@ -106,7 +106,7 @@ Touch.prototype.pageY = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.radiusX = { }; @@ -115,7 +115,7 @@ Touch.prototype.radiusX = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.radiusY = { }; @@ -133,7 +133,7 @@ Touch.prototype.radiusY = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.rotationAngle = { }; @@ -146,7 +146,7 @@ Touch.prototype.rotationAngle = { }; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ Touch.prototype.force = { }; @@ -155,7 +155,7 @@ Touch.prototype.force = { }; * @namespace {@link Touch} point list. * This interface defines a list of individual points of contact for a touch event. * @BB60+ -* @PB10 +* @PB10+ */ TouchList = function() {}; @@ -164,7 +164,7 @@ TouchList = function() {}; * @type Number * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchList.prototype.length = {}; @@ -177,7 +177,7 @@ TouchList.prototype.length = {}; * @readOnly * @throws {IndexOutOfBoundsException} When the index is invalid * @BB60+ -* @PB10 +* @PB10+ */ TouchList.prototype.item = function(index) { }; @@ -185,7 +185,7 @@ TouchList.prototype.item = function(index) { }; * returns the first {@link Touch} with long identifier from the list * @BB60+ -* @PB10 +* @PB10+ * @param {Number} identifier the identifier of the touch event to fetch * @returns {Touch} the first {@link Touch} with long identifier from the list */ @@ -204,7 +204,7 @@ TouchEvent = function() { }; * @type TouchList * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.touches = {}; @@ -213,7 +213,7 @@ TouchEvent.prototype.touches = {}; * @type TouchList * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.targetTouches = {}; @@ -223,7 +223,7 @@ TouchEvent.prototype.targetTouches = {}; * @type TouchList * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.changedTouches = {}; @@ -232,7 +232,7 @@ TouchEvent.prototype.changedTouches = {}; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.altKey = {}; @@ -243,7 +243,7 @@ TouchEvent.prototype.altKey = {}; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.metaKey = {}; @@ -252,7 +252,7 @@ TouchEvent.prototype.metaKey = {}; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.ctrlKey = {}; @@ -261,7 +261,7 @@ TouchEvent.prototype.ctrlKey = {}; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.shiftKey = {}; @@ -274,7 +274,7 @@ TouchEvent.prototype.shiftKey = {}; * @type EventTarget * @readOnly * @BB60+ -* @PB10 +* @PB10+ */ TouchEvent.prototype.relatedTarget = {}; @@ -283,7 +283,7 @@ TouchEvent.prototype.relatedTarget = {}; * @type Boolean * @readOnly * @BB60+ -* @PB10 +* @PB10+ * @param {String} type * @param {Boolean} canBubble * @param {Boolean} cancelable @@ -308,7 +308,7 @@ ctrlKey,altKey,shiftKey,metaKey,touches,targetTouches,changedTouches) { * The touchstart, touchend, touchmove, touchenter, touchleave, touchcancel events must be defined on an element. * @toc {Touch} HTML5 Element Touch Events * @BB60+ -* @PB10 +* @PB10+ * @example * <html><head><title>sample</title></head> * <body> @@ -346,7 +346,7 @@ Element = function() { * on the touch surface.

    * The target of this event must be an Element. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ @@ -364,7 +364,7 @@ Element.prototype.ontouchstart = function(event) { }; * The touch point or points that were removed must be included in the changedTouches attribute * of the TouchEvent, and must not be included in the touches and targetTouches attributes. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ @@ -387,7 +387,7 @@ Element.prototype.ontouchend = function(event) { }; * Note that the rate at which the user agent sends touchmove events is implementation-defined, * and may depend on hardware capabilities and other implementation details. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ @@ -398,7 +398,7 @@ Element.prototype.ontouchmove = function(event) { }; * A user agent must dispatch this event type to indicate when a touch point moves onto the * interactive area defined by a DOM element. Events of this type must not bubble. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ @@ -409,7 +409,7 @@ Element.prototype.ontouchenter = function(event) { }; * A user agent must dispatch this event type to indicate when a touch point moves off the * interactive area defined by a DOM element. Events of this type must not bubble. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ @@ -426,7 +426,7 @@ Element.prototype.ontouchleave = function(event) { }; * or implementation is configured to store, in which case the earliest Touch object in * the TouchList should be removed. * @BB60+ -* @PB10 +* @PB10+ * @event * @param {TouchEvent} event */ diff --git a/api/html5_worker.js b/api/html5_worker.js index 600d36c7d2..f022d3cff4 100644 --- a/api/html5_worker.js +++ b/api/html5_worker.js @@ -27,7 +27,7 @@ Worker = function() {}; /** * @description The postMessage() method on Web Workers objects invoked the method of the same name on the port, with the same arguments, and returned the same return value. * @param {Object} message A message to post when worker is created. - * @PB10 + * @PB10+ * @BB50+ * @RIPPLE * @example @@ -57,7 +57,7 @@ Worker = function() {}; * @param {String} [messageText] text message. * @param {String} [senderId] sender ID. * @param {Object} [messageObject] message object when send. - * @PB10 + * @PB10+ * @RIPPLE * @BB50+ */ @@ -67,7 +67,7 @@ Worker = function() {}; * @field * @description The ApplicationCache object associated with this worker * @type ApplicationCache - * @PB10 + * @PB10+ * @RIPPLE * @BB60+ */ diff --git a/build/bbPlugin.js b/build/bbPlugin.js index 9aa33b2e51..f57c6ca259 100644 --- a/build/bbPlugin.js +++ b/build/bbPlugin.js @@ -22,7 +22,7 @@ BBTag = { tableHeader : function(firstColumnName){ - return ""+firstColumnName+"OS 5.0OS 6.0OS 7.0PlayBookRipple"; + return ""+firstColumnName+"BB5.0BB6.0BB7.0PB1.0PB2.0Ripple"; } }; @@ -38,6 +38,7 @@ BBTag.Support.prototype.init = function() { this.bb60 = false; this.bb70 = false; this.pb10 = false; + this.pb20 = false; this.ripple = false; this.common = false; this.resetSupportAttributes(); @@ -74,15 +75,31 @@ BBTag.Support.prototype.resetSupportAttributes = function() { this.supportTable = tableNo + "\n" + tableNo + "\n" + tableNo + "\n"; } - if(this.pb10){ - this.supportStrings.push("BlackBerry PlayBook"); + + + if(this.pb10 && this.pb20){ + this.supportStrings.push("BlackBerry PlayBook 1.0+"); + if(this.supportTag.length){ + this.supportTag += "|"; + } + this.supportTag += "pb1.0|pb2.0"; + this.supportTable += tableYes + "\n" + tableYes + "\n"; + } else if(this.pb20){ + this.supportStrings.push("BlackBerry PlayBook 2.0"); + if(this.supportTag.length){ + this.supportTag += "|"; + } + this.supportTag += "pb2.0"; + this.supportTable += tableNo+ "\n" + tableYes + "\n";; + } else if(this.pb10){ + this.supportStrings.push("BlackBerry PlayBook 1.0"); if(this.supportTag.length){ this.supportTag += "|"; } this.supportTag += "pb1.0"; - this.supportTable += tableYes; + this.supportTable += tableYes + "\n" + tableNo + "\n";; }else{ - this.supportTable += tableNo; + this.supportTable += tableNo + "\n" + tableNo + "\n";; } if(this.ripple){ @@ -101,13 +118,14 @@ BBTag.Support.prototype.resetSupportAttributes = function() { } } -BBTag.Support.prototype.populateByBools = function(bb50, bb60, bb70, pb10, ripple) { +BBTag.Support.prototype.populateByBools = function(bb50, bb60, bb70, pb10, pb20, ripple) { this.bb50 |= bb50; this.bb60 |= bb60; this.bb70 |= bb70; this.pb10 |= pb10; + this.pb20 |= pb20; this.ripple |= ripple; - this.common |= bb50 && bb60 && bb70 && pb10; + this.common |= bb50 && bb60 && bb70 && pb10 && pb20; this.resetSupportAttributes(); }; @@ -124,13 +142,14 @@ BBTag.Support.prototype.populateBySymbol = function(symbol) { var BB70 = symbol.comment.getTag("BB70").length; var BB70P = symbol.comment.getTag("BB70+").length; var PB10 = symbol.comment.getTag("PB10").length; + var PB20 = symbol.comment.getTag("PB20").length; var PB10P = symbol.comment.getTag("PB10+").length; var RIPPLE = symbol.comment.getTag("RIPPLE").length; symbol.support = new BBTag.Support(); symbol.support.populateByBools((BB50 || BB50P), (BB50P || BB60P || BB60), (BB50P || BB60P || BB60 || BB70P || BB70), - (PB10 || PB10P), RIPPLE); + (PB10 || PB10P), (PB20 || PB10P), RIPPLE); this.populateBySupport(symbol.support); } } @@ -147,10 +166,11 @@ BBTag.Support.prototype.populateByString = function(string) { var BB70P = string.equals("BB70+"); var PB10 = string.equals("PB10"); var PB10P = string.equals("PB10+"); + var PB20 = string.equals("PB20"); var RIPPLE = string.equals("RIPPLE"); this.populateByBools((BB50 || BB50P), (BB50P || BB60P || BB60), - (BB50P || BB60P || BB60 || BB70P || BB70), (PB10 || PB10P), RIPPLE); + (BB50P || BB60P || BB60 || BB70P || BB70), (PB10 || PB10P),(PB20 || PB10P), RIPPLE); } }; @@ -159,6 +179,7 @@ BBTag.Support.prototype.populateBySupport = function(support) { this.bb60 |= support.bb60; this.bb70 |= support.bb70; this.pb10 |= support.pb10; + this.pb20 |= support.pb20; this.ripple |= support.ripple; this.common |= support.common; this.resetSupportAttributes();