Commit Graph

1069 Commits

Author SHA1 Message Date
jdashg
07e1c17c24 Bug 1066280 - Implement GLScreenBuffer simplification. - r=kamidphish
From 2aa5dfd3c1e0ef8d8033ad1daf864455fb01f87b Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLScreenBuffer.cpp | 70 +++++++++++++++++++++++------------------------
 gfx/gl/GLScreenBuffer.h   | 36 ++++++++----------------
 2 files changed, 45 insertions(+), 61 deletions(-)
2014-10-07 21:01:07 -07:00
jdashg
6d823f1215 Bug 1066280 - Implement ShSurfHandle. - r=kamidphish
From 09b5a1bc279f051e1e491b33e20a5b492ea7ef51 Mon Sep 17 00:00:00 2001
---
 gfx/gl/SharedSurface.cpp | 10 ++++++++++
 gfx/gl/SharedSurface.h   | 38 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 1 deletion(-)
2014-10-07 20:59:37 -07:00
jdashg
db4dc7eea4 Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish 2014-10-07 15:17:42 -07:00
Matt Woodrow
ef02a5191e Bug 1078109 - Make sure we initialize tiled textures to the format we're going to upload with. r=jgilbert
--HG--
extra : rebase_source : a779c602a9ef55f8a36e0e5886302f3d3d9624f0
2014-10-08 13:10:59 +13:00
Benoit Jacob
fa5701d40d Bug 1077183 - Untangle the confusion between effective and unsized internalformats in the WebGL implementation - r=jgilbert 2014-10-07 19:52:58 -04:00
Vladimir Vukicevic
6714de3f8e Bug 912196. Add support for ANGLE D3D11 path. r=jgilbert
There are currently problems with the color format chosen
which breaks MSAA resolution. But we might as well land this
now.

--HG--
extra : rebase_source : 1287e5c059e263d03b0d612ce5cf17e93bc5b033
2014-04-03 13:29:22 +08:00
Dan Glastonbury ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E)
bfb2a90964 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Jeff Gilbert
f4aae2ef5e Bug 1048108 - Don't require alpha on ANGLE. - r=kamidphish 2014-10-01 17:05:34 -07:00
Jeff Gilbert
149d30b424 Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-10-01 17:05:33 -07:00
Dan Glastonbury
3f6740fe9b Bug 1048747 - WebGL2 - GL symbols for GetIntegeri_v and GetInteger64i_v.; r=jgilbert
--HG--
extra : rebase_source : d4c5a1a6e4a5c6f772a4f69c2ff3edab50d0d6e4
extra : source : 9929d6519682ca1b0dac4e7390349a2254d711c5
2014-05-27 20:21:30 +10:00
Wes Kocher
896634e61a Backed out 2 changesets (bug 1048108) for b2g build bustage
Backed out changeset dc8fac10012d (bug 1048108)
Backed out changeset 5da1e1c4c706 (bug 1048108)
2014-09-25 16:33:28 -07:00
Jeff Gilbert
c406262aef Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-09-25 16:00:43 -07:00
Dan Glastonbury
05f0ddca7a Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert 2014-09-23 15:49:19 +10:00
Jeff Gilbert
0cfe76c68c Bug 1048108 - Exclude RGBA configs when alpha:false. - r=kamidphish 2014-09-24 16:42:27 -07:00
Carsten "Tomcat" Book
41e716addf Backed out changeset 231c5214e07c (bug 1048741) for crashtest and m2 test failures on a CLOSED TREE 2014-09-24 08:15:19 +02:00
Dan Glastonbury
160257411d Bug 1048741 - WebGL2 - GL symbols for 3D textures.; r=jgilbert
--HG--
extra : rebase_source : f1ab1982187f5c611a0f13fbcdb38414b2fe8942
2014-09-23 15:50:10 +10:00
Dan Glastonbury
a4dfc5b21c Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert
--HG--
extra : rebase_source : 4465ba102179f3ae338f19632d77547686df0220
2014-09-23 15:49:19 +10:00
Dan Glastonbury
839c715371 Bug 1048724 - WebGL2 - GL symbols for Transform Feedback.; r=jgilbert
--HG--
extra : rebase_source : f47b2a8203b0dc23dd871987c2b2f7dae28b2723
extra : source : a0ecb0468b8a2998b676da63678938d9f9d58f52
2014-09-23 15:47:28 +10:00
Dan Glastonbury
4d657b3afc Bug 1048745 - WebGL2 - GL symbols for gpu_shader_4.; r=jgilbert
--HG--
extra : rebase_source : 9da56a67fc59ef27a8ff28e960bfc1175a6fc936
extra : source : 0c1b303c73fa1f7dad836235d4916ae6b618bfe2
2014-09-23 15:27:55 +10:00
Dan Glastonbury
ed219148b2 Bug 1048745 - WebGL2 - GL symbols for VertexAttribI.; r=jgilbert
--HG--
extra : rebase_source : 57ceb97a1f21c85427c8108ea7ff41f93fe24789
extra : source : 0d1c61620e601c851f61cd062e42204c2e50e3e0
2014-09-23 15:38:01 +10:00
Dan Glastonbury
9aa93c1e81 Bug 1048745 - WebGL2 - GL symbols for uniformui & non-square uniform matrix.; r=jgilbert
--HG--
extra : rebase_source : bd47b6bbde06ba7f8a945aa55f751d8a3c074946
extra : source : 5b135f5f9492b2606c593ad0c800488f6a51274c
2014-09-23 15:33:55 +10:00
Dan Glastonbury
124f503f5f Bug 1048720 - WebGL2 - GL symbols for Samplers.; r=jgilbert
--HG--
extra : rebase_source : e166bb27c051843bc469389fddd8fce8ef425ad3
extra : source : 2203b912f17e2f501f9bf65343dfadb05256dfd8
2014-09-23 15:45:34 +10:00
Dan Glastonbury
3af160802a Bug 1048747 - WebGL2 - GL symbols for Uniform Buffers.; r=jgilbert
--HG--
extra : source : 34a79f131e233c980416deb8bae23a4bcca2b4c5
extra : histedit_source : 1951d9d8a7bad6e7074d0cca60bbced7dd7bb765
2014-07-14 14:34:17 +10:00
Dan Glastonbury
70966ffdb8 Bug 1048693 - WebGL2 - GL symbols for MapBufferRange.; r=jgilbert
--HG--
extra : source : 60f8018abde66d8ec07329fabaa0a7131acf84da
extra : histedit_source : b4fa1e2d81c7c007479ae2409233a600fc75c257
2014-08-08 11:47:13 +10:00
Dan Glastonbury
a4bccb2220 Bug 1048668 - WebGL2 - Implement CopyBufferSubData.; r=jgilbert
--HG--
extra : source : b4c58b9519fc35c634d2a912f3900605ccc081a3
2014-05-27 20:13:09 +10:00
Dan Glastonbury
2f2cd73379 Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob
--HG--
extra : source : ba4e3272249d44f13d3923342be5916a5dc8519e
2014-09-18 10:17:00 +10:00
Walter Litwinczyk
6d8f5db799 Bug 933530 - Remove mDataIsCurrent from SharedSurfaceGL. r=jgilbert 2014-09-12 11:37:58 -07:00
Jeff Gilbert
39ac1c0389 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Morris Tseng
37b98a932a Bug 1067283 - Flip NS_WARNING_IF check at GLReadTexImageHelper::ReadTexImge. r=nical 2014-09-15 03:05:00 +02:00
James Willcox
fe19d22a4b Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Walter Litwinczyk
c8cb692903 Bug 806301 - Fail early if creating an antialiased buffer will fail. Prevents assert in LLVM pipe. r=jgilbert 2014-08-21 14:59:25 -07:00
Sotaro Ikeda
f65c85b016 Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert 2014-09-09 18:40:51 -07:00
Milan Sreckovic
ccebd554ec Bug 1033098: Wallpaper over the intermittent crash. r=nsilva 2014-09-03 15:11:55 -04:00
Ryan VanderMeulen
bf444cfddf Backed out changeset d5cd910dda69 (bug 1033098) for OSX assertions. 2014-09-03 14:18:24 -04:00
Milan Sreckovic
015d04568b Bug 1033098 - Wallpaper over the intermittent crash. r=nsilva 2014-09-02 10:19:52 -04:00
Jeff Gilbert
d8b3a82e21 Bug 1060085 - Add thread-local Fence/Poll/Wait to Basic ShSurf. - r=kamidphish 2014-09-02 15:16:02 -07:00
Jeff Gilbert
fb74033dcf Bug 1060085 - Add entrypoints, use NV_fence in ANGLE ShSurfs. - r=kamidphish 2014-09-02 15:15:41 -07:00
Ehsan Akhgari
907e3c92d4 Bug 1060918 - Do not rely on two implicit conversions in GLContextProviderWGL.cpp for clang-cl compatibility; r=jrmuizel
This works around http://llvm.org/PR20821.
2014-09-02 12:20:50 -04:00
James Willcox
2344972256 Bug 1056947 - Don't enable GLFeature::draw_buffers (and therefore WEBGL_draw_buffers) on GLES3 r=jgilbert
--HG--
extra : rebase_source : b2ba97bf610bc414ab744ab08d788b740d518578
2014-09-02 09:57:55 -05:00
Nicolas Silva
f63936f7f6 Bug 1059793 - Mark the compositor's gl context destroyed before the widget is gone. r=jgilbert 2014-09-02 14:05:00 +02:00
chiajung hung
ff630e0862 Bug 1060121 - Make WebGLContext::TexImage2D avoid readback for video elements on Windows. r=jgilbert 2014-08-31 21:00:00 +02:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Botond Ballo
3adfa2126f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Jeff Gilbert
fca978efc7 Bug 996266 - Fix bustage. 2014-08-27 16:18:46 -07:00
Jeff Gilbert
5604ecbabd Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 16:18:43 -07:00
Jeff Gilbert
1909c23f43 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 16:16:22 -07:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Carsten "Tomcat" Book
4c3afc78a3 Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Carsten "Tomcat" Book
af4818e820 Backed out changeset c97ad94c5220 (bug 996266) 2014-08-27 11:15:21 +02:00
Jeff Gilbert
8c76c4faf2 Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 01:31:14 -07:00
Jeff Gilbert
51bd4b867c Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
18e3296080 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Kartikaya Gupta
942bbe220f Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Jeff Gilbert
744c5939d7 Bug 1053635 - Expose SharedSurfaceEGL::mImage. r=romaxa 2014-08-14 15:07:00 -04:00
Jeff Gilbert
691712da17 Bug 1049957 - Fixes from reviews. - r=kamidphish 2014-08-15 17:38:09 -07:00
Jeff Gilbert
794ccee7a4 Bug 1049957 - Use custom std::queue wrapper instead of std::queue<UniquePtr<T>>. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
7e8c7b365e Bug 1049957 - Fix compilation errors. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
2cf705f5f5 Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
16a3efd798 Bug 1049957 - Use RefPtr for SurfaceStream. - r=kamidphish 2014-08-15 17:38:07 -07:00
Jeff Gilbert
163982a614 Bug 1049957 - Use UniquePtr for GLScreenBuffer. - r=kamidphish 2014-08-15 17:38:07 -07:00
Ehsan Akhgari
7ef2679c79 Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Dan Glastonbury
cb6ddd36cd Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
George Wright
a9787ed881 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
bd2dd7bfd9 [PATCH 04/15] Bug 1017113 - Remove GL functions no longer required by Ganesh r=mattwoodrow 2014-07-27 20:52:33 -04:00
Vladimir Vukicevic
4a3c43c587 b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Jeff Gilbert
0627be2bfd Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
3862869a53 Bug 1045955 - Tighten requirements for framebuffer_blit, and use GL_FRAMEBUFFER when unavailable. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
dabc675938 Bug 1045955 - Allow blitting 'internal' fb0. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
262e1bfb58 Bug 1045955 - Make snapshots pick RGBA or RGBX. - r=kamidphish 2014-08-07 19:03:24 -07:00
Jeff Gilbert
45ca81fe4b Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow 2014-08-04 22:10:47 -07:00
Jeff Gilbert
5fc8008878 Bug 1048562 - Add support for NV_fence to GLContext. - r=mattwoodrow 2014-08-04 22:09:20 -07:00
David Zbarsky
42e6fcdddb Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Ryan VanderMeulen
3f0602b523 Backed out changeset aef0101ff775 (bug 1045955) for B2G reftest failures.
CLOSED TREE
2014-07-30 14:43:30 -04:00
Jeff Gilbert
5b7a8b438f Bug 1045957 - Improve code in GLReadTexImageHelper.cpp. - r=mattwoodrow 2014-07-30 10:35:30 -07:00
Jeff Gilbert
d90bab70f8 Bug 1045955 - Fix compositing for screen-based WebGL ShSurfs. - r=kamidphish 2014-07-30 10:03:07 -07:00
Jeff Gilbert
457db03869 Bug 1045955 - Fix style. - r=kamidphish 2014-07-30 10:03:07 -07:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
26605d5924 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
Carsten "Tomcat" Book
3796d48fad Merge mozilla-central to b2g-inbound a=sheriffduty 2014-07-29 11:22:53 +02:00
Michael Wu
e3f2258c10 Bug 1042949 - Remove gScreenBounds hack in GLContextProviderEGL.cpp, r=jgilbert 2014-07-22 17:33:03 -04:00
Benoit Jacob
bc7ef79326 Bug 978966 - Disable framebuffer_multisample on Microsoft Basic Render Driver because it assumes blending with default blendfunc, breaking WebGL - r=kamidphish 2014-07-25 10:35:03 -04:00
Gautam Akiwate
8fddacb296 Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical 2014-07-23 21:13:00 +02:00
Vladimir Vukicevic
057227f686 b=965848; implement EXT_shader_texture_lod for WebGL; r=jgilbert, r=bz 2014-07-24 11:58:43 -04:00
Benoit Girard
46261cf888 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Michael Wu
dd2019bc8b Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert 2014-06-17 17:19:11 -04:00
chiajung hung
98dd3ed73d Bug 814524 - Change YUV=>RGB formula to a more precise version. r=jgilbert 2014-07-14 19:46:00 -04:00
Walter Litwinczyk
4e0ac38e86 Bug 1024196 - Fix leak of |i| variable in CreateGrGLInterfaceFromGLContext. r=gw280 2014-07-09 13:40:40 -07:00
Jeff Gilbert
92e122aeeb Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
3ccc4361db Backed out changeset 53f0f0e43ea5 2014-07-11 21:59:48 -07:00
Jeff Gilbert
b8162652b5 Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 21:58:00 -07:00
Jeff Gilbert
794e13ab01 Bug 843673 - Re-enable WebGL instanced drawing, and fix the max instance calculation. - r=kamidphish 2014-07-11 21:53:57 -07:00
Jeff Walden
5fd487b8e0 Bleh, forgot to qref, still fixing bug 1037100. r=bustage 2014-07-11 21:05:59 -07:00
Jeff Walden
30e19aea13 Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Jeff Walden
a0c2a5a108 Bug 1037100 - Remove all ScopedDeleteArray uses from gfx/gl/. r=jgilbert
--HG--
extra : rebase_source : fff244a14da1605f8c6db552925f5bc4b34fb106
2014-07-10 17:43:01 -07:00
Jeff Gilbert
28df0dd6c9 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jonathan Watt
c885ba1f0b Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis 2014-07-11 08:06:38 +01:00