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

50 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 1eab6c9792 Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Makoto Kato 721aa48809 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Matt Woodrow ca690f5eec Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert 2013-04-17 14:21:06 +12: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
Jeff Gilbert df010bad60 Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08: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
Anthony Jones a84827280d Bug 789367 - Add content preference for GTK platform; r=nrc 2012-09-16 20:23:00 -07:00
Rafael Ávila de Espíndola ef282a6ec3 Bug 789983 - remove unused field. r=bjacob. 2012-09-11 08:59:34 -04:00
Andrew Quartey 951e732fc2 Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob 2012-09-06 20:16:30 -04:00
Jeff Gilbert f928964d5a Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob 2012-08-21 20:30:20 -07:00
Karl Tomlinson 59b8a7bfb1 b=780059 remove use of glXGetVisualFromFBConfig and glXCreateContext r=mattwoodrow
--HG--
extra : rebase_source : 1d0293d8869a477eb00fe006b72b8bc76e932711
2012-08-20 16:21:59 +12:00
Karl Tomlinson 568a29495d b=780059 combine two variables both indicating an alpha channel r=mattwoodrow
--HG--
extra : rebase_source : be734411d2a108e4db3f4b6be1bf97b3097d631f
2012-08-20 16:21:37 +12:00
Karl Tomlinson 3a8ca1fb6c b=780059 accept fbconfigs with alpha bits for opaque Pixmaps if visual matches r=mattwoodrow
--HG--
extra : rebase_source : 50072bf87e489781af734d3863fa1d134f7c9136
2012-08-20 16:21:07 +12:00
Karl Tomlinson ddce1daf02 b=779786 check fbconfig alpha instead of buffer size against render format r=mattwoodrow
--HG--
extra : transplant_source : %B6%E0%DDdG%F0%93%88%02%DDKf%D7%F8%9E%98%2A%19%92%BB
2012-08-07 13:22:23 +12:00
Karl Tomlinson bebe9debc8 b=687831 use XSync for glXWaitX with Mesa r=mattwoodrow
--HG--
extra : transplant_source : I%ADPT%BA%E4%A4%C8V%D64%EF%BF%B1l%C1%D2%FEe%B8
2012-07-31 14:54:21 +12:00
Karl Tomlinson 2d77cb161d b=687831 remove unused gIsChromium r=mattwoodrow
--HG--
extra : transplant_source : %94nUe%29Y%A1%1B2g%10_%D0%DB%2B%C9%AAE%E1%F8
2012-07-31 14:54:21 +12:00
Karl Tomlinson 81992e1377 b=707722 select config in CreatePixmap to match Pixmap format r=mattwoodrow
--HG--
extra : transplant_source : %EB%B9%B8%E1%F8%19%E8%D9%94%A3GX%DC%EC%AA%23%8Be%13%F5
2012-07-31 14:54:21 +12:00
Karl Tomlinson f8fc648682 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Gilbert c059fcc5ca Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob 2012-07-27 14:30:38 -07:00
Marco Castelluccio e45b10608b Bug 774134 - Support S3 texture compression with Mesa drivers - r=bjacob 2012-07-16 11:36:03 -04:00
Rafael Ávila de Espíndola d34f549c32 Bug 774020 - Remove extra ; r=khuey. 2012-07-16 10:59:15 -04:00
Martin Stransky ccc6f3119c Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
John Drinkwater 358fad8156 Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Andrew Quartey 6f4ba6438c Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Kan-Ru Chen 52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Jacob 0f7357a542 Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Benoit Jacob 4d92553d61 Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard 2012-05-09 16:55:31 -04:00
Benoit Jacob f3194c19c8 Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob 1519eb1059 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob 657df782fe Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard 2012-05-03 15:59:19 -04:00
Nicolas Silva 448bfb52b5 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Jeff Gilbert fd1836bca0 Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Marco Bonardo 0a0adaecbc Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva 071d0a2967 Bug 743830: Added 'gfx.xrender.enableded' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jrmuizel,gw280 2012-04-11 14:04:54 -04:00
Jeff Gilbert 2b76e47d57 Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob 2012-04-04 18:44:55 -07:00
Oleg Romashin 84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Oleg Romashin ed773f9c8b Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-21 16:13:59 -07:00
George Wright 8f4052f8a0 Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
George Wright a75edfb828 Backed out changeset aad5bc8b3433 2012-03-16 15:02:01 -04:00
George Wright 96d0e2fd38 Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe 2012-03-16 14:30:09 -04: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
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
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