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

53 Коммитов

Автор SHA1 Сообщение Дата
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 ccb6840964 Bug 1326385 - Handle undefined images in BlitFramebuffer. - r=kvark
MozReview-Commit-ID: 3FjzETVL0AZ
2017-01-02 02:29:24 -08:00
Jeff Gilbert f74960ccbf Bug 1325333 - Check type of buffer to be cleared by Clear[Buffer]. - r=daoshengmu
MozReview-Commit-ID: 8A37aTeW25t
2016-12-29 02:45:08 -08:00
Jeff Gilbert dc3a2d1239 Bug 1325311 - Only test BlitFramebuffer feedback for masked bits. - r=daoshengmu
MozReview-Commit-ID: 8CAvVwK7V3m
2016-12-25 13:44:33 -08:00
Jeff Gilbert 2df2270570 Bug 1324157 - Check dst colorDrawBuffers against src in BlitFramebuffer. - r=lenzak800
MozReview-Commit-ID: 1vzUTG4RD5
2016-12-16 18:46:18 -08:00
Jeff Gilbert 51d744aa93 Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Jeff Gilbert 9527a1fad7 Bug 1303879 - Refresh DrawBuffers and ReadBuffer to handle GL4.0 and below. - r=mtseng
GL4.0 and below requires that framebuffers are incomplete if any DrawBuffers/ReadBuffer-selected
buffers have no image attached.

MozReview-Commit-ID: 8SFiy2tvgPT
2016-09-22 19:13:20 -07:00
Jeff Gilbert 9cf1f83f01 Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert 15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 5ca4e283fa Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -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 8a8e457903 Bug 1136508 - Removed unused READ_BUFFER out-var from ValidateCurFBForRead. - r=mtseng
MozReview-Commit-ID: 4qOQNbMkfUX
2016-07-13 11:58:29 -07:00
Jeff Gilbert 3773a30362 Bug 1276096 - Introspect for readBuffer mode. - r=jrmuizel 2016-05-26 18:07:03 -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
Ethan Lin d1268b5e73 Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
MozReview-Commit-ID: FYMiMaiRhii

--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Jeff Gilbert c6dad7bd09 Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
Jeff Gilbert 30a228420f Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish 2015-12-14 16:11:59 -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
Dan Glastonbury 66e4dad1c7 Bug 1193070 - Implement GetFramebufferAttachmentParameter. r=jgilbert 2015-10-20 12:46:28 +10:00
Dan Glastonbury 14d3e07d65 Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dan Glastonbury 90a7ccba6d Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert 2015-06-10 13:24:16 +10:00
Andrew McCreight 0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Andrea Marchesini cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Jeff Gilbert 28bb60187d Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07: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
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 Gilbert e9a175ca67 Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08: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
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
Walter Litwinczyk 112e53d4aa Bug 1071233 - WebGL add strong GLenum support for framebuffers and renderbuffers. r=jgilbert 2014-09-25 08:21:33 -07:00
Benoit Jacob 72649e9c80 Bug 1071340 - Convert to STRONG_GLENUM: TexType, TexFormat, TexInternalFormat - r=djg 2014-09-23 13:48:27 -04:00
Walter Litwinczyk c73cf2e884 Bug 1063053 - Add stronger types to WebGL texture code for better debug/compile time checking. r=jgilbert,kamidphish 2014-09-18 16:14:22 -07:00
Ryan VanderMeulen cc2e8a05ac Backed out changeset 944bd4284ace (bug 1063053) for B2G bustage. 2014-09-19 13:59:51 -04:00
Walter Litwinczyk c80eaa53c3 Bug 1063053 - Add stronger types to WebGL texture code for better debug/compile time checking. r=jgilbert,kamidphish 2014-09-18 16:14:22 -07:00
Ehsan Akhgari 0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Walter Litwinczyk 59ee65220d Bug 1049960 - WebGL generate invalid operation errors when copyTex[Sub]Image2D is called with a format that is not a subset of the FBO format. r=jgilbert 2014-08-20 13:38:42 -07:00