Commit Graph

1771 Commits

Author SHA1 Message Date
Walter Meinl
c8241db0f1 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
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Benoit Jacob
7dfee0fad7 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Brad Lassey
33de7c15c9 Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad 2010-05-19 13:11:26 -07:00
Brad Lassey
fea6ae45f8 Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad 2010-05-19 13:09:36 -07:00
Robert O'Callahan
f326559331 Backed out changeset b50002597112
--HG--
extra : rebase_source : f22f069a398bc8b3071fe8faaeb4770b0eb7847b
2010-05-19 17:44:58 +12:00
Robert O'Callahan
3e0f925498 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
e3d9ccde5f 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
a36e98ca1e 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
cd78edcb73 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
aa44f33453 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
2d7164e741 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
ed549b0dfb Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron 2010-05-13 12:56:11 +12:00
Robert O'Callahan
582ab69719 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Oleg Romashin
edfc506b1a Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g 2010-05-18 07:04:21 -04:00
Vladimir Vukicevic
27ea4b61fc Sprinkle some THEBES_API to fix non-libxul builds 2010-05-17 22:43:05 -07:00
Vladimir Vukicevic
e80faabc40 b=561168; convert canvas to use layers for rendering - followup #2; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
a1121cc3a2 b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Jonathan Kew
9835bb0285 merged backout of c475fc8bac21 2010-05-16 11:54:47 +01:00
Jonathan Kew
7c95994203 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
d59bed2651 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
fdc5eaac33 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
135c78e153 [OS/2] Bug 561596 - Add define to allow declspec to work, r=ventnor 2010-05-15 15:54:15 +03:00
Jeff Muizelaar
347084e968 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
4da4eb6b25 Bug 561385 - Fix YCbCr to RGB C fallback code. r=roc 2010-04-30 15:04:22 +12:00
Oleg Romashin
b2716147b6 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
74823b00ed 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
9818f00bf2 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
3f6b77012d 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
0b448bcd6f Bug 561344 - ycbcr doesn't compile on mingw. r=roc 2010-04-29 10:35:07 +02:00
Daniel Holbert
463f0a75f5 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
ef8be4ebf8 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Masatoshi Kimura
ea58edf150 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
181e985775 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
d7d6f2ce93 Bug 564993. Part 1: Remove CopyFrom API, it won't be used. r=Bas 2010-03-03 13:53:52 +13:00
Benoit Jacob
680ac240d5 Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas 2010-05-12 18:56:40 +02:00
Dave Townsend
4e702f917a 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
1803c0e148 Add a comment explaining texture usage as backbuffer. 2010-05-12 18:21:34 +02:00
Bas Schouten
3c4be85e84 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
a338d94cff bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz 2010-05-12 13:17:58 +01:00
Jonathan Kew
9581487a1d 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
66128e542c Bug 540999 - Enable SSE2 for pixman on Windows x64 build. r=jmuizelaar 2010-05-12 17:07:19 +09:00
Oleg Romashin
078005c4d2 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
706e10c197 bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
Bas Schouten
2893f57b8d 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
432fc1dea6 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
f3587ade9b Bug 555388: Part 1: Make sure we flush before clearing surfaces. r=jrmuizel 2010-05-06 23:56:34 +02:00
L. David Baron
7c61f15cf1 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
6f6b4e47f9 Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
Jeff Muizelaar
68d76e69c6 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
38c2106acc Bug 562087: Update pixman to 2f4f2fb4859931bf6dc5632d8c919e7296736427
Should give some performance improvements
2010-05-05 11:23:54 -04:00
Jonathan Kew
81f19261c4 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
38db2f043b Bug 561957. Support GL backend on Mac OS X. r=vlad 2010-04-28 10:29:29 +12:00
Mats Palmgren
d0b4571d12 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
83499da47b 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
97c43a3297 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Jeff Muizelaar
86e9f22ebc pixman: remove unused pixman-neon.patch. r=joe
This patch is obsoleted by upstream.
2010-04-27 11:08:57 -04:00
Mark Banner
261fd5e0bf Follow up bustage fix to bug 560147, put THEBES_API in the right place. 2010-04-27 10:35:34 +01:00
Chris Pearce
2cb468725a Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce
3841ce0fd3 Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-27 20:53:44 +12:00
Mark Banner
94351d1062 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
2661339be3 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
b539ee4a49 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
a969fc0eec Bug 560147: Another follow-up bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:37:14 +02:00
Bas Schouten
8224eab52e Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:21:46 +02:00
Bas Schouten
c7f958ebfc 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
bc05313947 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
057ce0b44f Bug 561678: Use Platform Native drawing surfaces for ThebesLayerOGL. r=roc 2010-04-27 00:24:03 +02:00
Jeff Muizelaar
1ff50fe646 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
02347798c9 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
a3b2b8eed4 Bug 558934: Cache extended and none-extended surfaces separately. r=jrmuizel a=dholbert 2010-04-24 01:16:50 +02:00
Chris Double
e320581a97 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
0dc7ee1deb Bug 540788 - disable text hinting on mobile r=vlad 2010-04-22 15:03:02 -07:00
Chris Double
e5aee7b43c 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
a7f60f1cf4 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
bce74d4343 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
39352b97f4 Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Taras Glek
95c2c4903e Back out bug 560897. 2010-04-22 11:51:11 -07:00
Boying Lu
df390badb6 Bug 560179 - Failed to build files under gfx/src/thebes/utils r=roc 2010-04-22 14:56:30 +02:00
Taras Glek
e9934754b4 Bug 560897: close #pragma pack r=roc
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin
8563022a30 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
9897b0a83e 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
3602bd64b6 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
48228dd99f 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
0e8798aedd Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
Jonathan Kew
1119f0a9cc bug 557736 - ignore empty elements in the font family list. r=jdaggett 2010-04-15 09:31:15 +01:00
Jonathan Kew
52f9f9e606 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
8fd4c3b80d 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
6e91448d6a 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
2cba11e996 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
63c94e8d32 Bug 553603: Do not let DXGI handle window changes for us. r=jrmuizel 2010-04-12 14:44:33 +02:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Jonathan Kew
d48aedf105 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
0277200ab7 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
083f212a9c Bug 550475 - Part 2: Use new RefPtr class in D2D backend. r=jrmuizel 2010-04-09 23:41:48 +02:00
Bas Schouten
9a46bc65e7 Bug 550475 - Part 1: Add a RefPtr template class to Cairo. r=jrmuizel 2010-04-09 23:41:46 +02:00
Bas Schouten
c87fd6c0e9 Bug 558161: Set bitmaps !dirty after their current contents has been updated. r=jrmuizel 2010-04-09 23:41:43 +02:00
Jeff Muizelaar
c10f8b597d Merge backout 2010-04-08 09:44:46 -04:00
Jeff Muizelaar
d751aaf9e3 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00