Commit Graph

4263 Commits

Author SHA1 Message Date
Daniel Holbert
296e85bd0c Bug 731393: Update type of temporary copy of nsDeviceContext::mAppUnitsPerDevPixel (which is now unsigned), to fix build warning. r=joe
--HG--
extra : rebase_source : c6bfe18c121bac203b2371c9ef35dee1edebf70c
2012-02-29 23:05:43 +01:00
Masatoshi Kimura
85d80030c2 Bug 730550 - Make sure the t2embed library is available before using. r=jdaggett
--HG--
extra : rebase_source : f5fd56246a71795ad872f4db10c58c9f28fbaac2
2012-02-28 17:04:05 +01:00
Benoit Girard
6fc42c7ee3 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Benoit Jacob
48c5b9a871 Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Nathan Froyd
35f8e8a387 Bug 700659 - Slay nsHashSets in gfx/thebes. r=bas 2011-11-08 15:22:04 -05:00
Mark Capella
ff56359165 Bug 718359 - remove useless SANITY_CHECKING_FEATURE and XCB_SURFACE_FEATURE. r=khuey 2012-02-25 22:01:09 +01:00
Jeff Muizelaar
7edc099e21 Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow 2012-02-25 00:35:41 -05:00
Jeff Muizelaar
617ed39964 Bug 728028. CG: Avoid double transforming filled gradients. r=mwoodrow
When we fixed transformed clips it caused us to double transform gradients. We
fix this by avoiding ::PushClip when drawing gradients. This has the advantage
of saving a save and restore pair and it makes Fill() more closely match
Stroke()
2012-02-25 00:35:39 -05:00
Jeff Gilbert
b09b159de0 Bug 724476 - Add ANGLE patch file for impl. readpixel format BGRA - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
d4a1b00304 Bug 724476 - ANGLE Bug 294 - Use BGRA/UBYTE as exposed fast format/type for readPixels - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
727633dbc7 Bug 724476 - Add patch for strict ANGLE readpixels behavior - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
66a7e7b7eb Bug 724476 - ANGLE Bug 293 - Enforce readPixels format/type semantics - r=bjacob 2012-02-24 14:37:05 -08:00
Rafael Ávila de Espíndola
ce15409cce Bug 723864 - Remove dead default cases in gfx. r=jmuizelaar. 2012-02-24 10:50:37 -05:00
Yury
7b0321d5fe Bug 730190 - Update OTS to r81. r=jfkthame 2012-02-24 14:31:11 +01:00
Jonathan Kew
7ff00e8673 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
d4399166e5 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Richard Newman
85840c2035 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Florian Boesch
fc9e33241d Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Daniel Holbert
20b8881f8a backout 29ee49bff6a1 (Bug 726396) due to webgl test failures 2012-02-22 16:37:36 -08:00
Jeff Muizelaar
11b2338e5c Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.

--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Jeff Gilbert
9144305bb8 Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-02-22 14:08:24 -08:00
Jonathan Kew
9188ac262b bug 662055 followup - permute order of Hebrew diacritics so that Biblical spelling of 'Jerusalem' renders properly. r=smontagu 2012-02-22 20:55:12 +00:00
Benoit Jacob
91d7315339 Bug 699033 - tame a crash in ANGLE compiler - r=jst 2012-02-23 17:49:55 -05:00
Zack Weinberg
58cb765cfa Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Jonathan Kew
26212a8e99 bug 728866 - pt 3 - add support for Hebrew presentation forms, excluded from canonical composition. r=smontagu 2012-02-20 20:39:59 +00:00
Jonathan Kew
03f932b63d bug 728866 - pt 2 - implement canonical composition callbacks for harfbuzz. r=smontagu 2012-02-20 20:39:59 +00:00
Jonathan Kew
a5d915dbc1 bug 728518 - improve the handling of weight in FindFontForChar. r=jdaggett 2012-02-20 08:55:07 +00:00
Jonathan Kew
64dd783613 bug 717175 - clear word cache earlier when expiring fonts. r=jdaggett 2012-02-20 08:54:58 +00:00
Mike Hommey
25fb9ac832 Bug 728656 - Avoid crashing when there are no GL extensions reported by the GL implementation. r=bjacob 2012-02-20 08:04:38 +01:00
Benoit Girard
5ff58afadf Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 15:09:15 -05:00
Steven Michaud
85aa93ee53 Bug 721663 - [10.5] Crash in unpackImageRow @ CGAccessSessionGetBytes while printing or previewing. r=joe 2012-02-17 11:04:03 -06:00
Nicholas Cameron
08fafd3689 Bug 727681; correct gfx3DMatrix::CanDraw2D. r=Bas 2012-02-17 18:06:46 +13:00
Joe Drew
d8e5e93840 Bug 725747 - Immediately translate setting the default FBO into our offscreen FBO, rather than setting it and unsetting it before and after GL draw commands. r=jgilbert 2012-02-09 20:57:26 -05:00
Jonathan Kew
34e53e353e bug 727736 - [harfbuzz] force glyphs for zero-width diacritics to actually have zero width, to work around bad fonts. r=behdad 2012-02-16 22:25:22 +00:00
Jonathan Kew
fc238f5f93 bug 662055 followup - fix typo in comment. DONTBUILD 2012-02-16 21:37:22 +00:00
Jonathan Kew
117c97a488 bug 662055 - [harfbuzz] permute canonical classes of Hebrew marks to present logical order to OpenType lookups. r=behdad 2012-02-16 21:27:00 +00:00
Jonathan Kew
c777e292c8 bug 727815 - flush shaped-word caches when font-shaping preferences are modified. r=roc 2012-02-16 21:26:50 +00:00
Rafael Ávila de Espíndola
5d41b8a5a2 Bug 727220 - Fix _CGLContextObject's forward declaration. r=jrmuizel. 2012-02-16 08:20:51 -05:00
Bas Schouten
39993f3d42 Bug 726951: Correctly use height to normalize mask v-texture coordinate. r=jrmuizel 2012-02-16 04:08:08 +01:00
Timothy B. Terriberry
7cc584ea37 Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas 2012-02-15 14:32:11 -08:00
Jonathan Kew
eb56c38e23 bug 707959 - followup, move font cache telemetry into gfxFontCache::Lookup. r=roc 2012-02-15 10:17:25 +00:00
Matt Woodrow
42f3cd0352 Bug 724025 - Correctly flatten transform-style:flat with BasicLayers. r=roc 2012-02-15 22:28:22 +13:00
Matt Woodrow
bf3632ce50 Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe 2012-02-15 22:28:21 +13:00
John Daggett
ad926a3cef Bug 707959. Add word cache and font cache telemetry probes. r=roc 2012-02-15 15:37:48 +09:00
Robert O'Callahan
1e90444bb6 Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec 2012-02-15 17:35:01 +13:00
Jeff Muizelaar
0fb7cea14a Bug 726764. Avoid leaking CGPaths when getting text paths. r=joe 2012-02-14 17:59:11 -05:00
Jonathan Kew
7661a5ed03 bug 726962 - remove stray instances of PRBool in gfx. r=joe 2012-02-14 16:17:19 +00:00
Rafael Ávila de Espíndola
657101e1da Bug 723738. Move comment. r=jmuizelaar. 2012-02-14 09:22:23 -05:00
Jonathan Kew
5ff3710968 bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
694443dee1 bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett 2011-08-09 09:00:52 +01:00
Jonathan Kew
af71ef9d19 bug 724231 - ensure synthetic font styles under GDI are truly synthetic, rather than using a potentially incompatible font face. r=jdaggett 2012-02-14 08:24:26 +00:00
Jonathan Kew
cff1bc672a bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett
harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9;
replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx;
adapted for changes to HB function signatures.
2012-02-14 08:03:01 +00:00
George Wright
ffea6b6474 Bug 723110. Refactor font code to lay the groundwork for having a ScaledFontFreetype class. r=jrmuizel 2012-02-13 14:58:01 -05:00
Makoto Kato
e6f6d1c3f1 Bug 719383 - Remove DIST_INSTALL from gfx/qcms/Makefile. r=jmuizelaar 2012-02-13 14:00:06 +09:00
Oleg Romashin
7786cc851d Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones 2012-02-10 11:22:21 -08:00
Ed Morley
052f82ab5d Backout b43f4d9f38da (bug 725925) for reftest failures 2012-02-10 23:23:16 +00:00
Oleg Romashin
75fdef0db4 Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
--HG--
extra : rebase_source : 517e8624b3da7f83fbb786c10acb45e02f7b5be9
2012-02-10 11:22:21 -08:00
Hugh Nougher
4f5f18acab Bug 689870 - Add memory reporter for (shared) GPU memory. r=nnethercote,jmuizelaar. 2012-02-08 15:13:50 -08:00
Joe Drew
e786e132ce Bug 724137 - Support GL debug trace printouts for EGL. r=bjacob 2012-02-09 14:05:11 -05:00
Joe Drew
63d8193c1c Bug 720467 - Update comments, which I forgot to commit. 2012-02-09 14:05:11 -05:00
Brian R. Bondy
ae85a7084c Bug 722225 - Improve Firefox startup speed by ~5% (-70ms) on Windows by optimizing D3D10CreateDevice1. r=bas 2012-02-09 13:50:54 -05:00
Jacek Caban
bb24b0c55c Bug 670096 - cairo fails to compile on mingw with D2D and DWrite enabled r=bas.schouten 2012-02-09 11:04:54 +01:00
Jeff Gilbert
14bb6bcae5 Bug 717442 - Shadow bound FBO ids - r=bjacob 2012-02-08 16:06:03 -08:00
Jeff Gilbert
729eb8a880 Backed out changeset 2aa76676baa3 (Bug 717442) 2012-02-08 16:04:44 -08:00
Jeff Gilbert
a34cdc9aa0 Bug 717422 - Shadow bound FBO ids - r=bjacob 2012-02-08 15:53:46 -08:00
Chris Jones
762943321d Bug 725240: Re-enable hinting on 'mobile' when non-reflowing-zoom isn't going to be used. r=jfkthame 2012-02-08 14:52:57 -08:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Bas Schouten
db305dbad5 Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Joe Drew
9142318bc4 Bug 720467 - Shut down all the available GL context providers. r=jgilbert 2012-02-06 22:09:28 -05:00
Joe Drew
3b4a5f3aaf Bug 720467 - Switch to using FBOs for WebGL, and support sharing textures between EGL contexts. r=jgilbert 2012-02-06 22:00:21 -05:00
Simon Montagu
1b1ec9e4b8 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
Jacek Caban
4deb092f3a Bug 723942 - ImageLayerD3D*.cpp does not compile on mingw r=bas
--HG--
extra : rebase_source : e98c15c62a8998c1c646a5d9851ec96514f0b376
2012-02-06 11:24:47 +01:00
Nathan Froyd
32eea886e4 Bug 724275 - fix -Wswitch warnings; r=jrmuizel 2012-02-04 07:22:47 -05:00
Edwin Flores
e20fcb14ba Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Benoit Girard
7bc99dfa94 Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma 2012-02-03 17:39:50 -05:00
George Wright
84b41c240f Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext 2012-01-30 15:09:02 -05:00
Rafael Ávila de Espíndola
db88422468 Bug 723738 - Remove invalid forward declaration of an objective c interface. r=BenWa. 2012-02-03 01:22:34 +01:00
Jonathan Kew
dd425a16eb bug 721315 - clear the faces' mFamily pointers when a font family is deleted. r=jdaggett 2012-02-02 11:24:22 +00:00
Jonathan Kew
72cdfcf8c3 bug 721315 - fix nsUserFontSet::UpdateRules to detach faces from families that are being replaced. r=jdaggett 2012-02-02 11:24:22 +00:00
Rafael Ávila de Espíndola
674b523321 Bug 723122 - fix clang build. r=jmuizelaar. 2012-02-02 10:02:06 +01:00
Jeff Gilbert
d0a41ff23f Bug 711642 - Deguarantee that ResizeOffscreenFBO sets viewport the first time it's run - r=bjacob 2012-02-01 12:46:07 -08:00
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Ed Morley
d5d841cf5b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 10:52:29 +00:00
Jeff Muizelaar
25940efe7a Bug 720482. Make CG snapshots work more like the other backends. r=joe,mattwoodrow,bas
This has big improvement in the performance of GetImageData() because
we make the snapshot lazily instead of using the vm_copy() method
of CGBitmapContextCreateImage()
2012-01-31 01:46:54 -05:00
Marco Bonardo
49a28ea5ce Merge last green PGO from inbound to central 2012-01-30 11:32:01 +01:00
Joe Drew
5b5451e0e4 Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
Jonathan Kew
9f2809d780 bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas 2012-01-28 12:25:53 +00:00
Jonathan Kew
5bc5447fa4 backout changeset 2ea682dba295 (bug 721511) due to windows crashtest orange. 2012-01-28 09:50:31 +00:00
Jonathan Kew
86583c11cb backout changeset bcd556d83109 (bug 721315) for reftest orange. 2012-01-28 09:37:15 +00:00
Jonathan Kew
47ec181f80 bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas 2012-01-28 08:28:56 +00:00
Jonathan Kew
8de5b3163e bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett 2012-01-28 08:27:01 +00:00
Bas Schouten
391307a484 Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
79584f02fc Bug 719136: Don't attempt to upload when there's nothing to upload. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
0824bfc8a3 Bug 624109: Deal with failing DXGI factory creation due to DLL injections. r=joedrew 2012-01-31 06:15:23 +01:00
Bas Schouten
0cae097489 Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel 2012-01-31 06:15:23 +01:00
George Wright
cbdcca5c64 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Joe Drew
f54df1b8ab Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
892502ef40 Bug 719629 - Add ThebesIntSize() convertor function. r=mattwoodrow
--HG--
extra : rebase_source : 85e496ac1b0dbd176157ab7feabd4c41bd29cce4
2012-01-27 13:09:09 -05:00