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

54 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Gilbert 82bb894465 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
Walter Litwinczyk 842809f16f Bug 933530 - Remove mDataIsCurrent from SharedSurfaceGL. r=jgilbert 2014-09-12 11:37:58 -07:00
Jeff Gilbert 1623588490 Bug 1060085 - Add thread-local Fence/Poll/Wait to Basic ShSurf. - r=kamidphish 2014-09-02 15:16:02 -07:00
Jeff Gilbert ade0e342e3 Bug 996266 - Fix bustage. 2014-08-27 16:18:46 -07:00
Jeff Gilbert 323f57a297 Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 16:18:43 -07:00
Milan Sreckovic 4455d895e8 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04: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 462da9f9df Bug 1049957 - Fix compilation errors. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert ebe1200d76 Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert 11ccb72d46 Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow 2014-08-04 22:10:47 -07:00
Jeff Gilbert f032a2a672 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jonathan Watt a33aed0216 Bug 1025489 - Stop using gfxImageSurface in the GL code. r=Bas 2014-06-17 18:35:50 +01:00
Jonathan Watt 2a54bb27d4 Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Benoit Jacob 99898aa3df Bug 986572 - Add missing MakeCurrent call to SharedSurface_GL::ProdCopy - r=jgilbert 2014-04-15 12:01:21 -04:00
Jeff Gilbert 6027388cd9 Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert 8f53ae3993 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
James Willcox dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
Wes Kocher 8d647a6ec0 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox 91032a3dca Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ehsan Akhgari 5643b79842 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox 933b5c003c Bug 939276 - build bustage 2014-02-14 16:12:10 -06:00
James Willcox ee9a1556e5 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Jeff Gilbert ee6f816ed1 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Bas Schouten fdb4be9e33 Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel 2014-01-16 13:17:23 +01:00
Bas Schouten 6a885186bb Backed out 5 changesets (bug 960254, bug 960354)
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten faa7d6f7e2 Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel 2014-01-16 13:17:23 +01:00
Benoit Jacob a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -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
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
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 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
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
Dan Glastonbury 47033c5692 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10: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 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
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
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
Matt Woodrow 50e4cfb594 Bug 882590 - Fix invalid assertion when creating a SharedSurface_GLTexture without a consumer GLContext. r=jgilbert 2013-06-17 14:48:41 +12:00
Jeff Gilbert 6c9255e881 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07: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 Muizelaar 84fcc66109 Bug 855178. Use WaitSync instead of ClientWaitSync in SharedSurfaceGL. r=jgilbert
This is better than waiting/spinning. WaitSync will make the GPU do the
waiting for us and we can continue on.

Banana bench before:
gameplay: 98.554 total seconds
gameplay: 70.097 JS seconds

after:
gameplay: 77.188 total seconds
gameplay: 70.33 JS seconds

--HG--
extra : rebase_source : 6eca32668d828a9f312500cfb900c53b107357a1
2013-03-26 22:29:07 -07:00
Phil Ringnalda 23c0542a81 Back out 8b8db1d07846 (bug 855178) for asserting 2013-03-27 00:03:49 -07:00
Jeff Muizelaar acb75a7a40 Bug 855178. Use WaitSync instead of ClientWaitSync in SharedSurfaceGL. r=jgilbert
This is better than waiting/spinning. WaitSync will make the GPU do the
waiting for us and we can continue on.
2013-03-26 22:29:07 -07: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