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

6871 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 3fb2af29a1 bug 449292 - part 2 - add harfbuzz library to the gfx build process. r=ted 2010-06-11 20:14:37 +01:00
Jonathan Kew d2c3a98fdb bug 449292 - part 1 - harfbuzz-ng code from upstream. r=jdaggett sr=roc 2010-06-11 20:14:37 +01:00
Oleg Romashin fcdfc8be57 Backed out changeset 85335f212ac3, attempt to fix oranges 2010-06-11 08:36:08 -04:00
Oleg Romashin 6b0371fa82 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) 951a8a32a4 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 cc75c71979 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) 0ff5253328 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 7e95b0dd5c Bug 571160: fix unused variable warning. r=jdaggett 2010-06-10 11:26:46 -07:00
Jonathan Kew 81697b7f24 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 ef07dca7a9 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 7404e635db 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
L. David Baron c52c114b11 Implement the HTML5 algorithm for parsing a legacy color value: implement the arbitrary-string-to-RGB part of the algorithm. (Bug 121738) r=sicking 2010-06-03 13:11:34 -07:00
L. David Baron 9a32714af6 Implement the HTML5 algorithm for parsing a legacy color value: reject 'transparent'. (Bug 227072) r=sicking 2010-06-03 13:11:34 -07:00
Brad Lassey c1ec9bcb32 [android] read /proc/cpuinfo for cpu info 2010-05-07 16:48:33 -04:00
Masatoshi Kimura 63429f7378 bug 552460 - part 3 - implement Variation Sequence support in Windows font backend. r=jfkthame 2010-06-01 14:42:37 +01:00
Robert O'Callahan 002224fae6 Bug 568189. Add patches to list. 2010-06-01 14:09:44 +12:00
Robert O'Callahan 6eb537adf9 Bug 552537. Add patch to list. 2010-06-01 14:05:55 +12:00
Robert O'Callahan df3a9db4cd Bug 568189. Create gfxASurface::CreateSimilarSurface API. r=jrmuizel 2010-06-01 11:37:44 +12:00
Robert O'Callahan 6e3efde342 Bug 568189. Implement CGLayer-backed cairo-quartz surfaces. r=jrmuizel 2010-06-01 11:33:23 +12:00
Robert O'Callahan 8409392d05 Bug 568189. Part 3: Remove snapshot backend function since it doesn't work and we may as well just fall back. r=jrmuizel 2010-06-01 11:33:05 +12:00
Robert O'Callahan 3f30bb4186 Bug 586041. Part 2: refactor RemoveChild. r=bas 2010-06-01 11:32:05 +12:00
Robert O'Callahan 37a26c36a7 Bug 568041. Add user-data API and GetRoot to LayerManager. Move mVisibleRegion into Layer. r=bas,sr=vlad 2010-06-01 11:29:37 +12:00
Robert O'Callahan bdc8fa4076 Bug 552537. Cache the CGImageRef that we create for a CGBitmapContext so that we can take advantage of Quartz caching optimizations. r=jrmuizel 2010-06-01 11:19:45 +12:00
Bas Schouten 34ebfb3b84 Numerous whitespace fixes in D3D9 layers code. 2010-05-29 05:27:03 +02:00
Bas Schouten 3add880ead Bug 568719: Clear D2D surfaces before use to clear any re-used VRAM. r=jrmuizel 2010-05-29 03:16:24 +02:00
Daniel Holbert 9088953686 Bug 567626 followup: Add missing "*/" at end of first line in CanvasLayerOGL.cpp, ColorLayerOGL.h, & ThebesLayerOGL.h, to fix 'warning: "/*" within comment'. rs=vlad 2010-05-27 13:04:26 -07:00
Steffen Imhof 65f0ed93be Bug 568438 - Fontsize handling in nsSystemFontsQt.cpp breaks for fonts with pixel size set. r=dougt 2010-05-27 08:07:56 -07:00
John Daggett c6e609d0b2 Bug 504698. Enable Cleartype content rendering by default on Win XP. r=jkew 2010-05-27 14:05:30 +09:00
Bas Schouten 3c3030d11d Bug 568150: Properly use parent sibling members for OGL Containers. r=roc 2010-05-26 06:06:34 +02:00
Michael Wu dc3db854dc Bug 565089 - Allow cairo to build on Android. r=jmuizelaar,ted 2010-05-25 15:21:18 -07:00
Bas Schouten 62bf73ee94 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 60be6ff517 Bug 567966: Part 2: Remove rogue allocation from PlanarYCbCrImageD3D9. r=vlad 2010-05-25 09:37:21 +02:00
Bas Schouten 7087289353 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 4c3754729e b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Bas Schouten 64b69309d0 Bug 567943: Let ContainerLayerD3D9 keep references to their children. r=roc 2010-05-25 04:43:59 +02:00
timeless@mozdev.org fd388768cb Bug 565337 Please cache GetOpacity() in ContainerLayerOGL::RenderLayer. r=Bas
--HG--
extra : rebase_source : 101952fad466e60ac4933ac5d4c347c2b3449092
2010-05-23 15:34:58 -07:00
Bas Schouten 01d768b811 Bug 546515: Part 1: Add a layers backend based on Direct3D9. r=jrmuizel 2010-05-24 17:28:51 +02:00
Rob Arnold 2fa027f646 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 9ed8166574 Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc. 2010-05-23 23:47:34 -04:00
Rob Arnold 41ac074713 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 4886cf3d1c Bug 564993. Fix build error, and fix Bas' review comment. 2010-05-24 14:25:58 +12:00
Robert O'Callahan b32027fed6 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 9cdeda856f Backing out bug 564993 part 5 again due to leaks 2010-05-24 10:53:55 +12:00
Robert O'Callahan 01e9dabdad Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Benoit Jacob b7aae954cc Bug 567209. OSMesa rendering needs to be flipped. r=vlad 2010-05-24 09:36:49 +12:00
Benoit Jacob 0d0fc7f160 Bug 567190. Initialize ContextFormat to zero properly. r=vlad 2010-05-24 09:36:49 +12:00
Robert O'Callahan 0417d4868e 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 569d29edc3 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 021650f32f 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 20c2e464f7 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan 6391e1262a 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 b5746a540b 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 5c52a93154 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 e163e03a8f b=567272; wglMakeCurrent is expensive; r=bas 2010-05-20 17:20:39 -07:00
Benoit Girard e52ac354be 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 a59bbd8d1c 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 6334ece45f 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 db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Benoit Jacob c343923727 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Brad Lassey bff80886b6 Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad 2010-05-19 13:11:26 -07:00
Brad Lassey a47cd15ce6 Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad 2010-05-19 13:09:36 -07:00
Robert O'Callahan e38c7ebe25 Backed out changeset b50002597112
--HG--
extra : rebase_source : f22f069a398bc8b3071fe8faaeb4770b0eb7847b
2010-05-19 17:44:58 +12:00
Robert O'Callahan c3ff0859ee 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 9695389e69 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 85fb4022b8 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 cc9d41a047 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 15295424fd 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 a9d5c7ce86 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 87f96430ac Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan d7e60623a4 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Oleg Romashin 7ed629a158 Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g 2010-05-18 07:04:21 -04:00
Vladimir Vukicevic fb494b36b6 Sprinkle some THEBES_API to fix non-libxul builds 2010-05-17 22:43:05 -07:00
Vladimir Vukicevic e5d92d3d03 b=561168; convert canvas to use layers for rendering - followup #2; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic 57c2111dfe b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic b5ac042d49 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Jonathan Kew 56c207bbc1 merged backout of c475fc8bac21 2010-05-16 11:54:47 +01:00
Jonathan Kew c0bb39de17 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 5f60cc3d79 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 c1e8abd08d 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 5fdce7cfb3 [OS/2] Bug 561596 - Add define to allow declspec to work, r=ventnor 2010-05-15 15:54:15 +03:00
Jeff Muizelaar c6adb55bed 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 1e4ad2c781 Bug 561385 - Fix YCbCr to RGB C fallback code. r=roc 2010-04-30 15:04:22 +12:00
Oleg Romashin d1a1adf01a 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 26569a71da 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 f544d71a9d 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 806d5e0b7f 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 e4b65f0db1 Bug 561344 - ycbcr doesn't compile on mingw. r=roc 2010-04-29 10:35:07 +02:00
Daniel Holbert d2a1c857c0 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 b150d375c8 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Masatoshi Kimura e1957e602d 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 853793da4f 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 962d37b89b Bug 564993. Part 1: Remove CopyFrom API, it won't be used. r=Bas 2010-03-03 13:53:52 +13:00
Benoit Jacob 538d21b355 Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas 2010-05-12 18:56:40 +02:00
Dave Townsend f10be7ce3b 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 03102f3dc9 Add a comment explaining texture usage as backbuffer. 2010-05-12 18:21:34 +02:00
Bas Schouten c6a69f8e5a 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 6d364c5257 bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz 2010-05-12 13:17:58 +01:00
Jonathan Kew 901d200bbe 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 f2f0dd1545 Bug 540999 - Enable SSE2 for pixman on Windows x64 build. r=jmuizelaar 2010-05-12 17:07:19 +09:00
Oleg Romashin fef66108af 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