Граф коммитов

7918 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel f92d1702d8 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 42ac78defe Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner dd7ab04f73 merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner 2f59dbe27b Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner c7c3407599 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 6f07b68ff9 Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Oleg Romashin d8fad29049 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 c1b97654d7 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jonathan Kew cc908b98dd bug 574287 - honor the bad-underline blacklist in dwrite font backend. r=bas 2010-06-24 21:38:57 +01:00
Jonathan Kew 1c1b456c9a 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 4e71aa5560 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 8b09ed7151 Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell 549ae22a9e 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 6e5944e4fe 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 e196cc7eda 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 007646c95e 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 057d4f6dc4 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 65752fdf55 Bug 567966: Part 2: Remove rogue allocation from PlanarYCbCrImageD3D9. r=vlad 2010-05-25 09:37:21 +02:00
Bas Schouten a8d64dfde7 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 e7b67e3ac6 b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Bas Schouten d1cc2143ff Bug 567943: Let ContainerLayerD3D9 keep references to their children. r=roc 2010-05-25 04:43:59 +02:00
timeless@mozdev.org f15419fbb6 Bug 565337 Please cache GetOpacity() in ContainerLayerOGL::RenderLayer. r=Bas
--HG--
extra : rebase_source : 101952fad466e60ac4933ac5d4c347c2b3449092
2010-05-23 15:34:58 -07:00
Oleg Romashin 1cbf23196b Bug 571832 - Bind(Release)TexImage, fix complex logic commented by vlad 2010-06-24 06:04:28 -04:00
Oleg Romashin 882764386e Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. ImageLayer. r=vladimir. 2010-06-23 10:03:31 -04:00
Oleg Romashin 1644f66897 Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. CanvasLayer. r=vladimir. 2010-06-23 10:02:32 -04:00
Oleg Romashin acc549576d Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. ThebesLayer. r=vladimir. 2010-06-23 10:01:29 -04:00
Chris Jones f53347f7e5 Followup to bug 572939: Use X11Util and the already_AddRefed type coercion operator in GLContextProviderGLX and fix a potential leak-on-error. r=karlt 2010-06-23 22:52:48 -05:00
Jeff Muizelaar 04c15bc70c Bug 548612. qcms: Reduce size of output lookup tables. r=bgirard
We currently use a larger output lookup table than we probably need. Switch to
a common define for the table size and lower it. The should also give a small
improvement to startup time because we have fewer lookup table entries to
compute.
2010-06-04 14:48:30 -04:00
Bas Schouten 910d3dcfed Bug 565120: Deal with the case where a source lies outside of a destination surface. r=jrmuizel 2010-06-19 16:32:50 +02:00
Bas Schouten 571a03801e Bug 565120: Do not upload partially when not required. r=jrmuizel 2010-06-19 16:32:48 +02:00
Matthew Gregan 85087865e4 Merge backout of bug 572034; hopefully fixes random orange bug 573161. 2010-06-19 11:44:13 +12:00
Matthew Gregan 2551948bab Backed out changeset d268e54fbfcf (bug 572034) 2010-06-19 11:42:11 +12:00
Matthew Gregan cf97d598f8 Bug 572034 - Use Linux x86_64 Y'CbCr routines on x86_64 OS X. Convert Linux routines to local asm labels. r=chris.double
--HG--
extra : rebase_source : faa6af7f7529d05ec470796a369e7ea37daf3c69
2010-06-17 18:16:28 +12:00
Chris Pearce d3eb623e8c Backed out changeset f2835c78ef3f, Bug 572034. 2010-06-17 11:03:37 +12:00
Matthew Gregan ac574f48ee Bug 572034 - Enable asm optimized Y'CbCr conversion on OSX x86_64. r=doublec 2010-06-15 15:33:18 +12:00
Jonathan Kew 6050d709e8 bug 571724 - check for missing hhea table; fall back to platform if unable to use harfbuzz with the given font. r=jdaggett 2010-06-16 07:37:37 +01:00
Bas Schouten 71b5c75613 Bug 557372: Don't create a SharedBitmap for A8_UNORM surfaces. This will fail. r=jrmuizel 2010-06-16 01:08:26 +02:00
Robert O'Callahan eded3416d3 Fixing bustage 2010-06-18 21:40:11 +12:00
Robert O'Callahan 109429d5cd Bug 572912. Fix surface type passed to cairo_quartz_surface_create during fallback for CGLayers. r=jrmuizel 2010-06-18 21:24:15 +12:00
Robert O'Callahan 2953a4cce5 Bug 572283. Part 3: Fix compiler warnings. r=vlad 2010-06-18 21:22:08 +12:00
Robert O'Callahan 33420372e2 Bug 572283. Fix CanvasLayerOGL to work with retained layers (and on Mac). r=vlad 2010-06-18 21:21:42 +12:00
Robert O'Callahan f7d52b7735 Bug 572288. Fix surface leak in CreateSimilarSurface. r=jrmuizel 2010-06-18 21:21:15 +12:00
Oleg Romashin 889d75525c Backed out changeset 598c5f8d295c, due Gdk-CRITICAL **: gdk_x11_visual_get_xvisual 2010-06-18 07:14:57 -04:00
Oleg Romashin dc47545f6e Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
--HG--
extra : rebase_source : 6f5c766cab5a4f552c8e9911f80da560205d5ab2
2010-06-16 04:32:26 -04:00
Jesse Ruderman 736c6f6527 Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Matthew Gregan 9467ab7f35 Bug 572034 - Use Linux x86_64 YCbCr routines on x86_64 OS X. Convert Linux routines to local asm labels. r=doublec 2010-06-21 12:18:13 -07:00
Jeff Muizelaar 2f542854c4 Bug 563255. cairo: PDF-operators: ensure text operations flushed before emitting clip 2010-06-15 15:34:09 -04:00
Jeff Muizelaar f1b2858228 Bug 563255. cairo: PS: Add missing 'q' when resetting clip path 2010-06-15 15:15:01 -04:00
Vladimir Vukicevic 491c8366cf untabifying GLContext.cpp 2010-06-14 23:56:29 -07:00
Matt Woodrow 9afc363875 b=565833; add GLX GLContextProvider, pbuffers only; r=vlad 2010-06-14 23:55:08 -07:00
Benoit Jacob 4fa51050ec b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Bas Schouten cc16d82453 Bug 564959: Re-introduce division of text ranges for analysis at proper division points. r=jfkthame 2010-06-14 17:46:30 +02:00
John Daggett 572cc5ba41 Bug 449292. Fix ReadCMAP compile error. r=vlad 2010-06-14 15:53:53 +09:00
Oleg Romashin 51047b1d8b Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar 2010-06-11 05:33:22 -04:00
Oleg Romashin d2024fb82a Bug 545632 - Add 16bpp format support for cairo image surface type. r=jmuizelaar 2010-06-11 04:23:59 -04:00
Bas Schouten 34f0c42665 Bug 546515: Part 1: Add a layers backend based on Direct3D9. r=jrmuizel 2010-05-24 17:28:51 +02:00
Rob Arnold 989c8bc61f Added ll suffix to 64 bit constant and initialized some variables to shut up gcc. 2010-05-24 00:08:04 -04:00
Rob Arnold e72e4a1dea Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc. 2010-05-23 23:47:34 -04:00
Rob Arnold d2f2f49173 Bug 555182 - Calculate the largest opaque rectangle in the opaque region to determine glass margins r=jimm,roc 2010-05-23 23:29:04 -04:00
Robert O'Callahan a6e768888b Bug 564993. Fix build error, and fix Bas' review comment. 2010-05-24 14:25:58 +12:00
Robert O'Callahan e969ef6689 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan a725ab7021 Backing out bug 564993 part 5 again due to leaks 2010-05-24 10:53:55 +12:00
Robert O'Callahan 703f96671b Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Benoit Jacob 2154fba609 Bug 567209. OSMesa rendering needs to be flipped. r=vlad 2010-05-24 09:36:49 +12:00
Benoit Jacob a51a3c3b08 Bug 567190. Initialize ContextFormat to zero properly. r=vlad 2010-05-24 09:36:49 +12:00
Robert O'Callahan e12a4be3a0 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Vladimir Vukicevic a896548e0e b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Robert O'Callahan 942be2cd86 Bug 552859. Fix cairo patch to relfect what I actually landed. Not part of the build. 2010-05-21 20:48:55 +12:00
Robert O'Callahan 1c2c867ca0 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan 12b0f2fcbe Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan 2328d5f398 Bug 564993. Part 4: Add trivial user-data API so layout can attach data to layers. r=Bas,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan 4e17f968b2 Bug 522859. Refactor cairo-quartz-surface so that state local to a drawing operation is stored in a cairo_quartz_drawing_state_t instead of the surface. r=jrmuizel 2010-05-19 15:04:33 +12:00
Vladimir Vukicevic e0789b7f97 b=567272; wglMakeCurrent is expensive; r=bas 2010-05-20 17:20:39 -07:00
Benoit Girard 79240b9e36 Export CoreAnimation symbols for Thunderbird bustage fix. b=559259 r=Bas
--HG--
extra : rebase_source : 1d2a962cabe4541cd57b925cf4889fea00b61834
2010-05-20 17:48:15 -04:00
Benoit Girard ec4271b927 Use IOSurface for in-process CoreAnimation on OS X 10.6+ b=559259 r=josh. 2010-05-20 15:22:37 -04:00
Walter Meinl 799b27a787 bug564026 - [OS/2] fix linking issues with layers on shared builds r=ted
--HG--
extra : rebase_source : 10cb036b2e2e41de85d1b318d982f027d21e4554
2010-05-18 13:32:00 -04:00
Ehsan Akhgari cb3b3e8e7b Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Benoit Jacob 7875940287 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Brad Lassey 5c59c34812 Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad 2010-05-19 13:11:26 -07:00
Brad Lassey eeb7c50659 Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad 2010-05-19 13:09:36 -07:00
Robert O'Callahan 6aae87d792 Backed out changeset b50002597112
--HG--
extra : rebase_source : f22f069a398bc8b3071fe8faaeb4770b0eb7847b
2010-05-19 17:44:58 +12:00
Robert O'Callahan 5243eb48a4 Bug 565875. Part 4: Recycle textures used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:09:28 +12:00
Robert O'Callahan aa883bdbb6 Bug 565875. Part 3: Recycle temporary buffer used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:08:41 +12:00
Robert O'Callahan cbe4031617 Bug 565875. Part 2: Create GLTexture wrapper to manage texture lifetimes and ensure textures are released on the main thread. r=bas 2010-05-17 11:08:01 +12:00
Robert O'Callahan 1efab30a6d Bug 565875. Part 1: Refactor PlanarYCbCrImageOGL to make ownership of its temporary buffer more explicit. r=bas 2010-05-17 11:07:13 +12:00
Robert O'Callahan 4791be9e87 Bug 522859. Refactor cairo-quartz-surface so that state local to a drawing operation is stored in a cairo_quartz_drawing_state_t instead of the surface. r=jrmuizel 2010-05-19 15:04:33 +12:00
Rich Dougherty 89c575db18 Bug 557982. Use Image objects in the video frame queue so we can avoid making an extra copy as we put frames into the queue. r=kinetik 2010-05-19 15:04:33 +12:00
Robert O'Callahan 07f806727e Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan c24e35b4e4 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Oleg Romashin e9f8cb4e21 Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g 2010-05-18 07:04:21 -04:00
Vladimir Vukicevic 699b8030ad Sprinkle some THEBES_API to fix non-libxul builds 2010-05-17 22:43:05 -07:00
Vladimir Vukicevic 4206ecda1a b=561168; convert canvas to use layers for rendering - followup #2; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic 9f769639ec b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic f1d0ebec20 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Jonathan Kew b29f875cda merged backout of c475fc8bac21 2010-05-16 11:54:47 +01:00
Jonathan Kew 51efd2a81f Backed out changeset c475fc8bac21 (bug 554820) due to Hebrew regression on OS X 10.5, see bug 565766. 2010-05-16 11:53:43 +01:00
Jonathan Kew 2edcb83fc2 bug 554820 - prefer Windows cmap subtable to avoid problems with synthesized tables on OS X 10.6. r=jdaggett 2010-04-30 21:10:51 +01:00
Jeff Muizelaar fb3139d46b Bug 562334. cairo: Fix checking in the broken version of 4efebc9638e7
I swapped these lines when trying to build a test case and checked in the broken version.
2010-04-30 14:10:19 -04:00
Dave Yeo dfed7fcffb [OS/2] Bug 561596 - Add define to allow declspec to work, r=ventnor 2010-05-15 15:54:15 +03:00
Jeff Muizelaar 36a7dc5cf9 Bug 562334. cairo: Fix cairo_quartz_get_cg_context_with_clip. r=vlad
A problem happens when clip->all_clipped is set and we go to get a clipped
context. Normally backends don't see operations with clip->all_clipped and so
_cairo_surface_clipper_set_clip is designed with the assumption that
clip->all_clipped is never true. I added a work-around by manually setting the
CGContextClip with an empty rectangle, however this caused cairo to be confused
about what the actual clip was.

This patch fixes the problem by adding a new function
cairo_quartz_finish_cg_context_with_clip that is called after we're done with
the native context. It moves the CGContextSave/RestoreGState calls out of
gfxNativeDrawing into cairo and uses them to ensure that the clip remains
consistent with cairo's model of them.
2010-04-29 23:19:08 -04:00
Chris Double 6b015eb445 Bug 561385 - Fix YCbCr to RGB C fallback code. r=roc 2010-04-30 15:04:22 +12:00
Oleg Romashin 7135ac8e96 Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Robert O'Callahan 3270d0fa69 Bug 561959. Implement ColorLayer, which paints a solid color into its layer. r=bas,sr=vlad 2010-05-13 12:56:11 +12:00
Mitchell Field 3d1b2b634a Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Bas Schouten 05ae3f23f5 Bug 560147: Bustage follow-up, build src/thebes after thebes has been built. r=ted
--HG--
extra : rebase_source : e388bfc02b987b98be864a3e70626d34a4b7cf75
2010-04-29 16:21:55 +02:00
Jacek Caban c5f750a823 Bug 561344 - ycbcr doesn't compile on mingw. r=roc 2010-04-29 10:35:07 +02:00
Daniel Holbert db2794decd Bug 561787: Add missing #include to iccread.c, to fix compile warnings about declarations of memcpy. r=roc 2010-04-28 23:13:13 -07:00
Oleg Romashin 4ec961a663 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Masatoshi Kimura c542b7a183 b=546013 Ignore default ignorable chars instead of drawing hexbox r=jfkthame
--HG--
extra : rebase_source : 987fa83e4465cd1e4d2a7a3653b45950b31636a7
2010-04-29 09:51:16 +12:00
Bas Schouten 458c305f0f Bug 560147: Follow-up fixing non-libxul builds. This will include layers into thebes.dll, and ensure thebes.dll exposes the correct symbols. r=ted 2010-04-28 22:43:52 +02:00
Robert O'Callahan 46f3a09934 Bug 564993. Part 1: Remove CopyFrom API, it won't be used. r=Bas 2010-03-03 13:53:52 +13:00
Benoit Jacob 085d0251a2 Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas 2010-05-12 18:56:40 +02:00
Dave Townsend 890d68aa96 Bug 564901: Debug builds on ARM fail saying that emms is not a supported instruction. r=roc 2010-05-12 09:52:02 -07:00
Bas Schouten c8033f3062 Add a comment explaining texture usage as backbuffer. 2010-05-12 18:21:34 +02:00
Bas Schouten 80f18d5d7d Bug 562392: Use TEXTURE_RECTANGLE_EXT for backbuffer where we can't bind NPOT TEXTURE_2D to a framebuffer. r=joedrew 2010-05-12 18:21:31 +02:00
Jonathan Kew 966880dd20 bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz 2010-05-12 13:17:58 +01:00
Jonathan Kew ea30b446e2 bug 564309 - cache non-antialiased font to fix MathML perf regression on Windows. r=roc 2010-05-12 13:17:55 +01:00
Makoto Kato f3ca5f666c Bug 540999 - Enable SSE2 for pixman on Windows x64 build. r=jmuizelaar 2010-05-12 17:07:19 +09:00
Oleg Romashin 17d4a8a43f Bug 561772 - Simplify Qt rendering modes and remove dependency from gfxSharedImageSurface. r=joe.
--HG--
extra : rebase_source : d42def8318eb068571f0a5db515593d7f99a56c0
2010-05-11 13:31:56 -04:00
Vladimir Vukicevic 2c2e7f71ec bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
Bas Schouten 32d126f75e Bug 551350: Part 2: Remove no longer used multiple-run code from D2D backend. r=jrmuizel a=Mossop 2010-05-11 01:16:39 +02:00
Bas Schouten 03de50f60b Bug 551350: Part 1: Add proper handling of large image surfaces. r=jrmuizel a=Mossop 2010-05-11 01:16:35 +02:00
Bas Schouten 0d9c876806 Bug 555388: Part 1: Make sure we flush before clearing surfaces. r=jrmuizel 2010-05-06 23:56:34 +02:00
L. David Baron e00d9fd996 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Brian Lu 52d8541925 Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
Jeff Muizelaar 31de4bef05 Bug 563807: cairo: avoid unnecessary QueryInterface in cairo_d2d_surface_create_for_hwnd. r=bas
We can just use backBuf directly instead of QueryInterface()ing newSurf->surf.
This has the side effect of making firefox mostly work in PIX.
2010-05-05 12:11:33 -04:00
Jeff Muizelaar 0aa6265348 Bug 562087: Update pixman to 2f4f2fb4859931bf6dc5632d8c919e7296736427
Should give some performance improvements
2010-05-05 11:23:54 -04:00
Jonathan Kew f4ce44c498 bug 502906 - part 3.1 - followup to fix memory footprint regression from part 3. r=jdaggett 2010-05-05 11:10:36 +01:00
Matt Woodrow 8d912324b8 Bug 561957. Support GL backend on Mac OS X. r=vlad 2010-04-28 10:29:29 +12:00
Mats Palmgren cc4f97a766 Assert that we only increment reasonable side/corner values. Note that incrementing the max value is allowed so that for-loops can be used without complicating the break-condition. r=timeless b=334571 2010-04-27 18:15:02 +02:00
timeless b8ead92b6a Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless a3ec5f1f96 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Jeff Muizelaar 263ad1cdde pixman: remove unused pixman-neon.patch. r=joe
This patch is obsoleted by upstream.
2010-04-27 11:08:57 -04:00
Mark Banner 9affbd52da Follow up bustage fix to bug 560147, put THEBES_API in the right place. 2010-04-27 10:35:34 +01:00
Chris Pearce 59037fa6fb Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce 6178b2ecac Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-27 20:53:44 +12:00
Mark Banner 85a4a9a97d Fix non-libxul build bustage from bug 560147 - thebes public functions should define THEBES_API. rs=roc 2010-04-27 09:49:01 +01:00
Jeff Muizelaar 68d4367bd4 Bug 542605. Fix empty clips with show_glyphs, DWrite and GDI. r=bas
This brings the dwrite code inline with the existing win32 code.
2010-04-26 23:54:53 -04:00
Jeff Muizelaar c6b3d1b272 Bug 561827 - Clear the clip before doing a fallback blit. r=bas
--HG--
extra : rebase_source : e70d5280da10972ffd2a9da3c31b904727f3fccf
2010-04-26 23:38:21 -04:00
Bas Schouten ddd72cf62f Bug 560147: Another follow-up bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:37:14 +02:00
Bas Schouten 58d86c1563 Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:21:46 +02:00
Bas Schouten 259f3d7b2c Bug 560147: Use the new Unified OpenGL Wrapper for OpenGL layers, and remove wrapper code from layers. r=vlad 2010-04-27 04:09:47 +02:00
Bas Schouten fb1a160152 Bug 560147: Add a Unified OpenGL wrapper in Thebes that can be used from throughout the tree. r=vlad 2010-04-27 04:09:44 +02:00
Bas Schouten 7c378aa97a Bug 561678: Use Platform Native drawing surfaces for ThebesLayerOGL. r=roc 2010-04-27 00:24:03 +02:00
Jeff Muizelaar 4d1e850a00 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
Mike Hommey e1dab59b14 Bug 560897 - Properly close #pragma pack in gfxFontUtils.cpp, and enclose EOTFixedHeader in #pragma pack [r=roc] a=me 2010-04-24 10:25:45 +02:00
Bas Schouten 434a530653 Bug 558934: Cache extended and none-extended surfaces separately. r=jrmuizel a=dholbert 2010-04-24 01:16:50 +02:00
Chris Double 4197e710ab Bug 551277: followup bustage fix for ycbcr+layers build-order, in non-libxul builds. pending r?roc -- landing now to fix thunderbird bustage. a=dholbert 2010-04-23 15:13:52 -07:00
Michael Wu 281d40e1cc Bug 540788 - disable text hinting on mobile r=vlad 2010-04-22 15:03:02 -07:00
Chris Double c7044d973a Build bustage fix for comm-central static builds due to bug 551277 a=bustage-fix 2010-04-24 02:19:58 +12:00
Mark Banner 6aa8259196 Bustage fix for non-libxul windows builds from bug 551277. Wrap the return value for the implementation in NS_GFX_ as well. a=bustage-fix,tree quiet 2010-04-23 08:47:54 +01:00
Chris Double a8ec89b75e Bug 551378 - Implement 4:4:4 colorspace conversion routine for YCbCr layers code - r=roc 2010-04-21 15:05:34 +12:00
Chris Double 37bf7a600b Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Taras Glek 221fdac537 Back out bug 560897. 2010-04-22 11:51:11 -07:00
Boying Lu 9105221d77 Bug 560179 - Failed to build files under gfx/src/thebes/utils r=roc 2010-04-22 14:56:30 +02:00
Taras Glek ed8589f41a Bug 560897: close #pragma pack r=roc
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin 2fa9633518 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Benoit Girard d503fa2471 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
Michael Ventnor 69069feee2 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Jonathan Kew 412ffdba77 bug 558027 - gfxFontUtils::MakeEOTHeader is too fussy, an empty version string is acceptable. r=jdaggett 2010-04-16 09:08:36 +01:00
Doug Turner f46e16effb Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
Jonathan Kew 66097facbe bug 557736 - ignore empty elements in the font family list. r=jdaggett 2010-04-15 09:31:15 +01:00
Jonathan Kew e91fe75b48 bug 555435 - compact the cmap block arrays after loading to reduce memory footprint. r=jdaggett 2010-04-15 09:31:12 +01:00
Oleg Romashin 4a29160a77 Bug 555863 - Qt widget code assumes 32bpp target surface. r=jmuizelaar.
--HG--
extra : rebase_source : ed824c4eebee561fa2992788649df5a4d0b19680
2010-04-13 19:11:23 -04:00
Siddharth Agarwal 4bfaeeaf60 Bug 558907 - VC10: pixman.h defines intN_t even though stdint.h is available. r=jrmuizel 2010-04-13 14:19:46 +05:30
Bas Schouten a130870098 Bug 557390: Deal with paths consisting of a single move and a close. r=jrmuizel 2010-04-12 14:44:36 +02:00
Bas Schouten 10972924f2 Bug 553603: Do not let DXGI handle window changes for us. r=jrmuizel 2010-04-12 14:44:33 +02:00
Jesse Ruderman 2fb87d02cc Add crashtests 2010-04-11 16:59:47 -07:00
Jonathan Kew c47e05b71d bug 554544 - try to make font code more robust, to avoid risk of getting null metrics. r=roc 2010-04-11 20:36:17 +01:00
Bas Schouten 5351003c3c Bug 558557: Use a RefPtr here so that sourceBitmap creation references will be released. r=jrmuizel 2010-04-11 01:56:25 +02:00
Bas Schouten 3daff09485 Bug 550475 - Part 2: Use new RefPtr class in D2D backend. r=jrmuizel 2010-04-09 23:41:48 +02:00
Bas Schouten 77b71f3676 Bug 550475 - Part 1: Add a RefPtr template class to Cairo. r=jrmuizel 2010-04-09 23:41:46 +02:00
Bas Schouten bf20124c7e Bug 558161: Set bitmaps !dirty after their current contents has been updated. r=jrmuizel 2010-04-09 23:41:43 +02:00
Jeff Muizelaar 16dfffcaec Merge backout 2010-04-08 09:44:46 -04:00
Jeff Muizelaar 7bf2f45450 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Chris Pearce f88775ef76 Bug 556889 - Backed out changeset 6f250c9b680b due to reftest failure on Linux. 2010-04-08 21:18:58 +12:00
Chris Pearce f6828d92da Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-08 20:16:02 +12:00
Bas Schouten baa8659ae0 Bug 557896: Display information on the error console when using a OpenGL layer manager. r=joedrew 2010-04-08 09:29:58 +02:00
Bas Schouten cfde052229 Bug 557671: Properly make image layers threadsafe by guarding the active image. r=roc 2010-04-08 09:29:55 +02:00
Jeff Muizelaar 8dc56d79e3 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Jonathan Kew dfd633854c bug 554188 - handle trailing whitespace on bidi-overridden text runs consistently on OS X 10.6. r=roc 2010-04-07 10:18:57 +01:00
Oleg Romashin 70ee5cb25a Bug 557175 - No bug commit rev 146fdb589df5 broke Qt port compilation. r=vladimir 2010-04-07 03:54:05 -04:00
Jonathan Kew f4226752bf bug 549190 - round dwrite font vertical metrics to improve rendering/spacing consistency. r=bas 2010-04-06 21:19:41 +01:00
Jonathan Kew dcf5ea09a4 bug 502906 - part 4 - refactor DWrite font code to match Mac and GDI structure. r=bas 2010-04-06 21:19:39 +01:00
Jonathan Kew 34e3947015 bug 449292 - part 7 - implement gfxHarfBuzzShaper and provide pref to use this or platform back-end. r=jdaggett sr=roc 2009-10-07 18:16:52 +01:00
Jonathan Kew 93e0690d1a bug 449292 - part 6 - font table cache and accessors to support harfbuzz. r=jdaggett sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew bf1982aa50 bug 449292 - part 5 - break text into script runs before font-matching and shaping. r=jdaggett sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew 331c44901a bug 449292 - part 4 - script run itemizer implementation (based on ICU code). r=jdaggett,smontagu sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew f59f34fe81 bug 449292 - part 3 - add unicode character properties needed for script itemization and harfbuzz shaper. r=jdaggett,smontagu sr=roc 2010-06-11 20:14:37 +01:00
Jonathan Kew 63acc118d5 bug 449292 - part 2 - add harfbuzz library to the gfx build process. r=ted 2010-06-11 20:14:37 +01:00
Jonathan Kew a2dcae81d0 bug 449292 - part 1 - harfbuzz-ng code from upstream. r=jdaggett sr=roc 2010-06-11 20:14:37 +01:00
Oleg Romashin 512cf9ddff Backed out changeset 85335f212ac3, attempt to fix oranges 2010-06-11 08:36:08 -04:00
Oleg Romashin f8ee3c4151 Bug 545632 - Add 16bpp format support for cairo image surface type. r=jmuizelaar
--HG--
extra : rebase_source : b1d605a29da2e965cd480e51fa72e1bc10ed4d11
2010-06-11 04:23:59 -04:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E) e7968e314a b=555133 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad 2010-06-11 10:53:57 +12:00
Karl Tomlinson eccfeac628 backout ce0bec337cdd due to bad message 2010-06-11 10:53:01 +12:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E) 099b5c7171 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 0500c9e1f6cabd42bd56e5e69b1af3c30c7045cd
2010-06-11 10:25:15 +12:00
Daniel Holbert 4c9ffd5b86 Bug 571160: fix unused variable warning. r=jdaggett 2010-06-10 11:26:46 -07:00
Jonathan Kew 5d1c63c09a bug 568191 followup - add patch file to gfx/cairo directory, and note in README. (NPOTB) 2010-06-10 19:20:37 +01:00
Jonathan Kew e1fa3417be bug 568191 - add padding to glyph extents in cairo dwrite backend to allow for antialiasing. r=bas 2010-06-10 19:19:51 +01:00
Justin Wood 1490de4e80 Bug 467051 - Introduce GLOBAL_DEPS to build system (gfx/cairo) r=vlad, feedback+=ted
--HG--
extra : rebase_source : 3dee9c67387cb9b72dd81da6d52ad996afa2bfae
2010-05-30 22:49:32 -04:00
John Daggett 9b4feaaa27 Bug 555091. Fix unitialized vars in GDIFontEntry. r=jkew 2010-04-06 16:57:12 +09:00
Chris Double 5158a6e2dd Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double e326281bb9 Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Michael Wu ad67b42157 Bug 556405 - Support building qcms on Android, r=jrmuizel 2010-04-05 17:38:43 -07:00
Doug Turner 9a75b06d7c Fix Qt Gfx build bustage when using shared image surfaces. No bug 2010-04-02 11:11:31 -07:00
Doug Turner 403650bae3 Fix for Qt build bustage. Need to #include class before using it in a nsRefPtr. Nobug 2010-04-02 08:47:05 -07:00
Bas Schouten 794af352a8 Bug 556584: Allow opaque containers to draw their contents directly to their parent layer. r=joedrew 2010-04-01 23:17:15 +02:00
Bas Schouten a0895a8b7c Bug 556572: Support none-multiple of 4 strides. r=joedrew 2010-04-01 23:17:13 +02:00
Daniel Holbert 05a791aaba Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert be65929920 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert 81429599a7 Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert 09a658db8a Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
Jesse Ruderman 5a40491065 Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Bas Schouten 97c646932f Bug 556387: Fix OpenGL context creation for some drivers. r=joedrew 2010-04-01 03:44:05 +02:00
Bas Schouten a52635bb0b Bug 556288: Use linear filters so framebuffers can use the same texture on all hardware. Assert succes. r=joedrew 2010-04-01 03:44:02 +02:00
Jim Mathies 166da8dd39 merge backout. 2010-03-31 12:55:55 -05:00
Jim Mathies 0b5f0c9191 Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Jim Mathies 52ae24dfe8 merge backout. 2010-03-31 12:55:23 -05:00
Jim Mathies 3123fa06ee Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:11 -05:00
Rob Arnold 1546f33184 GCC complains about unnecessary typedef from checkin of bug 555133 r=dholbert 2010-03-29 22:14:13 -04:00
Rob Arnold cdd5b53b4b Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Jonathan Kew 3d1fedca15 bug 555930 - directwrite font code failed to initialize superscriptOffset. r=bas 2010-03-31 13:46:18 +01:00
Bas Schouten ca5afa4f9e Bug 553852: D2D backend should destroy image surfaces when done with them. r=jrmuizel 2010-03-24 15:51:15 +01:00
Bas Schouten f69b010464 Bug 556029: Add the ability to detect which layers backend is used. r=roc 2010-03-30 20:58:37 +02:00
Bas Schouten 37a8ab02e4 Bug 546517: The layers OpenGL backend. r=vlad 2010-03-30 06:48:52 +02:00
Rob Arnold 03b43a656f Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc 2010-03-17 18:56:00 -04:00
Bas Schouten 8c4bce6f6a Bug 548942: Addition: Add comments as agreed. r=jrmuizel 2010-03-20 18:33:30 +01:00
Bas Schouten 207019d5ce Bug 548942: Draw in device pixels and not in DIPs. 1 device pixel per DIP always. r=jrmuizel 2010-03-20 18:25:40 +01:00
Bas Schouten 58c859aabf Bug 552284: Check if we're valid before computing metrics. r=jfkthame 2010-03-20 18:25:37 +01:00
Doug Turner bb28e86ac9 Bug 553508 - Remove the define Q_WS_X11. It overlaps with existing defines that we have and is not always set by sdk. r=oleg 2010-03-18 21:48:35 -07:00
Jonathan Kew 164e22b08a bug 552619 - fix build breakage from bug 502906 with older Windows SDKs without dwrite support. r=bas 2010-03-17 11:40:29 +00:00
Robert O'Callahan 8560e6f9b0 Bug 538323. Part 1: create ImageLayers and associated API for displaying pixel-buffers in various formats. r=jrmuizel,sr=dbaron 2010-03-02 12:09:35 +13:00
Robert O'Callahan b0368c5f49 Bug 538266. Part 2: add transform API to layer system. r=jrmuizel,sr=dbaron 2010-03-02 12:08:28 +13:00
Robert O'Callahan 0b71a67c4e Bug 538266. Part 1: create gfx3DMatrix. r=jrmuizel 2010-03-02 12:08:26 +13:00
Mats Palmgren 260865a512 Fix gcc warning: 'rv' may be used uninitialized in this function. b=552186 r=jfkthame 2010-03-15 19:29:55 +01:00
Jonathan Kew 544fbd0636 bug 502906 - part 3 - factor out Uniscribe and GDI shapers from Windows GDI font code. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxWindowsFonts.cpp => gfx/thebes/src/gfxUniscribeShaper.cpp
rename : gfx/thebes/public/gfxWindowsFonts.h => gfx/thebes/src/gfxUniscribeShaper.h
2010-03-15 09:34:25 +00:00
Bas Schouten 3a9d4816b1 Bug 550846: Restructure layers to use different directories for different backends. r=roc,ted
--HG--
rename : gfx/layers/BasicLayers.cpp => gfx/layers/basic/BasicLayers.cpp
rename : gfx/layers/BasicLayers.h => gfx/layers/basic/BasicLayers.h
2010-03-14 18:30:40 +01:00
Jonathan Kew c2b60ef866 bug 552216 bustage fix, missed deleting a line 2010-03-14 12:56:59 +00:00
Jonathan Kew c34f8796ee fix Windows bustage from bug 552216. 2010-03-14 12:13:21 +00:00
Jonathan Kew ac50de2ca5 bug 552216 - use 64-bit arithmetic to guard against possible overflow leading to buffer overrun in woff decoder. r=roc 2010-03-14 12:03:37 +00:00
Makoto Kato 2691de2a45 Bug 524449 - Remove nsIPref from tree. r+sr=benjamin 2010-03-13 22:25:13 +09:00
Bas Schouten 820e04cdd7 Bug 551945: Fix a mistake in double pass from changeset 53a85c489708. r=jfkthame 2010-03-12 14:09:53 +01:00
Jonathan Kew ec72c70397 bug 549169 - account for font-size-adjust in DWrite font code. r=bas 2010-03-12 11:57:49 +00:00
Bas Schouten dcc079becf Bug 549056: We always do double pass drawing when we're not a Win32 surface. r=jmathies,jrmuizel 2010-03-12 11:12:00 +01:00
Bas Schouten 2e76a8c296 Bug 550680: RoundOut to snap correctly, and do so early enough to get a big enough surface. r=vlad 2010-03-12 11:08:28 +01:00
Daniel Holbert 42a3267c62 Bug 551775: Add unsigned-int cast in NS_ColorNameToRGB to fix build warning. r=roc 2010-03-11 22:03:49 -08:00
John Daggett eeeab33572 Bug 549816. Adjust meaning of needsBold flag. r=bas 2010-03-12 13:26:43 +09:00
Bas Schouten 8013796f13 Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett 2010-03-12 13:25:35 +09:00
James Cook 3189de370c Bug 524919 - Qt build of Firefox or Fennec does not respect my screen's DPI. r=mark.finkle, sr=pavlov 2010-03-10 16:36:47 +02:00
Brad Lassey 4db9a00295 follow up from bug 534136, fix build bustage for WinMo debug r=jonas 2010-03-10 15:47:45 -05:00
Jonathan Kew c155951fd9 bug 502906 - part 2 - split out gfxCoreTextShaper and gfxMacFont. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxCoreTextFonts.cpp => gfx/thebes/src/gfxCoreTextShaper.cpp
rename : gfx/thebes/public/gfxCoreTextFonts.h => gfx/thebes/src/gfxCoreTextShaper.h
2010-03-10 12:46:41 +00:00
Jonathan Kew ea9c099682 bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Bas Schouten 94fad4ead5 Bug 550723: Properly support the CLEAR operator for D2D surfaces. r=jrmuizel 2010-03-10 13:38:21 +01:00
Steven Michaud bac832f143 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Bas Schouten 4ade325126 Bug 550911: Properly tell cairo which part of the image has been passed. r=jrmuizel 2010-03-09 00:53:50 +01:00
Oleg Romashin 8f603042e2 Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking b2f8c249b3 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Ginn Chen a47f8b917a Bug 526976: SIGFPE [@ _moz_cairo_format_stride_for_width] on BGR frame buffer r=jrmuizel 2010-03-08 17:37:58 +08:00
Masayuki Nakano 6d0e02fedb Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl 002f637fff Bug 548978: [OS/2] Fix build bustage in gfx/src/thebes/gfxOS2Platform.cpp r=jfkthame 2010-03-06 12:56:30 -05:00
Rich Walsh 99081a9f36 Bug 543855: [OS/2] Invalid conversion from const char to const unsigned char in gfx/src/thebes/nsSystemFontsOS2 r=wuno 2010-03-06 12:53:35 -05:00
Oleg Romashin 4dbb6dc7a8 Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Hanspeter Niederstrasser 607df03728 Bug 516029 - flags (XCFLAGS) for including fontconfig/fontconfig.h are not added to compiler command (gfx/cairo); adds XCFLAGS to OS_INCLUDES.
r=benjamin.
2010-03-05 22:00:51 +01:00
Julian Seward 999752a5a5 Bug 548793. Initialize XRender version fields if XRender isn't available. r=jrmuizel 2010-03-05 13:10:42 +13:00
Mike Kristoffersen d60cbba316 Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Bas Schouten bce1cc835d Bug 549911: Acquire and release no longer use ->surface to store the temporary surface, release the correct object now. r=jrmuizel 2010-03-04 20:49:04 +01:00
Bas Schouten 44af5c4365 Bug 549911: Scroll needs to make sure the clip rectangle is confined to the surface. r=jrmuizel 2010-03-04 20:49:01 +01:00
Bas Schouten fdff34dabc Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Bas Schouten 25b9fedd22 Bug 549652: Fix a potential leak. r=jrmuizel 2010-03-04 20:30:10 +01:00
Bas Schouten dc937cedf4 Bug 549652: Optimize SOURCE operator where possible. r=jrmuizel 2010-03-04 20:30:08 +01:00
Bas Schouten 00ecc30146 Bug 549652: Properly support clearing surfaces. r=jrmuizel 2010-03-04 20:30:05 +01:00
Brad Lassey 40dfe937a9 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Jeff Muizelaar bbe73ced9b Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard 2010-03-04 12:13:13 -05:00
Boying Lu 749a8b4ace Bug 549805 - Failed to build liblayer.so on OpenSolaris. r=roc, sr=vlad 2010-03-04 10:26:11 +01:00
Simon Montagu 95daee0af0 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew 93c76e7c0b Bug 549668 - check that mozilla.widget.render-mode pref value is within valid range. r=vlad 2010-03-03 09:27:08 +00:00
Bas Schouten bd7fd1996b Bug 549268: Ensure we pass a unique fontFileReferenceKey to DWrite for downloadable fonts. r=jdaggett 2010-03-03 07:57:47 +01:00
Bas Schouten 459306e126 Bug 549270: Read the font substitutions from the registry and use them when looking up font names. r=jdaggett 2010-03-03 07:57:43 +01:00
Ginn Chen 1c67133418 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten 7b0d786a8f Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel 2010-03-02 02:04:27 +01:00
Mark Banner 33e9d9cb15 Fix windows debug build bustage from bug 534425 2010-03-01 10:46:37 +00:00
Robert O'Callahan 4796ff36e7 Bug 534425. Part 2: Create BasicLayers implementation. r=jrmuizel 2010-03-01 20:56:18 +13:00
Robert O'Callahan 75a488bf5a Bug 534425. Part 1: Create initial layers API. r=jmuizelaar,sr=dbaron 2010-03-01 20:56:18 +13:00
John Daggett a2736cbe44 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook 49c010a84c Bug 549019 Don't try to build Direct2D with older SDKs (based on patch by bas) r=jrmuizel 2010-02-27 16:05:54 +00:00
Jonathan Kew 963100b19c Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten 02f48f1118 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Jonathan Kew 9d8c1e2eab Bug 548608 - update SupportsLangGroup in Windows font list code for nsIAtom-based language codes. r=roc 2010-02-25 15:02:54 -08:00
Jonathan Kew 90f31b1c0b Bug 548545 - don't try to get an atom for a NULL string. r=roc 2010-02-25 15:02:31 -08:00
Karl Tomlinson 4228c8586c b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Jonathan Kew e547a598c7 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew 5be4457ec4 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
John Daggett f543afbd5a Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner f39e129e6b Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin 4b8146c17f Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Steve Snyder ba9d12966a qcms: Replace second green table release with release of blue table
Cut 'n' paste gone awry: green output table freed instead of blue.

That is, there exists a release for red, 2 releases for green, and none for
blue.
2010-02-18 15:21:11 -05:00
Jonathan Kew 69a1ad2a76 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew ef18f2ca7e Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc 2010-02-18 11:52:34 +00:00
John Daggett ff2b6429f1 Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner 2268fbba77 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner f123cf475c comparing with ssh://hg.mozilla.org/mozilla-central
searching for changes
changeset:   38150:c823c17d12d2
user:        Doug Turner <dougt@dougt.org>
date:        Tue Feb 16 10:49:57 2010 -0800
summary:     backing out 544250
2010-02-16 10:52:40 -08:00
Oleg Romashin 69a32e5a9b Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin 9beecceb88 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Alfred Kayser e676ac7671 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Jonathan Kew 677a56edb2 Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew 94a0c2d526 Bug 543502: Protect against out-of-range array read in CheckForSimpleFamily; remove bad families with no faces from the font list. r=jdaggett 2010-02-11 06:59:47 -05:00
Jeff Muizelaar b49d2ceda2 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Jeff Muizelaar e56247bf86 Revert 3f91dcac71c4 for breaking 'make check'. 2010-02-09 00:07:00 -05:00
Jeff Muizelaar df30207737 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Serge Gautherie 5078ff94e0 Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor 41a6156464 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Roy Frostig 78d97102f2 Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Bas Schouten 42b7bd35ab Bug 543892. cairo: Fix DirectWrite backend transformations. r=jrmuizel
The DirectWrite cairo backend was incorrectly dealing with transformations. And
inconsistently dealing with them for D2D and GDI. I added a patch that fixes
that, it properly deals with the font matrix, and cleans up some of how the
matrices are treated. It also properly transforms D2D brushes on text to make
sure the pattern is correctly overlaid on the text. It also fixes the mask
handling in the transformed fallback path to look much better.

Also corrected inconsistent newlines in the license plate.
2010-02-03 13:32:49 -05:00
Phil Ringnalda 4ab62a6c6d Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Makoto Kato 73a6d1b39c Bug 536725 - Disable SSE1 code on Windows x64 r=jmuizelaar 2010-02-01 17:43:21 +09:00
Jonathan Kew c72a3316cc Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew 81df7337ca Bug 426978: issue warning rather than assertion for font change within a character cluster. r=roc 2010-01-30 13:16:07 +00:00
John Daggett cc720f03d5 Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew aaf4cdfdcc Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew 5566f5e447 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Mats Palmgren c3f3cbbe85 mRectListHead.x needs a sentinel value (not y). Clarify the use of nscoord sentinel values and handle float nscoord too. b=541869 r=roc r=jonitis 2010-01-27 09:35:37 +01:00
Jonathan Kew f78744482f Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban a2f1192ff6 Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Bas Schouten d17bf9a27b Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel 2010-01-22 15:38:31 -05:00
Jesse Ruderman 7600b78fd8 Add crashtests 2010-01-21 11:07:51 -08:00
Jeff Muizelaar 2a8a87ae64 Bug 530550. pixman: Fix arm gcc build.
The pixman-arm-simd-asm.c was just a copy of pixman-arm-simd.c instead
of the file it was supposed to be.
2010-01-21 11:30:07 -05:00
Jeff Muizelaar dc985b0f8f Bug 530550. Fix non-libxul build breakage caused by 0af6ca3135ca. r=ehsan
Non-libxul builds include pixman.h directly instead of having it included
by pixman-private.h which defines PIXMAN_USE_INTERNAL_API. So we ensure
PIXMAN_USE_INTERNAL_API is defined before including pixman.h
2010-01-20 20:01:00 -05:00
Jeff Muizelaar 565b6e30ab Bug 540464. pixman: update to 7862f9b96e8e8456cc60852790c7f244a5e3425e
This is a substantial cleanup of pixman and could break things.
2010-01-20 15:08:05 -05:00
Shailen 6f060d76db Bug 523848 - qcms typedef clashes on AIX with <sys/types.h>. r=jmuizelaar, sr=roc 2010-01-20 11:21:19 +01:00
Jeff Muizelaar 9ab394b4dc Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-18 10:36:43 -05:00
Steffen Imhof e4a6e3bccb Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Benoit Girard ceed5c8fa5 Bug 537032. cairo-quartz: Replace float pointer types with CGFloat. r=jrmuizel
CoreGraphics uses CGFloat which are float for 32-bits and double for 64-bits.
2010-01-15 11:12:31 -05:00
Jonathan Kew fc0692230d Bug 502906 part 1: eliminate backend-specific gfxFontGroup subclasses on Mac OS X. r=jdaggett 2009-10-07 16:26:58 +01:00
Jacek Caban a4dab0be7d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew 36fa71d23f Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Dave Townsend 816e9ab7b8 Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure 2010-01-12 16:27:48 -08:00
Jeff Muizelaar 303bbd3f99 Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-12 17:04:00 -05:00
Robert O'Callahan c77e79e942 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Doug Turner e431a9a6a0 [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman 65c41762cd Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew 95c6dcf0ac Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew 6987a52d38 Bug 493280: restructure Windows font management based on cross-platform font-list classes. r=jdaggett sr=roc 2009-10-07 15:13:40 +01:00
Jonathan Kew b414e4053a Bug 530614: accept fonts (e.g. Arial Unicode MS) despite incorrect cmap language tag. r=jdaggett 2010-01-07 13:53:31 +00:00
Jonathan Kew f61db27a81 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Ginn Chen 7faff2c3ec Bug 537070 qcms failed to build with -m64 on Solaris x86_64 r=jrmuizel 2010-01-06 15:02:04 +08:00
Josh Soref b5cc200461 Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
John Daggett 5236d58f26 Bug 561304. Use GDI shaper by default on XP and handle bitmap fonts better. r=jkew 2010-06-25 21:43:10 +09:00
Jacek Caban 1d901edc47 Bug 569608 - gfxTextRunWordCache.cpp compilation failure on mingw-w64 due to pointer to long cast loosing precision r=vladimir
--HG--
extra : rebase_source : 3142d17d9c28beb1a2034a555b2ffe4a95e71f9c
2010-06-25 14:10:54 +02:00
Jacek Caban 035c29f21e Bug 449292 - gfxHarfBuzzShaper.cpp mingw fix. r=jfkthame
--HG--
extra : rebase_source : 4a9dae1e9123206f89ff6d6197a32752077570ee
2010-06-25 14:06:26 +02:00