Jeff Gilbert
e9a175ca67
Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish
2015-02-18 16:57:05 -08:00
James Willcox
c5944da516
Bug 1131793 - Disable SurfaceTexture detach on Mali r=jgilbert
2015-02-14 11:23:01 -06:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Milan Sreckovic
e879ad97c7
Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert
2014-11-10 22:15:22 -05:00
Jeff Gilbert
37012e9ef6
Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel
2014-10-24 18:26:41 -07:00
Jeff Muizelaar
f2786d3f9f
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
Jeff Gilbert
d024308a8d
Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish
2014-11-05 15:04:55 -08:00
Jeff Gilbert
83be6816e7
Bug 1088345 - Misc cleanup. - r=kamidphish
2014-10-27 18:58:03 -07:00
Jeff Gilbert
8cffb89c2b
Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish
2014-10-23 18:55:49 -07:00
Jeff Gilbert
d41ee052e4
Bug 1088345 - Improve glGetError handling. - r=kamidphish
2014-10-24 16:52:35 -07:00
Jeff Gilbert
3f421c31e9
Bug 912196 - Fixes for D3D11 ANGLE. - r=kamidphish
2014-10-08 16:32:50 -07:00
Benoit Jacob
08fbad97d7
Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug
2014-10-16 22:03:34 -04:00
Chris Jones
cc1383c2fc
Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert
2014-10-14 18:24:53 -07:00
David Anderson
47b288ee47
WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456
, r=jgilbert).
...
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
jdashg
9b7291ca7a
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
jdashg
97fbd15434
Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
...
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
dom/canvas/WebGLContext.cpp | 10 +++++--
gfx/gl/GLContext.cpp | 20 --------------
gfx/gl/GLContext.h | 3 --
gfx/gl/GLReadTexImageHelper.cpp | 5 +++-
gfx/gl/GLScreenBuffer.cpp | 13 +++++++--
gfx/gl/GLUploadHelpers.cpp | 27 ++++++++++++++++++
gfx/gl/SharedSurfaceGralloc.cpp | 14 ++++------
gfx/gl/SharedSurfaceGralloc.h | 10 +++++--
gfx/gl/SurfaceTypes.cpp | 2 ++
gfx/gl/SurfaceTypes.h | 1 +
gfx/layers/client/CanvasClient.cpp | 44 ++++++++++++++++++------------
gfx/layers/client/CanvasClient.h | 8 +++---
gfx/layers/client/ClientCanvasLayer.cpp | 6 ++++
gfx/layers/client/ClientCanvasLayer.h | 2 +-
gfx/layers/client/TextureClient.cpp | 11 ++++----
gfx/layers/client/TextureClient.h | 6 ++--
gfx/layers/composite/TextureHost.cpp | 15 +++++-----
gfx/layers/composite/TextureHost.h | 10 +++----
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 9 ++++--
gfx/layers/d3d9/CanvasLayerD3D9.cpp | 8 ++++--
gfx/layers/ipc/LayersSurfaces.ipdlh | 4 +--
gfx/layers/moz.build | 4 ++-
gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
gfx/layers/opengl/GrallocTextureClient.h | 3 ++
24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
bd7ba17b6a
Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
...
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
gfx/2d/HelpersCairo.h | 2 +
gfx/gl/GLContext.cpp | 3 +-
gfx/gl/GLContext.h | 2 -
gfx/gl/GLReadTexImageHelper.cpp | 21 +--
gfx/gl/GLReadTexImageHelper.h | 6 +
gfx/gl/GLScreenBuffer.h | 6 +-
gfx/gl/ScopedGLHelpers.cpp | 40 +++++
gfx/gl/ScopedGLHelpers.h | 26 ++-
gfx/gl/SharedSurface.cpp | 94 +++++++++++
gfx/gl/SharedSurface.h | 19 +++
gfx/gl/SharedSurfaceIO.h | 4 +
gfx/layers/CopyableCanvasLayer.cpp | 3 +-
gfx/layers/client/CanvasClient.cpp | 276 +++++++++++++++++++++++++++++---
gfx/layers/client/CanvasClient.h | 34 ++++
gfx/layers/client/ClientCanvasLayer.cpp | 21 ++-
gfx/layers/client/ClientCanvasLayer.h | 9 +-
gfx/layers/client/TextureClient.cpp | 35 ++++
gfx/layers/client/TextureClient.h | 85 +++++++++-
gfx/layers/composite/TextureHost.cpp | 131 ++++++++++++++-
gfx/layers/composite/TextureHost.h | 64 ++++++++
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 5 +-
gfx/layers/ipc/LayersSurfaces.ipdlh | 5 +
22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
jdashg
4317d9fdda
Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish
2014-10-07 15:17:42 -07: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
Vladimir Vukicevic
a5902d45bc
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)
08d194e807
Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg
2014-07-15 09:55:56 +10:00
Dan Glastonbury
01632be80d
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
Dan Glastonbury
9bea11e617
Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert
2014-09-23 15:49:19 +10:00
Carsten "Tomcat" Book
9158c7274b
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
610a85135f
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
7d49107084
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
4990473894
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
50b7078ecf
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
86c66d6f5a
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
bf3a35dfd6
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
ceeef21bbf
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
23847423b2
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
f49eba2345
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
e3cdc514c4
Bug 1048668 - WebGL2 - Implement CopyBufferSubData.; r=jgilbert
...
--HG--
extra : source : b4c58b9519fc35c634d2a912f3900605ccc081a3
2014-05-27 20:13:09 +10:00
Dan Glastonbury
8cdd97be95
Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob
...
--HG--
extra : source : ba4e3272249d44f13d3923342be5916a5dc8519e
2014-09-18 10:17:00 +10:00
Sotaro Ikeda
aa9fc7efc9
Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert
2014-09-09 18:40:51 -07:00
Botond Ballo
e7dbf26fb2
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
323f57a297
Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish
2014-08-27 16:18:43 -07:00
Jeff Gilbert
9451a4fa01
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 16:16:22 -07:00
Carsten "Tomcat" Book
b2d1c25a26
Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE
2014-08-27 11:15:40 +02:00
Carsten "Tomcat" Book
6d9d5a7a88
Backed out changeset c97ad94c5220 (bug 996266)
2014-08-27 11:15:21 +02:00
Jeff Gilbert
fe2536a833
Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish
2014-08-27 01:31:14 -07:00
Jeff Gilbert
bee2e24b94
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 01:31:14 -07:00
Ryan VanderMeulen
a19bf3acbf
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
e9b504cd9e
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
2014-08-25 18:28:25 -04:00
Jeff Gilbert
2879380ef6
Bug 1049957 - Use UniquePtr for GLScreenBuffer. - r=kamidphish
2014-08-15 17:38:07 -07:00
Dan Glastonbury
8efb306126
Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
...
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
Jeff Gilbert
8ac2792c6c
Bug 1048562 - Add support for NV_fence to GLContext. - r=mattwoodrow
2014-08-04 22:09:20 -07:00
Vladimir Vukicevic
40313e5a6d
b=965848; implement EXT_shader_texture_lod for WebGL; r=jgilbert, r=bz
2014-07-24 11:58:43 -04:00
Benoit Jacob
fedc304e98
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
Jeff Gilbert
4627a00a63
Bug 843673 - Re-enable WebGL instanced drawing, and fix the max instance calculation. - r=kamidphish
2014-07-11 21:53:57 -07:00
Jeff Gilbert
f032a2a672
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Jeff Walden
7f77ce6fe8
Bug 953296 - Convert ScopedDeletePtr to UniquePtr in various bits of canvas/graphics/GL code. r=jgilbert
...
--HG--
extra : rebase_source : cd1e332837ff49199d62805f554bf1123eea334f
2014-01-06 09:49:03 -06:00
Vladimir Vukicevic
e1bf45ca83
b=1009965, be explicit about whether we're quering for core GL symbols or extension GL symbols; r=bjacob,jrmuizel
2014-05-13 17:18:42 -07:00
Sotaro Ikeda
3feadaf7d6
Bug 1022205
- disable sync fence on AdrenoTM200 r=jgilbert
2014-06-24 08:59:59 -07:00
Dan Glastonbury
6b1362b328
Bug 1024256 - Blacklist S3TC extension on OSX 10.9 Intel HD 3000 driver because of buggy glCompressedTexSubImage2D with sub-image update; r=jgilbert
2014-06-16 09:30:04 +10:00
Andreas Gal
f78d29b988
Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow).
2014-05-22 15:05:03 -04:00
Jeff Gilbert
a459231c85
Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish
...
* * *
Bug 980178 - Dither default is true. - r=kamidphish
2014-05-21 19:03:09 -07:00
Nicolas Silva
69c73e6b6b
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Peter Chang
b9eb78db67
Bug 1006336 - Change OwningThreadId in GLContext to PlatformThread::CurrentId(). r=bjacob
2014-05-09 00:18:00 -04:00
Benoit Jacob
f789513539
Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert
2014-05-08 21:03:37 -04:00
Jeff Gilbert
db332a112a
Bug 1004702 - Use KHR_debug in DebugMode(). - r=bjacob
2014-05-06 13:59:18 -07:00
Benoit Jacob
e465a7d089
Bug 999445 - Do not fail GLContext initialization if the GL_VERSION is too low. We may get what we need as extensions. - r=jrmuizel
2014-05-05 15:40:51 -04:00
Benoit Jacob
b8b30aeafd
Bug 990233 - Back out Bug 978479 and Bug 980364 because of a 5% tresize regression on Mac OSX 10.6 - no review, just a backout on a CLOSED TREE
2014-03-31 22:31:24 -04:00
Benoit Jacob
dcf7236aab
Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert
2014-03-31 05:10:49 -04:00
Andreas Gal
260e56ecba
Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob
2014-03-30 17:37:00 +02:00
Jeff Gilbert
18eef3b4d4
Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish
2014-03-17 10:50:15 -04:00
Jeff Gilbert
8f53ae3993
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Jeff Gilbert
7e236f76f8
Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish
2014-03-10 15:42:58 -07:00
Jeff Gilbert
77c841f7fd
Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish
2014-03-07 13:26:17 -08:00
James Willcox
38c98ab8dc
Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert
2014-03-05 15:49:55 -06:00
Dan Glastonbury
105377fc80
Bug 975824 - Disable S3TC compressed texture support on VMware Gallium 0.4 with
...
llvmpipe. r=jgilbert
2014-02-28 16:57:03 +10:00
Milan Sreckovic
825c103203
Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob
2014-02-22 18:53:04 -05:00
George Wright
2e2e65e7e1
Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad
2013-06-07 23:11:58 -04:00
George Wright
309648f662
Back out changesets from bug 910754 due to build bustage
2014-02-18 17:54:04 -05:00
George Wright
ee3c883bbb
Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad
2013-06-07 23:11:58 -04:00
Jeff Gilbert
6c7fc28cfd
Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish
2014-02-13 15:00:12 -08:00
Jeff Gilbert
337c3608dc
Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish
2014-02-13 09:53:53 -05:00
Benoit Girard
15b0d7e7f7
Bug 971154 - Implement APPLE_texture_range. r=jrmuizel
2013-12-12 13:27:10 -05:00
Jeff Gilbert
24c4ab9d4d
Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish
2014-02-10 18:03:12 -05:00
Jeff Gilbert
823f3fef45
Bug 969632 - Make GLContext::fDeleteFoo funcs const-correct. r=bjacob
2014-02-08 21:06:08 -05:00
Ryan VanderMeulen
2b2cf89a68
Backed out changeset 8d885b139d7d (bug 912280) for bustage.
2014-02-07 10:38:27 -05:00
Jeff Gilbert
0db3af46b0
Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish
2014-02-07 10:21:49 -05:00
Vladimir Vukicevic
9d5d5dab4a
b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert
2014-01-23 12:47:56 -05:00
Benoit Jacob
7bdb8095bb
Bug 943925 - Fix the loading of the glDrawBuffers symbol - r=jgilbert
2014-01-10 22:14:17 -05:00
Benoit Jacob
af24b2af27
Bug 958256 - Mark standard_derivatives as unsupported on Vivante drivers - r=jgilbert,snorp
2014-01-10 14:50:25 -05:00
Benoit Jacob
f02a9b87ea
Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
7bf05f5074
Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv
2014-01-07 15:02:19 -05:00
Benoit Jacob
6d0a696864
Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert
2014-01-07 15:02:19 -05:00
Benoit Jacob
36c0991352
Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv
2014-01-07 15:02:18 -05:00
Benoit Jacob
4d8fcc24c1
Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
bb2984e1eb
Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
1c4c105204
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
3526b0f910
Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert
2014-01-02 10:17:22 -05:00
Benoit Jacob
4d5ddfd5df
Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert
2014-01-02 10:17:20 -05:00
Benoit Jacob
bd21578d7f
Bug 877115 - some compilation fixes - no review, trivial build fix
2014-01-01 14:47:19 -05:00
Andreas Pehrson
8884428616
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
bbf9fe777c
Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical
2013-12-10 17:11:58 +01:00
Andreas Pehrson
aef8f7cc05
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Isura Edirisinghe
ffae418d41
Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa
2013-12-19 11:42:19 -05:00
Vladimir Vukicevic
bff1f38394
b=929511; fix WGL context sharing; r=bjacob
2013-12-18 13:09:10 -05:00
Wes Kocher
df8b1437b6
Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
...
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson
96f82c49cb
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
2fdd39a52c
Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical
2013-12-10 17:11:58 +01:00
Andreas Pehrson
a5a5fddae5
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Dan Glastonbury
01884a573b
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
aef4e1d147
Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob
2013-12-06 10:36:13 -05:00
Ryan VanderMeulen
8648eb6908
Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage.
2013-12-04 20:42:55 -05:00
Dan Glastonbury
6377363d81
Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob
2013-12-04 15:41:22 +10:00
Benoit Jacob
6ffd3ab0a6
Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
6896c52e8a
Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
30d72ed7e8
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
b56cec3f0a
Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
884f878ce5
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
988099a6e9
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Nicolas Silva
da4c52ba6c
Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob
2013-12-03 11:44:37 +01:00
Dan Glastonbury
7f73b68e55
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Dan Glastonbury
a940e05e20
Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad
2013-11-29 14:16:40 +10:00
Dan Glastonbury
47033c5692
Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob
2013-11-26 13:25:25 +10:00
Benoit Jacob
1095b2aa48
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
cbc3e900a8
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
3b791ff17d
Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa
2013-11-28 15:57:19 -05:00
Nicholas Nethercote
39004db706
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Benoit Girard
16ac6804b2
Bug 935476 - Remove OpenGL printf on mac startup. r=nical
2013-11-06 08:04:12 -05:00
Dan Glastonbury
821c4d7a3f
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
7fddf413ca
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
93f44b676a
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
Jeff Gilbert
b1a54ea7bd
Bug 910429 - Add KHR_debug support to GLContext. - r=bjacob
2013-10-08 16:20:24 -07:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Robert O'Callahan
4dc1ffe65a
Bug 923194. Make GLContext::InitWithPrefix not fatally assert when the GL version is too low. r=bjacob
...
--HG--
extra : rebase_source : 50af716547bbfb7cd25a828d708b2a9553e91c56
2013-10-03 07:40:28 -04:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Benoit Jacob
ba3c27b014
Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert
2013-09-30 20:58:57 -04:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Jeff Gilbert
4c067b3083
Bug 916816 - Disable broken ANGLE divisor support. - r=bjacob
2013-09-19 15:25:35 -07:00
Benoit Jacob
a653be5aa4
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
75c8eab846
Bug 905227 - On Android Emulator, assume that OES_rgb8_rgba8 is available even though it's not in the GL_EXTENSIONS string - r=nical
2013-09-06 08:03:08 -04:00
Benoit Jacob
8ec75b058c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Ryan VanderMeulen
7560a62586
Backed out changeset 630b25ba7f69 (bug 910429) for build bustage on a CLOSED TREE.
2013-08-29 12:10:44 -04:00
Jeff Gilbert
8a29b39cdc
Bug 910429 - Implement KHR_debug in GLContext. r=bjacob
2013-08-29 11:41:08 -04:00
Guillaume Abadie
526e4870a5
bug 899855 - GLContext parse GL_VERSION - r=bjacob,jgilbert
2013-08-29 10:07:58 -04:00
Nicholas Nethercote
23e35ad8e1
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Jeff Gilbert
2115df8d82
Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob
2013-08-27 18:00:16 -04:00
Guillaume Abadie
b85947a3df
bug 905161 - Remove the return type of GLContext::MarkUnsupported - r=jgilbert
2013-08-23 19:33:42 -04:00
Guillaume Abadie
0dcbcd0abc
bug 905161 - Cache OpenGL features in GLContext - r=jgilbert
2013-08-23 19:33:42 -04:00
Guillaume Abadie
046654aff1
bug 907946 - re-enable EXT_packed_depth_stencil on OS X 10.9 - r=bjacob,jgilbert
2013-08-22 20:13:59 -04:00
Guillaume Abadie
35912f7684
bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert
2013-08-22 13:42:05 -04:00
Guillaume Abadie
4f2b0458e0
bug 903481 - step 2 - [WebGL 2.0] transform feedback: add symbols in GLContext - r=jgilbert
2013-08-20 11:36:20 -04:00
Guillaume Abadie
ca5a59e93f
bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert
2013-08-15 20:43:47 -04:00
Guillaume Abadie
55c9d6f3f5
bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert
2013-08-15 15:58:20 -04:00
Adrian May
c1c1f4e2e2
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Edwin Flores
803c0fbe47
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Guillaume Abadie
25e763c7a5
bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert
2013-08-06 20:05:51 -04:00
Guillaume Abadie
78c2cdc107
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Guillaume Abadie
94299686a9
bug 901084 - remove deprecated GLContext extension group queries. - r=bjacob
2013-08-02 21:13:46 -04:00
Guillaume Abadie
8eddab1693
bug 900101 - GLContext let extension group queries XXX_* use mVersion and mProfile - r=jgilbert,bjacob
2013-08-02 17:30:58 -04:00
Guillaume Abadie
d951e1339f
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Guillaume Abadie
b788dccc0a
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Birunthan Mohanathas
9763ee3807
Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
...
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
Guillaume Abadie
5d5eae3520
Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert
2013-07-18 11:24:23 -04:00
Guillaume Abadie
016c951407
Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert
2013-07-18 10:31:01 -04:00
Matt Woodrow
14d7db3093
Bug 875232 - Make most of the GLContext helper functions take a texture target parameter so that we can support GL_TEXTURE_RECTANGLE. r=jgilbert
2013-07-17 23:24:15 -04:00
Milan Sreckovic
5d093e62f7
Bug 879656 - Clamp the maximum texture size(s) on Nvidia Mac, even on 10.8+. r=jgilbert
...
8k too large, 8k-1 working. Same limit on the render buffer size. Note that <10.8 are already limited to 4k by the bug 877949.
2013-07-09 17:35:32 -04:00
Joe Drew
960ebf1aa0
Back out bug 807096 for causing bug 891568.
2013-07-11 17:07:11 -04:00
Matt Woodrow
aaba06e7d1
Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
...
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Markus Stange
68c124a82c
Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow
2013-07-08 21:21:05 -07:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
4c463d2865
Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes.
2013-07-04 13:25:50 -04:00
Ryan VanderMeulen
f23d636f4e
Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes.
2013-07-03 10:14:11 -04:00
Matt Woodrow
f5a46f0d03
Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow
2013-06-13 17:15:15 +12:00
Phil Ringnalda
c81f1a24d5
Backed out 43e688b70d84 (bug 843667) for compilation failures
...
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
ccb76e6652
bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob
2013-07-02 16:50:31 -04:00
Milan Sreckovic
2d149e7643
Bug 807096 - Lower the limit on the Intel+Mac to 2048, but only on <10.8. Leave the limit at 4096 otherwise. r=bjacob
2013-06-26 13:53:23 -04:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
a7e54e5fa6
bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob
2013-06-27 17:07:21 -04:00
Vladimir Vukicevic
b8077c2b8c
b=705022; make GL layers work on Windows; r=bjacob
2013-06-21 14:22:18 -04:00
Ehsan Akhgari
688d6881b1
Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
...
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
4b4d3d8e70
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Guillaume Abadie
69a846c1a8
bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob
2013-06-21 19:44:17 -04:00
James King
6a6df20b46
Bug 738869 - Implement OES_vertex_array_object. r=jgilbert
2013-06-17 16:17:59 -04:00
Matt Woodrow
17e0dc2972
Bug 877949 - Restrict maximum texture size on nvidia cards on OSX 10.6 and 10.7 to 4096. r=bjacob
2013-06-17 14:46:53 +12:00
Guillaume Abadie
5cb8bce316
Bug 879954 - Implement OES_texture_float_linear - r=bjacob
2013-06-10 16:00:52 -04:00
Thomas Zimmermann
127c3fa498
Bug 838995: Improve component swapping when reading texture in RGBA format r=vlad
...
The function SwapRAndBComponents spends a lot of time in the loops while
walking over the image data. This patch reworks the looping such that the
function only takes 75% of its original time.
2013-06-10 16:00:58 +02:00
Jeff Gilbert
8a70df11c7
Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob
2013-06-04 15:23:40 -07:00
Aryeh Gregor
8b16f79037
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Jeff Gilbert
717900bdd3
Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob
2013-05-22 00:05:38 -07:00
Chris Lord
120069ee3f
Bug 869696 - Add AdrenoTM205 to renderer enum. r=bjacob
...
Add the 'Adreno (TM) 205' renderer string to the renderer enum in GLContext.
2013-05-15 16:43:22 +01:00
Matt Woodrow
63acdae78b
Bug 870211 - Always save and restore the current framebuffer during BlitTextureImage. r=jgilbert
2013-05-16 15:45:42 +12:00
Jon Buckley
68bdfcf2af
Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob
2013-05-13 09:22:30 -04:00
Nicolas Silva
066185423f
Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert
2013-05-07 02:23:40 -04:00
Jeff Gilbert
c4e9935490
Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson
2013-04-25 09:35:50 -07:00
Benoit Jacob
0c8945b8ca
Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert
2013-04-20 10:08:18 -04:00
Bas Schouten
839048be74
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
James Willcox
cc9902a6e9
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
2013-03-22 15:22:20 -04:00
Ed Morley
d0059a0bf6
Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE
2013-03-22 19:10:24 +00:00
James Willcox
e08e31b8c3
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
...
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
George Wright
91af913758
[PATCH 5/9] Bug 807500 - Add a bunch of required GL wrapper methods to GLContext for use with Skia-GL r=mattwoodrow
...
From 280a6de21b11d92c287ec8d35daffd34179b6e94 Mon Sep 17 00:00:00 2001
---
gfx/gl/GLContext.cpp | 26 +++++++++++++++++
gfx/gl/GLContext.h | 73 +++++++++++++++++++++++++++++++++++++++++++++++
gfx/gl/GLContextSymbols.h | 20 +++++++++++++
3 files changed, 119 insertions(+)
2012-11-01 12:11:42 -04:00
Jeff Gilbert
df010bad60
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
James Willcox
dc9a4a513c
Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad
2013-02-23 12:14:11 -05:00
Jeff Gilbert
3c4c057a91
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
2f50db2b9c
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
adefde2afe
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
dcb992f562
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
6e032aab6c
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Filippo Cristofoletti
e8ee797a85
Bug 755031 - Clear warnings in gfx/gl. r=jmuizelaar
2013-01-28 10:09:14 -05:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jeff Gilbert
b1595c1045
Bug 797664 - Don't spew wwhen optional functions aren't found - r=vlad
2012-12-18 23:16:02 -08:00
Milan Sreckovic
430f21acef
Bug 814839 - Disable WebGL depth textures on Mac NVIDIA - r=jgilbert,bjacob, a=abillings
2012-12-18 16:23:40 -05:00
Kartikaya Gupta
5ed801d300
Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn
2012-12-16 19:16:26 -05:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Bill Gianopoulos
1e198b525f
Bug 814716 - Limit MaxCubeMapTextureSize for Nouveau to 2K - r=jgilbert
2012-11-26 18:21:39 -05:00
Jeff Gilbert
a9a0fc4866
Bug 811958 - Move TextureImage into its own files - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
1039582660
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
e744903408
Bug 811958 - Move TextureImage to its own files - r=bgirard
2012-11-26 12:51:58 -08:00
George Wright
4f2bed6ee9
Bug 814171 - Intercept calls for maximum texture/framebuffer sizes in GLContext::fGetIntegerv r=jgilbert
2012-11-13 17:35:35 -05:00
Jeff Gilbert
d9a04350b5
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Benoit Jacob
64b67de1c3
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
faf08d911a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Luqman Aden
ab8b047314
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Ehsan Akhgari
e15d129ab3
Backout changeset 25fd2119c8e1 (bug 714937) for possible orange
2012-09-06 18:51:02 -04:00
Luqman Aden
0f1d23f090
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Jeff Gilbert
aa54bdb4ef
Bug 735932 - Fix no-alpha ReadPixels on Mac+nVidia - r=bjacob
2012-08-31 16:47:03 -07:00
Kan-Ru Chen (陳侃如)
6ef13bcd6a
Bug 787045 - Call TexParameter on the correct target. r=bgirard
2012-08-30 15:39:01 -03:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
f928964d5a
Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob
2012-08-21 20:30:20 -07:00
Jeff Gilbert
ae272e1e5c
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
Jeff Gilbert
88506f3b6e
Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard
2012-08-20 17:13:32 -07:00
Alexander Boldyrev
51cb65d942
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Benoit Jacob
1ec8a85786
Bug 778765 - Work around nouveau driver bug by changing samples=1 to samples=0 - r=jgilbert
2012-08-03 11:08:11 -04:00
Vladimir Vukicevic
e71e1c59a0
b=779019, GLContext being destroyed on wrong thread with OMTC textures and shared handles; r=jgilbert
2012-08-01 14:57:54 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Gilbert
a695d8ec1c
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-19 21:14:14 -07:00
Jeff Gilbert
be91e4f40e
Backed out changeset d4a04cc38326
2012-07-18 15:23:47 -07:00
Jeff Gilbert
cc1778b63f
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-18 14:17:10 -07:00
Vladimir Vukicevic
3bf3ba878d
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob
2012-07-06 09:19:27 -04:00
Jeff Gilbert
1c23b37d56
Bug 758844 - Requiet gfx/gl code spew - r=bjacob
2012-07-17 08:26:12 -07:00
Oleg Romashin
72bbf76294
Bug 728524 - Invalid OP fix. r=jgilbert
2012-07-15 11:11:17 -04:00
Ryan VanderMeulen
a9d0f1da9e
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Vladimir Vukicevic
418b3b2069
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Jeff Gilbert
65e0a44265
Bug 769949 - GuaranteeResolve() must BlitDirtyFBOs() - r=bjacob
2012-07-06 16:38:16 -07:00
Vladimir Vukicevic
7445ad31b2
backout bug 767064, 1f9c66d66df4
2012-07-06 11:08:21 -04:00
Vladimir Vukicevic
80b6e38fcd
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Benoit Jacob
4a30412000
Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert
2012-07-05 10:13:46 -04:00