Commit Graph

2047 Commits

Author SHA1 Message Date
David Marteau
31eb0b25f9 Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg 2011-11-26 20:48:35 +01:00
Jonathan Kew
45f3b099cf bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett 2011-11-21 08:19:57 +00:00
Joe Drew
269d23bf72 Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-18 22:19:24 +13:00
Matt Woodrow
655a2b090b 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
Ed Morley
aa5192da19 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Kyle Huey
b742a745e6 Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Matt Woodrow
eef9fbc92e Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas 2011-11-17 16:45:51 +13:00
Matt Woodrow
2de74de923 Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc 2011-11-17 16:44:16 +13:00
Matt Woodrow
a289897b49 Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc 2011-11-17 16:44:16 +13:00
Benoit Girard
552f49dfe3 Bug 671639 - Part 1: AttachIOSurface now updates the Framebuffer instead of recreating it. r=matt.woodrow 2011-11-16 11:36:06 +13:00
Joe Drew
e4e41060d9 Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-14 17:29:28 +13:00
Joe Drew
0c584068af Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas 2011-11-14 17:29:14 +13:00
Matt Brubeck
78721ee177 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
79b0975cc8 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ali Juma
eeadbad7cd Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel 2011-11-08 10:51:44 -05:00
Jacek Caban
545ad4011b Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones 2011-11-08 10:25:33 +01:00
Matt Woodrow
a049cb4f65 Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
6392b36119 Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
dd2c85ab1d Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
2f712b3b4b Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas 2011-11-18 17:00:37 +13:00
Marco Castelluccio
34d53ff8bc Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Jeff Muizelaar
f68f59b3ef Bug 703472. Retain the DataSourceSurface. r=bas
The Quartz Azure backend has the data owned by the DataSourceSurface so we
can't drop the DataSourceSurface after creating an image surface around it.
This patch keeps the DataSourceSurface around for the lifetime of the
gfxASurface.

--HG--
extra : rebase_source : d758646bab85d827c09af390d11e5e30ad33a6c9
2011-11-15 11:44:21 +13:00
Jonathan Kew
6534b23bd1 Bug 689087 - Relax cmap format 4 checking slightly to allow Baskerville on Lion to work; r=jdaggett 2011-11-17 19:11:37 +01:00
Doug Sherk
332f23c4b9 Bug 695912: implemented antialiasing blocklisting r=jgilbert
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Doug Sherk
086371f121 Bug 668004 - generalized GPU blocklist to all platforms - r=bjacob
Refactored Windows-specific code for blocklisting GPUs to GfxInfoBase so that it
could be re-used by every platform. Also enabled all downloaded blocklist code on X11 (Linux) and Cocoa (Mac)
but not yet on Android.
2011-11-03 10:50:40 -04:00
Benoit Jacob
3160e12587 Bug 699025 - Don't try to use more multisampling samples than is supported by the GL - r=jgilbert
This fixes "WebGL is broken unless I set webgl.msaa-level=0" issues.
2011-11-03 10:50:39 -04:00
Matt Woodrow
85518431cb Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
f871e68d88 Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Ali Juma
1675687981 Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel 2011-11-02 09:40:14 -04:00
Doug Sherk
545febe771 Bug 697757 - WebGL context fix for alpha being improperly set on OSX. r=jgilbert
If we request alpha and it isn't enabled, or we request it off and it gets
enabled, we now fail the pbuffer creation and fall back to FBOs. This is bad for
performance but allows us to pass the conformance test in this case.
2011-10-31 17:49:55 -07:00
Adrian Johnson
d1e8518c84 Bug 691061 - Don't use EXTEND_PAD on printing surfaces. r=jmuizelaar 2011-10-29 19:36:19 +10:30
Benoit Girard
c5d4b20cce Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
--HG--
extra : rebase_source : e121a8718fa68e602794957bae278d7351d7d585
2011-10-26 14:36:18 -07:00
Jonathan Watt
71a67640b1 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Adrian Johnson
bf2aa7ffe5 Bug 454532. Substitute "Courier" with "Courier New". r=jdagget 2011-10-28 09:58:49 -04:00
Benoit Girard
bfebbb2e0b Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage. 2011-10-27 10:17:40 -04:00
Benoit Girard
662ec0aafa Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Benoit Girard
b79713eb11 Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar 2011-10-20 16:32:38 -04:00
Doug Sherk
63e6006511 Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Jeff Gilbert
34bac37946 Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob 2011-10-26 16:00:44 -04:00
Matt Woodrow
a4372d638f Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc 2011-10-26 16:19:13 +13:00
Landry Breuil
4c1dc453b3 Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Jonathan Kew
b68692ed80 bug 672456 - ensure proper font is selected into the DC for GDI text layout. r=jdaggett 2011-10-25 13:30:02 +01:00
Marco Bonardo
52f20d29d1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
c5f832692e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Jeff Gilbert
f8971f0786 Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob 2011-10-20 23:41:02 -04:00
Jeff Muizelaar
773b1a59b1 Bug 690456. Initialize sz in a clearer way. r=joedrew
--HG--
extra : rebase_source : b4ac096a22ef8916e29e8a2a6cdb2fb8bce06594
2011-10-18 15:17:32 -04:00
Benoit Girard
393799daca Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel 2011-10-13 10:36:59 -04:00
Jeff Gilbert
2279492640 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
3ab26a8701 Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob 2011-10-19 15:09:57 -04:00