Marco Castelluccio
d303f502ae
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Marco Castelluccio
4c59fa414b
Bug 699258 - Part 1: [Skia] Resolve Skia restrict problems.
2011-11-11 15:51:00 -05:00
Marco Bonardo
8f5a2ceab1
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Gregory Szorc
d0e48e7c69
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
4163fb7744
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Ali Juma
30506490e6
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
5eb053e904
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Michael Wu
5dd6a67845
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
1a1f7b30ae
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Benoit Jacob
8a7cb1453a
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
3cd457bc4a
Bug 702517 - Disable dithering of 32bit skia gradients. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
7af9c13518
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
e88823cc57
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
75add05f0c
Bug 703428 - Handle invalid stroke options. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
75cbb62c58
Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
9f1a782ce0
Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
8c5da2ed3d
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
09555ea57f
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
760569d977
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
2f7388d5b7
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Marco Castelluccio
9e6c502831
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
423b395ad1
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
c3254938fb
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
64e4f1e6dd
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
66f54fe5a4
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
a056394974
Bug 454532. Substitute "Courier" with "Courier New". r=jdagget
2011-10-28 09:58:49 -04:00
Matt Woodrow
b2b1a05421
Bug 687189 - Implement SkPaint::getPosTextPath. r=jrmuizel
2011-10-28 20:10:02 +13:00
Matt Woodrow
613963945e
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
7533be31a1
Bug 689069 - Disable frame pointer for Skia arm optimized functions. r=jrmuizel
2011-10-28 20:05:42 +13:00
Matt Woodrow
fb2f8bd197
Bug 688333 - Build changes to compile skia. r=khuey
2011-10-28 20:05:35 +13:00
Matt Woodrow
8fff5d422e
Bug 688333 - Initial import of Skia source code
2011-10-28 20:05:31 +13:00
Matt Woodrow
1c6dfdee09
Bug 688333 - Add script for importing Skia into our source tree. r=jrmuizel
2011-10-28 20:05:24 +13:00
Benoit Girard
76c3511501
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
e2c3feec1b
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
dd00cb91c6
Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar
2011-10-20 16:32:38 -04:00
Oleg Romashin
9d7343f504
Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones
2011-10-27 13:30:43 +02:00
Doug Sherk
942467690c
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
adc55de3c1
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
39227dda84
Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc
2011-10-26 16:25:42 +13:00
Matt Woodrow
1de38857c5
Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc
2011-10-26 16:19:13 +13:00
Matt Woodrow
1843dab839
Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc
2011-10-26 16:15:53 +13:00
Ehsan Akhgari
6e94a9bc51
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
d33d9d4b45
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
11ea4e2516
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
50b70467df
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)
888c49fd78
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Marco Bonardo
3b5b6dc0f5
Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange
2011-10-21 12:07:32 +02:00
Marco Bonardo
4b7a9dbac1
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
a6e3f54ab0
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Jeff Gilbert
ad20b9ae6e
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)
8689f6028a
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Jeff Muizelaar
da6e4f4f78
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
8d41be6c08
Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel
2011-10-13 10:36:59 -04:00
Jeff Muizelaar
e1dbca5f44
Bug 699507. cairo-win32: remove dead fallbacks. r=ajuma
...
This code was never used.
2011-11-04 12:07:12 -04:00
Jeff Muizelaar
70dbdabd1d
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
1bf206963e
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
6225eff2b8
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Phil Ringnalda
1520e329d7
Back out 446fbc59aa22 (bug 698205) for orange
2011-11-08 14:43:24 -08:00
Jeff Muizelaar
d9f4daaff9
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
a8d006cfae
Bug 698205: Fix memory leak in Azure D2D backend gradients. r=jrmuizel
2011-11-08 20:24:24 +01:00
Jeff Gilbert
56378bd370
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
e7fc88c724
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
86edb0e7e4
Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
0bce5e7356
Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
4ef6c241ac
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
763058396d
Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
975d14b0a4
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
eb17b5e0b2
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
67e2325bcf
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
a526953187
Bug 686083 - Adds method to disable GL implementations - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
20d36842ee
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
7a0dc9cec6
Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed
2011-10-19 15:09:57 -04:00
Jeff Gilbert
722fc966fc
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
17f1b76695
Fixes layer compositing with AA on Mac
2011-10-19 15:09:57 -04:00
Jeff Gilbert
80c22fa28a
Fixes for support for multisampled Mac/CGL GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
ef36f1acc5
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Jeff Gilbert
e3dedb255f
Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample
2011-10-19 15:09:57 -04:00
Jeff Gilbert
02e706721b
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
38dda72e8a
Adds support for separate Draw/Read buffers in GLContext, with lazy blitting
2011-10-19 15:09:57 -04:00
Jeff Gilbert
97f22e2838
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
b9460bc0eb
Fix for 686083: Adds method to disable GL implementations
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
0805b48459
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
92064e6d3f
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
da99f054e1
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
a3ac1dfb24
Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage
2011-10-16 22:31:15 -04:00
Benoit Girard
a8dc3a5bac
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
b632193bc0
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
b5e57820bf
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
ddc349e787
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
434481b476
Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc
2011-10-15 09:45:01 +13:00
Yati Sagade
4426ead531
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
b679a433d9
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Matt Woodrow
c4f7adf6f1
Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas
2011-10-13 14:01:30 +13:00
Jonathan Kew
68621d46ad
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
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
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
bcf0586595
Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf
2011-10-12 16:16:06 +13:00
Benoit Girard
2f89446a72
Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage
2011-10-11 21:36:03 -04:00
Benoit Girard
a5cbfecf3e
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Kyle Huey
6e35296786
Merge b-s to m-c.
2011-10-11 08:20:42 -04:00