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

205 Коммитов

Автор SHA1 Сообщение Дата
Benoit Girard 677ccfe9c3 Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard 997a81e71b Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard 73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
George Wright fbad42468a Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob 2012-03-04 21:43:51 -05:00
Michael Wu d25c224c40 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Ryan VanderMeulen 7b54dcd2ff Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu 6c9437b47a Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Matt Woodrow 22950a7371 Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob 2012-03-03 13:12:57 +13:00
Benoit Girard a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard 7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard 76425a9557 Merge mc->maple 2012-03-01 10:44:44 -05:00
Joe Drew 419f5ec1a4 Bug 728625 - Add support for vertically flipping textured quads generated with RectTriangles and DecomposeIntoNoRepeatTriangles. r=bjacob,gw280
--HG--
extra : rebase_source : f42bd3c951651339d2ecb1286a6ac5c9e65ddd7d
2012-02-29 14:15:12 -08:00
George Wright 1b0eda7141 Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Benoit Jacob ae146ef230 Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel 2012-02-29 15:49:55 -05:00
Benoit Girard f7caef0932 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Joe Drew 72d3d42dc9 Bug 729132 - Correctly handle the case that we try to draw a texture with x = width. r=mattwoodrow
--HG--
extra : rebase_source : 02d84bf78ef60d84dfb96832cd39267f5d99aa38
2012-02-24 15:08:31 -08:00
George Wright 63a3bbdbb3 Bug 728041 - Only release the surface and not the context. r=ajuma 2012-02-24 16:20:15 -05:00
Doug Turner 809efed1a1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Benoit Girard 9e04faad35 Backout f8b7cca3297f, our leaktool can't handle statics :( 2012-02-23 20:10:23 -05:00
Benoit Girard 6ef478ff48 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 17:51:57 -05:00
Benoit Girard 9e30bd44f5 backout 6ae546e8bc55 2012-02-23 17:53:40 -05:00
Benoit Girard 9916a55c1c Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 16:04:38 -05:00
Florian Boesch 401b77d113 Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Doug Turner 754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Oleg Romashin 4ed0326156 Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob 2012-03-06 23:29:38 +01:00
Daniel Holbert a66edabba0 backout 29ee49bff6a1 (Bug 726396) due to webgl test failures 2012-02-22 16:37:36 -08:00
Jeff Gilbert 630e09b9ce Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-02-22 14:08:24 -08:00
Joe Drew 4686626a0b Bug 728631 - remove a bunch of accidentally-committed debug code. 2012-02-21 13:15:39 -08:00
Joe Drew 9d423073c5 Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
George Wright fa376f2332 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Joe Drew 72e396cbc0 Bug 727311 - Disable BGRA readback support in GLES 2. r=bjacob 2012-02-18 18:12:33 -08:00
Brad Lassey e5e9a2b04c merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey 0ad51deb55 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton c18e9e380e Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ehsan Akhgari 638d30962f Remove the warning because it's not useful, r=joe
--HG--
extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
2012-02-17 15:12:06 -05:00
Patrick Walton 786095c4e3 Bug 727688 - Disable tiles on SGX 540 to fix tearing 2012-02-17 13:33:37 -08:00
Doug Turner 3f133bfdd1 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Oleg Romashin 5e0573d238 Bug 732143 - WebGL on maemo6 N9 does not work anymore after FBO switch 720467. r=joe 2012-03-02 11:28:06 -06:00
Benoit Jacob 609a95266e Bug 713305 - fix copyright year - r=joedrew 2012-03-02 12:00:12 -05:00
Matt Woodrow b01db32e07 Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe 2012-02-15 16:03:05 -05:00
Benoit Girard e03562cb0e Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 16:02:39 -05:00
Benoit Girard d574234713 Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 15:09:15 -05:00
Matt Woodrow 131b3ab55f Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe 2012-02-15 22:28:21 +13:00
Benoit Girard 2d48ade1d9 Change tilesize to 256x256 for progressive upload and adreno POT uploads 2012-02-14 13:19:46 -05:00
Mike Hommey 2154f9b1b1 Bug 728656 - Avoid crashing when there are no GL extensions reported by the GL implementation. r=bjacob 2012-02-20 08:04:38 +01:00
Benoit Girard e7dd21c01b Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Joe Drew c899b32b95 Bug 725747 - Immediately translate setting the default FBO into our offscreen FBO, rather than setting it and unsetting it before and after GL draw commands. r=jgilbert 2012-02-09 20:57:26 -05:00
Jeff Gilbert feb8d25c93 Bug 728724 - Check for BGRA read support correctly - r=bjacob 2012-03-12 15:21:16 -07:00
Jeff Gilbert eca5baa8f9 Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-03-12 15:10:38 -07:00
Benoit Girard 6bcb6bfee6 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma 7d3fe66eb2 Code cleanup. 2012-02-09 17:39:04 -05:00
Benoit Girard f470edbef2 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Benoit Girard 598956719c Undo accidental mq push (no commit hooks for mq) 2012-02-08 12:14:20 -05:00
Benoit Girard d1937e5ef7 imported patch TexSize256 2012-02-08 10:50:48 -05:00
Benoit Girard 2573568aeb Fix includes 2012-02-07 18:02:47 -05:00
Benoit Girard 25068bf858 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
George Wright 18a9d1b7ae Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob 2012-03-04 21:43:51 -05:00
George Wright 0ce69de369 Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Ali Juma 0e90b797ea Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Benoit Girard 9aa616b976 Missing piece to previosu patch (bad queue management)
--HG--
extra : rebase_source : 9fcc71c557c659e1c8846e7032a4ccccf9c0e43b
2012-02-06 15:41:24 -05:00
Benoit Girard 23dae9f016 Transplanet: Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma
--HG--
extra : rebase_source : 94595465a2b3eb3140f11e932a32575629a266dc
2012-02-06 15:15:36 -05:00
Marco Bonardo 3aa6f0a8fc Merge central to inbound 2012-03-01 16:05:54 +01:00
Matt Woodrow 72f481f48f Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
George Wright 00ac02b9c7 Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext 2012-01-30 15:09:02 -05:00
Benoit Girard a1415e44f6 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Benoit Girard e0bcc5a6d2 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Joe Drew 5bfbf586cb Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
Benoit Girard f7173edd06 Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright 4ea08cd7d0 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Mike Hommey ec28cad68e Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey 2012-01-13 07:23:02 +01:00
Ed Morley e121ae435d Backout 0bf0007285f7 (bug 730079) for warnings as errors build failures 2012-02-23 22:14:41 +00:00
Benoit Girard 6a18355b9a Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 16:04:38 -05:00
Jeff Gilbert 3cd16bbb8d Bug 721205 - Add correct logic for enabling BGRA readPixels for GLES - r=bjacob 2012-01-26 09:26:36 -08:00
Oleg Romashin ac6dee0134 Bug 733951 - Qt port does not compile anymore due to bad includes order. r=jrmuizel
--HG--
extra : rebase_source : 7f26da25e0fd3ec15c8c167eae017fe493c31ae7
2012-03-12 11:43:14 -04:00
Oleg Romashin b61f9b0c32 Bug 719253 - Fennec cannot init EGL libs due to wrong library name. r=glandium 2012-01-20 09:18:56 -05:00
Jeff Muizelaar 19d31dec25 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck 3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar e18b95dabf Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Joe Drew c505db2c64 Bug 724137 - Support GL debug trace printouts for EGL. r=bjacob 2012-02-09 14:05:11 -05:00
Jeff Gilbert db323ca7a5 Bug 717442 - Shadow bound FBO ids - r=bjacob 2012-02-08 16:06:03 -08:00
Jeff Gilbert 6fded4ebda Backed out changeset 2aa76676baa3 (Bug 717442) 2012-02-08 16:04:44 -08:00
Jeff Gilbert 954e5a581a Bug 717422 - Shadow bound FBO ids - r=bjacob 2012-02-08 15:53:46 -08:00
Jeff Gilbert 760e8ef03b Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob 2011-12-19 15:47:54 -08:00
Jeff Gilbert e91e311cc8 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert 45e6ab84b8 Bug 704788 - Add inlined function to allow easy compile-time pruning of mDebugMode branches in GLContext - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk bd3189ea10 Bug 711579: fix WGL context creation without robustness r=Bas 2011-12-16 13:12:02 -08:00
Doug Sherk 4efd23d3cd Bug 711226: separate desktop and ES 2.0 symbol loading r=bjacob
Symbols were amalgamated into a single table which worked up until recently.
This patch separates them so that there is a common list, then two separate ones
for desktop and OpenGL ES 2.0.
2011-12-16 13:12:00 -08:00
Doug Sherk 573bfdbe9c Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Robert O'Callahan 02ec6567df Bug 708109. Remove THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING in favour of NS_ version. r=joe 2011-12-15 23:26:42 +13:00
Doug Sherk 6ce120ed7e Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Jeff Gilbert 8799ac5293 Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob 2011-12-06 15:36:40 -08:00
Benoit Jacob 584756f6dc Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert
In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
2011-12-04 14:15:42 -05:00
aceman eb4121c440 Bug 706610 - remove trailing semicolon after namespace decl. r=joe 2011-12-03 17:02:10 +01:00
aceman bee47e05f5 Bug 704210 - Add license headers to files gfx/gl/Makefile.in and gfx/thebes/Makefile.in. r=joe 2011-12-03 13:04:52 +01:00
Doug Sherk e83d419313 Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Doug Sherk a9cc2ab635 Bug 70348: implement ARB_robustness with WGL r=bjacob
WGL has its own ARB_robustness implementation which we support with this patch.
I was able to confirm that it was correctly being activated and was polling
status correctly (i.e. the framework is running), but WGL itself doesn't
actually seem to stop the DoS correctly when a robust context is created.
2011-12-02 23:50:11 -08:00
Ali Juma ddae3eecb1 Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel 2011-12-02 09:43:58 -05:00
Doug Sherk 48c060c575 Bug 656824: fix trailing comma in GLContext::ContextResetARB enum 2011-11-29 06:10:44 -08:00
Jeff Gilbert 9bedcc608e Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob 2011-11-23 16:49:02 -08:00
Doug Sherk 7a2325141e Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Matt Woodrow e4fd013a05 Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel
--HG--
rename : gfx/thebes/EGLUtils.h => gfx/gl/EGLUtils.h
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProvider.h => gfx/gl/GLContextProvider.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderImpl.h => gfx/gl/GLContextProviderImpl.h
rename : gfx/thebes/GLContextProviderNull.cpp => gfx/gl/GLContextProviderNull.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLContextSymbols.h => gfx/gl/GLContextSymbols.h
rename : gfx/thebes/GLDefs.h => gfx/gl/GLDefs.h
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
2011-11-18 22:07:49 +13:00
Joe Drew 265d0f9331 Bug 720467 - Switch to using FBOs for WebGL, and support sharing textures between EGL contexts. r=jgilbert 2012-02-06 22:00:21 -05:00
Benoit Girard b7cde6e95e Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma 2012-02-03 17:39:50 -05:00
George Wright 3a7ba68810 Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext 2012-01-30 15:09:02 -05:00
Jeff Gilbert 791306c879 Bug 711642 - Deguarantee that ResizeOffscreenFBO sets viewport the first time it's run - r=bjacob 2012-02-01 12:46:07 -08:00