Jonathan Kew
faa24b11a2
bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc
2012-01-15 08:45:09 +00:00
Jonathan Kew
c0b92e301e
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-13 11:37:46 +00:00
Nathan Froyd
fa5154d0f1
Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame
2012-01-11 15:51:09 -05:00
Ed Morley
a5e2d37200
Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes
2012-01-12 13:30:39 +00:00
Jonathan Kew
451eefe74c
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-12 12:44:05 +00:00
Nathan Froyd
4eb190e713
Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame
2012-01-11 15:51:09 -05:00
Joe Drew
75e6f69da6
Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Ed Morley
49f22f3ce4
Backout b9e154713763 (bug 702158) for pgo linux failures
2012-01-11 01:22:15 +00:00
Marco Castelluccio
e10776db76
Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow
2012-01-11 11:17:56 +13:00
Jonathan Kew
ee5bca4de4
bug 716229 - don't switch fonts for non-printing control chars. r=roc
2012-01-10 20:40:30 +00:00
Jonathan Kew
8fae2a5409
bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard
2012-01-10 14:47:52 +00:00
Kyle Huey
b82fe49789
Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium
2012-01-06 09:44:25 -05:00
Jonathan Kew
2c2e690cb8
bug 703100 followup - fix potential crash due to string not being null-terminated.
2012-01-05 14:41:37 +00:00
Jonathan Kew
174cf9e76f
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
39b0dea87f
bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
d5a2294830
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
ccc9f44ded
bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
61bcbc8a14
bug 703100 - pt 2.4.1 - make gfxPangoFontGroup font-matching behavior more similar to generic gfxFontGroup version. r=roc
2012-01-05 11:54:44 +00:00
Jonathan Kew
a496e551bd
bug 703100 - pt 2.4 - adapt Linux/Pango font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
6295b88fbb
bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
c331f7adb9
bug 703100 - pt 2.2 - adapt Mac font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
8a374cd168
bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
dab5dd6132
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Jonathan Kew
aa9862b507
bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett
2012-01-05 10:14:11 +00:00
Bas Schouten
bf4eadaee5
Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
0c431d68e7
Bug 711063 - Part 9: Adjust gfxDrawable to be compatible with the Azure Wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
e6a43af1fa
Bug 711063 - Part 5: Adjust gfxWindowsNativeDrawing to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
351194b1e9
Bug 711063 - Part 4: Adjust gfxUtils to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
29a752007d
Bug 711063 - Part 3: Adjust font code to be compatible with Azure wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Bas Schouten
2d4395c3fd
Bug 711063 - Part 2: Add new wrapper code for gfxContext and gfxPattern. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
fbae97b9be
Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Nicholas Nethercote
dcb5c7be56
Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
...
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Jeff Walden
08edc0c58a
Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert
2011-12-31 01:15:59 -06:00
Jeff Walden
841701c767
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Masatoshi Kimura
bca08a24f4
Bug 700057 - Create artificial names if English names not found in the name table. r=jfkthame
2011-12-19 10:48:46 +00:00
Jonathan Kew
ebaa9ad3ce
bug 711357 - release the CGFontRef after creating our font entry (which holds its own reference). r=jdaggett
2011-12-19 10:36:05 +00:00
Jonathan Kew
0236199d36
bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett
2011-12-19 10:33:37 +00:00
Jonathan Kew
71796a0d20
bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey
2011-12-19 01:55:11 +00:00
Nicholas Nethercote
8f335f567c
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Brubeck
7d451f6bac
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4
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
b1fe1c94c1
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Justin Lebar
251efb48b8
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
c1f1cc4a64
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
faa8be8d82
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
164f1ffdde
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
e24f640930
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
91683ae3e3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
John Daggett
5b27f91689
Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc
2011-12-07 12:02:53 +09:00
aceman
03b5fc2b81
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
971bd19215
Bug 705590. Measure system font fallback times. r=jrmuizel
2011-11-30 10:55:11 +09:00
Nicholas Nethercote
f102556f32
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
59db32c5ad
Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg
2011-11-26 20:48:35 +01:00
Jonathan Kew
5d3cc2bea2
bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett
2011-11-21 08:19:57 +00:00
Joe Drew
9faa8a6d27
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
f1acc41494
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
d06867876a
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
053e18194b
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Matt Woodrow
9f4d4881c9
Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas
2011-11-17 16:45:51 +13:00
Matt Woodrow
5adc6b8e01
Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Benoit Girard
1d1b235efb
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
890d07996d
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
303a252576
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
d9a00c1f73
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Ali Juma
5ff47a56c5
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
c99fb93d82
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Matt Woodrow
d866e852f3
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
0b21d3a24b
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
4503deadd0
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
f58c65db73
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
65fe650cde
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Jeff Muizelaar
3dc2412d44
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
448a234431
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
72f02b078a
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
a5a9d0244b
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
10ec1bc94f
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
bc5c7f13cf
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
807731094a
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ali Juma
558d777703
Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel
2011-11-02 09:40:14 -04:00
Doug Sherk
0e41e843ea
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
992a5d330a
Bug 691061 - Don't use EXTEND_PAD on printing surfaces. r=jmuizelaar
2011-10-29 19:36:19 +10:30
Benoit Girard
d8ebb72e62
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
8a0b72332d
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
04bd6b7659
Bug 454532. Substitute "Courier" with "Courier New". r=jdagget
2011-10-28 09:58:49 -04:00
Benoit Girard
134532115c
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
202863145b
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
48817e26d9
Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar
2011-10-20 16:32:38 -04:00
Doug Sherk
1c15893d0b
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
f369e1aa40
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
0ea6f9fa20
Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc
2011-10-26 16:19:13 +13:00
Landry Breuil
d81b4a6adc
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
83fbbb1c82
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
7a65efe109
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
824c514d6a
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Jeff Gilbert
ca51139de9
Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob
2011-10-20 23:41:02 -04:00
Jeff Muizelaar
52b2c7e436
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
9784f12f4d
Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel
2011-10-13 10:36:59 -04:00
Jeff Gilbert
9f229b37a7
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
d4f218fc86
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
de773de2b6
Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
0e2d70e819
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
f64028dd1d
Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
7f1312bd00
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
dbe8765a97
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
441efd5332
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
63046148cd
Bug 686083 - Adds method to disable GL implementations - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
99bb756bd6
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
03bb734c28
Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed
2011-10-19 15:09:57 -04:00
Jeff Gilbert
238d5879f3
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
6c4a9283b6
Fixes for support for multisampled Mac/CGL GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
1b399b78a0
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Jeff Gilbert
a620f4be8d
Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample
2011-10-19 15:09:57 -04:00
Jeff Gilbert
656a0adcc0
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
41071bacf6
Adds support for separate Draw/Read buffers in GLContext, with lazy blitting
2011-10-19 15:09:57 -04:00
Jeff Gilbert
46d6e15195
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
fa4dfdd0ff
Fix for 686083: Adds method to disable GL implementations
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
2a602a5685
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
1daed01c41
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
b7753477cf
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
67c757e3a4
Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc
2011-10-15 09:45:01 +13:00
Jonathan Kew
36c1dc9fbe
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
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
911c9a449a
Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf
2011-10-12 16:16:06 +13:00
Benoit Girard
b30b117622
Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage
2011-10-11 21:36:03 -04:00
Benoit Girard
881b619cc6
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Jonathan Kew
7571b3d682
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +01:00
Jonathan Kew
faf99ed6aa
back out 32989cd5377b for total (non-DEBUG) bustage
2011-10-07 17:45:39 +01:00
Jonathan Kew
e2f00a270f
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +01:00
Matt Woodrow
f5bcaad772
Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc
2011-10-07 10:29:07 +13:00
Matt Woodrow
5ca101cd1c
Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc
2011-10-07 10:22:18 +13:00
Ali Juma
26e350dca1
Bug 690566 - Associate filters with texture images. r=jrmuizel
2011-10-05 14:20:33 -04:00
Josh Matthews
9d68aebc29
Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel
2011-09-13 10:49:01 -04:00
Doug Sherk
5b5702d6a4
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
8b7081cada
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
12cd3efcc7
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
48a76e1463
Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame
2011-09-29 03:59:43 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
8ddd2bdc2f
Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
...
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Brad Lassey
74b3e46a33
bug 688798 - disable client side rendering for maemo only r=cjones
2011-09-23 13:24:12 -04:00
Dão Gottwald
46b5e8b3b3
add missing newline
2011-09-27 10:49:53 +02:00
Matt Woodrow
77eeddfb4e
Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf
2011-09-27 10:54:45 +13:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Benoit Girard
8fbf78c009
Bug 687864 - Part 2: Add offline renderer awareness for Mac OGL in plugins; r=jmuizelaar
2011-09-21 15:20:52 -04:00
Benoit Girard
830bc91c3f
Bug 687864 - Part 1: Add offline renderer awareness for Mac OGL in browser; r=jmuizelaar
2011-09-21 15:20:40 -04:00
Jonathan Kew
4661532843
bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett
2011-09-23 12:16:13 +01:00
Jonathan Kew
1f9c88fc75
bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett
2011-09-23 12:15:36 +01:00
Ed Morley
69df3bc60b
Backout changeset 864c08bd7c63 (bug 684889) for Android bustage
2011-09-23 10:36:16 +01:00
Ed Morley
8bd144e7d9
Backout changeset f4b1fa7a0f31 (bug 684889) for Android bustage
2011-09-23 10:34:42 +01:00
Jonathan Kew
410af68cbb
bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett
2011-09-23 09:53:41 +01:00
Jonathan Kew
66391fedb7
bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett
2011-09-23 09:53:13 +01:00
Chris Jones
69ca107669
Bug 688115: Try harder to find EGLConfigs. r=ajuma
2011-09-22 22:58:15 -07:00
arno renevier
e96d12eda5
Bug 687634 - Test for whiteImage status in gfxXlibNativeRenderer::Draw; r=roc
2011-09-20 17:20:51 +01:00
Alon Zakai
e2ac733ae9
Bug 633627 - Fixedpoint division in blur code. r=jmuizelaar
2011-09-19 09:32:59 -07:00
Kyle Huey
75aa6eed7a
Merge m-c to b-s.
2011-09-15 16:44:46 -07:00
Ehsan Akhgari
733e4ea2dd
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-15 09:41:15 -04:00
Neil Rashbrook
956f798ed0
Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte
2011-09-15 08:40:17 +01:00
Kyle Huey
0bf2dfd277
Merge m-c to b-s.
2011-09-14 08:45:54 -07:00
Florian Haenel
348c5227d7
Bug 667885 - about:support causes screen freeze. r=chrislord
2011-09-14 21:14:43 +02:00
Chris Lord
7ab85e1b14
Bug 683514 - Use GL_EXT_unpack_subimage when available (part 2). r=joe
...
The previous patch used the extension in GLContext::TexImage2D, but not
TexSubImage2D. This patch corrects that and makes sure to use the extension
in both cases.
2011-09-14 10:54:54 -07:00
Kyle Huey
775e4bf54d
Merge m-c to b-s.
2011-09-11 05:32:38 -04:00
Jonathan Kew
283225c307
bug 686190 - ensure glyph buffer is flushed when necessary during synthetic bolding. r=jdaggett
2011-09-12 13:10:46 +01:00
Kyle Huey
614dad33a3
Merge m-c to b-s.
2011-09-07 10:47:50 -04:00
Matheus Kerschbaum
2a89994f3f
Bug 684155 - Remove MOZ_STATIC_BUILD r=khuey
2011-09-07 00:14:30 +01:00
Jonathan Kew
90e4ffa117
bug 3512 - support font-stretch in the GDI font backend. r=jdaggett
2011-09-05 08:34:40 +01:00
Jonathan Kew
52da6a7240
bug 3512 - fix computation of StyleDistance to account for font-stretch more accurately. r=jdaggett
2011-09-05 08:34:12 +01:00
Jonathan Kew
5baab87ad2
bug 3512 - implement font-stretch property for Linux (fontconfig) backend. r=karlt
2011-09-05 08:33:43 +01:00
Chris Lord
29aa750d42
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
...
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).
This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.
Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-09-09 10:41:11 +01:00
Jonathan Kew
b3bc1a2f7c
bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett
2011-09-02 21:18:25 +01:00
Jonathan Kew
fe11128007
bug 683618 - adjust glyph metrics appropriately when applying synthetic bolding on Android (gfxFT2Fonts). r=jdaggett
2011-09-02 21:18:10 +01:00
Ed Morley
19a1226d22
Merge last green changeset on m-i to m-c
2011-09-01 08:41:18 +01:00
Kyle Huey
7b7b45a351
Merge m-c to b-s.
2011-08-31 07:52:43 -04:00
Jonathan Kew
04e54a46d6
bug 680402 - avoid calling SanitizeGlyphRuns repeatedly during textrun construction with multiple scripts. r=jdaggett
2011-08-29 09:21:53 +01:00
Karl Tomlinson
8ca3b32d02
b=678561 fix strcmp logic error introduced in 032297452afd r=jfkthame
...
--HG--
extra : transplant_source : %CB%23%CC%E9%F9%84%F2%7B%02%E3%0D%2C%F3%7B%7D%EA%F3cY2
2011-08-26 10:57:51 +12:00
Matt Woodrow
fd0bfbd9fd
Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf
2011-08-27 12:07:05 +12:00
Matt Woodrow
f9d4b0bc4e
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Matt Woodrow
784208bb3e
Bug 675837 - Add 3D transforms support to BasicLayers. r=roc
2011-08-27 12:04:06 +12:00
Matt Woodrow
3df75d69f2
Bug 675837 - Add gfxContext::ClipContainsRect. r=roc
2011-08-27 12:03:04 +12:00
Oleg Romashin
44bfc89d91
Bug 682327 - ASSERTION: Failed to make GL context current; r=ajuma
2011-08-27 00:23:02 +01:00
Ed Morley
a31b5adc78
Merge last green changeset of m-c to m-i
2011-08-26 10:26:46 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Tatiana Meshkova
2ebf98b216
Bug 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa
2011-08-24 16:19:15 -07:00
Chris Lord
7ad668b25a
Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
...
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:
- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile
Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-24 20:21:53 +01:00
Oleg Romashin
7cb6cc6d06
Bug 677712 - Make Qt port support No X11 build; r=dougt,joe
...
--HG--
rename : dom/plugins/ipc/NPEventX11.h => dom/plugins/ipc/NPEventUnix.h
2011-08-24 17:15:58 +01:00
Chris Lord
9f3d985c52
Fix drawing of GL Thebes layers with rotation when using tiled textures
...
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.
Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Matt Woodrow
5188be7c9c
Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob
2011-08-24 13:56:30 +12:00
Matt Woodrow
dc9ab97c70
Bug 675532 - Add GLX debug mode. r=bjacob
2011-08-24 13:55:43 +12:00
Benoit Girard
7ea86c481d
Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout
2011-08-23 17:12:15 -04:00
Ali Juma
defea5258d
Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
...
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -04:00
Chris Lord
e1a5b73680
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
...
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).
This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.
Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-08-31 18:25:25 +01:00
Justin Wood
3ef675a7ec
Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
...
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
2db91dc2ea
Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc
2011-08-20 14:04:24 +12:00
Matt Woodrow
9890e1fe33
Bug 675532 - Add GLX debugging mode. r=bjacob
2011-08-20 14:04:24 +12:00
Chris Lord
0aedc7dacb
Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
...
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.
Add a special case for tiled textures that manually does the wrapping.
2011-08-19 09:36:08 +01:00
Chris Lord
7f1c4e37b9
Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
...
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:
- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile
Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-19 09:36:04 +01:00
Daniel Holbert
03ca49f291
merge m-c to m-i
2011-08-15 21:12:06 -07:00
Daniel Holbert
21539bdc2a
Bug 679091: Remove unused variable |size| from gfxASurface::FastMovePixels(). r=cjones
2011-08-15 17:15:55 -07:00