Commit Graph

503 Commits

Author SHA1 Message Date
Matt Woodrow
d817c835cb 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
672c8c479e Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Matt Woodrow
aed9928e36 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
0a0470e24e 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
72845cb9a4 Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Benoit Jacob
89317548d7 Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Benoit Jacob
cf277719ab Bug 987828 - 1/4 - Move stuff to a new WebGLContextDraw.cpp file - r=jgilbert 2014-03-31 05:10:49 -04:00
Dan Glastonbury
7ba983a0d0 Bug 973625 - Implement WebGLFramebuffer completeness status caching. r=jgilbert 2014-03-04 17:14:35 +10:00
Nathan Froyd
af496ca80d Bug 978105 - convert content/ to use Endian.h; r=smaug 2014-02-26 20:20:15 -05:00
Jeff Gilbert
bdd584a1f9 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Jeff Gilbert
174f9afdda Bug 978418 - Split GetError flags for WebGL. - r=kamidphish 2014-03-07 13:16:34 -08:00
Jeff Gilbert
3b07bd07e9 Bug 958723 - Check for valid FB first. - r=gabadie 2014-03-05 14:16:02 -08:00
Jeff Gilbert
776480c934 Bug 978422 - ReattachTextureToAnyFramebufferToWorkAroundBugs no longer needed. - r=bjacob 2014-03-03 18:50:45 -08:00
Jeff Gilbert
334d711ec9 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
7edfede1ef Bug 972164 - Fix behavior of reading from missing attachments. - r=kamidphish 2014-02-28 18:51:43 -08:00
Dan Glastonbury
ca73aaa504 Bug 975824 - Fix compressed texture checks. - r=jgilbert 2014-02-26 16:32:17 -08:00
Ryan VanderMeulen
e570ee9a32 Backed out changesets e4c29a3a002e and 896d64c59638 (bug 975824) for webgl conformance test failures. 2014-02-26 10:23:18 -05:00
Dan Glastonbury
0a6531f3f6 Bug 975824 - Fix compressed texture checks. r=jgilbert 2014-02-26 08:07:17 +10:00
Dan Glastonbury
8a1cf924df Bug 966624 - Refactor Tex Image checks. r=jgilbert 2014-02-20 20:20:28 -05:00
Jeff Gilbert
0cc4c9ce10 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
cbe63e3970 Bug 972622 - MakeCurrent during WebGL.compressedTex(Sub)Image2D(). - r=kamidphish 2014-02-14 15:52:39 -08:00
Jeff Gilbert
e7879e4d09 Bug 972620 - MakeCurrent during WebGL.hint(). - r=kamidphish 2014-02-14 15:52:38 -08:00
Jeff Gilbert
e4528ecd3d 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
4507e98ad6 Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jeff Gilbert
0acca0a9a0 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
57f9c5bee8 Bug 968374 - Implement WEBGL_debug_shaders. r=bjacob 2014-02-11 17:37:06 -05:00
Vladimir Vukicevic
9e20208adb 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
a988bc2a34 b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Dan Glastonbury
b0fd3de97e Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
e291e9fb5f 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
2b561084d6 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
fa8ee47d0f Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury 2014-01-22 19:59:34 -08:00
Jeff Gilbert
8a8208c468 Bug 962392 - Whitespace fixes. - r=dglastonbury 2014-01-22 19:59:33 -08:00
Guillaume Abadie
53a1d7c749 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
55e7c24065 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
8174b9386e Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Jeff Gilbert
8b8af90e99 Bug 933009 - Warn when drawing to a destination smaller than the viewport. r=bjacob 2014-01-10 08:41:04 -05:00
Matt Woodrow
533d84ea6d Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Jon Coppeard
8df69733b1 Bug 944675 - Fix some spurious rooting hazards in WebGL. r=bjacob 2013-12-02 11:55:25 -05:00
Benoit Jacob
408ab9b951 Bug 924600 - WebGL.getUniform should not throw - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
bc4b90e06f 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
68d16e5b58 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
607685cff8 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
Ed Morley
d2181e5021 Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00
Dan Glastonbury
5fef90e0a1 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.
2013-10-16 08:27:59 -04:00
Benoit Jacob
2237243c41 Bug 922921 - Consistently check attrib accesses in WebGLVertexArray. Also rename a few things. - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
4737a2f39a Bug 924191 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelFormat enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
0af3a472b6 Bug 924189 - Use MOZ_BEGIN_ENUM_CLASS for the WebGL VertexAttrib0 enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
8ed3756915 Bug 924188 - Use MOZ_ASSERT where appropriate in WebGL code - r=jgilbert 2013-10-11 09:16:43 -04:00