Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jeff Gilbert 02edeadd27 Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-12 17:48:11 -07:00
JerryShih 184798636b Bug 1236785 - return WebGLTexture cache value for GetTexParameter() call. r=mtseng
--HG--
extra : rebase_source : 6c5d6358f6f4ee0f3c5f4e09a2b17998657415e8
2016-08-02 20:20:00 +02:00
Jeff Gilbert 901ccc3aeb Bug 1291083 - Textures with depth-compare should be filterable. - r=mtseng
This also makes depth-textures follow filtering rules, whereas before we
allowed filtered depth textures for WEBGL_depth_texture.

MozReview-Commit-ID: LxepCb4WEkr
2016-08-03 12:24:39 -07:00
Jeff Gilbert 407bc3c38c Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert 274060010c Bug 1136494 - Add WebGLTexture::IsFeedback. - r=mtseng
MozReview-Commit-ID: 9kyomMFgDmS
2016-07-18 00:19:19 -07:00
Jeff Gilbert c98755a4a2 Bug 1285676 - Use actual bit depths for depth and stencil. - r=ethlin
MozReview-Commit-ID: FX3Ev3noJ6U
2016-07-11 13:10:18 -07:00
Jeff Gilbert 381a9f281a Bug 1265676 - Fix other callsites. - r=ethlin
MozReview-Commit-ID: EgLMZajmRnD
2016-07-08 15:25:58 -07:00
Jeff Gilbert e535650d5e Bug 1281098 - Cache LOCAL_GL_TEXTURE_COMPARE_MODE since we need it for validation. - r=ethlin
MozReview-Commit-ID: 6bboJTWuEP7
2016-07-07 09:13:45 -07:00
Jeff Gilbert d6126ddf02 Bug 1281098 - Disallow querying texture swizzle. - r=ethlin
MozReview-Commit-ID: 5XrJGHL2afo
2016-07-07 09:13:45 -07:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Morris Tseng 571b20fd9f Bug 1242347 - Allow unsized internal format when generate mipmap. r=jgilbert
--HG--
extra : commitid : BMfNLWIwGbn
2016-01-29 10:58:05 +08:00
Ethan Lin d0a5f2f401 Bug 1239259 - Fix WebGL2 generateMipmap checking. r=jgilbert
--HG--
extra : rebase_source : 7bc5579f227ee5c21e2019aec53ac225e4e2dca9
2016-01-13 02:08:00 +01:00
Morris Tseng 6e90a4c6fc Bug 1230089 - If sampler is bound, use parameter of sampler. r=jgilbert
--HG--
extra : commitid : JF12eiQS7m8
2016-01-21 14:49:41 +08:00
Jeff Gilbert 10befa1b39 Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish 2015-12-14 16:14:03 -08:00
Jeff Gilbert 7f34e60540 Bug 1228885 - Implement WebGLTexture::MemoryUsage. - r=kamidphish 2015-12-14 15:58:29 -08:00
Jeff Gilbert 19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda 71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert 87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
jdashg 7d1bbd8f2d Bug 1188010 - Use MOZ_RELEASE_ASSERT. r=dglastonbury
Use MOZ_RELEASE_ASSERT when failure means overflows.
From b9fe1e06f63a785f309e1ce7e5053cb57e21e634 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLTexture.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--HG--
extra : rebase_source : 81b89bbd224d6f77f62c5fa5f2ac8b14a8373128
2015-07-29 14:37:54 -07:00
Jeff Gilbert f0e28e9429 Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Dan Glastonbury 5c6afce69a Bug 1151736 - Lose context on OOM instead of crashing. r=jgilbert 2015-06-17 23:49:35 -04:00
Dan Glastonbury e1b36d0a84 Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Jeff Gilbert d8a57f41fb Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Milan Sreckovic 31ef03baac Bug 1151736 - More information to pick up with crash reports. r=jgilbert
--HG--
extra : rebase_source : 905a9b6d27b4ff3a1b0dcac2314c331d1de6bf9a
2015-04-23 11:57:10 -07:00
Jeff Gilbert 28bb60187d Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07:00
Jeff Gilbert f1a5b9e646 Bug 1143979 - Use RAII local instead of useless temporary. - r=kamidphish 2015-03-16 19:38:06 -07:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Phil Ringnalda 578e542299 Back out f7657171e034 (bug 1017865) for relanding after already being backed out because it causes orange
CLOSED TREE
2015-03-16 21:32:52 -07:00
Jeff Gilbert 39df8cb30e Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 18:22:17 -07:00
Wes Kocher 31035937f5 Backed out changeset ff27f90ed289 (bug 1017865) for gl orange 2015-03-16 18:03:40 -07:00
Jeff Gilbert fb77ab1278 Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 12:48:52 -07:00
Jeff Muizelaar 9abf7c02bb Bug 1090518. Fix crash during webgl-depth-texture.html conformance test. r=jrmuizel
The crash happens because we get a GL error back from glTexImage2D when we try
to glTexImage2D a depth texture in EnsureNoUnitializedImageData. Uploading
glTexImage2D is not supported with the ANGLE_depth_texture extension. We need
to use the framebuffer path.

--HG--
extra : rebase_source : db249208c3f13c05d3f603f85b5614885171a9fb
2014-12-08 11:36:19 -05:00
Jeff Gilbert 44fbf3bf13 Bug 1099427 - Reformat WebGL. - r=kamidphish 2014-11-13 20:03:50 -08:00
Dan Glastonbury 89a0a8b4f6 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.

--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
2014-11-17 12:21:04 +10:00
Phil Ringnalda 9d65fddd43 Back out changeset 63d194784378 (bug 1002281) for b2g build bustage
CLOSED TREE
2014-11-13 21:51:22 -08:00
Dan Glastonbury 155f4147de Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.

--HG--
extra : source : 3e8c03d1e6a7845a608c4770981cec1dd8b09977
2014-11-14 14:15:10 +10:00
Jeff Gilbert 47497b0b94 Bug 1083611 - Use UniquePtr and fallible allocations. - r=kamidphish 2014-10-15 20:11:30 -07:00
David Anderson 785bc4dd68 WebGL2: support TEXTURE_BASE_LEVEL and TEXTURE_MAX_LEVEL (bug 1080957, r=jgilbert). 2014-10-16 13:07:01 -07:00
David Anderson e37e3a23b5 Backout 2cf543c271dc (wrong patch, no bug, r=me).
--HG--
extra : rebase_source : 7a88c22454dcfeb8ac848c5807ead7679a6e8d9f
2014-10-16 13:04:35 -07:00
David Anderson 120dbbef83 WebGL2: support TEXTURE_BASE_LEVEL and TEXTURE_MAX_LEVEL. (bug 1080957, r=jgilbert)
--HG--
extra : rebase_source : 599bd05e07d9a9f1b1e9f73255c5ef275358806a
2014-10-15 02:07:34 -07:00
David Anderson a0f363d21e WebGL2: Support non-power-of-two textures. (bug 1080921, r=jgilbert).
--HG--
extra : rebase_source : 6d948f27ec14cea54211f62dc0dc813419eb5151
2014-10-14 19:10:15 -07:00
Benoit Jacob 1d66ded08a Bug 1081125 - WebGL2 3D textures - Part 2: update our texture state tracking to handle 3D textures - r=jgilbert 2014-10-13 19:42:20 -04:00
Benoit Jacob 58b03977ff Bug 1080137 - WebGL2: misc fixes to make new tex formats and sized internalformats actually work - r=jgilbert 2014-10-09 16:07:07 -04:00
Benoit Jacob 460206c009 Bug 1077183 - Untangle the confusion between effective and unsized internalformats in the WebGL implementation - r=jgilbert 2014-10-07 19:52:58 -04:00
Peter Van der Beken dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Dan Glastonbury ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E) 08d194e807 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Dan Glastonbury c7adc4e4fe Bug 1075305 - WebGL2 - remove WebGL prefix from WebGLTexture::ImageInfo.; r=bjacob
--HG--
extra : rebase_source : f724d3f293f83f8e905175e1be6e9f6987e58454
extra : source : dc6fbe00f4d764b7f02818667addf12f038b72f3
2014-09-30 13:50:00 +10:00
Dan Glastonbury 97e4f7f9a6 Bug 1705305 - Rename WebGLTexture::ImageInfo::WebGLFormat to WebGLTexture::ImageInfo::WebGLInternalFormat.; r=bjacob
--HG--
extra : rebase_source : 72cb9f5d79b6c349697f107ff1689a421cefbe66
extra : source : ccc10059a97fe9a9fd684cbdb553c75c6403808c
2014-07-15 09:55:33 +10:00