Commit Graph

95 Commits

Author SHA1 Message Date
Jeff Gilbert
823f94b861 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Doug Sherk
ae49bccc9b Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Benoit Jacob
5baa9423b5 Bug 638328 - use builtinclass and remove do_QueryInterface - r=peterv 2011-10-13 08:09:22 -04:00
Doug Sherk
c642a9ad58 Bug 684853: implement OES_standard_derivatives
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Benoit Jacob
8e063fc244 Bug 658856 - implement drawingbufferWidth/Height - r=jmuizelaar
These are new WebGLRenderingContext attributes exposing the actual drawing buffer size
2011-09-01 15:28:34 -04:00
Nikhil Marathe
e1e71c9345 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap 2011-08-01 15:50:04 -07:00
Michael Wu
0af1d6a7cc Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Nikhil Marathe
70aba5153d Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap 2011-08-01 15:50:04 -07:00
Ms2ger
298a726134 Bug 651858 - Address comments; pending-r=roc 2011-07-05 12:15:17 +02:00
Chris Jones
d218fe5257 Bug 662038, parts 1, 4-5: Add canvas.mozDash and .mozDashOffset. r=joe sr=vlad 2011-06-29 14:34:58 -07:00
Chris Jones
dc0bebcf00 Bug 664884, parts 1-4: Implement mozCurrentTransform/mozCurrentTransformInverse attributes for manipulating the canvas CTM. r=joe,roc sr=vlad 2011-06-29 14:34:58 -07:00
Nikhil Marathe
d7226ad258 Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap 2011-06-14 15:37:21 -04:00
Chris Jones
5cae6b2d6d Bug 655926: Implement canvas.mozFillRule. sr=vlad 2011-06-09 19:15:13 -07:00
Benoit Jacob
c33a3efb0d Bug 636942 - remove _LENGTH constants - r=jrmuizel
These constants do not exist in WebGL.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
04380376c8 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benjamin Smedberg
2ecdcc2c6e Bug 617539 - Merge nsIDOMWebGLRenderingContext_MOZILLA_2_0_BRANCH, r=jrmuizel 2011-03-25 11:03:35 -04:00
Benoit Jacob
e0fac3fa40 Bug 632587 - 3/3 - add isContextLost - r=jrmuizel, a=joe 2011-03-01 17:25:22 -05:00
Benoit Jacob
69d9cc6f5a Bug 632587 - 2/3 - add isContextLost - r=jrmuizel, a=blocking2.0 2011-03-01 17:25:22 -05:00
Vladimir Vukicevic
32d955bddc Bug 632587 - 1/3 - implement getSupportedExtensions - r=bjacob, a=blocking2.0 2011-03-01 17:25:22 -05:00
Vladimir Vukicevic
ef3151e4e3 b=622956; [webgl] add stub extension mechanism, fixes extension tests; r=bjacob 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
342702e87d b=586938; missing VIEWPORT property on WebGL context; r=mrbkap,a=b 2010-12-20 20:08:03 -08:00
Vladimir Vukicevic
fdf07cc2fc b=619485; add WebGL info to about:support; r=jrmuizel,a=beltzner 2010-12-16 12:49:54 -08:00
Benoit Jacob
fe31b174d4 Bug 617319 - HTML5 canvas 2d context arc() method requires a parameter that should be optional - r=vladimir, a=joe 2010-12-08 10:56:01 -05:00
Benoit Jacob
62e8b57bf5 Bug 613306 - fix bufferSubData quickStub - r=vlad 2010-12-06 06:34:35 -05:00
Saint Wesonga
29e4aefe26 Bug 498826 - Implement optional putImageData arguments. r+a=vlad 2010-12-04 16:44:26 +01:00
Benoit Jacob
bc7d8a94ad Bug 613324 - update WebGL constants - r=vladimir 2010-11-25 08:59:35 -05:00
Vladimir Vukicevic
2b50cc0166 b=612334; fix webgl context type; r=bz 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
895126cd03 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Benoit Jacob
a637a05a8d Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
db0cbcb824 Bug 593496 - Fix WebGL textures: conversions, flipping, premultiplication, unpack alignment - r=vladimir 2010-10-15 17:50:15 -04:00
Vladimir Vukicevic
6310e8e90b b=593850; [webgl] fix bad-arguments and null-object-behaviour tests; r=bjacob, a=b 2010-09-13 08:57:25 -07:00
Benoit Jacob
0cf355aad2 Bug 592416 - Various WebGL fixes - r=vladimir 2010-09-02 10:38:26 -04:00
Benoit Jacob
3946e6ca20 Bug 585199 - Implement WebGLActiveInfo, remove NativeJSContext, adapt WebGL code to that - r=vladimir a=blocking2.0 2010-08-23 17:03:49 -04:00
Vladimir Vukicevic
08af2ba123 b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Bobby Holley
ad6577523c Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad 2010-07-26 17:20:45 -04:00
Benoit Jacob
da94c1cf46 b=576086; Remove sizeInBytes from WebGL; r=vladimir 2010-07-03 18:27:56 -04:00
Jason Duell
329d95e7d9 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).
2010-06-22 17:33:57 -07:00
Doug Turner
2f64431802 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
2010-06-07 13:38:02 -07:00
Doug Turner
d161b29832 merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
2010-05-11 11:09:54 -07:00
Benoit Jacob
30e986a615 b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir 2010-06-19 10:46:12 -04:00
Benoit Jacob
ce79cd52c3 b=567499; fix getuniform for bool uniforms and return nsIVariant; r=vladimir 2010-06-19 10:43:40 -04:00
Benoit Jacob
102996c96e b=567499; let getXxxParameter functions return nsIVariant; r=vladimir 2010-06-19 10:42:43 -04:00
Benoit Jacob
08954757b8 b=571027; implement new PixelStorei parameters for textures; r=vladimir 2010-06-15 11:59:39 -04:00
Benoit Jacob
edb6d58886 b=571027; implement new TexImage2D signatures; r=vladimir 2010-06-15 11:54:03 -04:00
Benoit Jacob
b332455dad b=571076; Implement GetAttachedShaders; r=vladimir 2010-06-15 11:49:34 -04:00
Benoit Jacob
e3525ff059 b=571028; remove GetString and merge into GetParameter as per the updated spec; r=vladimir 2010-06-11 17:45:40 -04:00
Benoit Jacob
10776d7401 b=569714; Fix GetParameter and let it return nsIVariant; r=vladimir 2010-06-11 17:36:34 -04:00
Josh Aas
57da8961d2 nsICanvasRenderingContextWebGL.idl shouldn't define GL_TRUE or GL_FALSE. b=563372 r=vlad 2010-05-03 14:10:36 -04:00
Doug Turner
8160dff0bb Merge with mc 2010-03-08 10:09:55 -08:00
Doug Turner
d9d6fc223c Merge 2010-03-01 15:36:51 -08:00