Commit Graph

1319 Commits

Author SHA1 Message Date
Matt Woodrow
11d93c27a5 Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0 2010-09-03 15:51:15 +12:00
Robert O'Callahan
fa118e17df Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Robert O'Callahan
ef2339dd29 Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad 2010-09-02 21:18:41 +12:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Vladimir Vukicevic
2933c77738 b=591486 followup for non-d2d-surface win32 builds; a=bbbreakage 2010-08-30 20:02:18 -04:00
Vladimir Vukicevic
c1e7b093a7 b=592105; [gl] clear new FBOs when resizing offscreen FBOs at correct time; r=bas a=b5 2010-08-30 19:56:42 -04:00
Vladimir Vukicevic
70490d6dea b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5 2010-08-30 17:45:29 -04:00
Justin Wood
c764890912 Followup to Bug 591139 - Define safeMode outside the ifdef so it can be used properly. r+=Bas. a=BustageFix 2010-08-28 23:10:25 -04:00
Jeff Muizelaar
6df1ff332c Bug 586048. Annotate crashdumps with graphics info at startup. r=gavin,a=blocking
Previously GfxInfo wasn't started until it was used by about:support.
This makes gfxPlatform intialize it during gfxPlatform init.
2010-08-28 10:18:41 -04:00
Joe Drew
18bfa9d172 Bug 591139 - Disable hardware acceleration in safe mode. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Joe Drew
177c57fe4b Bug 590335 - Add a pref to unconditionally disable Direct2D. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Timothy Nikkel
78f46f0276 Bug 590403. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jmuizelaar 2010-08-27 18:15:08 -05:00
Jonathan Kew
a8bc9dd110 bug 569510 - check validity of mScaledFont before passing to cairo APIs. r=jdaggett a=blocking2.0 2010-08-27 14:16:07 +01:00
Justin Wood
9a1b8c7550 Fix thebes errors in non libXUL and when D3D is not enabled. r+=Bas over irc. a=Bustage Fix 2010-08-26 18:26:47 -04:00
Atul Apte
4a9f8dee1f Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Bobby Holley
9b62c35018 Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker 2010-08-23 15:42:51 -07:00
Jonathan Kew
308278b403 bug 588731 - ensure correct font is selected in the DC when getting glyph metrics. r=jdaggett a=blocking2.0 2010-08-23 11:32:45 +01:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
747fa70120 Bug 581222. Extend gfxQuartzNativeDrawing to support non-Quartz destination surfaces. r=vlad
--HG--
extra : rebase_source : 39ddae96ed373e29852ac6ec3bb8430e96514c9b
2010-08-23 21:30:07 +12:00
Ginn Chen
544532c6c0 Bug 587936 Fix a crash in gfxAlphaRecovery::RecoverAlphaSSE2 r=vladimir a=joedrew 2010-08-22 23:17:03 +08:00
Jacek Caban
4ec87049cd Bug 588401 - widget/src/windows compilation causes tons of warnings on mingw r=roc a=joe
--HG--
extra : rebase_source : 8843af3c2bee553f4ee491e12798a260463e82ac
2010-08-20 20:19:38 +02:00
Rich Walsh
420a678bbd Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 2 - MozCairo and Thebes. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:50:32 -07:00
Robert O'Callahan
e2e4b00b49 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-20 14:29:01 -05:00
Bas Schouten
4e42d7bf1a Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc 2010-08-19 20:26:00 -05:00
Chris Jones
2ae808118e Backed out changeset b3e968d831ec 2010-08-19 19:04:21 -05:00
Robert O'Callahan
b9271a11f6 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-19 13:49:35 -05:00
Benjamin Smedberg
3a5f09a601 Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure. 2010-09-14 14:50:24 -07:00
Oleg Romashin
dcd9fb6f7a Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-14 12:01:02 -07:00
Bas Schouten
690beb1d8a Bug 588568. Only check VRAM if we have a D2D device. r=joe,a=blocking 2010-08-19 21:35:08 +12:00
Robert O'Callahan
2ee9178a2e Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Bas Schouten
815503bb25 Bug 587936: Add SSE2 optimizations for alpha recovery. r=vlad a=crowder 2010-08-18 05:43:49 +02:00
Bas Schouten
a5fb731221 Bug 587856 - Part 2: Report D2D surface VRAM usage through memory reporter. r=jrmuizel 2010-08-18 05:43:49 +02:00
Bas Schouten
e43ef91c98 Enable D2D by default again. 2010-08-18 05:43:49 +02:00
Jonathan Kew
6b602b597d bug 580719 - pt3 - improve sanity-checking of 'head' table in downloaded fonts. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jeff Muizelaar
0ae39c92cf Disable D2D to fix browser_bug577990.js timeout 2010-08-16 09:35:40 -04:00
Bas Schouten
9b084a338f Re-enable Direct2D by default. a=joedrew 2010-08-16 09:15:03 +02:00
Bas Schouten
13d541c6b4 Fix line-endings in gfxWindowsPlatform. 2010-08-16 09:15:03 +02:00
Bas Schouten
23600d1535 Bug 587293: When D2D is preffed off, disable DWrite if it wasn't explicitly preffed on. r=joedrew 2010-08-16 09:15:03 +02:00
Jeff Muizelaar
024d8acf0d Bug 587395: Expose whether DWrite is enabled through nsIGfxInfo. r=joedrew 2010-08-16 09:15:03 +02:00
Julian Seward
7a97356e18 Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc 2010-08-15 11:01:49 +02:00
Jacek Caban
8d16beb164 Bug 585295 - Broken GLContextProviderEGL.cpp compilation on mingw-w64 r=vladimir a=joe
--HG--
extra : rebase_source : 62a8074c8edfe982e6ddbbc6df6d57b41744aeb1
2010-08-14 16:41:51 +02:00
Jeff Muizelaar
3167f23bb8 Bug 573229. Disable D2D to fix all the orange it's causing.
There are a bunch of failing mochitests that I don't have an answer for,
so just disable D2D for now.
2010-08-14 08:43:27 -04:00
Bas Schouten
bd638f486d Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel 2010-08-14 08:34:55 +02:00
timeless@mozdev.org
819ac8227f Bug 585413 warning: comparison between signed and unsigned integer expressions in GLContext::ExtensionBitset<setlen>. r=vlad a=joe 2010-08-13 21:09:53 -07:00
Robert O'Callahan
f8dc984ede Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
9a0597fca0 Bug 572680 - Create gfxDrawable interface and implementations for surfaces, patterns and drawing callbacks. r=joe 2010-08-13 15:30:14 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Jonathan Kew
24d6cefcd4 bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett 2010-08-11 17:52:26 +01:00
Jonathan Kew
ab84e170d2 bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc 2010-08-11 17:52:23 +01:00
Jonathan Kew
c8f4d990c1 bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett 2010-08-11 17:52:21 +01:00
Jonathan Kew
0edcbde657 merge backout of 153bd6dc88be (bug 553963 pt 3) a=backout 2010-08-11 19:09:17 +01:00
Jonathan Kew
b2e93e816f Backed out changeset 153bd6dc88be 2010-08-11 19:06:46 +01:00
Jonathan Kew
266fa0f9f5 merge backout of 444328d96da2 (bug 553963 pt 2) 2010-08-11 19:06:07 +01:00
Jonathan Kew
22451edaa4 Backed out changeset 444328d96da2 2010-08-11 19:04:16 +01:00
Jonathan Kew
4d5859d463 merge backout of changeset fc3b32b2f050 (bug 553963 pt 1) 2010-08-11 18:49:36 +01:00
Jonathan Kew
e0c144a2cf Backed out changeset fc3b32b2f050 2010-08-11 18:47:48 +01:00
Jonathan Kew
5a6b86d70b bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett 2010-08-11 17:52:26 +01:00
Jonathan Kew
7bae49de6f bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc 2010-08-11 17:52:23 +01:00
Jonathan Kew
cc017938e2 bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett 2010-08-11 17:52:21 +01:00
Bas Schouten
4a42a6b216 Bug 584539: Part 2 - Expose D2D surface creation from handle. r=jrmuizel 2010-08-11 02:36:03 +02:00
Bas Schouten
7432b914e6 Bug 580765: Support different compositing operations with D2D. Add cairo_d2d_device_t to make handling this easier. r=jrmuizel 2010-08-11 01:59:51 +02:00
Karl Tomlinson
7425141d4d b=579676 detect overflow when black and white images differ r=roc 2010-08-09 14:22:56 +12:00
Karl Tomlinson
31f02e5551 b=579676 use the same alpha recovery code for gfxWindowsNativeDrawing and gfxXlibNativeRenderer r=roc 2010-08-09 14:19:17 +12:00
Rich Walsh
720167ddcb Bug 580142 - [OS/2] Build break in gfxOS2Fonts r=mozilla@Weilbacher.org a=NPOTB 2010-08-07 17:35:33 +02:00
Mark Banner
3e1d731fd0 Mark GLContext::MarkDestroyed as THEBES_API to resolve link bustage in shared builds. r=Bustage fix. 2010-08-07 08:49:01 +01:00
Vladimir Vukicevic
9636d54ad1 b=583838; add ANGLE/D3D WebGL support - part 3 - add support for finding ANGLE libs in an addon; r=sdwilsh 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
d362d738b4 b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
c44e0d0074 b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
1b3227d6a9 b=574481; fix layers lifetime issues; part 2 - add some utils to GLContext; r=bas 2010-08-06 22:09:18 -07:00
Jonathan Kew
f3accd92b1 bug 580863 - don't use CGFontGetUnitsPerEm with OpenType fonts, may result in incorrect glyph metrics for harfbuzz. r=jdaggett a=blocking2.0 2010-08-05 10:18:44 +01:00
Jonathan Kew
2340d242a4 bug 581087 - get true maxAdvance and aveCharWidth in DWrite font metrics. r=bas a=blocking2.0 2010-08-05 10:18:42 +01:00
Robert O'Callahan
21d0bce532 Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Karl Tomlinson
b63f16d676 b=579736 use cairo_surface_create_similar in CreateSimilarSurface to create surfaces that support simple overlapping self-copies r=jrmuizel
--HG--
extra : rebase_source : c789d681825d8a4b22d7b3161ec476a5f85d73b2
2010-07-30 15:16:17 +12:00
Vladimir Vukicevic
97c8f5f185 b=582469; use high precision depth buffer if available (esp with FBOs); r=bjacob 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Jonathan Kew
e2fbf5336f bug 575695 - support TrueType kerning in the harfbuzz font shaper backend. r=jdaggett 2010-07-28 14:36:07 +01:00
John Daggett
d34d0c5116 Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
John Daggett
5ba57b18d4 Bug 577065. Force bitmap fonts to use Uniscribe shaper. r=jkew 2010-07-28 13:52:21 +09:00
John Daggett
ee0583c854 Bug 577065. Cleanup MapCharToGlyph parameter types. r=jkew 2010-07-28 13:00:38 +09:00
Benoit Girard
d757e4d425 Bug 580862 - Init gGlobalContext in GLContextProviderCGL. r=vlad 2010-07-24 20:10:58 -04:00
Karl Tomlinson
daf62b7225 b=576143 copy and draw over background to avoid alpha extraction when possible r=roc
--HG--
extra : rebase_source : 810293a95d07bc0f0a981466a596ccd0db8d389b
2010-07-23 10:39:22 +12:00
Karl Tomlinson
1094a22411 add a function to look for a Visual matching an image format b=576143 r=jrmuizel
--HG--
extra : rebase_source : bc38c8223dc91c2ec6a05a35e6ba43863c77dd7b
2010-07-23 10:28:56 +12:00
Karl Tomlinson
fb689d79eb b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Chris Jones
7d90dfc275 Bug 573829, part 2: Add TextureImage API for getting backing ASurface (if exists) and determining whether it's in an update. sr=vlad 2010-07-22 15:29:37 -05:00
Jonathan Kew
0f9e3604bd bug 580212 - loca table validation. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2fb90b25c6 bug 580100 - sanity-checking of hhea/hmtx tables. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2f92ddc5b8 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Oleg Romashin
a34b7ea976 Bug 580317 - Qt desktop build not compilable on non-EGL environment. r=vladimir approval2.0=pavlov 2010-07-22 08:07:38 +03:00
Brad Lassey
1e1d624e70 bug 571767 - @font-face is not working on Android r=jdagget b=fennec2.0 2010-07-16 02:03:45 -04:00
Matt Woodrow
6a7826f993 b=580101; fix GLX GL context provider; r=vlad 2010-07-19 21:05:42 -07:00
Neil Rashbrook
d64d74c1cd Bug 579931 - libgklayout.so link failure because of undefined GLContext methods; r=vladimir 2010-07-19 18:19:15 -04:00
Vladimir Vukicevic
fad535298d b=579696; BasicTextureImage doesn't handle partial updates properly; r=cjones 2010-07-19 14:54:17 -07:00
John Daggett
133154bd87 Bug 579838. Remove unnecessary assertion. r=jkew 2010-07-19 17:10:35 +09:00
Vladimir Vukicevic
560f0324e2 b=573720; some small fixes to make OSMesa work; r=bjacob 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
9735a3a8c3 b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e5aa4fb514 b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
dbd5cb620b b=575032; make GL Context providers static, allow for multiple providers; r=bas 2010-07-18 22:01:14 -07: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