Commit Graph

2064 Commits

Author SHA1 Message Date
Timothy Nikkel
460def762d Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc 2010-07-18 21:23:47 -05:00
Jacek Caban
68ad1d7609 Bug 579493 - ANGLE fails to compile on mingw r=vladimir
--HG--
extra : rebase_source : 52992f80a118d5fe124a285ead0a1e4fb53f7df6
2010-07-17 15:49:04 +02:00
Ryan VanderMeulen
c6c2c24920 Bug 577344 - Define extra virtual function unconditionally. r=roc 2010-07-17 18:26:02 +02:00
Neil Rashbrook
726052be53 Windows static builds failing due to ANGLE changes, r=vlad 2010-07-17 14:22:26 +02:00
Oleg Romashin
adbbd32f76 Bug 550673 - Fix glyphs rendering for cairo-qpainter-surface. r=jmuizelaar
--HG--
extra : rebase_source : efbaa01f0716eafb3cf53a2e21eed49c9e88e54a
2010-07-17 09:52:35 +03:00
John Daggett
cb61376976 Bug 578022. Cleanup font deactivation code on Windows. r=jkew 2010-07-17 10:32:18 +09:00
Vladimir Vukicevic
e506a39da7 b=579336; crash in GLX CreatePBuffer due to missing termination; r=valgrind 2010-07-16 11:58:07 -07:00
Vladimir Vukicevic
e06986f02d Fix ANGLE on gcc shared non-libxul builds, r=irc, and I know it's a CLOSED TREE 2010-07-15 14:38:22 -07:00
Robert O'Callahan
bdd3613dc1 Bug 564991. Part 41: When we clear our buffer, we need to redraw the entire visible region. r=cjones 2010-07-16 09:08:11 +12:00
Robert O'Callahan
5534e44e2a Bug 564991. Part 40: ThebesLayers painted with variable opacity can still be OPAQUE_CONTENT themselves. r=bas 2010-07-16 09:08:11 +12:00
Robert O'Callahan
e98a518e3c Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Robert O'Callahan
da8eac7e0e Bug 564991. Part 32: Fix assertion in BasicThebesLayer; it's entirely possible that we need to invalidate an area, but the actual visible region is empty so there's no context to draw to. r=cjones 2010-07-16 09:08:10 +12:00
Robert O'Callahan
78f7a6b002 Bug 577631. Don't pass zero sizes to XCreatePixmap. r=jrmuizel 2010-07-16 09:08:09 +12:00
Robert O'Callahan
d13596f552 Bug 564991. Part 30: Skip clearing our ThebesLayerBuffer surface if we just created it. r=cjones 2010-07-16 09:08:09 +12:00
Karl Tomlinson
0b3ce3450e b=573626 support force-24bpp in gfxXlibSurface::CreateSimilar r=vlad 2010-07-16 09:08:09 +12:00
Karl Tomlinson
9bb3ceb7e1 b=573409 expire unused cached double-buffering back surfaces r=vlad sr=roc 2010-07-16 09:08:09 +12:00
Robert O'Callahan
504ea430ab Bug 573942. Adjust transform matrix in RenderDocument to ensure that components close to integers become actual integers. r=jrmuizel,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
d09c39d0a9 Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron 2010-07-16 09:08:05 +12:00
Matt Woodrow
0dc19c1c41 Bug 564991. Part 21: Avoid double-buffering if we're only going to paint one layer. r=vlad 2010-07-16 09:08:05 +12:00
Matt Woodrow
3d8d34ccf2 Bug 564991. Part 20: Performance win by avoiding PushGroup for single-layer opacity. r=vlad 2010-07-16 09:08:04 +12:00
Robert O'Callahan
96549cb43a Bug 564991. Part 19: Cache the backbuffer surface for performance wins. r=vlad 2010-07-16 09:08:04 +12:00
Matt Woodrow
b9bb858a55 Bug 564991. Part 18: Move double-buffering into the layer manager. r=jrmuizel,sr=vlad 2010-07-16 09:08:04 +12:00
Robert O'Callahan
63ec5e619c Bug 564991. Part 15: Start retaining the contents of BasicLayers. r=mats 2010-07-16 09:08:03 +12:00
Robert O'Callahan
cc872e7c9e Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Bas Schouten
a5924b2fb4 Bug 577200. Part 2: When painting a Win32 transparent widget with GDI (Aero Glass), tell gfxWindowsSurface our HDC surface is transparent. r=roc 2010-07-16 09:07:44 +12:00
Bas Schouten
6449f02198 Bug 577200. Part 1: Add cairo API to set up a Win32 surface for an HDC with an alpha channel. r=jrmuizel 2010-07-16 09:07:44 +12:00
Robert O'Callahan
b7f93d47f0 Bug 573953. Ensure that zoom factors are chosen in reftests so appunits-per-dev-pixel is an integer. r=dbaron 2010-07-16 09:04:16 +12:00
Vladimir Vukicevic
ba073872bf b=578938; ANGLE compilation broken for non-libxul shared builds; r=khuey 2010-07-15 12:49:09 -07:00
Vladimir Vukicevic
54ce864ca8 b=571172; disable ANGLE compilation on Linux-x86_64, until build slaves are fixed 2010-07-14 20:52:37 -07:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
Vladimir Vukicevic
d5c4af94ea b=571172; import and use ANGLE GLSL ES shader validator (ANGLE source) 2010-07-14 20:52:32 -07:00
Jonathan Kew
412a2dde9a bug 511339 - bustage fix for android build 2010-07-13 23:58:21 +01:00
Bas Schouten
46677257b1 Bug 577462: Addition - add comment requested in review. 2010-07-14 00:23:32 +02:00
Bas Schouten
a481f56985 Bug 577462: Use GetDC where possible for ThebesLayerD3D9 textures. r=jrmuizel 2010-07-14 00:19:45 +02:00
Bas Schouten
42feb308be Bug 578500: Clear mTarget at the end of a transaction. r=roc 2010-07-14 00:19:43 +02:00
Bas Schouten
af1a1cc748 Bug 577770: LayerManagerD3D9 should be using GetClientBounds not GetBounds. r=roc 2010-07-14 00:19:41 +02:00
Zack Weinberg
29e6f9c217 Bug 571989 part 5: move gfx/src/thebes/utils/* to gfx/thebes. r=joedrew
--HG--
rename : gfx/src/thebes/utils/gfxBlur.cpp => gfx/thebes/gfxBlur.cpp
rename : gfx/src/thebes/utils/gfxBlur.h => gfx/thebes/gfxBlur.h
rename : gfx/src/thebes/utils/gfxThebesUtils.cpp => gfx/thebes/gfxThebesUtils.cpp
rename : gfx/src/thebes/utils/gfxThebesUtils.h => gfx/thebes/gfxThebesUtils.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.h => gfx/thebes/nsCoreAnimationSupport.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.mm => gfx/thebes/nsCoreAnimationSupport.mm
2010-07-13 14:54:21 -07:00
Zack Weinberg
00dd731d9b Bug 571989 part 4: Reorganize all the tests directories below gfx/. r=joedrew
--HG--
rename : gfx/thebes/crashtests/122875-1.html => gfx/tests/crashtests/122875-1.html
rename : gfx/thebes/crashtests/156882-1.html => gfx/tests/crashtests/156882-1.html
rename : gfx/thebes/crashtests/157320-1.html => gfx/tests/crashtests/157320-1.html
rename : gfx/thebes/crashtests/199379-1.html => gfx/tests/crashtests/199379-1.html
rename : gfx/thebes/crashtests/206561-1.html => gfx/tests/crashtests/206561-1.html
rename : gfx/thebes/crashtests/248518-1.html => gfx/tests/crashtests/248518-1.html
rename : gfx/thebes/crashtests/306649-1.xml => gfx/tests/crashtests/306649-1.xml
rename : gfx/src/thebes/crashtests/306902-1.xml => gfx/tests/crashtests/306902-1.xml
rename : gfx/thebes/crashtests/333861-1.html => gfx/tests/crashtests/333861-1.html
rename : gfx/thebes/crashtests/334735-1.html => gfx/tests/crashtests/334735-1.html
rename : gfx/thebes/crashtests/345576-1.html => gfx/tests/crashtests/345576-1.html
rename : gfx/thebes/crashtests/345629-1.html => gfx/tests/crashtests/345629-1.html
rename : gfx/thebes/crashtests/348462-1.html => gfx/tests/crashtests/348462-1.html
rename : gfx/thebes/crashtests/348462-2.html => gfx/tests/crashtests/348462-2.html
rename : gfx/thebes/crashtests/369688-1.html => gfx/tests/crashtests/369688-1.html
rename : gfx/thebes/crashtests/369947-1.html => gfx/tests/crashtests/369947-1.html
rename : gfx/thebes/crashtests/372094-1.xhtml => gfx/tests/crashtests/372094-1.xhtml
rename : gfx/thebes/crashtests/376627-1.html => gfx/tests/crashtests/376627-1.html
rename : gfx/thebes/crashtests/377231-1.html => gfx/tests/crashtests/377231-1.html
rename : gfx/thebes/crashtests/377232-1.xhtml => gfx/tests/crashtests/377232-1.xhtml
rename : gfx/thebes/crashtests/377461-1.xhtml => gfx/tests/crashtests/377461-1.xhtml
rename : gfx/thebes/crashtests/383473-1.html => gfx/tests/crashtests/383473-1.html
rename : gfx/src/thebes/crashtests/383872-1.svg => gfx/tests/crashtests/383872-1.svg
rename : gfx/thebes/crashtests/385228-1.svg => gfx/tests/crashtests/385228-1.svg
rename : gfx/thebes/crashtests/385228-2.svg => gfx/tests/crashtests/385228-2.svg
rename : gfx/thebes/crashtests/385289-1.xhtml => gfx/tests/crashtests/385289-1.xhtml
rename : gfx/thebes/crashtests/385417-1.html => gfx/tests/crashtests/385417-1.html
rename : gfx/thebes/crashtests/385417-2.html => gfx/tests/crashtests/385417-2.html
rename : gfx/thebes/crashtests/385423-1.html => gfx/tests/crashtests/385423-1.html
rename : gfx/thebes/crashtests/385423-2.html => gfx/tests/crashtests/385423-2.html
rename : gfx/thebes/crashtests/385719-1.html => gfx/tests/crashtests/385719-1.html
rename : gfx/thebes/crashtests/389326-1-inner.xhtml => gfx/tests/crashtests/389326-1-inner.xhtml
rename : gfx/thebes/crashtests/389326-1.html => gfx/tests/crashtests/389326-1.html
rename : gfx/thebes/crashtests/393746-1.xhtml => gfx/tests/crashtests/393746-1.xhtml
rename : gfx/thebes/crashtests/393749-1.html => gfx/tests/crashtests/393749-1.html
rename : gfx/thebes/crashtests/393822-1.html => gfx/tests/crashtests/393822-1.html
rename : gfx/thebes/crashtests/394246-1.html => gfx/tests/crashtests/394246-1.html
rename : gfx/thebes/crashtests/394246-2.html => gfx/tests/crashtests/394246-2.html
rename : gfx/thebes/crashtests/394384-1.html => gfx/tests/crashtests/394384-1.html
rename : gfx/thebes/crashtests/395335-1.xhtml => gfx/tests/crashtests/395335-1.xhtml
rename : gfx/thebes/crashtests/395458-1.html => gfx/tests/crashtests/395458-1.html
rename : gfx/thebes/crashtests/396321-1.svg => gfx/tests/crashtests/396321-1.svg
rename : gfx/thebes/crashtests/398042-1.xhtml => gfx/tests/crashtests/398042-1.xhtml
rename : gfx/thebes/crashtests/398042-2.xhtml => gfx/tests/crashtests/398042-2.xhtml
rename : gfx/thebes/crashtests/402307-1.html => gfx/tests/crashtests/402307-1.html
rename : gfx/thebes/crashtests/403464-1.html => gfx/tests/crashtests/403464-1.html
rename : gfx/thebes/crashtests/404112-1.html => gfx/tests/crashtests/404112-1.html
rename : gfx/thebes/crashtests/404112-2.html => gfx/tests/crashtests/404112-2.html
rename : gfx/thebes/crashtests/405268-1.xhtml => gfx/tests/crashtests/405268-1.xhtml
rename : gfx/thebes/crashtests/407761-1.html => gfx/tests/crashtests/407761-1.html
rename : gfx/thebes/crashtests/407842.html => gfx/tests/crashtests/407842.html
rename : gfx/thebes/crashtests/408754-1.html => gfx/tests/crashtests/408754-1.html
rename : gfx/thebes/crashtests/410728-1.xml => gfx/tests/crashtests/410728-1.xml
rename : gfx/thebes/crashtests/416637-1.html => gfx/tests/crashtests/416637-1.html
rename : gfx/thebes/crashtests/419095-1.html => gfx/tests/crashtests/419095-1.html
rename : gfx/thebes/crashtests/419255-1.html => gfx/tests/crashtests/419255-1.html
rename : gfx/thebes/crashtests/420945-1.html => gfx/tests/crashtests/420945-1.html
rename : gfx/thebes/crashtests/420962-1.html => gfx/tests/crashtests/420962-1.html
rename : gfx/thebes/crashtests/421393-1.html => gfx/tests/crashtests/421393-1.html
rename : gfx/thebes/crashtests/421813-1.html => gfx/tests/crashtests/421813-1.html
rename : gfx/src/thebes/crashtests/423110-1.xhtml => gfx/tests/crashtests/423110-1.xhtml
rename : gfx/thebes/crashtests/423270-1.html => gfx/tests/crashtests/423270-1.html
rename : gfx/thebes/crashtests/429899-1.html => gfx/tests/crashtests/429899-1.html
rename : gfx/thebes/crashtests/441360.html => gfx/tests/crashtests/441360.html
rename : gfx/thebes/crashtests/441360_data.gif => gfx/tests/crashtests/441360_data.gif
rename : gfx/src/thebes/crashtests/445711.html => gfx/tests/crashtests/445711.html
rename : gfx/thebes/crashtests/463307-1.html => gfx/tests/crashtests/463307-1.html
rename : gfx/thebes/crashtests/467703-1.xhtml => gfx/tests/crashtests/467703-1.xhtml
rename : gfx/thebes/crashtests/467873-1.html => gfx/tests/crashtests/467873-1.html
rename : gfx/thebes/crashtests/470418-1.html => gfx/tests/crashtests/470418-1.html
rename : gfx/thebes/crashtests/474410-1.html => gfx/tests/crashtests/474410-1.html
rename : gfx/thebes/crashtests/483120-1.xhtml => gfx/tests/crashtests/483120-1.xhtml
rename : gfx/thebes/crashtests/483120-2.xhtml => gfx/tests/crashtests/483120-2.xhtml
rename : gfx/thebes/crashtests/487549-1.html => gfx/tests/crashtests/487549-1.html
rename : gfx/thebes/crashtests/487549-bad_kern_table.ttf => gfx/tests/crashtests/487549-bad_kern_table.ttf
rename : gfx/thebes/crashtests/487724-1.html => gfx/tests/crashtests/487724-1.html
rename : gfx/thebes/crashtests/490777-1.html => gfx/tests/crashtests/490777-1.html
rename : gfx/thebes/crashtests/532726-1.html => gfx/tests/crashtests/532726-1.html
rename : gfx/thebes/crashtests/538065-1.html => gfx/tests/crashtests/538065-1.html
rename : gfx/thebes/crashtests/546870-1.html => gfx/tests/crashtests/546870-1.html
rename : gfx/thebes/crashtests/balinese-letter-spacing.html => gfx/tests/crashtests/balinese-letter-spacing.html
rename : gfx/thebes/crashtests/crashtests.list => gfx/tests/crashtests/crashtests.list
rename : gfx/thebes/test/gfxColorManagementTest.cmtest => gfx/tests/gfxColorManagementTest.cmtest
rename : gfx/thebes/test/gfxColorManagementTest.cpp => gfx/tests/gfxColorManagementTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTest.cpp => gfx/tests/gfxFontSelectionTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTests.h => gfx/tests/gfxFontSelectionTests.h
rename : gfx/thebes/test/gfxSurfaceRefCountTest.cpp => gfx/tests/gfxSurfaceRefCountTest.cpp
rename : gfx/thebes/test/gfxTestCocoaHelper.h => gfx/tests/gfxTestCocoaHelper.h
rename : gfx/thebes/test/gfxTestCocoaHelper.mm => gfx/tests/gfxTestCocoaHelper.mm
rename : gfx/thebes/test/gfxTextRunPerfTest.cpp => gfx/tests/gfxTextRunPerfTest.cpp
rename : gfx/thebes/test/gfxWordCacheTest.cpp => gfx/tests/gfxWordCacheTest.cpp
rename : gfx/thebes/mochitest/test_bug509244.html => gfx/tests/mochitest/test_bug509244.html
rename : gfx/thebes/mochitest/test_bug513439.html => gfx/tests/mochitest/test_bug513439.html
rename : gfx/thebes/test/per-word-runs.h => gfx/tests/per-word-runs.h
rename : gfx/thebes/test/process-textruns.pl => gfx/tests/process-textruns.pl
rename : gfx/thebes/test/testprofiles/DELL2407WFP-2B283C91.icc => gfx/tests/testprofiles/DELL2407WFP-2B283C91.icc
rename : gfx/thebes/test/testprofiles/G22LWk-2489A79.icc => gfx/tests/testprofiles/G22LWk-2489A79.icc
rename : gfx/thebes/test/testprofiles/MBP20080419-1.icc => gfx/tests/testprofiles/MBP20080419-1.icc
rename : gfx/thebes/test/testprofiles/PhLCD17a.icm => gfx/tests/testprofiles/PhLCD17a.icm
rename : gfx/thebes/test/testprofiles/identity.icc => gfx/tests/testprofiles/identity.icc
rename : gfx/thebes/test/testprofiles/murphy.icc => gfx/tests/testprofiles/murphy.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_noBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_noBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_withBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_withBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_v4_ICC_preference.icc => gfx/tests/testprofiles/sRGB_v4_ICC_preference.icc
2010-07-13 14:54:18 -07:00
Jonathan Kew
8a31220580 bug 511339 - part 2 - font-feature-settings and font-language-override support in gfx/thebes. r=jdaggett 2010-07-13 21:31:31 +01:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Daniel Holbert
f535a780b9 Bug 503279: disable spammy 'missing initializer' warning in imported code within gfx. r=jrmuizel 2010-07-13 11:50:18 -07:00
Jonathan Kew
01c260e89e bug 532533 - prefer reading metrics directly from font tables. r=jdaggett 2010-07-11 20:33:56 +01:00
Jonathan Kew
182798d5d4 bug 543780 - don't consider FF_DONTCARE fonts to match all generic family names. r=jdaggett 2010-07-11 20:01:52 +01:00
Jonathan Kew
8d54b7682f bug 550443 - fix font enumeration for x-unicode language group. r=jdaggett 2010-07-11 19:51:26 +01:00
Benoit Girard
01102375c0 Back out 06cc16f7954e (bug 577224) because it can cause plugins to not draw. 2010-07-09 13:14:22 -07:00
timeless@mozdev.org
5a34e2465c Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions
r=BenWa
2010-07-07 12:08:22 +03:00
timeless@mozdev.org
e054839f60 Bug 576375 LayerManagerOGL::Initialize leaks p in SHADER_PROGRAM when p->Initialize fails
r=vlad

--HG--
extra : rebase_source : 3e48dcd70be50d94126272c6339573133075faf6
2010-07-02 17:31:08 +03:00
timeless@mozdev.org
19ef538f1b Bug 565326 ContainerLayerOGL::ContainerLayerOGL doesn't use mTexture
r=bas

--HG--
extra : rebase_source : 81003129e2b42ed026a43a4a43c295dc0f6fc9cb
2010-05-25 17:34:09 +03:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benoit Jacob
22cf5106de b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir 2010-07-03 18:26:56 -04:00
Vladimir Vukicevic
836d2f6c3a b=?; fix make-makefile and cairo-features.h.in hack; r=ted 2010-07-02 11:20:29 -07:00
Oleg Romashin
459e0bf49c Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar. 2010-06-16 04:32:26 -04:00
Karl Tomlinson
a33e5a1d24 b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
060628d742 b=574220 remove gfxXlibNativeRenderer.cpp r=roc 2010-07-02 16:04:09 +12:00
Karl Tomlinson
fde5e0a9ac b=574220 add gfxXlibSurface::GetVisualAndColormap() r=vlad 2010-07-02 16:04:01 +12:00
Karl Tomlinson
efa9fe2155 b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc 2010-07-02 15:55:24 +12:00
Bas Schouten
4e102a00dd Bug 574239: Have ThebesLayerD3D9 retain its content even across changes to the visible region. r=jrmuizel 2010-07-02 04:08:48 +02:00
Robert O'Callahan
8442c7897c Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad 2010-03-04 10:37:04 +13:00
Matt Woodrow
76ed4033a0 Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad 2010-07-01 20:01:09 -05:00
Chris Jones
1e87bdba07 Bug 574585: Have LayerManagerOGL release its root layer before destruction. r=vlad 2010-07-01 20:01:09 -05:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Markus Stange
deaa46fc54 Bug 572680 - Shuffle some gfx dependencies around. r=joe
--HG--
extra : rebase_source : 982a57f4466a69e6e6a2053794b6b09c2b470b12
2010-07-01 18:43:33 +02:00
Chris Jones
7a91b27803 Bug 573889, part 6: RefactorThebesLayerOGL to use TextureImage. r=Bas 2010-07-01 11:30:38 -05:00
Chris Jones
854c966b1a Bug 573889, part 5: Implement TextureImage for CGL and WGL. r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
915e12af15 Bug 573889, part 4: Implement TextureImage for GLX. r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
41829a2ec0 Bug 573889, part 3: Implement TextureImage for EGL/X11. r=romaxa,vlad 2010-07-01 11:30:38 -05:00
Chris Jones
4400d277fd Bug 573889, part 2: Add a BasicTextureImage implementation that synchronizes new pixels to its texture with a scratch gfxASurface and glTexSubImage2D(). r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
f78c7cdfe9 Bug 573889, part 1: Add a TextureImage interface to manage synchronizing thebes-drawn content with a GL texture. sr=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
7be702f00b Bug 573889, part 0: Move the DEBUG_GL_ERROR_CHECK() macro into GLContext.h. r=vlad 2010-07-01 11:30:38 -05:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Zack Weinberg
a55cf984ba Bug 571989 follow-up: remove mentions of removed directories from toolkit-makefiles.sh and elsewhere. r=dholbert
--HG--
extra : rebase_source : c6e387430e6b2292b0925fdb681819ba109568e7
2010-06-30 08:54:39 -07:00
Bas Schouten
c7167334c9 Bug 558467: Use nsIMemoryReporter to report the image surface cache memory usage. r=jrmuizel 2010-06-30 15:52:13 +02:00
Bas Schouten
98338885bc Bug 558467: Expose the image surface cache memory usage for Direct2D. r=jrmuizel 2010-06-30 15:52:00 +02:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Chris Jones
f4f50f626e Bug 573894: Have LayerManagerOGL hold a strong ref to its root layer. r=Bas 2010-06-23 13:59:07 -05:00
Oleg Romashin
0624a7aff7 Bustage build fix on ANDROID, EGL/non-X11 configureation. bug 571832 2010-06-23 11:50:51 -04:00
Oleg Romashin
76e24ff16e Bustage build fix on linux, EGL/X11 configureation. bug 571832 2010-06-23 11:39:33 -04:00
Ginn Chen
ca5abe7f73 Bug 561739 Implement YCbCr conversion on Solaris r=doublec 2010-06-23 17:30:48 +08:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Justin Wood
ded76f3ed7 Bug 576074 - In gfxSurfaceRefCountTest thebes.lib not found. r=vlad
--HG--
extra : rebase_source : 20c72bb80ced7ee200b0456463048e59e080ec11
2010-07-01 11:36:40 -04:00
Oleg Romashin
d3bd6b7a5b Bug 571832 - Provide CreateForNativePixmapSurface API. r=vladimir.
--HG--
extra : rebase_source : 0f7214266a6bf449620d6b46fd14bc6978b621ee
2010-06-23 05:24:31 -04:00
Oleg Romashin
dc52950aa1 Bug 560537 - Make EGL provider use GL context created by Qt. r=bas.schouten.
--HG--
extra : rebase_source : 45a0da770a8e8a89c4ca02c67469893cd4f9872a
2010-06-23 05:24:22 -04:00
Oleg Romashin
9e9a380094 Bug 560537 - Fix indent for EGL provider. r=bas.schouten.
--HG--
extra : rebase_source : 5e2376f681dd4c638c111c74cc203c59df9c318a
2010-06-23 04:02:12 -04:00
Matthew Gregan
15965d6735 Bug 573590 - Ensure code for FastConvertYUVToRGB32Row is placed in .text section. r=tterribe 2010-06-23 11:12:10 +12:00
Chris Jones
6b36c3e919 Followup to bug 572939: include fixes for Mesa-family drivers that were accidentally omitted earlier. 2010-06-22 19:24:52 -05:00
Karl Tomlinson
51cbc2ced9 b=572968 use gdk_pixmap_foreign_new_for_screen to avoid XGetGeometry round trip r=jrmuizel 2010-06-23 11:11:42 +12:00
Oleg Romashin
3baacdf6ed Backout changeset 850ff2cf2868, ba88e35da4e7 due to crash on SVG test 2010-06-22 21:44:03 -04:00
Karl Tomlinson
28449a8986 b=573319 no longer use GdkPixmaps in offscreen-surfaces as they were unusable without a GdkColormap r?jrmuizel
--HG--
extra : rebase_source : 0e50d8eb410c6c130acbfa86d4e211083bab9a05
2010-06-22 20:00:38 -04:00
Oleg Romashin
6076bb7e64 Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
--HG--
extra : rebase_source : 8dce785274ca66f36c46f960ca29bde0d3faff18
2010-06-22 19:59:42 -04:00
Oleg Romashin
df368b7846 Bug 572295 - Add "X11Util" to be shared between X11 toolkits. Qt bustage fix. r=jones.chris.g 2010-06-22 19:50:47 -04:00
Matt Woodrow
9fb5f65fde Bug 572939: Implement GLContexProvider::CreateForWindow() for GLX. r=vlad 2010-06-18 18:17:00 -05:00
Bas Schouten
c91eede928 Bug 573506: Expose GetDC/ReleaseDC on D2D surfaces. r=jrmuizel 2010-06-22 03:10:34 +02:00
Chris Jones
44f4fbe884 Bug 570294, part a: Style cleanup for gfxSharedImageSurface.h. r=joedrew 2010-06-21 15:35:49 -05:00
Chris Jones
bf91852da6 Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew 2010-06-21 15:35:49 -05:00
Chris Jones
072b3cb9d2 Bug 570098: Implement operator== for a grab-bag of gfx types. r=joe 2010-06-21 15:35:49 -05:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
John Daggett
9a13e54704 merge 2010-06-10 15:51:47 +09:00
John Daggett
4fa09eb50e Backed out changeset d87007680567 2010-06-10 15:38:13 +09:00
John Daggett
02536d825c Bug 561304. Revert to using GDI shaper on XP to avoid Uniscribe positioning bug at certain font sizes. r=jkew 2010-06-10 10:26:36 +09:00
Vladimir Vukicevic
85aecff85c b=562409; add GLContextProvider form EGL (patch from vlad/fred/romaxa); r=bas 2010-06-09 15:27:29 -07:00
Vladimir Vukicevic
77abe946b5 b=570660; add ability to resize pbuffer GL contexts; r=joe 2010-06-09 15:07:12 -07:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Bas Schouten
0ecde635a1 Some whitespace fixes. 2010-06-09 17:50:05 +02:00
Bas Schouten
bf92a528d3 Bug 568495: Do not push cleartype for transparent window surfaces. r=jrmuizel 2010-06-09 17:50:03 +02:00
Michael Wu
63f56cde6f Bug 575421 - Improve 2D drawing path on Android, r=vlad 2010-06-28 23:42:28 -07:00
L. David Baron
c01ffe570a Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc 2010-06-28 13:47:39 -07:00
Zack Weinberg
f5cf8c125c Bug 571989 part 3: Flatten directory structure below gfx/thebes.
--HG--
rename : gfx/thebes/src/GLContext.cpp => gfx/thebes/GLContext.cpp
rename : gfx/thebes/public/GLContext.h => gfx/thebes/GLContext.h
rename : gfx/thebes/public/GLContextProvider.h => gfx/thebes/GLContextProvider.h
rename : gfx/thebes/src/GLContextProviderCGL.mm => gfx/thebes/GLContextProviderCGL.mm
rename : gfx/thebes/src/GLContextProviderEGL.cpp => gfx/thebes/GLContextProviderEGL.cpp
rename : gfx/thebes/src/GLContextProviderGLX.cpp => gfx/thebes/GLContextProviderGLX.cpp
rename : gfx/thebes/src/GLContextProviderNull.cpp => gfx/thebes/GLContextProviderNull.cpp
rename : gfx/thebes/src/GLContextProviderOSMesa.cpp => gfx/thebes/GLContextProviderOSMesa.cpp
rename : gfx/thebes/src/GLContextProviderWGL.cpp => gfx/thebes/GLContextProviderWGL.cpp
rename : gfx/thebes/public/GLDefs.h => gfx/thebes/GLDefs.h
rename : gfx/thebes/public/GLXLibrary.h => gfx/thebes/GLXLibrary.h
rename : gfx/thebes/public/WGLLibrary.h => gfx/thebes/WGLLibrary.h
rename : gfx/thebes/src/cairo-gdk-utils.c => gfx/thebes/cairo-gdk-utils.c
rename : gfx/thebes/src/cairo-gdk-utils.h => gfx/thebes/cairo-gdk-utils.h
rename : gfx/thebes/src/cairo-xlib-utils.c => gfx/thebes/cairo-xlib-utils.c
rename : gfx/thebes/src/cairo-xlib-utils.h => gfx/thebes/cairo-xlib-utils.h
rename : gfx/thebes/src/genUnicodeScriptData.pl => gfx/thebes/genUnicodeScriptData.pl
rename : gfx/thebes/public/gfx3DMatrix.h => gfx/thebes/gfx3DMatrix.h
rename : gfx/thebes/src/gfxASurface.cpp => gfx/thebes/gfxASurface.cpp
rename : gfx/thebes/public/gfxASurface.h => gfx/thebes/gfxASurface.h
rename : gfx/thebes/src/gfxAlphaRecovery.cpp => gfx/thebes/gfxAlphaRecovery.cpp
rename : gfx/thebes/public/gfxAlphaRecovery.h => gfx/thebes/gfxAlphaRecovery.h
rename : gfx/thebes/src/gfxAndroidPlatform.cpp => gfx/thebes/gfxAndroidPlatform.cpp
rename : gfx/thebes/public/gfxAndroidPlatform.h => gfx/thebes/gfxAndroidPlatform.h
rename : gfx/thebes/src/gfxAtomList.h => gfx/thebes/gfxAtomList.h
rename : gfx/thebes/src/gfxAtoms.cpp => gfx/thebes/gfxAtoms.cpp
rename : gfx/thebes/src/gfxAtoms.h => gfx/thebes/gfxAtoms.h
rename : gfx/thebes/src/gfxBeOSPlatform.cpp => gfx/thebes/gfxBeOSPlatform.cpp
rename : gfx/thebes/public/gfxBeOSPlatform.h => gfx/thebes/gfxBeOSPlatform.h
rename : gfx/thebes/src/gfxBeOSSurface.cpp => gfx/thebes/gfxBeOSSurface.cpp
rename : gfx/thebes/public/gfxBeOSSurface.h => gfx/thebes/gfxBeOSSurface.h
rename : gfx/thebes/public/gfxColor.h => gfx/thebes/gfxColor.h
rename : gfx/thebes/src/gfxContext.cpp => gfx/thebes/gfxContext.cpp
rename : gfx/thebes/public/gfxContext.h => gfx/thebes/gfxContext.h
rename : gfx/thebes/src/gfxCoreTextShaper.cpp => gfx/thebes/gfxCoreTextShaper.cpp
rename : gfx/thebes/src/gfxCoreTextShaper.h => gfx/thebes/gfxCoreTextShaper.h
rename : gfx/thebes/src/gfxD2DSurface.cpp => gfx/thebes/gfxD2DSurface.cpp
rename : gfx/thebes/public/gfxD2DSurface.h => gfx/thebes/gfxD2DSurface.h
rename : gfx/thebes/src/gfxDDrawSurface.cpp => gfx/thebes/gfxDDrawSurface.cpp
rename : gfx/thebes/public/gfxDDrawSurface.h => gfx/thebes/gfxDDrawSurface.h
rename : gfx/thebes/src/gfxDWriteCommon.cpp => gfx/thebes/gfxDWriteCommon.cpp
rename : gfx/thebes/src/gfxDWriteCommon.h => gfx/thebes/gfxDWriteCommon.h
rename : gfx/thebes/src/gfxDWriteFontList.cpp => gfx/thebes/gfxDWriteFontList.cpp
rename : gfx/thebes/src/gfxDWriteFontList.h => gfx/thebes/gfxDWriteFontList.h
rename : gfx/thebes/src/gfxDWriteFonts.cpp => gfx/thebes/gfxDWriteFonts.cpp
rename : gfx/thebes/public/gfxDWriteFonts.h => gfx/thebes/gfxDWriteFonts.h
rename : gfx/thebes/src/gfxDWriteShaper.cpp => gfx/thebes/gfxDWriteShaper.cpp
rename : gfx/thebes/src/gfxDWriteShaper.h => gfx/thebes/gfxDWriteShaper.h
rename : gfx/thebes/src/gfxDWriteTextAnalysis.cpp => gfx/thebes/gfxDWriteTextAnalysis.cpp
rename : gfx/thebes/src/gfxDWriteTextAnalysis.h => gfx/thebes/gfxDWriteTextAnalysis.h
rename : gfx/thebes/src/gfxDirectFBSurface.cpp => gfx/thebes/gfxDirectFBSurface.cpp
rename : gfx/thebes/public/gfxDirectFBSurface.h => gfx/thebes/gfxDirectFBSurface.h
rename : gfx/thebes/src/gfxDllDeps.cpp => gfx/thebes/gfxDllDeps.cpp
rename : gfx/thebes/src/gfxFT2FontBase.cpp => gfx/thebes/gfxFT2FontBase.cpp
rename : gfx/thebes/public/gfxFT2FontBase.h => gfx/thebes/gfxFT2FontBase.h
rename : gfx/thebes/src/gfxFT2FontList.cpp => gfx/thebes/gfxFT2FontList.cpp
rename : gfx/thebes/src/gfxFT2FontList.h => gfx/thebes/gfxFT2FontList.h
rename : gfx/thebes/src/gfxFT2Fonts.cpp => gfx/thebes/gfxFT2Fonts.cpp
rename : gfx/thebes/public/gfxFT2Fonts.h => gfx/thebes/gfxFT2Fonts.h
rename : gfx/thebes/src/gfxFT2Utils.cpp => gfx/thebes/gfxFT2Utils.cpp
rename : gfx/thebes/src/gfxFT2Utils.h => gfx/thebes/gfxFT2Utils.h
rename : gfx/thebes/src/gfxFont.cpp => gfx/thebes/gfxFont.cpp
rename : gfx/thebes/public/gfxFont.h => gfx/thebes/gfxFont.h
rename : gfx/thebes/public/gfxFontConstants.h => gfx/thebes/gfxFontConstants.h
rename : gfx/thebes/src/gfxFontMissingGlyphs.cpp => gfx/thebes/gfxFontMissingGlyphs.cpp
rename : gfx/thebes/src/gfxFontMissingGlyphs.h => gfx/thebes/gfxFontMissingGlyphs.h
rename : gfx/thebes/src/gfxFontTest.cpp => gfx/thebes/gfxFontTest.cpp
rename : gfx/thebes/public/gfxFontTest.h => gfx/thebes/gfxFontTest.h
rename : gfx/thebes/src/gfxFontUtils.cpp => gfx/thebes/gfxFontUtils.cpp
rename : gfx/thebes/public/gfxFontUtils.h => gfx/thebes/gfxFontUtils.h
rename : gfx/thebes/src/gfxFontconfigUtils.cpp => gfx/thebes/gfxFontconfigUtils.cpp
rename : gfx/thebes/src/gfxFontconfigUtils.h => gfx/thebes/gfxFontconfigUtils.h
rename : gfx/thebes/src/gfxGDIFont.cpp => gfx/thebes/gfxGDIFont.cpp
rename : gfx/thebes/src/gfxGDIFont.h => gfx/thebes/gfxGDIFont.h
rename : gfx/thebes/src/gfxGDIFontList.cpp => gfx/thebes/gfxGDIFontList.cpp
rename : gfx/thebes/src/gfxGDIFontList.h => gfx/thebes/gfxGDIFontList.h
rename : gfx/thebes/src/gfxGDIShaper.cpp => gfx/thebes/gfxGDIShaper.cpp
rename : gfx/thebes/src/gfxGDIShaper.h => gfx/thebes/gfxGDIShaper.h
rename : gfx/thebes/src/gfxGdkNativeRenderer.cpp => gfx/thebes/gfxGdkNativeRenderer.cpp
rename : gfx/thebes/public/gfxGdkNativeRenderer.h => gfx/thebes/gfxGdkNativeRenderer.h
rename : gfx/thebes/public/gfxGlitzSurface.h => gfx/thebes/gfxGlitzSurface.h
rename : gfx/thebes/src/gfxHarfBuzzShaper.cpp => gfx/thebes/gfxHarfBuzzShaper.cpp
rename : gfx/thebes/src/gfxHarfBuzzShaper.h => gfx/thebes/gfxHarfBuzzShaper.h
rename : gfx/thebes/src/gfxImageSurface.cpp => gfx/thebes/gfxImageSurface.cpp
rename : gfx/thebes/public/gfxImageSurface.h => gfx/thebes/gfxImageSurface.h
rename : gfx/thebes/src/gfxMacFont.cpp => gfx/thebes/gfxMacFont.cpp
rename : gfx/thebes/src/gfxMacFont.h => gfx/thebes/gfxMacFont.h
rename : gfx/thebes/src/gfxMacPlatformFontList.h => gfx/thebes/gfxMacPlatformFontList.h
rename : gfx/thebes/src/gfxMacPlatformFontList.mm => gfx/thebes/gfxMacPlatformFontList.mm
rename : gfx/thebes/src/gfxMatrix.cpp => gfx/thebes/gfxMatrix.cpp
rename : gfx/thebes/public/gfxMatrix.h => gfx/thebes/gfxMatrix.h
rename : gfx/thebes/src/gfxOS2Fonts.cpp => gfx/thebes/gfxOS2Fonts.cpp
rename : gfx/thebes/public/gfxOS2Fonts.h => gfx/thebes/gfxOS2Fonts.h
rename : gfx/thebes/src/gfxOS2Platform.cpp => gfx/thebes/gfxOS2Platform.cpp
rename : gfx/thebes/public/gfxOS2Platform.h => gfx/thebes/gfxOS2Platform.h
rename : gfx/thebes/src/gfxOS2Surface.cpp => gfx/thebes/gfxOS2Surface.cpp
rename : gfx/thebes/public/gfxOS2Surface.h => gfx/thebes/gfxOS2Surface.h
rename : gfx/thebes/src/gfxPDFSurface.cpp => gfx/thebes/gfxPDFSurface.cpp
rename : gfx/thebes/public/gfxPDFSurface.h => gfx/thebes/gfxPDFSurface.h
rename : gfx/thebes/src/gfxPSSurface.cpp => gfx/thebes/gfxPSSurface.cpp
rename : gfx/thebes/public/gfxPSSurface.h => gfx/thebes/gfxPSSurface.h
rename : gfx/thebes/src/gfxPangoFonts.cpp => gfx/thebes/gfxPangoFonts.cpp
rename : gfx/thebes/public/gfxPangoFonts.h => gfx/thebes/gfxPangoFonts.h
rename : gfx/thebes/src/gfxPath.cpp => gfx/thebes/gfxPath.cpp
rename : gfx/thebes/public/gfxPath.h => gfx/thebes/gfxPath.h
rename : gfx/thebes/src/gfxPattern.cpp => gfx/thebes/gfxPattern.cpp
rename : gfx/thebes/public/gfxPattern.h => gfx/thebes/gfxPattern.h
rename : gfx/thebes/src/gfxPlatform.cpp => gfx/thebes/gfxPlatform.cpp
rename : gfx/thebes/public/gfxPlatform.h => gfx/thebes/gfxPlatform.h
rename : gfx/thebes/src/gfxPlatformFontList.cpp => gfx/thebes/gfxPlatformFontList.cpp
rename : gfx/thebes/src/gfxPlatformFontList.h => gfx/thebes/gfxPlatformFontList.h
rename : gfx/thebes/src/gfxPlatformGtk.cpp => gfx/thebes/gfxPlatformGtk.cpp
rename : gfx/thebes/public/gfxPlatformGtk.h => gfx/thebes/gfxPlatformGtk.h
rename : gfx/thebes/src/gfxPlatformMac.cpp => gfx/thebes/gfxPlatformMac.cpp
rename : gfx/thebes/public/gfxPlatformMac.h => gfx/thebes/gfxPlatformMac.h
rename : gfx/thebes/public/gfxPoint.h => gfx/thebes/gfxPoint.h
rename : gfx/thebes/src/gfxQPainterSurface.cpp => gfx/thebes/gfxQPainterSurface.cpp
rename : gfx/thebes/public/gfxQPainterSurface.h => gfx/thebes/gfxQPainterSurface.h
rename : gfx/thebes/src/gfxQtNativeRenderer.cpp => gfx/thebes/gfxQtNativeRenderer.cpp
rename : gfx/thebes/public/gfxQtNativeRenderer.h => gfx/thebes/gfxQtNativeRenderer.h
rename : gfx/thebes/src/gfxQtPlatform.cpp => gfx/thebes/gfxQtPlatform.cpp
rename : gfx/thebes/public/gfxQtPlatform.h => gfx/thebes/gfxQtPlatform.h
rename : gfx/thebes/src/gfxQuartzImageSurface.cpp => gfx/thebes/gfxQuartzImageSurface.cpp
rename : gfx/thebes/public/gfxQuartzImageSurface.h => gfx/thebes/gfxQuartzImageSurface.h
rename : gfx/thebes/src/gfxQuartzNativeDrawing.cpp => gfx/thebes/gfxQuartzNativeDrawing.cpp
rename : gfx/thebes/public/gfxQuartzNativeDrawing.h => gfx/thebes/gfxQuartzNativeDrawing.h
rename : gfx/thebes/src/gfxQuartzPDFSurface.cpp => gfx/thebes/gfxQuartzPDFSurface.cpp
rename : gfx/thebes/public/gfxQuartzPDFSurface.h => gfx/thebes/gfxQuartzPDFSurface.h
rename : gfx/thebes/src/gfxQuartzSurface.cpp => gfx/thebes/gfxQuartzSurface.cpp
rename : gfx/thebes/public/gfxQuartzSurface.h => gfx/thebes/gfxQuartzSurface.h
rename : gfx/thebes/src/gfxRect.cpp => gfx/thebes/gfxRect.cpp
rename : gfx/thebes/public/gfxRect.h => gfx/thebes/gfxRect.h
rename : gfx/thebes/src/gfxScriptItemizer.cpp => gfx/thebes/gfxScriptItemizer.cpp
rename : gfx/thebes/src/gfxScriptItemizer.h => gfx/thebes/gfxScriptItemizer.h
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
rename : gfx/thebes/src/gfxSkipChars.cpp => gfx/thebes/gfxSkipChars.cpp
rename : gfx/thebes/public/gfxSkipChars.h => gfx/thebes/gfxSkipChars.h
rename : gfx/thebes/src/gfxTextRunCache.cpp => gfx/thebes/gfxTextRunCache.cpp
rename : gfx/thebes/public/gfxTextRunCache.h => gfx/thebes/gfxTextRunCache.h
rename : gfx/thebes/src/gfxTextRunWordCache.cpp => gfx/thebes/gfxTextRunWordCache.cpp
rename : gfx/thebes/public/gfxTextRunWordCache.h => gfx/thebes/gfxTextRunWordCache.h
rename : gfx/thebes/public/gfxTypes.h => gfx/thebes/gfxTypes.h
rename : gfx/thebes/src/gfxUnicodeProperties.cpp => gfx/thebes/gfxUnicodeProperties.cpp
rename : gfx/thebes/src/gfxUnicodeProperties.h => gfx/thebes/gfxUnicodeProperties.h
rename : gfx/thebes/src/gfxUnicodePropertyData.cpp => gfx/thebes/gfxUnicodePropertyData.cpp
rename : gfx/thebes/src/gfxUniscribeShaper.cpp => gfx/thebes/gfxUniscribeShaper.cpp
rename : gfx/thebes/src/gfxUniscribeShaper.h => gfx/thebes/gfxUniscribeShaper.h
rename : gfx/thebes/src/gfxUserFontSet.cpp => gfx/thebes/gfxUserFontSet.cpp
rename : gfx/thebes/public/gfxUserFontSet.h => gfx/thebes/gfxUserFontSet.h
rename : gfx/thebes/src/gfxUtils.cpp => gfx/thebes/gfxUtils.cpp
rename : gfx/thebes/public/gfxUtils.h => gfx/thebes/gfxUtils.h
rename : gfx/thebes/src/gfxWindowsNativeDrawing.cpp => gfx/thebes/gfxWindowsNativeDrawing.cpp
rename : gfx/thebes/public/gfxWindowsNativeDrawing.h => gfx/thebes/gfxWindowsNativeDrawing.h
rename : gfx/thebes/src/gfxWindowsPlatform.cpp => gfx/thebes/gfxWindowsPlatform.cpp
rename : gfx/thebes/public/gfxWindowsPlatform.h => gfx/thebes/gfxWindowsPlatform.h
rename : gfx/thebes/src/gfxWindowsSurface.cpp => gfx/thebes/gfxWindowsSurface.cpp
rename : gfx/thebes/public/gfxWindowsSurface.h => gfx/thebes/gfxWindowsSurface.h
rename : gfx/thebes/src/gfxXlibNativeRenderer.cpp => gfx/thebes/gfxXlibNativeRenderer.cpp
rename : gfx/thebes/public/gfxXlibNativeRenderer.h => gfx/thebes/gfxXlibNativeRenderer.h
rename : gfx/thebes/src/gfxXlibSurface.cpp => gfx/thebes/gfxXlibSurface.cpp
rename : gfx/thebes/public/gfxXlibSurface.h => gfx/thebes/gfxXlibSurface.h
rename : gfx/thebes/src/ignorable.x-ccmap => gfx/thebes/ignorable.x-ccmap
rename : gfx/thebes/src/nsUnicodeRange.cpp => gfx/thebes/nsUnicodeRange.cpp
rename : gfx/thebes/src/nsUnicodeRange.h => gfx/thebes/nsUnicodeRange.h
rename : gfx/thebes/src/woff-private.h => gfx/thebes/woff-private.h
rename : gfx/thebes/src/woff.c => gfx/thebes/woff.c
rename : gfx/thebes/src/woff.h => gfx/thebes/woff.h
2010-06-28 10:37:23 -07:00
Zack Weinberg
1412be997a Bug 571989 part 2: Fold gfx/public and gfx/idl into gfx/src.
--HG--
rename : gfx/public/X11Util.h => gfx/src/X11Util.h
rename : gfx/public/gfxCore.h => gfx/src/gfxCore.h
rename : gfx/idl/gfxIFormats.idl => gfx/src/gfxIFormats.idl
rename : gfx/idl/gfxidltypes.idl => gfx/src/gfxidltypes.idl
rename : gfx/public/nsColor.h => gfx/src/nsColor.h
rename : gfx/public/nsColorNameList.h => gfx/src/nsColorNameList.h
rename : gfx/public/nsColorNames.h => gfx/src/nsColorNames.h
rename : gfx/public/nsCoord.h => gfx/src/nsCoord.h
rename : gfx/public/nsFont.h => gfx/src/nsFont.h
rename : gfx/public/nsGfxCIID.h => gfx/src/nsGfxCIID.h
rename : gfx/public/nsIDeviceContext.h => gfx/src/nsIDeviceContext.h
rename : gfx/idl/nsIFontEnumerator.idl => gfx/src/nsIFontEnumerator.idl
rename : gfx/public/nsIFontMetrics.h => gfx/src/nsIFontMetrics.h
rename : gfx/public/nsIRegion.h => gfx/src/nsIRegion.h
rename : gfx/public/nsIRenderingContext.h => gfx/src/nsIRenderingContext.h
rename : gfx/idl/nsIScriptableRegion.idl => gfx/src/nsIScriptableRegion.idl
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
rename : gfx/public/nsMargin.h => gfx/src/nsMargin.h
rename : gfx/public/nsPoint.h => gfx/src/nsPoint.h
rename : gfx/public/nsRect.h => gfx/src/nsRect.h
rename : gfx/public/nsRegion.h => gfx/src/nsRegion.h
rename : gfx/public/nsSize.h => gfx/src/nsSize.h
rename : gfx/public/nsThemeConstants.h => gfx/src/nsThemeConstants.h
rename : gfx/public/nsTransform2D.h => gfx/src/nsTransform2D.h
2010-06-28 10:36:20 -07:00
Zack Weinberg
cdb43c9602 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Robert O'Callahan
d34e9db39e Bug 572317. Allow snapped rectangles to snap even if there's a 90 degree rotation. r=jrmuizel 2010-06-28 12:29:57 +12:00
Jacek Caban
f33f058fc4 Bug 508905 - /Zc:wchar_t- is no longer required (cairo-dwrite part) r=jmuizelaar
--HG--
extra : rebase_source : 2a283b99932cb9891e63f56670e8ce8762514385
2010-06-27 01:31:01 +02:00
Karl Tomlinson
24799dd3c3 b=573319 no longer use GdkPixmaps in offscreen-surfaces as they were unusable without a GdkColormap r=jrmuizel 2010-06-27 20:05:00 +12:00
Karl Tomlinson
ad9cadf16a b=574158 free Pixmaps from the destructor to handle error cairo surfaces r=jrmuizel 2010-06-27 20:04:33 +12:00
Karl Tomlinson
55e71bbb68 b=574156 limit Pixmap dimensions to the *signed* 16-bit range r=jrmuizel 2010-06-27 20:03:48 +12:00
Benjamin Otte
5710ee0da8 b=571448 In the XCopyArea region code, don't modify src_x/y when they are later used in the unbounded fixup code r=jrmuizel 2010-06-27 20:03:16 +12:00
Vladimir Vukicevic
245c95c82b b=573181; clean up render path on Android and prepare for GL layers rendering; r=mwu 2010-06-25 17:52:37 -07:00
Jacek Caban
e8ee0dbbf6 Bug 569475 - Fix qcms linking failure on mingw-w64. r=jmuizelaar
--HG--
extra : rebase_source : 07a082564d002faeaedc4fb57911ec9d64b605fd
2010-06-07 10:16:22 +02:00
Benoit Girard
4518164713 Limit drawing operations to the width/height of the IOSurface. b=570347 r=josh 2010-06-09 00:12:06 -04:00
Benoit Girard
59f7614d8b Replace float by CGFloat to fix BoxShadows on 64-bit OS X + added reftest. b=562616 r=jmuizelaar 2010-06-09 00:11:38 -04:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
John Daggett
c9a6678562 Bug 504698. Force Cleartype rendering of content on XP based on pref (follow-on). r=jkew 2010-06-09 09:33:13 +09:00
Neil Rashbrook
9270d2e6b4 Bug 569490 Don't build D3D9 layer if we can't find d3d9.h r=ted,jmuizelaar 2010-06-06 11:37:44 +01:00
Timothy Nikkel
55fde443d9 Bug 563878. Part 2. Some view/ cleanup. r=mats
(transplanted from 5702bf7ea7eb85e1dbbd23a74f6e747e3b26edcd)

--HG--
extra : transplant_source : W%02%BF%7E%A7%EB%85%E1%DB%BD%23%A7Ont%7E%3B%26%ED%CD
2010-06-05 15:29:49 -05:00
Timothy Nikkel
3cf7abcc45 Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats
(transplanted from d5ca465f42381d777adcc468c8fdf96942f1fcfe)

--HG--
extra : transplant_source : %D5%CAF_B8%1Dwz%DC%C4h%C8%FD%F9iB%F1%FC%FE
2010-06-05 15:29:49 -05:00
Timothy Nikkel
c98f610ec6 Bug 563878. Part 1a. Make nsThebesRegion hold a nsIntRegion like it should. r=mats
(transplanted from f2991bf41c20d8d20115d85506828cb0c727078d)

--HG--
extra : transplant_source : %F2%99%1B%F4%1C%20%D8%D2%01%15%D8U%06%82%8C%B0%C7%27%07%8D
2010-06-05 15:29:49 -05:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Oleg Romashin
1d4da3e8fe Bug 574581 - "Conditional jump or move depends on uninitialised value(s)" in ThebesLayerOGL::EnsureSurface(). r=jones.chris.g 2010-06-25 07:18:56 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jonathan Kew
195f712d74 bug 574287 - honor the bad-underline blacklist in dwrite font backend. r=bas 2010-06-24 21:38:57 +01:00
Jonathan Kew
4f21861adb bug 574076 - correctly get width of digit glyph with dwrite. r=bas 2010-06-24 13:11:59 +01:00
jrmuizel@ironman.ca.mozilla.com
fd471e0e0a Bug 567295. d2d: Support antialiased clipping. r=bas
This switches from using CombineGeometry() to accumulate
clip paths to using a stack of Layers each with a
geometric mask. This avoids any imprecision that occurs
when using CombineGeometry().

There maybe some performance regressions but we need the
correctness and may be able to get some of the performance
back.
2010-06-30 14:55:21 -04:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Matt Woodrow
0444dac3c3 Bug 573929: Prevent GLX textures from being released after the window supplying the GLContext from which they were allocated dies. r=vlad 2010-06-23 18:37:00 -05:00
Oleg Romashin
7a883a2803 Bug 548437 - Implement a SysV shared memory backend for Shmem and allow them to be used with Xshm. r=joe,sr=vladimir 2010-06-04 09:58:22 -04:00
Bas Schouten
ef1cf4a69e Bug 567844 Shared builds on Windows broken by bug 546515 - Add LayerManagerD3D9 to Dll dependencies only for XP_WIN. Patch by Bas, ifdefs by Walter Meini, r=roc 2010-05-25 09:43:30 +01:00
Bas Schouten
cd94c32d80 Bug 567966: Part 2: Remove rogue allocation from PlanarYCbCrImageD3D9. r=vlad 2010-05-25 09:37:21 +02:00
Bas Schouten
44402345e3 Bug 567966: Part 1: Properly handle siblings and children. Also fix missing release on container destructor. r=vlad 2010-05-25 09:37:19 +02:00
Vladimir Vukicevic
917dfcb032 b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Bas Schouten
a6f5b5a240 Bug 567943: Let ContainerLayerD3D9 keep references to their children. r=roc 2010-05-25 04:43:59 +02:00