Commit Graph

509 Commits

Author SHA1 Message Date
Wes Kocher
2a39b6c319 Backed out changeset 350f36f463d5 (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:08 -07:00
Jeff Gilbert
e137b6ef97 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-12 17:56:31 -07:00
Dan Glastonbury
1cbb6a129c Bug 1003607 - Sort out usage of GL format and type into WebGL and driver versions for texture checks.; r=jgilbert
--HG--
extra : histedit_source : 264a9c21c788769f58194615e4e1d3ab347d8eea%2C368e45fc7a1ab6aa0712ce027ff8bd6716fa3048
2014-05-02 13:15:58 +10:00
Dan Glastonbury
36cd97c45d Bug 994755 - Part 1. Fix the source of MOZ_CRASH in GetWebGLTexelFormat(). r=jgilbert 2014-04-28 09:54:13 +10:00
Benoit Jacob
10f5ba6bb9 Bug 989325 - Make WebGLExtensionID a typed enum, and WebGLContext::mExtensions an enumerated array - r=jgilbert 2014-04-25 22:34:07 -04:00
Jeff Gilbert
10e41be39e Bug 996269 - Lazily clear the WebGL backbuffer. - r=kamidphish 2014-04-17 13:15:41 -07:00
Matt Woodrow
86b6375508 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
ba19928c26 Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Matt Woodrow
09beb252fa Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Jonathan Watt
200e95e9eb Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Boris Zbarsky
c420001bda Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Benoit Jacob
dcf7236aab Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Benoit Jacob
1819defe43 Bug 987828 - 1/4 - Move stuff to a new WebGLContextDraw.cpp file - r=jgilbert 2014-03-31 05:10:49 -04:00
Dan Glastonbury
0dc933b311 Bug 973625 - Implement WebGLFramebuffer completeness status caching. r=jgilbert 2014-03-04 17:14:35 +10:00
Nathan Froyd
fb7c786978 Bug 978105 - convert content/ to use Endian.h; r=smaug 2014-02-26 20:20:15 -05:00
Jeff Gilbert
77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Jeff Gilbert
1d89b62419 Bug 978418 - Split GetError flags for WebGL. - r=kamidphish 2014-03-07 13:16:34 -08:00
Jeff Gilbert
50b8293e47 Bug 958723 - Check for valid FB first. - r=gabadie 2014-03-05 14:16:02 -08:00
Jeff Gilbert
a967da761e Bug 978422 - ReattachTextureToAnyFramebufferToWorkAroundBugs no longer needed. - r=bjacob 2014-03-03 18:50:45 -08:00
Jeff Gilbert
ca5d893fe6 Bug 972164 - Fix readPixels to generate INV_FB_OP on incomplete FB before INV_OP. - r=kamidphish 2014-02-28 18:51:43 -08:00
Jeff Gilbert
882e78657d Bug 972164 - Fix behavior of reading from missing attachments. - r=kamidphish 2014-02-28 18:51:43 -08:00
Dan Glastonbury
fb07271785 Bug 975824 - Fix compressed texture checks. - r=jgilbert 2014-02-26 16:32:17 -08:00
Ryan VanderMeulen
9a9bc462b1 Backed out changesets e4c29a3a002e and 896d64c59638 (bug 975824) for webgl conformance test failures. 2014-02-26 10:23:18 -05:00
Dan Glastonbury
dac459231c Bug 975824 - Fix compressed texture checks. r=jgilbert 2014-02-26 08:07:17 +10:00
Dan Glastonbury
936c641c73 Bug 966624 - Refactor Tex Image checks. r=jgilbert 2014-02-20 20:20:28 -05:00
Jeff Gilbert
7803ea9c55 Bug 968425 - Remove the null-term char from the end of getShaderInfoLog strings. r=bjacob 2014-02-19 11:45:38 -05:00
Jeff Gilbert
ac1081a45a Bug 972622 - MakeCurrent during WebGL.compressedTex(Sub)Image2D(). - r=kamidphish 2014-02-14 15:52:39 -08:00
Jeff Gilbert
4ec451bb78 Bug 972620 - MakeCurrent during WebGL.hint(). - r=kamidphish 2014-02-14 15:52:38 -08:00
Jeff Gilbert
445022f759 Bug 970775 - Fix error gen'd by CopyTex(Sub)Image2D for incomplete FBs. - r=bjacob 2014-02-13 15:08:08 -08:00
Jeff Gilbert
6c7fc28cfd Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Jon Coppeard
d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jeff Gilbert
8d67707629 Bug 968374 - Fix the null-term char being left on the string we return to JS. r=bjacob 2014-02-11 17:37:06 -05:00
Jeff Gilbert
2637bba125 Bug 968374 - Implement WEBGL_debug_shaders. r=bjacob 2014-02-11 17:37:06 -05:00
Vladimir Vukicevic
535c23ba82 b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert 2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
69d8bb943a b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Dan Glastonbury
b26469689a Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
ba7d298928 Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
b538dd25e8 Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.

With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
Jeff Gilbert
ece68b1952 Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury 2014-01-22 19:59:34 -08:00
Jeff Gilbert
49b5a372fe Bug 962392 - Whitespace fixes. - r=dglastonbury 2014-01-22 19:59:33 -08:00
Guillaume Abadie
f766dd3c2d bug 958491 - Fixes bug in WebGLContext::GetFramebufferAttachmentParameter(gl.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING) when sRGB extension is not enabled - r=jgilbert 2014-01-10 22:42:09 +01:00
Benoit Jacob
a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
f02a9b87ea Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Jeff Gilbert
71376fa894 Bug 933009 - Warn when drawing to a destination smaller than the viewport. r=bjacob 2014-01-10 08:41:04 -05:00
Matt Woodrow
478e3354a1 Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Jon Coppeard
c2df9c5ce5 Bug 944675 - Fix some spurious rooting hazards in WebGL. r=bjacob 2013-12-02 11:55:25 -05:00
Benoit Jacob
617a91c62b Bug 924600 - WebGL.getUniform should not throw - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
a4aaf958e7 Bug 935303 - WebGL.texImage2D should not throw when passed a not-yet-loaded image - r=jgilbert 2013-11-23 21:20:48 -05:00
Jeff Gilbert
7d0adeab24 Bug 936738 - 'uniform{2,3,4}i' should not check for valid sampler texUnit values. r=bjacob 2013-11-12 08:31:32 -05:00
Dan Glastonbury
821c4d7a3f Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.

OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00