Masatoshi Kimura
3e6d13b345
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
f13ebdd682
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
2cef038a27
bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett
2011-12-19 10:33:37 +00:00
Jonathan Kew
347f601d08
bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey
2011-12-19 01:55:11 +00:00
Benoit Jacob
6dda4625f5
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
301136c2ce
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
4f97b72958
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
4413581467
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
4b9197e4b1
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Jeff Gilbert
31be7199ca
Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
31b31c80ce
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
2d1b103740
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
c068c93c7b
Bug 711579: fix WGL context creation without robustness r=Bas
2011-12-16 13:12:02 -08:00
Doug Sherk
5636820d27
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
1248c314b2
Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob
2011-12-16 13:11:59 -08:00
Ali Juma
9877e39437
Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-16 14:02:03 -05:00
Ali Juma
b336f1ee50
Bug 705641 - Add more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-15 13:06:18 -05:00
Bas Schouten
afaf481272
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Justin Lebar
761381bba1
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
3f8b3494fb
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
f7ae0feca4
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
3b8afb2f6e
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
Bas Schouten
1fcb5a396a
Bug 710509: Allow Skia to be easily switched off. r=khuey
2011-12-14 08:04:32 -05:00
Andrew Quartey
ed6375373b
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Ms2ger
e5c3815b6c
Bug 709519 - Remove unused 1-argument nsRenderingContext::DrawEllipse; r=joe a=ehsan
2011-12-13 09:49:31 +11:00
Ms2ger
919fc52fdc
Bug 709518 - Remove unused 4-argument nsRenderingContext::InvertRect; r=jrmuizel a=edmorley
2011-12-11 14:43:29 +01:00
Jonathan Kew
88ce377c2f
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
a1594b4f50
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
5861e88308
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
1acaf9ad30
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
eb7e3fe1d3
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
275c22a4d9
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
b000792783
Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas
2011-12-09 22:53:14 +13:00
Robert O'Callahan
2456b6e5fe
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
Matt Woodrow
1222b84d76
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
166ce107ff
Bug 705332 - Re-enable printing filename in quiet builds (r=njn)
2011-12-08 10:14:06 -08:00
Jeff Walden
28b66411e2
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ed Morley
606f874333
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
d177eac65f
Bug 693143. Crashtest for the small bitmap case. r=roc
2011-12-07 12:03:42 +09:00
John Daggett
7f81fc8ed2
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
155efc717c
Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob
2011-12-06 15:36:40 -08:00
Andrew Quartey
57dfce2611
Bug 705414 - Failure checks for JS_DefineElement in nsScriptableRegion::GetRects. r=evilpie
2011-12-05 15:44:06 +01:00
Benoit Jacob
6b29c42566
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
6500f816de
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
f09fc68689
Merge mozilla-central and mozilla-inbound
2011-12-04 15:04:54 +00:00
timeless@mozdev.org
99549a61ab
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
b0f080aa25
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
6103279d49
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
03b2f1037e
Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel
2011-12-02 09:43:58 -05:00
aceman
c35082078a
Bug 706610 - remove trailing semicolon after namespace decl. r=joe
2011-12-03 17:02:10 +01:00
aceman
3527e64ffe
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
f2de1e594d
Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob
2011-11-30 17:25:20 -08:00
Jacek Caban
73953ba94f
Bug 705656 - Broken SKIA compilation on mingw r=matt.woodrow
2011-11-30 10:26:15 +01:00
John Daggett
6aa0a14166
Bug 705590. Measure system font fallback times. r=jrmuizel
2011-11-30 10:55:11 +09:00
Benoit Girard
a08d71e91b
Bug 703317 - Use TLS to make RgnRectMemoryAllocator thread safe. r=roc
2011-11-29 13:29:03 -05:00
Doug Sherk
139607fe3e
Bug 656824: fix trailing comma in GLContext::ContextResetARB enum
2011-11-29 06:10:44 -08:00
Nicholas Nethercote
3ef2838ed6
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
ddbb2c4f4e
Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg
2011-11-26 20:48:35 +01:00
Ms2ger
a22be593c6
Bug 705187 - Use IDL for nsIScriptableRegion::GetRects; r=roc
2011-11-26 11:29:45 +01:00
Robert O'Callahan
319f597522
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
Ed Morley
a4465d0af2
Merge mozilla-central and mozilla-inbound
2011-11-24 09:08:33 +00:00
Jonathan Kew
5629cc39a9
bug 701637 - clean up mark-skipping loops in gsub/gpos code. r=behdad
2011-11-24 07:13:40 +00:00
Jeff Gilbert
b57281bb8c
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
Jeff Walden
08a4a435bb
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
328d53c10b
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
256529a289
Remove the executable bit from the skia source files; rs=joe (no bug)
...
DONTBUILD
2011-11-23 15:18:18 -05:00
Nicholas Nethercote
a0322f2860
Bug 703456 - Kill REPORT_BUILD; kill it dead. r=ted.
2011-11-21 18:47:54 -08:00
Matt Brubeck
6b612c208a
Merge last green changeset from mozilla-inbound to mozilla-central
2011-11-21 08:41:42 -08:00
Kyle Huey
a137a02902
Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me
2011-11-21 09:56:24 -05:00
Oleg Romashin
d703436314
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
666dd9369b
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
a5efa30710
bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett
2011-11-21 08:19:57 +00:00
Robert O'Callahan
c0eb2d7162
Bug 703491. Silence useless assertion. r=bas
2011-11-21 17:40:11 +13:00
Doug Sherk
7856f6cae1
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
880831ca63
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
96c47d53c7
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
21ed06e90d
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
06b1076330
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
97fe0428dd
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Matt Woodrow
e67c65485f
Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas
2011-11-17 16:45:51 +13:00
Matt Woodrow
3cd6379889
Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
2a74642417
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Benoit Girard
03d21e1365
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
ac7d6ff8ac
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
156f37a1bf
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
97bef309b5
Bug 701348 - qcms_transform_precacheLUT_float did not properly free dest buffer. r=jmuizelaar
2011-11-10 08:28:58 -05:00
Jacek Caban
ce3d0d1eb3
Backed out changeset a21668ea9597 for Windows test failures
2011-11-15 14:09:06 +01:00
Jacek Caban
01ae702ba1
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
c5aabd8c01
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00
Robert O'Callahan
818235e696
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
2a96c7591e
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
14906f6012
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
54c0d2c312
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
ac8a886cca
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
db401edaf6
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Marco Castelluccio
6caedcec77
Bug 699258 - Part 1: [Skia] Resolve Skia restrict problems.
2011-11-11 15:51:00 -05:00
Marco Bonardo
cf0e597d94
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Gregory Szorc
986db2bc12
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
8ae1f859ef
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Ali Juma
0d085dc0f3
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
b6b6d57875
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Michael Wu
1a784cecd2
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
5cbb27dbc0
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Benoit Jacob
860367863b
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
5288449bb8
Bug 702517 - Disable dithering of 32bit skia gradients. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
1fe8fa86c4
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
823bce8cd1
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
d83c839e71
Bug 703428 - Handle invalid stroke options. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
001c5e17dc
Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
447edb89ff
Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
76763a4683
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
3e35553ef4
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
d476b3a3ef
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
539afdfd2d
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Marco Castelluccio
e46b88081f
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
4aa967dd0f
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
93e07e7cbe
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
52391838a1
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
94083766b3
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
1bab0c283e
Bug 454532. Substitute "Courier" with "Courier New". r=jdagget
2011-10-28 09:58:49 -04:00
Matt Woodrow
9e5ef748e1
Bug 687189 - Implement SkPaint::getPosTextPath. r=jrmuizel
2011-10-28 20:10:02 +13:00
Matt Woodrow
14d21f2c6b
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
5246dc5b05
Bug 689069 - Disable frame pointer for Skia arm optimized functions. r=jrmuizel
2011-10-28 20:05:42 +13:00
Matt Woodrow
cc9562da58
Bug 688333 - Build changes to compile skia. r=khuey
2011-10-28 20:05:35 +13:00
Matt Woodrow
d919678fc1
Bug 688333 - Initial import of Skia source code
2011-10-28 20:05:31 +13:00
Matt Woodrow
38c8583593
Bug 688333 - Add script for importing Skia into our source tree. r=jrmuizel
2011-10-28 20:05:24 +13:00
Benoit Girard
df6a9f86e3
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
297f77f944
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
aa34f2336b
Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar
2011-10-20 16:32:38 -04:00
Oleg Romashin
ab75260ae2
Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones
2011-10-27 13:30:43 +02:00
Doug Sherk
17bf750e8d
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
5e2f003fc6
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
9c8b19f0b7
Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc
2011-10-26 16:25:42 +13:00
Matt Woodrow
0926a4a53a
Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc
2011-10-26 16:19:13 +13:00
Matt Woodrow
55f95c179c
Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc
2011-10-26 16:15:53 +13:00
Ehsan Akhgari
ec7bafc545
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
2e4f575d98
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
31d70e0fc5
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
f658503ddc
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)
e0b39ef3a6
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Marco Bonardo
31ad079ea9
Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange
2011-10-21 12:07:32 +02:00
Marco Bonardo
a8c5194877
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
2eda321cd6
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Jeff Gilbert
1122a3752f
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)
2c71275b8a
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Jeff Muizelaar
65c0f33ae9
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
ff3c4a7730
Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel
2011-10-13 10:36:59 -04:00
Jeff Muizelaar
428cf3f2aa
Bug 699507. cairo-win32: remove dead fallbacks. r=ajuma
...
This code was never used.
2011-11-04 12:07:12 -04:00
Jeff Muizelaar
6a24ecbba9
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
16c78dabd3
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
9c839baa80
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Phil Ringnalda
12d8645fcd
Back out 446fbc59aa22 (bug 698205) for orange
2011-11-08 14:43:24 -08:00
Jeff Muizelaar
a6665877a9
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
12f56f5354
Bug 698205: Fix memory leak in Azure D2D backend gradients. r=jrmuizel
2011-11-08 20:24:24 +01:00
Jeff Gilbert
262e8ddd70
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
0180673c60
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
54151c8f39
Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
9338ea291f
Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
fab4647e5b
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
41ca8021af
Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
23889e4d6c
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
9fbfda2972
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
cf39702029
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
69404a713b
Bug 686083 - Adds method to disable GL implementations - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
6888d8511d
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
Jeff Gilbert
047507b7ec
Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed
2011-10-19 15:09:57 -04:00
Jeff Gilbert
ae97d400af
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
d51afab888
Fixes layer compositing with AA on Mac
2011-10-19 15:09:57 -04:00
Jeff Gilbert
f6c8098f7e
Fixes for support for multisampled Mac/CGL GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
9075ff5ca7
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Jeff Gilbert
3a381696e3
Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample
2011-10-19 15:09:57 -04:00
Jeff Gilbert
3aee938897
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
d5d04a408b
Adds support for separate Draw/Read buffers in GLContext, with lazy blitting
2011-10-19 15:09:57 -04:00
Jeff Gilbert
d3615a0d70
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
...
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Jeff Gilbert
761c351fe0
Fix for 686083: Adds method to disable GL implementations
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
0de43662ca
Bug 694801 - VC11 fails to compile angle because pool_allocator<T> doesn't have operator =; r=bjacob
2011-10-19 10:17:02 -04:00
Ehsan Akhgari
1deb9f1504
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ehsan Akhgari
fff29f2bf8
Bug 694797 - Cairo fails to build with VC11 because it tries to #define inline, which is a keyword in C++; r=jrmuizel
2011-10-17 10:42:45 -04:00
Benoit Girard
b117904175
Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage
2011-10-16 22:31:15 -04:00
Benoit Girard
505faabb10
Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar
2011-10-14 13:16:19 -07:00
Jeff Walden
a7aaa65fbe
Bug 694709 - Remove $DXSDK_DIR/include from LOCAL_INCLUDES two places in ANGLE code. It's redundant with a sibling $MOZ_DIRECTX_SDK_PATH/include, at best, and at worst if the two conflict (as happens if the more-recently-installed DirectX SDK is not the most recent SDK), building breaks in the middle of ANGLE. r=bjacob
...
--HG--
extra : rebase_source : 909fa5cd8c1042fab7d2e95693541784d83bd23d
2011-10-14 16:28:14 -07:00
Jeff Walden
1bb2d1626a
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Oleg Romashin
da35901251
Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma
2011-10-15 21:07:10 +01:00
Matt Woodrow
231796bcb0
Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc
2011-10-15 09:45:01 +13:00
Yati Sagade
06ff2a9e4c
Bug 550969 - Fix white_point_from_temp to handle out of range input. r=jmuizelaar
2011-10-14 14:58:34 -04:00
Jonathan Kew
c2fbbcec84
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Matt Woodrow
aacab0b9a4
Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas
2011-10-13 14:01:30 +13:00
Jonathan Kew
a671cb2c56
bug 692744 - don't create a 1x1 image surface when it should really be empty. r=jrmuizel
2011-10-12 22:29:40 +01:00
Jeff Walden
1872189eac
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
37f2b96015
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Woodrow
953041ee8e
Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf
2011-10-12 16:16:06 +13:00
Benoit Girard
fef1f7c122
Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage
2011-10-11 21:36:03 -04:00
Benoit Girard
b68dcd1a37
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Kyle Huey
3fc13b7b6d
Merge b-s to m-c.
2011-10-11 08:20:42 -04:00
Ted Mielczarek
be05dfce26
bug 686371 - Use pixman C fallback on iOS. r=jmuizelaar
2011-10-10 16:01:55 -04:00
Benoit Girard
011a0ece0e
Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar
2011-10-06 12:12:51 -07:00
Oleg Romashin
be134854a7
Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones
2011-10-10 16:43:56 -07:00
Matt Brubeck
e8cbf38fa7
Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE
2011-10-10 09:47:27 -07:00
Ehsan Akhgari
46f95f9ad9
Merge mozilla-central into mozilla-inbound
2011-10-10 11:30:21 -04:00
Brad Lassey
1984f4b690
merge
2011-10-10 11:01:34 -04:00