Commit Graph

64 Commits

Author SHA1 Message Date
Tooru Fujisawa
7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Gilbert
d568b44c3c Bug 1478216 - Don't init tex images in FBAttachment::IsComplete. r=kvark
Also:
- Only init the base tex level for GenerateMipmap.
- Change ZeroTextureData warning into a perf warning.

Differential Revision: https://phabricator.services.mozilla.com/D9177
2018-10-24 15:59:11 -07:00
Jeff Gilbert
68b0ccbab3 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 13:52:16 -07:00
Gurzau Raul
ff2bc5ca0b Backed out changeset 4b5b1ff23dd7 (bug 1372157) for failing at webgl-conf/generated/test_2_conformance2__vertex_arrays__vertex-array-object.html on a CLOSED TREE 2018-10-24 22:46:34 +03:00
Jeff Gilbert
4f57ad7f07 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 11:30:58 -07:00
Jeff Gilbert
4098f41704 Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
Net-removes 700LOC, too!

Differential Revision: https://phabricator.services.mozilla.com/D8325

--HG--
extra : moz-landing-system : lando
2018-10-17 04:18:15 +00:00
Jeff Gilbert
b5299cdebb Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca
5ef9c6f716 Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert
8e0436b208 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Jeff Gilbert
c95b959d03 Bug 1481283 - Use SamplingState for both WebGLTexture and WebGLSampler state. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D2795

--HG--
extra : moz-landing-system : lando
2018-08-07 19:12:09 +00:00
dmu@mozilla.com
280b27a0fb Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert
MozReview-Commit-ID: LN2diy41A2Z

--HG--
extra : rebase_source : d77ee2b289348e0609bac248dfab670c72623fa0
2017-07-18 18:02:57 +00:00
Jeff Gilbert
4da6480883 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
Jeff Gilbert
ac2df6af8a Bug 1325476 - Use helper for Parameter[fi] funcs instead of maybeFloat/IntParam. - r=daoshengmu
MozReview-Commit-ID: 3jGFXfDNkPt
2016-12-25 13:44:38 -08:00
Jeff Gilbert
3587cf5c07 Bug 1323626 - Initialize tex image data during completeness checks. - r=daoshengmu
MozReview-Commit-ID: 9g5EETBEfU2
2016-12-25 13:44:24 -08:00
Jeff Gilbert
51d744aa93 Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Chih-Yi Leu
3988aaaef5 Bug 1316544 - Fix conformance test fail in texture-image-webgl-specific r=jgilbert 2016-11-17 21:22:00 +01:00
Jeff Gilbert (:jgilbert)
cafb4ccac4 Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
ab4d2d1cc5 Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: GEYMTnqC9Q3
2016-10-31 15:03:00 -07:00
Jeff Gilbert
34aa7ab5f7 Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-15 16:42:25 -07:00
Sebastian Hengst
765223d123 Backed out changeset ca7b62d9efb7 (bug 1293845) 2016-08-13 12:38:25 +02:00
Jeff Gilbert
fb75e3bc05 Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-12 18:07:54 -07:00
Jeff Gilbert
c6bdac40c5 Bug 1288649 - 2-arg ctors shouldn't be explicit.
MozReview-Commit-ID: 8yZeVcOj3Et
2016-07-25 14:46:25 -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
41c0b57871 Bug 1280499 - Implement PBOs for textures. - r=jrmuizel
MozReview-Commit-ID: 3FCinT9hS8j
2016-07-25 13:52:41 -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
11dc123610 Bug 1136508 - Detect CopyTexImage feedback loops. - r=mtseng
MozReview-Commit-ID: G1RsyyYMacp
2016-07-13 11:58:22 -07:00
Jeff Gilbert
9e7f59719d Bug 1286348 - Reintroduce support for UNPACK_{FLIP_Y,PREMULTIPLY_ALPHA}. - r=mtseng
MozReview-Commit-ID: 2KGHc3I2HzT
2016-07-13 02:16:14 -07:00
Jeff Gilbert
8a6d29efd0 Bug 1281098 - Fix UNPACK_ handling. - r=jrmuizel
MozReview-Commit-ID: Au9eiKSxquJ
2016-07-07 09:13:45 -07:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04: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
Lars T Hansen
49063542c0 Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb
--HG--
extra : rebase_source : 65b6b69a0a5fd7987d390832cedf844588a41846
2015-11-26 12:47:53 +01: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
Jukka Jylanki
ba964b1f9c Bug 1147441 - Add SharedArrayBuffer support to WebGL and WebGL 2. r=jgilbert, r=bzbarsky
--HG--
extra : histedit_source : 141390e44859f0cdb1692979f08f873ad3480754
2015-10-14 11:18:19 +05:30
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
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04: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
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
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