Edwin Flores
6697ae002d
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Bas Schouten
c2d1a88783
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Justin Lebar
d6b67e278e
Bug 708963 - Remove tautological comparison (unsigned int >= 0) in gfxFont.h. r=jmuizelaar
...
--HG--
extra : rebase_source : 1562649cfe16bbfeeacad6b53ba53f50c58fa2b0
2011-12-15 09:49:42 -05: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
Andrew Quartey
6fe0fd072a
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Jonathan Kew
cda15d7f51
bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Jonathan Kew
de172d2460
bug 631479 (part 3) - allow graphite tables to be passed through OTS for downloadable fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Jeff Walden
f76f7d6da3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
John Daggett
7fef4d4b86
Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc
2011-12-07 12:02:53 +09: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
John Daggett
e75a7e4b91
Bug 705590. Measure system font fallback times. r=jrmuizel
2011-11-30 10:55:11 +09:00
Nicholas Nethercote
6c6258e659
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
David Marteau
36621e319f
Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg
2011-11-26 20:48:35 +01:00
Jonathan Kew
50dfce99be
bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett
2011-11-21 08:19:57 +00:00
Joe Drew
9099fa5d4d
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
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
Ed Morley
9f6a8ca44b
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
990c3809c4
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Matt Woodrow
aed5160707
Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas
2011-11-17 16:45:51 +13:00
Matt Woodrow
b2190ca746
Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
76656ee23d
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Benoit Girard
c4287eb0c5
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
36c2db467c
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
1bb0d43d4b
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
65a5f3ea90
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
d303f502ae
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Michael Wu
5dd6a67845
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Ali Juma
30506490e6
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
5eb053e904
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Matt Woodrow
e88823cc57
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
8c5da2ed3d
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
09555ea57f
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
760569d977
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
2f7388d5b7
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Jeff Muizelaar
423b395ad1
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
64e4f1e6dd
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
3c02808b7d
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
626ed5e1ba
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
3f4fda37f1
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
4fc2827fb5
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
ba3ebc26fb
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ali Juma
b8a8bd086c
Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel
2011-11-02 09:40:14 -04:00
Doug Sherk
c47bd89d8a
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
aef6e3f63c
Bug 691061 - Don't use EXTEND_PAD on printing surfaces. r=jmuizelaar
2011-10-29 19:36:19 +10:30
Benoit Girard
c3254938fb
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
66f54fe5a4
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
a056394974
Bug 454532. Substitute "Courier" with "Courier New". r=jdagget
2011-10-28 09:58:49 -04:00
Benoit Girard
76c3511501
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
e2c3feec1b
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
dd00cb91c6
Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar
2011-10-20 16:32:38 -04:00
Doug Sherk
942467690c
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
adc55de3c1
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
1de38857c5
Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc
2011-10-26 16:19:13 +13:00
Landry Breuil
11ea4e2516
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
50b70467df
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
4b7a9dbac1
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
a6e3f54ab0
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Jeff Gilbert
ad20b9ae6e
Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob
2011-10-20 23:41:02 -04:00
Jeff Muizelaar
da6e4f4f78
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
8d41be6c08
Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel
2011-10-13 10:36:59 -04:00
Jeff Gilbert
56378bd370
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
e7fc88c724
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
0bce5e7356
Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
4ef6c241ac
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
763058396d
Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
975d14b0a4
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
eb17b5e0b2
Bug 615976 - Adds support for separate Draw/Read buffers in GLContext, with lazy blitting - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
67e2325bcf
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
a526953187
Bug 686083 - Adds method to disable GL implementations - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
20d36842ee
Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing.
2011-10-19 15:31:33 -04:00
Jeff Gilbert
7a0dc9cec6
Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed
2011-10-19 15:09:57 -04:00
Jeff Gilbert
722fc966fc
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
80c22fa28a
Fixes for support for multisampled Mac/CGL GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
ef36f1acc5
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Jeff Gilbert
e3dedb255f
Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample
2011-10-19 15:09:57 -04:00
Jeff Gilbert
02e706721b
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
38dda72e8a
Adds support for separate Draw/Read buffers in GLContext, with lazy blitting
2011-10-19 15:09:57 -04:00
Jeff Gilbert
97f22e2838
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
...
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Jeff Gilbert
b9460bc0eb
Fix for 686083: Adds method to disable GL implementations
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
a8dc3a5bac
Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar
2011-10-14 13:16:19 -07:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Matt Woodrow
434481b476
Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc
2011-10-15 09:45:01 +13:00
Jonathan Kew
b679a433d9
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Woodrow
bcf0586595
Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf
2011-10-12 16:16:06 +13:00
Benoit Girard
2f89446a72
Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage
2011-10-11 21:36:03 -04:00
Benoit Girard
a5cbfecf3e
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Jonathan Kew
a53be3d180
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +01:00
Jonathan Kew
938d42b986
back out 32989cd5377b for total (non-DEBUG) bustage
2011-10-07 17:45:39 +01:00
Jonathan Kew
09c9c833cd
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +01:00
Matt Woodrow
d281b3df0b
Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc
2011-10-07 10:29:07 +13:00
Matt Woodrow
cda9499280
Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc
2011-10-07 10:22:18 +13:00
Ali Juma
d5b538c932
Bug 690566 - Associate filters with texture images. r=jrmuizel
2011-10-05 14:20:33 -04:00
Josh Matthews
806dd2b06b
Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel
2011-09-13 10:49:01 -04:00
Doug Sherk
6d669bd3c0
Bug 684853: implement OES_standard_derivatives
...
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Ali Juma
b6ed9cb272
Bug 690443 - Make GLContextEGL::CreateTextureImage pass on its aUseNearestFilter argument. r=bgirard
2011-09-30 09:33:20 -04:00
Rafael Ávila de Espíndola
34dacf8f22
Bug 690235 - Fix Mac builds with clang caused by bug 666414 not catching the stupidness of gcc4.2 (see bug 689397); r=ehsan
...
--HG--
extra : rebase_source : ac24c47e2885476593985c88a503e4f075602582
2011-09-29 10:56:57 -04:00
Michael Wu
4259bb9e4b
Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame
2011-09-29 03:59:43 -07:00