Commit Graph

4518 Commits

Author SHA1 Message Date
Bas Schouten
0cae097489 Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel 2012-01-31 06:15:23 +01:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05: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
Joe Drew
415d0eacaa Bug 719628 - Fix the formatting and naming of ThebesSurfaceKey. r=mattwoodrow
--HG--
extra : rebase_source : 371e80f924bc6f8dd3dbeea02999ebe8fdd7d27e
2012-01-27 13:08:58 -05:00
Joe Drew
93916b3c5b Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -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
Marco Castelluccio
9ee802a28e Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09:00
Jeff Muizelaar
2fe0d32140 Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
This avoids an invalid free() during destruction found with the
online canvas test suite.

--HG--
extra : rebase_source : e1aeff36e557b045fbaff38d7b46fdf91956ae49
2012-01-30 11:17:42 -05:00
Benoit Girard
53b76bb348 Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar 2012-01-29 17:08:58 -05:00
James Willcox
a32a62755e Bug 719872 (part 2) - Use old FontHost implementation on Android r=mattwoodrow 2012-01-30 16:47:22 -05:00
James Willcox
41a08dbe71 Bug 719872 (part 1) - Backout 8de271eee34b r=mattwoodrow DONTBUILD 2012-01-30 16:47:19 -05:00
Ali Juma
51ac38f75e Work around Bug 719036. 2012-01-18 11:38:45 -05:00
Ali Juma
11cc82c789 merge m-c to kiwifox 2012-01-18 11:04:04 -05:00
Landry Breuil
e73b511e09 Bug 722011 - Comma at the end of enums are not valid in C++, r=Ms2ger
Skia headers are included from c++ code and -pedantic is on by default,
which leads to 'error: comma at end of enumerator list' on OpenBSD/gcc 4.2.1.
2012-01-28 05:54:00 -08:00
George Wright
5fd307b7b1 Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Ali Juma
9b8a32266c Address next set of review comments. 2012-01-16 10:31:16 -05:00
Ali Juma
3dd73e278d merge mc to kiwifox 2012-01-16 09:58:14 -05:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Jonathan Kew
ee163436d0 bug 714067 - correction in ligature indexing when combining marks are present. r=behdad 2012-01-15 08:52:00 +00:00
Jonathan Kew
faa24b11a2 bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc 2012-01-15 08:45:09 +00:00
Jeff Muizelaar
96e6029c78 Bug 513702. Remove gfx/cairo/cairo/test/. r=joe
We have never used these files and they are terribly
out of date.
2012-01-14 14:32:14 -05:00
Benoit Girard
2e4455c294 Merge m-c into kiwifox
--HG--
rename : widget/src/cocoa/nsChildView.h => widget/cocoa/nsChildView.h
rename : widget/src/cocoa/nsChildView.mm => widget/cocoa/nsChildView.mm
rename : widget/public/nsIWidget.h => widget/nsIWidget.h
rename : widget/src/xpwidgets/nsBaseWidget.cpp => widget/xpwidgets/nsBaseWidget.cpp
rename : widget/src/xpwidgets/nsBaseWidget.h => widget/xpwidgets/nsBaseWidget.h
2012-01-11 17:30:40 -05:00
Ali Juma
8b5223756e More handling review comments for Bug 711168. 2012-01-10 18:04:21 -05:00
Ali Juma
f4c33e6ca1 Address review comments from Bug 711168.
--HG--
rename : gfx/layers/ipc/ShadowLayersHost.h => gfx/layers/ipc/ShadowLayersManager.h
2012-01-06 17:52:32 -05:00
Jonathan Kew
c0b92e301e bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Mike Hommey
41e5e42c93 Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey 2012-01-13 07:23:02 +01:00
Ed Morley
329417cd35 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Oleg Romashin
d6ad5fab8a Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma 2012-01-12 15:49:43 -08:00
Chris Jones
24f87ab423 Bug 716332: Delete temporary fbo. r=joedrew 2012-01-12 16:27:34 -08:00
Matt Woodrow
841caeb8f4 Bug 712509 - Disable Skia's internal malloc debugging as it was causing crashes on android. r=Bas 2012-01-12 13:46:09 +13:00
Nathan Froyd
fa5154d0f1 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Ed Morley
a5e2d37200 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
451eefe74c bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Nathan Froyd
4eb190e713 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Michael Wu
1f2f55bc24 Bug 734263 - Set offscreen surface format according to screen format, r=cjones 2012-03-13 16:59:26 -04:00
Boris Zbarsky
aa1e6384d2 Bug 718150. Make sure to update our stored size on Swap() even if we didn't already have a front surface. r=cjones 2012-01-14 11:48:48 -05:00
Ali Juma
af41b90a2a Clean up Compositor destruction. 2011-12-22 10:59:53 -05:00
Ali Juma
6ca080a97a Clean up pointer usage 2011-12-21 11:10:33 -05:00
Ali Juma
e2f8f1561d Clean up 2011-12-20 15:12:54 -05:00
Ali Juma
6117479177 Fix crash when deleting Compositor parent, and change RPC calls to sync calls.. 2011-12-20 10:37:27 -05:00
Ali Juma
07635403cc Composite only when needed. 2011-12-19 13:17:29 -05:00
Benoit Girard
3f4e7da732 merge mc to kiwifox 2011-12-19 11:34:31 -05: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
Masatoshi Kimura
bca08a24f4 Bug 700057 - Create artificial names if English names not found in the name table. r=jfkthame 2011-12-19 10:48:46 +00:00
Jonathan Kew
ebaa9ad3ce bug 711357 - release the CGFontRef after creating our font entry (which holds its own reference). r=jdaggett 2011-12-19 10:36:05 +00:00
Jonathan Kew
0236199d36 bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett 2011-12-19 10:33:37 +00:00
Ali Juma
b0a7f53f0f Merged. 2011-12-19 10:44:18 -05:00
Benoit Girard
46c36ce8e7 More clean up. Shutdown down a window no longer crashes 2011-12-16 19:21:51 -05:00
Ali Juma
ffe1c7b58d Add a 10ms delay when scheduling next composition. 2011-12-16 17:54:06 -05:00
Benoit Girard
334208c02a Clean up some hacks and useless code 2011-12-15 16:31:16 -05:00
Ali Juma
aed9038a0f Ensure added code only runs when using a Compositor, not in e10s. 2011-12-15 16:16:38 -05:00
Ali Juma
a5bd408df9 Make shadow layer transformations work. 2011-12-15 15:20:06 -05:00
Ali Juma
42f2a7bb6f imported patch hacking 2011-12-15 15:07:25 -05:00
Ali Juma
62c753efee imported patch PCompositorProgress 2011-12-15 15:07:19 -05:00
Jonathan Kew
71796a0d20 bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey 2011-12-19 01:55:11 +00:00
Benoit Girard
3723d79344 Part A: Setup PCompositor (in progress) 2011-12-12 10:15:57 -05:00
Benoit Jacob
1b69af79f6 Bug 711592 - Update ANGLE to r924 - no review
Upstream is at http://code.google.com/p/angleproject/
2011-12-18 18:20:45 -05:00
Nicholas Nethercote
8f335f567c Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Woodrow
1e6a0c0b07 Bug 707563 - Restore the w component in the LayerManager shaders after applying the offset. r=Bas 2011-12-19 10:11:30 +13:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Ms2ger
88df3c4062 Bug 709518 - Remove unused 4-argument nsRenderingContext::InvertRect; r=jrmuizel a=edmorley 2011-12-11 14:43:29 +01:00
Jonathan Kew
c98710eeeb bug 691505 - ensure Graphite uses infallible malloc to give well-defined OOM behavior. r=roc 2011-12-09 22:32:30 +00:00
Jonathan Kew
164f1ffdde bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
e24f640930 bug 631479 (part 3) - allow graphite tables to be passed through OTS for downloadable fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
ed5870ac14 bug 631479 (part 2) - compile graphite2 as part of the gfx build. r=jdaggett,khuey 2011-12-09 22:32:29 +00:00
Jonathan Kew
81938a4898 bug 631479 (part 1) - import graphite2 code from http://projects.palaso.org/projects/graphitedev/repository/revisions/853 (release 1.0.3 plus bugfixes). r=jdaggett 2011-12-09 22:32:28 +00:00
Robert O'Callahan
b22b8717f9 Bug 705559. Part 4: Speed up AddDependencyOnSource by exiting early when we already have the dependency. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
2e41d40aa7 Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
bf1ffae6f7 Bug 705559. Part 2: Keep only one snapshot per DrawTargetD2D since all stored snapshots represent the 'last state'. Reuse that snapshot if the state hasn't changed since the last snapshot. Keep the last snapshot alive and make the snapshot's mDrawTarget weak instead. Change mDependingOnTargets/mDependentTargets to be hashsets instead of vectors. Remove SourceSurfaceD2DTarget::mIsCopy since the null-ness of mDrawTarget means the same thing. r=bas 2011-12-09 22:51:57 +13:00
Jeff Gilbert
4d60675b38 Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
1be07963e0 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
1109fc2523 Bug 704788 - Add inlined function to allow easy compile-time pruning of mDebugMode branches in GLContext - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk
4260d87a27 Bug 711579: fix WGL context creation without robustness r=Bas 2011-12-16 13:12:02 -08:00
Doug Sherk
44db6564f4 Bug 711226: separate desktop and ES 2.0 symbol loading r=bjacob
Symbols were amalgamated into a single table which worked up until recently.
This patch separates them so that there is a common list, then two separate ones
for desktop and OpenGL ES 2.0.
2011-12-16 13:12:00 -08:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Ali Juma
1ec6927862 Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-16 14:02:03 -05:00
Matt Woodrow
bea9136024 Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas 2011-12-09 16:21:45 +13:00
Bill McCloskey
af6c302c9e Bug 705332 - Re-enable printing filename in quiet builds (r=njn) 2011-12-08 10:14:06 -08:00
Jeff Muizelaar
57f0178ec2 Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
8960edcfc7 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
80095e3007 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
7245b4f159 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Matt Brubeck
0dc4c17288 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Bas Schouten
56d3b6d55c Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc 2012-01-17 18:32:24 +01:00
Jeff Muizelaar
6eb206d846 Bug 717921. Only have one thebes surface. r=bas
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
2a24d649f4 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.

--HG--
extra : rebase_source : 62d38e561d1e64c725587b1de4d1ae609b828557
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
b2072dc211 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
f0ddcff50f Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
--HG--
extra : rebase_source : ec2d4e1c76e504b794707d83e5f31580aee81fee
2011-12-13 09:58:11 -05:00
Marco Bonardo
1b31e5f0a2 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Stefan
a94256c976 bug 668263 - fix erratic spacing in print-to-PDF by cherry-picking Cairo fixes from https://bugs.freedesktop.org/show_bug.cgi?id=31062. r=jrmuizel,ajohnson 2012-01-17 10:01:36 +00:00
Ms2ger
ce301744c0 Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor 2012-01-17 10:48:19 +01:00
Justin Wood
b50ee39e04 Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Jeff Muizelaar
834bc5acc7 Bug 717921. Fix bustage about moz_xrealloc. 2012-01-16 22:23:37 -05:00
Joe Drew
cafbfddf58 Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD 2012-01-16 16:29:42 -05:00
Serge Gautherie
3397965934 Bug 628589. (Fv2) test_acceleration.html: Add a workaround for SeaMonkey (tinderboxes) which don't support acceleration. r=joe. 2012-01-16 21:52:18 +01:00
Matt Woodrow
9a2792e6c9 Bug 715720 - Support DrawTargets in CanvasLayerOGL. r=jrmuizel 2012-01-17 10:55:43 +13:00
Oleg Romashin
23660a956c Bug 715822 - OGL CleanupResources should cleanup Texture resources too. r=mattwoodrow 2012-01-16 00:41:55 -05:00
Jeff Muizelaar
e8f99f9572 Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
3080dfc168 Bug 717921. Add UserData to DrawTarget. r=bas 2012-01-13 09:47:58 -05:00
Jeff Muizelaar
e74511907f Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
4e229f2af6 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -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
Bas Schouten
db305dbad5 Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Jonathan Kew
c06dcd36f4 bug 721466 - fix VS2010 build failure in gfx/graphite/src. pending-r=roc 2012-01-26 22:27:25 +00:00
Jeff Gilbert
21cc83a78b Bug 721205 - Add correct logic for enabling BGRA readPixels for GLES - r=bjacob 2012-01-26 09:26:36 -08:00
Benoit Jacob
57f5391e3e Bug 720438 - Update ANGLE to r963 - no review
No review because this is just syncing us with upstream:
  http://code.google.com/p/angleproject/

This is also doing some cleanup, removing stale/empty files and updating patches.

The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Jonathan Kew
87fbddfa16 bug 719366 pt 1 - [harfbuzz] fall back to applying 'latn' features if neither the proper script nor 'DFLT' is present. r=behdad 2012-01-26 11:21:01 +00:00
Jonathan Kew
9abc24757f bug 721068 - update to latest graphite2 code from upstream (hg rev 911:a697cecbaddd). rs=roc 2012-01-26 11:20:57 +00:00
Julian Seward
5918745e20 Bug 720758 - Uninitialised value use in gfx/layers/basic/BasicLayers.cpp. r=bas
--HG--
extra : rebase_source : 78899a63fff9762875ee720817514ab0625ceab1
2012-01-26 11:00:15 +01:00
Chris Jones
c4d3bbde9f Bug 715232: Don't attempt to CopyTexImage from an RGB framebuffer to an RGBA texture. r=joedrew 2012-01-25 18:05:34 -08:00
Marco Castelluccio
94763126a2 Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Jeff Muizelaar
bd5a176210 Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Jonathan Watt
931f6fc216 Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas. 2012-03-02 08:28:59 +00:00
Oleg Romashin
b12b758316 Bug 733951 - Qt port does not compile anymore due to bad includes order. r=jrmuizel
--HG--
extra : rebase_source : 7f26da25e0fd3ec15c8c167eae017fe493c31ae7
2012-03-12 11:43:14 -04:00
Jonathan Kew
91e9f9f359 bug 726539 - last value wins in the case of conflicting features in -moz-font-feature-settings. r=jdaggett 2012-03-12 16:54:28 +00:00
Oleg Romashin
55b4e1f4fd Bug 734757 - Platform::GetOffscreenFormat called from non-main thread, and breaking Qt port. r=dougt 2012-03-12 10:23:34 +01:00
Phil Ringnalda
c4f2e41c4e Back out c891149d1ca4 (bug 719776) for Windows build bustage 2012-03-11 19:25:16 -07:00
Matt Woodrow
139e61830f Bug 719776 - Remove external dependencies from Azure. r=Bas 2012-03-12 15:00:57 +13:00
Joe Drew
75e6f69da6 Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Joe Drew
2a87535698 Bug 715652 - Jeff's review requested changes which were easier to implement on top of path support. r=jrmuizel
--HG--
extra : rebase_source : 1918afdd0ea2629169dff36353fdf01d66377e26
2012-01-09 17:19:11 -05:00
Joe Drew
200475920f Bug 707848 - Implement paths in the 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : a127cd96d48077c02f32d64b89984995c02fc38b
2012-01-09 17:15:10 -05:00
Joe Drew
879f7f3954 Bug 715652 - Implement significantly more of the 2D API for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : b23314691fef65db2518d3e738a66039e3c18909
2012-01-09 16:50:01 -05:00
Karl Tomlinson
1d8d7233fb b=682625 pass VisualID when PictFormat is not available r=cjones
--HG--
extra : transplant_source : A%2ALD%92%93%A3%D8%AB%03i%17Y%F4%CA%D3%AAE%3D%99
2012-01-10 23:54:38 +13:00
Karl Tomlinson
5d027f5e32 b=682625 move XVisualIDToInfo to X11Util r=cjones
--HG--
extra : transplant_source : %BA%AF%7F%B2%B3%12%F2%CBl%FAy%5C%F25lI%23%EC%92%28
2012-01-10 23:54:38 +13:00
Ed Morley
49f22f3ce4 Backout b9e154713763 (bug 702158) for pgo linux failures 2012-01-11 01:22:15 +00:00
Marco Castelluccio
e10776db76 Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow 2012-01-11 11:17:56 +13:00
Jonathan Kew
ee5bca4de4 bug 716229 - don't switch fonts for non-printing control chars. r=roc 2012-01-10 20:40:30 +00:00
Jonathan Kew
8fae2a5409 bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard 2012-01-10 14:47:52 +00:00
Krzysztof Kotlenga
6dcd161a90 Bug 678940 - remove caching of uniform values. r=joe 2012-01-09 10:57:21 +01:00
Ed Morley
2260599ad4 Merge mozilla-central to mozilla-inbound 2012-01-06 22:35:43 +00:00
Ed Morley
222303ed15 Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-06 22:27:52 +00:00
Kyle Huey
b82fe49789 Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium 2012-01-06 09:44:25 -05:00
Jonathan Kew
2c2e690cb8 bug 703100 followup - fix potential crash due to string not being null-terminated. 2012-01-05 14:41:37 +00:00
Jonathan Kew
174cf9e76f bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc 2012-01-05 11:54:45 +00:00
Jonathan Kew
39b0dea87f bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc 2012-01-05 11:54:45 +00:00
Jeff Muizelaar
b1a552dca2 Bug 715704. Add a quartz implementation of mark_dirty_rectangle. r=roc
We need to drop our CGImage cache when the surface has been changed by outside users.
2012-01-05 18:40:01 -05:00
Jonathan Kew
d5a2294830 bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
ccc9f44ded bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
61bcbc8a14 bug 703100 - pt 2.4.1 - make gfxPangoFontGroup font-matching behavior more similar to generic gfxFontGroup version. r=roc 2012-01-05 11:54:44 +00:00
Jonathan Kew
a496e551bd bug 703100 - pt 2.4 - adapt Linux/Pango font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
6295b88fbb bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
c331f7adb9 bug 703100 - pt 2.2 - adapt Mac font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
8a374cd168 bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
dab5dd6132 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Jonathan Kew
aa9862b507 bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett 2012-01-05 10:14:11 +00:00
Bas Schouten
bf4eadaee5 Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel 2012-01-05 08:17:52 +01:00
Bas Schouten
056cdb4884 Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Bas Schouten
0c431d68e7 Bug 711063 - Part 9: Adjust gfxDrawable to be compatible with the Azure Wrapper. r=jrmuizel 2012-01-05 08:17:52 +01:00
Bas Schouten
e528b0bb4f Bug 711063 - Part 6: Adjust nsRenderingContext to be compatible with Azure wrapper. r=joedrew 2012-01-05 08:17:52 +01:00
Bas Schouten
e6a43af1fa Bug 711063 - Part 5: Adjust gfxWindowsNativeDrawing to be compatible with Azure wrapper. r=jrmuizel 2012-01-05 08:17:52 +01:00
Bas Schouten
351194b1e9 Bug 711063 - Part 4: Adjust gfxUtils to be compatible with Azure wrapper. r=jrmuizel 2012-01-05 08:17:51 +01:00
Bas Schouten
29a752007d Bug 711063 - Part 3: Adjust font code to be compatible with Azure wrapper. r=joedrew 2012-01-05 08:17:51 +01:00
Bas Schouten
2d4395c3fd Bug 711063 - Part 2: Add new wrapper code for gfxContext and gfxPattern. r=jrmuizel 2012-01-05 08:17:51 +01:00
Bas Schouten
419c357802 Bug 711063 - Part 1.5: Add operator to gfx::Matrix for size transformation. r=jrmuizel 2012-01-05 08:17:51 +01:00
Bas Schouten
fbae97b9be Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew 2012-01-05 08:17:51 +01:00
Karl Tomlinson
154582bdd0 b=713572 don't draw from BasicThebesLayerBuffers when transaction is incomplete r=roc
--HG--
extra : rebase_source : a85034d1207100a3563e7bb8b92ea696c91ac206
2012-01-05 11:16:37 +13:00
Joe Drew
031c31b01f Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas 2012-01-04 18:02:59 -05:00
Joe Drew
6636e5870d Bug 705204 - Add mozilla::gfx::Matrix::operator!= and operator==. r=Bas 2012-01-04 18:02:59 -05:00
Joe Drew
2a86c4f308 Bug 705200 - Add mozilla::gfx::Matrix::IsIdentity(). r=Bas 2012-01-04 18:02:59 -05:00
Jeff Muizelaar
dfce004451 Bug 715232. Add some more MOZ_FINAL. r=joe
--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
2012-01-03 13:38:10 -05:00
Jeff Muizelaar
4ac327e933 Bug 696398. Add an api to analyse frame rate. r=ajuma
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Jeff Walden
91683ae3e3 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ed Morley
00652af5b4 Merge last green changeset of mozilla-inbound to mozilla-central
--HG--
rename : mobile/xul/installer/package-manifest.in => b2g/installer/package-manifest.in
2011-12-07 09:27:36 +00:00
John Daggett
5eaa0f64ad Bug 693143. Crashtest for the small bitmap case. r=roc 2011-12-07 12:03:42 +09:00
John Daggett
5b27f91689 Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc 2011-12-07 12:02:53 +09:00
Jeff Gilbert
a494788ba0 Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob 2011-12-06 15:36:40 -08:00
Andrew Quartey
bab8d10213 Bug 705414 - Failure checks for JS_DefineElement in nsScriptableRegion::GetRects. r=evilpie 2011-12-05 15:44:06 +01:00
Benoit Jacob
cf73b0e3b9 Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
93a933e9c9 Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert
In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
2011-12-04 14:15:42 -05:00
Ed Morley
1ffbd8940f Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
timeless@mozdev.org
4e6bfb97ec Bug 505738 - nsScriptableRegion::GetRects doesn't handle failure from JS_NewArrayObject [@ JS_DefineElement - nsScriptableRegion::GetRects] r=gal 2011-12-03 22:50:17 +01:00
Doug Sherk
a9cd727f00 Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Doug Sherk
0dbceda5a6 Bug 70348: implement ARB_robustness with WGL r=bjacob
WGL has its own ARB_robustness implementation which we support with this patch.
I was able to confirm that it was correctly being activated and was polling
status correctly (i.e. the framework is running), but WGL itself doesn't
actually seem to stop the DoS correctly when a robust context is created.
2011-12-02 23:50:11 -08:00
Ali Juma
944ab6b896 Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel 2011-12-02 09:43:58 -05:00
aceman
cfc790a3ed Bug 706610 - remove trailing semicolon after namespace decl. r=joe 2011-12-03 17:02:10 +01:00
aceman
03b5fc2b81 Bug 704210 - Add license headers to files gfx/gl/Makefile.in and gfx/thebes/Makefile.in. r=joe 2011-12-03 13:04:52 +01:00
Jeff Gilbert
f15bef0f8e Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob 2011-11-30 17:25:20 -08:00
Jacek Caban
4d585841b8 Bug 705656 - Broken SKIA compilation on mingw r=matt.woodrow 2011-11-30 10:26:15 +01:00
John Daggett
971bd19215 Bug 705590. Measure system font fallback times. r=jrmuizel 2011-11-30 10:55:11 +09:00
Benoit Girard
faf8ccdf36 Bug 703317 - Use TLS to make RgnRectMemoryAllocator thread safe. r=roc 2011-11-29 13:29:03 -05:00
Doug Sherk
8457906a11 Bug 656824: fix trailing comma in GLContext::ContextResetARB enum 2011-11-29 06:10:44 -08:00
Nicholas Nethercote
f102556f32 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
David Marteau
59db32c5ad Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg 2011-11-26 20:48:35 +01:00
Ms2ger
dc467a9aa0 Bug 705187 - Use IDL for nsIScriptableRegion::GetRects; r=roc 2011-11-26 11:29:45 +01:00
Robert O'Callahan
7d22b4bdb5 Bug 705173. Make mDependentTargets weak by tracking the inverse relationship in mDependingOnTargets. In Flush(), remove dependencies on other targets. r=bas 2011-11-25 15:12:40 +13:00
Benoit Jacob
ba094503ec Bug 717658 - OOM crash in BasicLayers: dump sizes to help understand this crash - r=joe 2012-01-24 16:12:30 -05:00
Bas Schouten
8756d547e2 Bug 657141 - Part 2: Only optimize away clip levels when using solid alpha masks. r=jrmuizel DONTBUILD 2012-01-23 12:03:44 +01:00
Dão Gottwald
cf5bdde73d Backed out changeset 17933c63c7b6 2012-01-23 12:01:37 +01:00
Dão Gottwald
c78b0990ff Bug 657141 - Part 2: Only optimize away clip levels when using solid alpha masks. r=jrmuizel 2012-01-23 12:00:24 +01:00
Benoit Girard
d3a3a98379 Bug 635544 - rename nsIWidget::DrawOver to DrawWindowOverlay. r=roc 2012-01-21 21:01:17 -05:00
Oleg Romashin
43d434f60c Bug 719253 - Fennec cannot init EGL libs due to wrong library name. r=glandium 2012-01-20 09:18:56 -05:00
Karl Tomlinson
ba0f5d0527 b=716402 improve inter-glyph pixel rounding r=jfkthame 2012-01-20 09:19:10 +00:00
Ehsan Akhgari
ca0546008e Bug 719575 - Fix clang builds which are broken now because of Skia changes; r=mattwoodrow
--HG--
extra : rebase_source : 0470d992199f094b60fb16032415b6f6e00ff720
2012-01-19 16:32:41 -05:00
Jeff Muizelaar
8bc10894df Bug 719429. Fix canvas data leak in DrawTargetCG. r=ajuma
I forgot to fix this before landing and refound it using
http://s3.zazub.com/games/circle_game/index.html
2012-01-19 10:33:35 -05:00
aceman
9f40d11539 Bug 678982 - check for null pointer dereference in gfx/layers/d3d10/ImageLayerD3D10.cpp; r=bas.schouten 2012-01-19 15:53:56 +01:00
Benoit Girard ext:(%2C%20Ali%20Juma%20%3Cajuma%40mozilla.com%3E)
3a24e71200 Bug 711168 - Implement the compositor protocol for OMTC. r=cjones 2012-01-19 09:45:37 -05:00
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Woodrow
96bb9c226e Bug 716415 - Follow to include changes that I forgot to qref. r=bustage 2012-01-19 17:55:27 +13:00
Matt Woodrow
7102edd4ed Bug 716415 - Fix windows build of Skia. r=jrmuizel 2012-01-19 17:48:35 +13:00
Matt Woodrow
00d569c12d Bug 715718 - Fix uninitialized variable in SkDraw.cpp. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
5cb9e8e2e9 Bug 716415 - Enable soft clipping with Skia in Azure. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
607dff74b1 Bug 716415 - Store our changes to SkUserConfig.h in a patch file. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
d642e4c4c4 Bug 716415 - Update Azure for Skia API changes. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
4e230168bb Bug 716415 - Apply mozilla patches to skia and fix bitrot. r=jrmuizel 2012-01-19 17:48:35 +13:00
Matt Woodrow
0157118305 Bug 716415 - Update Skia to svn revision 2980. r=jrmuizel 2012-01-19 17:48:34 +13:00
Matt Woodrow
519154cff3 Bug 716415 - Add missing README_MOZILLA file. r=jrmuizel 2012-01-19 17:48:34 +13:00
Matt Woodrow
d37ba24f58 Bug 716802 - Implement new 2D API functions. r=gwright 2012-01-19 17:48:33 +13:00
Jonathan Kew
cca6cd92d3 bug 718513 - [dwrite] implement synthetic bolding for fonts loaded via @font-face with src:local(). r=bas 2012-01-18 21:18:10 +00:00
Ali Juma
93422a504e Bug 705641 - Add more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-15 13:06:18 -05:00
Bas Schouten
b1fe1c94c1 Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett 2011-12-15 17:12:40 +01:00
Justin Lebar
251efb48b8 Bug 708963 - Remove tautological comparison (unsigned int >= 0) in gfxFont.h. r=jmuizelaar
--HG--
extra : rebase_source : 1562649cfe16bbfeeacad6b53ba53f50c58fa2b0
2011-12-15 09:49:42 -05:00
Robert O'Callahan
c1f1cc4a64 Bug 708109. Remove THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING in favour of NS_ version. r=joe 2011-12-15 23:26:42 +13:00
Mike Hommey
50456a422a Bug 709914 - Slice out the ANGLE compiler from libxul on Windows. r=khuey,a=philor 2011-12-15 06:40:23 +01:00
Doug Sherk
326f4add01 Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Ed Morley
e57dd3a282 Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00:00
Jonathan Kew
416c120a7f bug 701637 - clean up mark-skipping loops in gsub/gpos code. r=behdad 2011-11-24 07:13:40 +00:00
Jeff Gilbert
a3b143816e Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob 2011-11-23 16:49:02 -08:00
Jeff Walden
4f3f8250ea Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Robert O'Callahan
f6d9e65b02 Bug 703491. Part 2: use bools, not nsresults, and silence the rest of the assertions. r=bas 2011-11-24 12:01:39 +13:00
Ehsan Akhgari
3b2e403dd7 Remove the executable bit from the skia source files; rs=joe (no bug)
DONTBUILD
2011-11-23 15:18:18 -05:00
Nicholas Nethercote
a4c1789959 Bug 703456 - Kill REPORT_BUILD; kill it dead. r=ted. 2011-11-21 18:47:54 -08:00
Matt Brubeck
391dacada7 Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-21 08:41:42 -08:00
Kyle Huey
3d4b98aef2 Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me 2011-11-21 09:56:24 -05:00
Oleg Romashin
1fe995bea0 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=matt.woodrow 2011-11-20 08:49:48 -05:00
Benoit Jacob
8215f8aa3e Bug 703917 - Upgrade ANGLE to r885 - no review
This is syncing us with the upstream http://code.google.com/p/angleproject
2011-11-19 18:18:59 -05:00
Jonathan Kew
5d3cc2bea2 bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett 2011-11-21 08:19:57 +00:00
Robert O'Callahan
46a8f52b3d Bug 703491. Silence useless assertion. r=bas 2011-11-21 17:40:11 +13:00
Doug Sherk
ae918111a2 Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Oleg Romashin
9706557ec7 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=jrmuizel 2011-11-18 14:01:35 +01:00
Joe Drew
9faa8a6d27 Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-18 22:19:24 +13:00
Matt Woodrow
f1acc41494 Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel
--HG--
rename : gfx/thebes/EGLUtils.h => gfx/gl/EGLUtils.h
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProvider.h => gfx/gl/GLContextProvider.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderImpl.h => gfx/gl/GLContextProviderImpl.h
rename : gfx/thebes/GLContextProviderNull.cpp => gfx/gl/GLContextProviderNull.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLContextSymbols.h => gfx/gl/GLContextSymbols.h
rename : gfx/thebes/GLDefs.h => gfx/gl/GLDefs.h
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
2011-11-18 22:07:49 +13:00
Ed Morley
d06867876a Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Kyle Huey
053e18194b Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Matt Woodrow
9f4d4881c9 Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas 2011-11-17 16:45:51 +13:00
Matt Woodrow
5adc6b8e01 Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc 2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7 Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc 2011-11-17 16:44:16 +13:00
Benoit Girard
1d1b235efb Bug 671639 - Part 1: AttachIOSurface now updates the Framebuffer instead of recreating it. r=matt.woodrow 2011-11-16 11:36:06 +13:00
Jeff Walden
e15cf47cfd Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones 2011-11-14 10:31:46 -08:00
Jonathan Kew
47c3c5c8dc bug 702505 - [OTS] don't incorrectly discard OpenType layout tables due to presence of 'size' feature in GPOS. r=jdaggett 2011-11-16 14:13:16 +13:00
Benoit Girard
0cda6c0e73 Bug 701348 - qcms_transform_precacheLUT_float did not properly free dest buffer. r=jmuizelaar 2011-11-10 08:28:58 -05:00
Jacek Caban
e8e789bc52 Backed out changeset a21668ea9597 for Windows test failures 2011-11-15 14:09:06 +01:00
Jacek Caban
b8220f945e Bug 670096 - cairo fails to compile on mingw with D2D and DWrite enabled r=cjones 2011-11-15 12:58:12 +01:00
Chris Pearce
f689fe4458 Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc 2011-11-15 09:35:46 +13:00
Robert O'Callahan
f5a402ffe7 Bug 701528. Fix component alpha shader so correct destination alpha values are produced. r=bas 2011-11-14 17:42:08 +13:00
Joe Drew
890d07996d Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-14 17:29:28 +13:00
Joe Drew
303a252576 Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas 2011-11-14 17:29:14 +13:00
Joe Drew
3b842a0678 Bug 685322 - Create explicit conversion constructors for Rect and Point taking IntRect and IntPoint. r=roc 2011-11-14 17:29:01 +13:00
Matt Brubeck
d9a00c1f73 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Marco Castelluccio
dad1070375 Bug 699258 - Part 1: [Skia] Resolve Skia restrict problems. 2011-11-11 15:51:00 -05:00
Marco Bonardo
58bfb85dcd Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Gregory Szorc
dd260c7514 Merge b-s to m-c 2011-11-10 15:15:29 -08:00
Ed Morley
24695badf6 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Ali Juma
5ff47a56c5 Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel 2011-11-08 10:51:44 -05:00
Jacek Caban
c99fb93d82 Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones 2011-11-08 10:25:33 +01:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Gregory Szorc
f9737cefa1 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Benoit Jacob
b9688f7857 Bug 697845 - only call glFinish in RenderLayer, not in UpdateSurface - r=mattwoodrow
This could make WebGL a bit faster.
2011-10-29 19:15:52 -04:00
Matt Woodrow
4f177d1dba Bug 702517 - Disable dithering of 32bit skia gradients. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
0160cea238 Bug 703463 - Let SourceSurfaceSkia snapshots take ownership of DrawTargetSkia pixel data when it is destroyed. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
d866e852f3 Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
26c2668d5a Bug 703428 - Handle invalid stroke options. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
c57d11d687 Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
01449931d4 Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
0b21d3a24b Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
4503deadd0 Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
f58c65db73 Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas 2011-11-18 17:00:37 +13:00
Marco Castelluccio
65fe650cde Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Marco Castelluccio
33003fe27f Bug 699258 - Move skia gradient shader implementations out of the class to fix a compile error on windows. r=mattwoodrow 2011-11-11 15:51:00 +13:00
Jeff Muizelaar
3dc2412d44 Bug 703472. Retain the DataSourceSurface. r=bas
The Quartz Azure backend has the data owned by the DataSourceSurface so we
can't drop the DataSourceSurface after creating an image surface around it.
This patch keeps the DataSourceSurface around for the lifetime of the
gfxASurface.

--HG--
extra : rebase_source : d758646bab85d827c09af390d11e5e30ad33a6c9
2011-11-15 11:44:21 +13:00
Benoit Girard
d8ebb72e62 Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
--HG--
extra : rebase_source : e121a8718fa68e602794957bae278d7351d7d585
2011-10-26 14:36:18 -07:00
Jonathan Kew
448a234431 Bug 689087 - Relax cmap format 4 checking slightly to allow Baskerville on Lion to work; r=jdaggett 2011-11-17 19:11:37 +01:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Adrian Johnson
04bd6b7659 Bug 454532. Substitute "Courier" with "Courier New". r=jdagget 2011-10-28 09:58:49 -04:00
Matt Woodrow
4dff6352a5 Bug 687189 - Implement SkPaint::getPosTextPath. r=jrmuizel 2011-10-28 20:10:02 +13:00
Matt Woodrow
983581c509 Bug 687188 - Skia radial gradients should use the 0/1 color stop values for clamping. r=jrmuziel 2011-10-28 20:08:54 +13:00
Matt Woodrow
748e151af8 Bug 689069 - Disable frame pointer for Skia arm optimized functions. r=jrmuizel 2011-10-28 20:05:42 +13:00
Matt Woodrow
6ba9d89bcd Bug 688333 - Build changes to compile skia. r=khuey 2011-10-28 20:05:35 +13:00
Matt Woodrow
4b4d0412eb Bug 688333 - Initial import of Skia source code 2011-10-28 20:05:31 +13:00
Matt Woodrow
f9b815c30c Bug 688333 - Add script for importing Skia into our source tree. r=jrmuizel 2011-10-28 20:05:24 +13:00
Benoit Girard
134532115c Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage. 2011-10-27 10:17:40 -04:00
Benoit Girard
202863145b Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Benoit Girard
48817e26d9 Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar 2011-10-20 16:32:38 -04:00
Oleg Romashin
e9ae370ccc Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones 2011-10-27 13:30:43 +02:00
Doug Sherk
1c15893d0b Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Jeff Gilbert
f369e1aa40 Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob 2011-10-26 16:00:44 -04:00
Matt Woodrow
0a33a7a798 Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc 2011-10-26 16:25:42 +13:00
Matt Woodrow
0ea6f9fa20 Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc 2011-10-26 16:19:13 +13:00
Matt Woodrow
99cf04846c Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc 2011-10-26 16:15:53 +13:00
Ehsan Akhgari
c6b791606b Bug 696889 followup - Remove the two patches which are no longer needed from the tree; rs=bjacob
DONTBUILD
2011-10-25 11:24:04 -04:00
Benoit Jacob
257620bd20 Bug 696889 - Upgrade ANGLE to r802 - no review
This is syncing us with the ANGLE project at

   http://code.google.com/p/angleproject/

Also, with this new ANGLE revision, two WebGL conformance tests are now passing on windows so this patch removes them from failing_tests_windows.txt.

--HG--
rename : gfx/angle/angle-instrinsic-msvc2005.patch => gfx/angle/angle-intrinsic-msvc2005.patch
2011-10-25 08:58:43 -04:00
Landry Breuil
d81b4a6adc Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Jonathan Kew
83fbbb1c82 bug 672456 - ensure proper font is selected into the DC for GDI text layout. r=jdaggett 2011-10-25 13:30:02 +01:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
964003f601 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
eb898b2d68 Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Marco Bonardo
7a65efe109 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Jeff Gilbert
ca51139de9 Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob 2011-10-20 23:41:02 -04:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
dadc414f5e Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Jeff Muizelaar
52b2c7e436 Bug 690456. Initialize sz in a clearer way. r=joedrew
--HG--
extra : rebase_source : b4ac096a22ef8916e29e8a2a6cdb2fb8bce06594
2011-10-18 15:17:32 -04:00
Benoit Girard
9784f12f4d Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel 2011-10-13 10:36:59 -04:00
Jeff Muizelaar
d6449a91c6 Bug 699507. cairo-win32: remove dead fallbacks. r=ajuma
This code was never used.
2011-11-04 12:07:12 -04:00
Jeff Muizelaar
c8e1bc84a2 Bug 699507. cairo-win32: remove dead create_span_renderer. r=ajuma
We create our span renderer ourselves so we don't need to implement
create_span_renderer anymore.
2011-11-04 12:06:46 -04:00
Jeff Muizelaar
c7aea97b45 Bug 699507. cairo-win32: inline check_span_renderer. r=ajuma
There's no need to call through _cairo_surface_check_span_renderer() because
we can make the decision directly.

--HG--
extra : rebase_source : 610b624d398665bc1ca9b47c35bd129d601c232b
2011-11-04 12:05:29 -04:00
Marco Bonardo
01f25559b7 Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Phil Ringnalda
0794a9046f Back out 446fbc59aa22 (bug 698205) for orange 2011-11-08 14:43:24 -08:00
Jeff Muizelaar
b4a44ef015 Bug 700773. qcms: cleanup up some integer types. r=bgirard
This fixes a couple of warnings in clang and makes things more consistent.

--HG--
extra : rebase_source : feac84090f270461a73de955902bc016b5835616
2011-11-08 15:43:33 -05:00
Bas Schouten
22a602342f Bug 698205: Fix memory leak in Azure D2D backend gradients. r=jrmuizel 2011-11-08 20:24:24 +01:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Nathan Froyd
4a9d389087 Bug 700659 - Slay nsHashSets in gfx/thebes, round 2. r=jrmuizel 2012-02-27 11:19:36 -05:00
Jonathan Kew
74bc2f7c62 bug 731187 - nsFontMetrics needs to handle possible failure of AutoTextRun to create the run. r=choller,roc 2012-02-28 21:34:45 +00:00
Jonathan Kew
0e0a92e8c9 bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Jeff Muizelaar
379c5b5aab Bug 731117. Bound the size of CG surfaces to match cairo. r=bas
This fixes crashes that can happen when we try to create
an image surface from a quartz surface larger than the maximum
size supported by image surfaces.

--HG--
extra : rebase_source : 6ef9c66a91068f75ddef90a3453a7360dd91fa78
2012-02-29 21:30:11 -05:00
Nathan Froyd
281c9ca26d Bug 731301 - eliminate duplicate headers in gfx/; r=jrmuizel 2012-02-29 10:23:37 -05:00
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
Jeff Gilbert
9f229b37a7 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
d4f218fc86 Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
825b094e01 Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
de773de2b6 Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
0e2d70e819 Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
f64028dd1d Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
7f1312bd00 Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
dbe8765a97 Bug 615976 - Adds support for separate Draw/Read buffers in GLContext, with lazy blitting - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
441efd5332 Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
63046148cd Bug 686083 - Adds method to disable GL implementations - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
99bb756bd6 Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00