Commit Graph

2731 Commits

Author SHA1 Message Date
Bas Schouten
329239d1ca Bug 599118 - Followup: Respect source pattern filter when using fastblit. r=joe a=test-bustage 2010-09-24 19:55:55 +02:00
Bas Schouten
629da0db2c Bug 599118 - Part 2: Try to use our fastblit path for solid alpha masks. r=vlad a=blocking-beta7 2010-09-24 18:58:03 +02:00
Bas Schouten
3d834e66a3 Bug 599118 - Part 1: Generalize our fastblit path for boxes to use DrawBitmap where it can. r=vlad a=blocking-beta7 2010-09-24 18:58:00 +02:00
Oleg Romashin
fc88947b5d Bug 598531 - Fennec Remote Layer rendering is slow on N900 (pixman hitting slow path). r=roc a=blocking-fennec 2010-09-23 20:09:00 -07:00
Chris Jones
31344283ca Bug 597336, part 3: Generalize the not-using-X-compositing check when creating shadow-layer backing surfaces. r=karl 2010-09-23 20:00:06 -05:00
Chris Jones
db41945436 Bug 597336, part 2: Create offscreen gfxImageSurfaces if UseClientSideRendering(). r=vlad 2010-09-23 20:00:06 -05:00
Chris Jones
ad9d76e650 Bug 597336, part 1: Add gfxPlatformGtk::UseClientSideRendering() to control whether to avoid X server compositing. sr=vlad 2010-09-23 20:00:06 -05:00
Oleg Romashin
e01fadb4cc Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Benoit Jacob
c0f4c629bb Bug 598732 - GLX initialization crash [@ mozilla::gl::GLContextGLX::Init ] - r=vladimir, a=blocking-2.0b7 2010-09-23 17:05:52 -04:00
Benoit Jacob
4486ada028 Bug 599101 - Fix EGL crash: mEGLLibrary was not loaded on non-Windows, depending on uninitialized value - r=vlad, a=blocking-fennec-2.0b1 2010-09-23 16:59:17 -04:00
Joe Drew
40d107bd4e Bug 596784 - Only draw the rects of the visible region, not the bounds. r=vlad a=b 2010-09-22 14:17:01 -04:00
Vladimir Vukicevic
0a2aa77b6f Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
Bas Schouten
8e7da059e3 Bug 598686: Properly count VRAM for interop surfaces. r=jdrew a=blocking-beta7 2010-09-22 20:00:08 +02:00
John Daggett
a4541c4944 bug 593296 - avoid potential read beyond end of kern-pair list. r=jfkthame a=blocking-beta7+ 2010-09-22 10:15:57 +01:00
Chris Jones
3a1a617c6f Bug 598265: Initialize BasicImageLayer::mSize. r=roc a=blocking-fennec 2010-09-21 01:57:25 -05:00
Matt Woodrow
c9c6ee11c6 Bug 596050 - Set the correct GL minification/magnification filter based on the GraphicsFilter set by content. r=joe a=b 2010-09-21 12:32:17 -04:00
Jeff Muizelaar
8107e95a3c Bug 596303 - Use transparent surfaces for our GL contexts so transparent windows work. r=mstange a=b 2010-09-21 12:30:19 -04:00
Doug Turner
9178000989 Bug 567750 - Build option to use the system Pixman. r=khuey. a=dougt 2010-09-20 21:16:37 -07:00
Joseph Yasi
2dd82f8e4d Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-21 01:02:00 +02:00
Mounir Lamouri
7041d292a7 Backed out changeset f8854fb6b63f - Wrong patch attached to the bug. 2010-09-21 00:57:19 +02:00
Joseph Yasi
cf5be75b46 Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-20 23:25:58 +02:00
Chris Jones
1a07a8c8df Bug 596240: Don't front() on an empty vector. r=joe a=blocking-2.0 2010-09-20 14:40:30 -05:00
Benoit Jacob
e4d04cf07d Bug 596544 - These WebGL samples are slow on Firefox, fast on Chrome - r=vladimir, a=joe 2010-09-20 13:19:30 -04:00
Benoit Jacob
162bd97e20 Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver 2010-09-18 11:59:06 -04:00
Mats Palmgren
48db0466a9 Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Oleg Romashin
d5f22b4e04 Bug 597565 - Qt Port crashes on N900 (-graphicssystem raster by default). r=karlt a=npodb 2010-09-17 16:32:16 -07:00
Chris Jones
6c9bacbfa6 Bug 593175, part 3: Let CreateOffscreenSurface() decide which image format to use on X11 platforms. r=karl a=blocking-fennec 2010-09-17 14:15:18 -05:00
Doug Turner
ab70a6a3a6 Bug 593175, part 2: Use 5-6-5 opaque gfxSharedImageSurfaces on mobile platforms. r=karl a=blocking-fennec 2010-09-16 16:24:20 -05:00
Chris Jones
b5f4f77a8e Bug 593175, part 1: Request backing buffers with gfxContentType rather than gfxImageFormat. r=karl a=blocking-fennec 2010-09-16 16:24:17 -05:00
Chris Jones
ab9691cd8f Bug 593175, part 0: Allow forcing use of Shmem-backed cross-process layers in DEBUG builds. r=karl a=blocking-fennec 2010-09-14 00:51:49 -05:00
Robert O'Callahan
36f52dc8db Bug 584494. Avoid clipping in BasicThebesLayer when not necessary. r=cjones a2.0=blocking2.0:betaN 2010-09-17 12:29:52 -07:00
Robert O'Callahan
ed855da605 Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5 2010-09-17 12:29:52 -07:00
Bas Schouten
9720e04483 Bug 597320: Blacklist NVidia Optimus technology drivers for d3d9 layers. r=jrmuizel a=blocking-beta7 2010-09-17 18:57:46 +00:00
Oleg Romashin
7ab9f25f57 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Joe Drew
171200229b Fix mismerge. a=bustage 2010-09-17 11:17:32 -07:00
Matt Woodrow
5365430c59 Bug 595938 - Garbage/overdrawing when using -moz-transform: Fix the clip rect before clearing the FBO. r=vlad a=b
--HG--
extra : transplant_source : %FE%06%7Bq%F1%AE%F58%FFW%0Fr%A6W%DA%2B%8B%08%C1%89
2010-09-13 21:30:00 -07:00
Matt Woodrow
29577d4de5 Bug 594643 - Fix typo in ImageLayerOGL::SetData. r=joe a=b
--HG--
extra : transplant_source : %B3%DC%24%EF%E8X%7D%C3A8%9F%9F%B2%C3o%87%B0d%24T
2010-09-13 14:01:28 -07:00
Benoit Jacob
ab08d9888f Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 2/3 - r=vladimir 2010-09-16 12:45:19 -04:00
Benoit Jacob
cd99425493 Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 1/3 - r=vladimir 2010-09-16 12:45:15 -04:00
Benoit Jacob
ff872b84ee Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r=vladimir 2010-09-16 12:45:08 -04:00
Jonathan Kew
d2ab2a82f6 bug 593296 - correctly release kern table in HB shaper. r=jdaggett a=blocking2.0 2010-09-16 17:41:41 +01:00
Jonathan Kew
85dcd28188 bug 593564 - account for synthetic bold in glyph metrics when constructing textrun. r=jdaggett a=joe 2010-09-16 17:41:40 +01:00
Oleg Romashin
fb56a869f7 Bug 596769 - ShadowLayers not expecting Layer create/destruction during transaction. r=jones.chris.g a=approval2.0 2010-09-15 21:49:31 -07:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Bas Schouten
088d08f18a Bug 596494 - Part 1: Expose method to get the D3D10 device for cairo d2d device. r=jrmuizel 2010-09-15 22:16:06 +00:00
Bas Schouten
3a223b0317 Bug 596489 - Part 3: Recreate the layer manager when a device is removed. r=roc 2010-09-15 22:16:02 +00:00
Bas Schouten
bf697e7d43 Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel 2010-09-15 22:15:59 +00:00
Bas Schouten
a41f88e4e6 Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel 2010-09-15 22:15:56 +00:00
Bas Schouten
910c08e31f Bug 596419: Fix up layer destruction scheme. r=jrmuizel 2010-09-15 22:15:49 +00:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
242dbbc943 Bug 596542: Repainting a thebes layer with a non-1.0 resolution shouldn't (always) force buffer reallocs. r=roc 2010-09-15 16:03:13 -05:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
c8b26707ee Bug 570625, part 9: When updating thebes layers, swap out back/front buffers and invalidate the newly-painted region on the old front buffer. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
5c7d89b4f0 Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl 2010-09-14 00:23:08 -05:00
Chris Jones
df01b80c7a Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc 2010-09-14 00:23:08 -05:00
Chris Jones
b7034dad64 Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc 2010-09-14 00:23:08 -05:00
Chris Jones
8d2b6d00c9 Bug 570625, part 5: Mostly mechanically switch BasicShadowable/ShadowThebes over to the new SurfaceDescriptor API. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones
c1ddf7a569 Bug 570625, part 4: Put support in place for allocating platform-specific backing buffers for IPC layers, and synchronizing properly during transactions (i.e. XSync() on X11). The platform-specific interfaces just default to Shmem in this patch. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
d012cf36a8 Bug 570625, part 3: Add a SurfaceDescriptor IPDL union over all surfaces share-able to another process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
00f365ac1f Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
95660d9348 Bug 570625, part 1: Only use back/front buffers for BasicThebesLayer and update back->front in the compositor process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
ab37ed636b Bug 570625, part 0: Don't throw out buffers when scrolling with a resolution applied. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones
737172e9d9 Bug 570625, part -1: ThebesLayerBuffer::SetBuffer needs to hold its ref to the old buffer. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Bas Schouten
e4f9c60a96 Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b 2010-09-14 12:57:25 +02:00
Bas Schouten
419fbbb7b3 Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad 2010-09-14 12:57:03 +02:00
Bas Schouten
260c735044 Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel 2010-09-14 12:56:56 +02:00
Bas Schouten
e7f5acb977 Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel 2010-09-14 12:56:39 +02:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Joe Drew
8ab2818e4f Bug 595055 - Use the correct context when deleting textures, so we don't accidentally unset some state like the viewport. r=vlad a=b 2010-09-09 23:09:39 -04:00
Vladimir Vukicevic
cfe8913fec b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Matt Woodrow
0a385ec477 b=594642; [gl] use scissor rect when drawing layers; r=vlad 2010-09-09 16:40:15 -04:00
Vladimir Vukicevic
61fb3a126f b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Doug Turner
259afcafb6 Bug 594080 - On mobile, use nearest-neighbor interpolation when drawing BasicThebesLayers with a scale transform. r=roc a=cjones 2010-09-09 12:33:04 -07:00
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Vladimir Vukicevic
0b88b52f6c b=594553; correctly create gl layer manager on android; r=jrmuizel 2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
c9440f4f86 Bug 592462 - fix fullscreen video with OpenGL on Maemo with Qt. r=jmuizelaar. a=blocking-fennec
--HG--
extra : rebase_source : 765979328a5337242c9b7a8bd837b92ed2ed4062
2010-09-09 16:41:02 -07:00
Jeff Muizelaar
8feca90288 Bug 594187. ogl: Handle 0x0 widgets in Render(). r=vlad
OpenGL doesn't like drawing to things without area so just bail.
2010-09-07 19:59:47 -04:00
Benoit Jacob
32eac584aa Bug 595194 - CGL context creation crashes on Mac Tryserver - r=bas.schouten a=blocking2.0
--HG--
extra : rebase_source : b8e2bfde25a0acb33258e77ebd36959c91f73af8
2010-09-10 12:19:09 -04:00
KUROSAWA, Takeshi
caacfe8928 Bug 422179 - Part 2: Honor Cairo version in tree; r=jmuizelaar a=blocking-final+ try: --build do --p linux,linux64 --m none --u all --t all 2010-09-09 16:27:12 -04:00
KUROSAWA, Takeshi
abb6802ff0 Bug 422179 - Implement bilinear filtering of upscaled images for Linux; r=jmuizelaar a=blocking-final+ 2010-09-09 16:27:10 -04:00
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07:00
Bas Schouten
351e721d3b Bug 594322: Do not assert using CAIRO_HAS_D2D_SURFACE when D2D surfaces are not available. r=jrmuizel a=bustage-fix 2010-09-09 09:50:18 +02:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Vladimir Vukicevic
1ef839a9f7 b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel 2010-09-07 17:31:40 -04:00
Vladimir Vukicevic
7414352ff2 b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel 2010-09-07 12:26:43 -04:00
Bas Schouten
c8c48218d9 Bug 594624: Toss out surfaces on content type changes. r=jrmuizel a=blocking-beta6 2010-09-12 21:38:47 +02:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Oleg Romashin
a3a0931e4a Bug 589845 - Link error in cairo-qt-surface qt_draw_glyphs. r=jmuizelaar, a=stuart 2010-09-05 08:17:58 -07:00
Chris Jones
29a74cf7e8 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones
041882a123 Bug 590294, part 7: Add APIs for recording the resolution at which ThebesLayers were painted and for requesting resolution-scaled drawing for basic layers. r=roc sr=vlad 2010-09-03 15:10:46 -05:00
Chris Jones
c3e279df85 Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc 2010-09-03 15:10:45 -05:00
Chris Jones
2aaf1a0c12 Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad 2010-09-03 15:10:45 -05:00
Chris Jones
6e7a7cd71a Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Matt Woodrow
80b5ce86e3 b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b 2010-09-03 14:07:59 -04:00
Joe Drew
3ef9ce1660 Bug 590841 - Add the ability for a DOM window to let us know when it's accelerated, and use that value in about:support. r=gavin sr=roc a=blocking2.0:beta6+ 2010-09-03 14:01:05 -04:00
Jonathan Kew
55a866274d bug 593155 - check table length before accessing cmap data. r=jdaggett approval2.0=roc 2010-09-03 11:45:53 +01:00
Robert O'Callahan
ea9f2b9fe9 Fixing bustage, a=me 2010-09-03 16:20:23 +12:00
Chris Jones
88720785f0 Followup to bug 570294: Need to use OPERATOR_SOURCE for copying surface->surface. r=roc 2010-09-02 23:14:12 -05:00
Matt Woodrow
11d93c27a5 Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0 2010-09-03 15:51:15 +12:00
Matt Woodrow
8188c29e37 Bug 590367 - Render RGB d2d layers with a RGBA surface and shader r=Bas, a=blocking2.0 2010-09-03 15:51:04 +12:00
Matt Woodrow
47a1df4aa3 Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0 2010-09-03 15:50:53 +12:00
Matt Woodrow
da3df6842e Bug 590735 - D3D9/OGL Image layers need to round up on uneven sized YCbCr images r=joe, a=blocking2.0 2010-09-03 15:50:42 +12:00
Matt Woodrow
ca68b51b78 Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0 2010-09-03 15:50:29 +12:00
Chris Jones
ffd2e6087e Bug 593248: Release old shmem surfaces on realloc. r=joe 2010-09-02 22:05:01 -05:00
Robert O'Callahan
33df3b813d Bug 579276. Part 13: Use CONTENT_COLOR for temporary surface in nonretained path, if possible. r=cjones 2010-09-03 14:31:42 +12:00
Robert O'Callahan
faf8ba3044 Bug 579276. Part 12: Clip all drawing to the visible region on the nonretained path. r=cjones 2010-09-03 14:31:42 +12:00
Robert O'Callahan
fa118e17df Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Robert O'Callahan
5cc76df7ce Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +12:00
Robert O'Callahan
ef2339dd29 Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad 2010-09-02 21:18:41 +12:00
Robert O'Callahan
0356f8659e Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan
a150e0aa96 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Oleg Romashin
bd3aa71c63 Merged m-c: 51d17027ff45 -> cedar 2010-09-01 09:36:29 -07:00
Bas Schouten
5cbe2d49ec Bug 596152: Clear intermediate textures used with container layers. r=jrmuizel a=blocking-beta7 2010-09-15 17:00:42 +00:00
Oleg Romashin
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07:00
Mike Hommey
45436fd809 Bug 589743 - Use the slow path for ycbcr on unsupported architectures instead of failing to building. r+a=roc
--HG--
extra : rebase_source : 94d945125b193a29551ebdb5c8f52b98b6787e3e
2010-09-06 09:14:48 +02:00
Robert O'Callahan
122b1cde0f Bug 593361. Part 2. Don't bother trying to draw directly to the backbuffer instead of retaining ThebesLayer, if the backbuffer is transparent anyway. r=tnikkel
--HG--
extra : rebase_source : 4a8d5833d6fab79147389a7c2f49f8653e90b9c5
2010-09-06 15:02:43 +12:00
Robert O'Callahan
1e8c57404f Bug 593361. Part 1: Limit the region of a non-retained layer we repaint to the clip region of the destination buffer. r=tnikkel
--HG--
extra : rebase_source : 20bea1e114bffe61bb621e7e99757cccd9fc98a0
2010-09-06 15:00:10 +12:00
Vladimir Vukicevic
38e200272a b=593558; make gl context creation quieter; r=matt.woodrow; a=b 2010-09-05 16:37:52 -04:00
Vladimir Vukicevic
74b5baf759 b=592106; correctly update GL context format; r=jrmuizel 2010-09-05 16:37:51 -04:00
Bas Schouten
06e1af0909 Bug 590695: Don't check mDeviceEx when it doesn't exist. r=vlad a=blocking-beta6 2010-09-05 18:59:57 +02:00
Joe Drew
8678c3e212 Bug 593618 - Because we always paint the whole texture we're drawing to, we need to validate and draw the _bounds_ of the visible region, not just the visible region's subrectangles. r=bas a=blocking2.0:beta6+ 2010-09-05 01:31:19 -04:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Vladimir Vukicevic
2933c77738 b=591486 followup for non-d2d-surface win32 builds; a=bbbreakage 2010-08-30 20:02:18 -04:00
Vladimir Vukicevic
c1e7b093a7 b=592105; [gl] clear new FBOs when resizing offscreen FBOs at correct time; r=bas a=b5 2010-08-30 19:56:42 -04:00
Bas Schouten
37b1df3df1 Bug 592024 - Don't clear shared D3D9/D2D surfaces in cairo_d2d_create_for_handle because D3D9 and D2D need a lot of synchronization points. Instead, put a clear in DrawRegion, which already has synchronization points. r=jrmuizel a=blocking 2010-09-02 15:07:26 -04:00
Vladimir Vukicevic
70490d6dea b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5 2010-08-30 17:45:29 -04:00
Matt Woodrow
580d5fa9de Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+ 2010-09-03 23:27:04 -04:00
Matt Woodrow
3b8fe67d49 Bug 593530 - Don't leak the DeviceManagerD3D9 if initializing it fails. r=joe a=blocking2.0:beta6+ 2010-09-03 23:21:26 -04:00
Timothy Nikkel
1573f4c076 Bug 590403. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jmuizelaar 2010-08-27 18:15:08 -05:00
Chris Jones
49048c0d61 Merge m-c --> cedar
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Timothy Nikkel
72cb3f4b66 Revert to rev 36a5e2fa01c9 2010-08-28 01:11:22 -05:00
Timothy Nikkel
78f46f0276 Bug 590403. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jmuizelaar 2010-08-27 18:15:08 -05:00
Bas Schouten
f72e7d2c0d Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5 2010-08-27 22:24:42 +00:00
Bas Schouten
6684d88514 Bug 574976: Read the system cleartype pref an adhere to the expected behavior. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:06 +00:00
Bas Schouten
a67e91641e Bug 573013: Report more appropriate errors from acquire_source_image. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:03 +00:00
Timothy Nikkel
1a50041f86 imported patch returnnullincreatesimilar 2010-08-26 22:01:43 -05:00
Chris Jones
8992432666 Merge m-c --> cedar 2010-08-26 21:36:43 -05:00
Jonathan Kew
a8bc9dd110 bug 569510 - check validity of mScaledFont before passing to cairo APIs. r=jdaggett a=blocking2.0 2010-08-27 14:16:07 +01:00
Justin Wood
9a1b8c7550 Fix thebes errors in non libXUL and when D3D is not enabled. r+=Bas over irc. a=Bustage Fix 2010-08-26 18:26:47 -04:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Atul Apte
4a9f8dee1f Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Bas Schouten
ea31f72c26 Fix line endings in DeviceManagerD3D9. 2010-08-26 20:44:11 +00:00
Oleg Romashin
832333ab06 Merged with mozilla-central: 00186bbb7459 2010-08-24 14:21:48 -07:00
Chris Jones
1b38174082 Merge remote-frame code into m-c tip 2010-08-23 22:10:50 -05:00
Bobby Holley
9b62c35018 Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker 2010-08-23 15:42:51 -07:00
Loïc Yhuel
b6ed504f4c Bug 589809. D2D: Fix running with PIX. r=bas
When we do "newSurf->backBuf->QueryInterface(&newSurf->surface);", PIX returns
the original interface instead of the hooked one, so I swapped newSurf->backBuf
and newSurf->surface, to get the two interfaces in the reverse order. In this
case PIX returns hooked interfaces which will work when used as argument of
hooked methods.
2010-08-24 13:46:34 -04:00
Loïc Yhuel
9b46c88361 Bug 589809. D2D: Fix surface leak. r=bas
We were using a raw pointer and not releasing it.
Switch to a RefPtr.
2010-08-24 13:46:03 -04:00
Jonathan Kew
308278b403 bug 588731 - ensure correct font is selected in the DC when getting glyph metrics. r=jdaggett a=blocking2.0 2010-08-23 11:32:45 +01:00
Jonathan Kew
db6beae972 bug 580719 followup - add crashtest based on the testcase in comment 9. r=jdaggett a=test-only 2010-08-23 11:32:31 +01:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
747fa70120 Bug 581222. Extend gfxQuartzNativeDrawing to support non-Quartz destination surfaces. r=vlad
--HG--
extra : rebase_source : 39ddae96ed373e29852ac6ec3bb8430e96514c9b
2010-08-23 21:30:07 +12:00
Chris Jones
9ce9433a4a Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc 2010-08-20 18:24:41 -05:00
Chris Jones
07e1a3fd87 Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg 2010-08-20 18:24:41 -05:00
Chris Jones
f30d5c8a27 Bug 570620, part i: Implement ShadowLayer::Disconnect() for common-case shutdown, and ShadowableLayer::Disconnect() for emergency-case shutdown. r=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
d839c7e1a5 Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
b59148a17a Bug 570620, part g: Fix bone-headed bugs with shadowable layers, remove unnecessary MOZ_LAYER_DECL_NAME()s, and have the "shadow layer manager" side keep a "shadow root" rather than setting the "real" root. r=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Robert O'Callahan
e2e4b00b49 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-20 14:29:01 -05:00
Bas Schouten
4e42d7bf1a Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc 2010-08-19 20:26:00 -05:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Karl Tomlinson
9262413ddf backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Oleg Romashin
8af3b31ddc Bug 556487 - XRenderFormat API for remote X-Surface handling. r=karlt,jmuizelaar a=blocking2.0 2010-09-08 08:55:14 -07:00
Oleg Romashin
d3b765aafa Bug 556487 - gfxASurface GetSize. r=joe a=blocking2.0
--HG--
extra : rebase_source : 3f587a6352af1c72f5dbf860380dc8a2ef42f72d
2010-09-07 17:36:57 -07:00
Bas Schouten
ba35c84ad7 Bug 593860: Only render parts of a layer in the visible region. r=jrmuizel a=blocking-betaN 2010-09-08 05:27:38 +02:00
Bas Schouten
8f778f866d Bug 593268 - Part 3: Implement CreateOptimalSurface for D3D9 layers and use interop in CanvasLayerD3D9. r=jrmuizel 2010-09-08 05:27:36 +02:00
Jeff Muizelaar
09b3c4aab6 Bug 593268 - Part 2.5: Update gfxASurface::SurfaceTypes to be in sync with Cairo. r=Bas 2010-09-08 05:27:34 +02:00
Bas Schouten
b3e32db8d5 Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc 2010-09-08 05:27:29 +02:00
Oleg Romashin
736c7d9124 Bug 578649 - ThebesLayerOGL using wrong shader program on QT GL build. r=vlad,a=blocking-fennec 2010-09-07 17:37:34 -07:00
Matt Woodrow
a7f65761ea Bug 505115 - Part 1 - Fix OpenGL container layer to support transforming children.r=vlad,a=roc 2010-09-07 17:35:50 -07:00
Ginn Chen
544532c6c0 Bug 587936 Fix a crash in gfxAlphaRecovery::RecoverAlphaSSE2 r=vladimir a=joedrew 2010-08-22 23:17:03 +08:00
Jacek Caban
4ec87049cd Bug 588401 - widget/src/windows compilation causes tons of warnings on mingw r=roc a=joe
--HG--
extra : rebase_source : 8843af3c2bee553f4ee491e12798a260463e82ac
2010-08-20 20:19:38 +02:00
Rich Walsh
420a678bbd Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 2 - MozCairo and Thebes. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:50:32 -07:00
Rich Walsh
b78cd74449 Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 1 - Cairo. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:47:43 -07:00
Jonathan Kew
2d80a708b1 bug 589862 - [harfbuzz] don't zero advances of mark glyphs when doing mark-to-base-attachment. r=jdaggett a=blocking2.0 2010-08-26 13:01:25 +01:00
Makoto Kato
f5bd2bc6da Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe 2010-08-26 15:54:10 +09:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Vladimir Vukicevic
2df58148c6 comments only, updating license text. a=b 2010-09-13 13:45:20 -07:00
Ms2ger
3ec44ade0c Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Ginn Chen
80fcc6ed53 Bug 612234 Fix for non libxul build on Windows r=neil a=blocking-2.0 2010-12-06 00:06:54 +08:00
timeless@mozdev.org
cdcb36cc1f Bug 603354 hasKHRImage is used uninitialized in EGLLibrary::EnsureInitialized
r=bas

--HG--
extra : rebase_source : 435bb1d6ba3600970d0e70698d093afcc13eae05
2010-12-04 11:07:18 +01:00
Vladimir Vukicevic
5aa671acea b=603367, disable ANGLE/WebGL on Linux until build system issues are fixed (bug 559964) 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
8db3cedac7 b=603367; use ANGLE for WebGL on Win32; r=bjacob 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
fe9026382b b=616290; upgrade ANGLE to r498; r=bjacob 2010-12-03 14:44:01 -08:00
Oleg Romashin
61e5abed8a Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0 2010-11-30 07:51:56 +02:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Oleg Romashin
0edeb98a38 Bug 602171 - CAIRO_FORMAT_A8 not allowed for cairo-qt image backend r=jmuizelaar a=npodb 2010-12-04 00:04:47 +02:00
Bas Schouten
cec0586948 Bug 601273: Properly retain copied region. r=jrmuizel a=blocking-final 2010-12-02 19:44:18 +01:00
Justin Wood
c764890912 Followup to Bug 591139 - Define safeMode outside the ifdef so it can be used properly. r+=Bas. a=BustageFix 2010-08-28 23:10:25 -04:00
Jeff Muizelaar
6df1ff332c Bug 586048. Annotate crashdumps with graphics info at startup. r=gavin,a=blocking
Previously GfxInfo wasn't started until it was used by about:support.
This makes gfxPlatform intialize it during gfxPlatform init.
2010-08-28 10:18:41 -04:00
Joe Drew
18bfa9d172 Bug 591139 - Disable hardware acceleration in safe mode. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Joe Drew
177c57fe4b Bug 590335 - Add a pref to unconditionally disable Direct2D. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Robert O'Callahan
e31e06e790 Backing out bug 579276. a=me 2010-09-02 23:14:25 +12:00
Robert O'Callahan
c47e21d634 Fixing bustage, a=me 2010-09-02 22:15:17 +12:00
Robert O'Callahan
3f950a172c Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +12:00
Robert O'Callahan
7e230f4f3c Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad 2010-09-02 21:18:41 +12:00
Robert O'Callahan
09145533e8 Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan
14f3d9ad78 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Jeff Muizelaar
8854ffd842 Bug 589395. d3d9: adjust vertex locations in the vertex shader. r=bas,a=blocking
Previously we adjusted the vertex locations directly, now
they have an implicit adjustment that happens in the vertex shader.
This should let us ignore the pixel center differences between
opengl/d3d9/d3d10.
2010-09-01 17:10:51 -04:00
Jeff Muizelaar
46319343f4 Bug 592458. Generate the d3d9 shaders using a script. r=bas,a=joe
This isn't part of the build because we don't want to depend
on the directx sdk (fxc) for building.
2010-09-01 17:02:02 -04:00
Vladimir Vukicevic
cbe35a0e14 backing out 2796c7 (bug 539771); a=b 2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
5ff9acda51 b=590244; update ANGLE to r385; r=vlad; a=b 2010-09-01 15:04:51 -04:00
Vladimir Vukicevic
482dd7f865 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-09-01 15:04:48 -04:00
Matt Woodrow
5407e8a286 Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+ 2010-08-23 20:58:27 -07:00
Matt Woodrow
2bfe332d33 Bug 589755 - [D3D9] Canvas layer uses incorrect source with d2d surfaces. r=bas, a=beta5+ 2010-08-23 20:57:59 -07:00
Matt Woodrow
368146a42c Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+ 2010-08-23 20:57:22 -07:00
Matt Woodrow
5eefa3d811 Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+ 2010-08-23 20:56:49 -07:00
Vladimir Vukicevic
a0c291f145 Bug 589891 - d2d 0-sized surfaces shouldn't cause a Cxx exception. r=jmuizelaar, a2.0=blocking-beta5 2010-08-23 20:12:11 -07:00
Karl Tomlinson
ed9e78b8a6 b=605872 refactor mFontTableCache, providing a sharing/saving distinction to fix a hb_blob_t leak r=jfkthame a=blocking
--HG--
extra : transplant_source : u%FB%E2%9D%A8g%1ASG%FB%A4%12%A2kGi%882%ED9
2010-11-26 14:07:09 +13:00
Bas Schouten
251e12c687 Bug 614762: Null autoptr instead of release. r=jrmuizel a=blocking-beta8 2010-11-26 00:18:56 +01:00
Jonathan Kew
deef686723 bug 594078 - fix handling of regular vs italic during font fallback search. r=jdaggett a=benjamin 2010-11-25 15:36:49 +00:00
Chris Jones
eb12aa0eda Bug 612573: Make sure shadowable layers aren't destroyed in the middle of transactions. r=karlt a=2.0 2010-11-24 21:33:37 -06:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Emmanuel Gil Peyrot
201fbb3800 Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg 2010-11-24 11:11:45 +01:00
Brad Lassey
2eaf077f1c bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Bas Schouten
648e0fa2c0 Bug 614111: Clear and recreate VertexBuffer on device reset. r=jrmuizel a=blocking-beta8 2010-11-23 17:24:39 +01:00
Karl Tomlinson
e3519cfcb1 b=600452 move font FcPattern reference from Font to FontEntry r=jfkthame a=blocking 2010-11-22 11:21:19 +13:00
Karl Tomlinson
9a7792a19a b=600452 share font entries between fonts with the same cairo_font_face_t r=jfkthame
--HG--
extra : transplant_source : %9C%9E%C6%242U%95%E8%280_%9E%06E%2B.%0E%89%DE%27
2010-11-16 11:29:50 +13:00
Jonathan Kew
5be531ab2e bug 594865 - fall back to GDI rendering on dwrite font list failure. r=bas a=blocking2.0 2010-11-08 11:02:27 +00:00
Simon Montagu
b82cf81784 Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-08 12:27:40 +02:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Matt Woodrow
eb10edeff3 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Matt Woodrow
d94575c8d9 Bug 599507. Make gfx3DMatrix::operator* const. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Masayuki Nakano
1e86a8bd94 Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe 2010-11-08 15:39:10 +09:00
Matt Woodrow
0851dee289 b=595727 correct assertion test to accept negative device offsets r=karlt a=joe 2010-11-08 09:24:09 +13:00
Jesse Ruderman ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
9fe449fca7 assertion test for bug 595727 2010-11-08 09:21:20 +13:00
Karl Tomlinson
16bfd546e6 b=595727 don't rely on cairo_clip_extents returning empty when the clip region is empty r=roc a=joe 2010-11-08 09:21:04 +13:00
Simon Montagu
f0a9415110 Backout changeset 97aca07b7f32 due to test failures, a=backout 2010-11-07 14:26:52 +02:00
Simon Montagu
b042b40b6a Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-07 01:39:02 -08:00
Jacek Caban
24de518aff Bug 606155 - LayerManagerD3D9.cpp compilation failure on mingw r=bas.schouten a=benjamin
--HG--
extra : rebase_source : c7689b0313df5701fe7bb6297fc932c11d17ff0d
2010-11-06 14:24:19 +00:00
Masayuki Nakano
250a76676b Bug 548964 backing out due to reftest failure only on Win Opt (433700) a=orange 2010-11-06 22:18:31 +09:00
Oleg Romashin
06749b4eac Bug 609637 - Don't swapBuffers with NULL EndTransaction call r=jones.chris.g a=b-f 2010-11-06 10:42:56 +02:00
Masayuki Nakano
fc878384cc Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe 2010-11-06 14:08:35 +09:00
Benoit Jacob
d888a0f39f Bug 604571 - Copying frames from <video> to <canvas> with drawImage glitches - r+a=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Oleg Romashin
a87a1eec59 Bug 608497 - mSize not updated in XXXTextureImage::Resize() function. r=roc a=approval2.0 2010-11-05 21:49:20 +02:00
Oleg Romashin
8ada90638c Bug 572651 - ThebesLayer shader program (GetBGRXLayerProgram) is slow on mobile r=vladimir a=b-f 2010-11-05 08:40:19 +02:00
Timothy Nikkel
dfe9eb3863 Bug 615782. Remove gfx surface null check that was put there to prevent mysterious linux64 talos tp4 crashes with 130078 and no longer seems to be needed. r=jrmuizel a=joedrew 2010-12-09 22:33:34 -06:00
Chris Jones
6434c45265 Bug 613000: Updates to thebes-layer textures must account for resolution. r=jrmuizel a=b 2010-12-09 16:26:13 -06:00
Jonathan Kew
9644c26c55 bug 609649 part 2 - connect harfbuzz shaper to the FT2 font backend. r=karlt a=blocking-fennec 2010-12-09 11:58:16 +00:00
Jonathan Kew
7f06177394 bug 609649 part 1 - refactor gfxFT2Font code in preparation for connecting to harfbuzz. r=karlt a=blocking-fennec 2010-12-09 11:57:23 +00:00
Adam
75c73343b8 bug 612488 - make featureSettings fields use direct nsTArray rather than pointers. r=jfkthame a=joe 2010-12-09 11:52:03 +00:00
Karl Tomlinson
b5427db874 b=569770 part 9: use gfxHarfBuzzShaper when suitable r=jfkthame a=blocking
--HG--
extra : rebase_source : 3031f67c486b537111da28d08725e8916e703a89
2010-12-09 20:29:39 +13:00
Karl Tomlinson
ba8f23df20 b=569770 part 8: gfxFT2FontBase::GetGlyph implementation r=jfkthame
--HG--
extra : rebase_source : 00fece30a0b418af6d86e946ad23479249f6a792
2010-12-09 20:28:51 +13:00
Karl Tomlinson
8b2fb0cd5d b=569770 part 7: allow the font to provide its own GetGlyph function r=jfkthame
--HG--
extra : rebase_source : 7468110c4def7c0f0ab04503052ae5de75ecb237
2010-12-09 20:28:51 +13:00
Karl Tomlinson
03967248be b=569770 part 6: use font group style to look for language and CSS features r=jfkthame
--HG--
extra : rebase_source : afe0ed117ddb5df2fe450d7845131663b39e31d7
2010-12-09 20:28:51 +13:00
Karl Tomlinson
011c9d94ae b=569770 part 5: gfxFT2FontBase::GetHintedGlyphWidth implementation r=jfkthame
--HG--
extra : rebase_source : 9770d596e7edf369f08f85a0598d470e07f7bbae
2010-12-09 20:28:51 +13:00
Karl Tomlinson
67bd437165 b=569770 part 4: gfxFT2FontBase::GetFontTable implementation r=jfkthame
--HG--
extra : rebase_source : ae66628adef86771a316fdfd24e1548773524c86
2010-12-09 20:28:50 +13:00
Karl Tomlinson
374455a6ee b=569770 part 3: provide public access to gfxFontEntry font table cache r=jfkthame
--HG--
extra : rebase_source : ea989eec6d22c0201a58cbe0bb045470e14907f0
2010-12-09 20:28:47 +13:00
Jonathan Kew
2f1ff76149 bug 553981 - handle Hangul Jamo sequences and other special cases when marking clusters. r=karlt a=roc
--HG--
extra : transplant_source : M%C8%2B%D6%B7%CBG%8E%EEE7%AC%97%01%A0%E4%DF%FB%F3%9B
2010-12-06 13:22:24 +00:00
Behdad Esfahbod
dbfee46277 b=617231 ensure-direction before doing any complex work, and handle mirroring (from harfbuzz ee8aaf976a6e) r=jfkthame a=roc
--HG--
extra : transplant_source : %80%B5%D5s%21f%112%83%5C%CC%18%8C%2CG%01%17-%3A%9A
2010-12-09 19:46:01 +13:00
Bas Schouten
9f23097d84 Bug 595277 - Part 0: Clear out user data on destroy. r=roc 2010-12-07 03:05:25 +01:00
Jesse Ruderman
ae31ad1e96 Bug 594654 - add crashtest 2010-12-12 12:54:27 -08:00
Bas Schouten
76f1a10ae3 Fix bustage from changeset 8c767b950381. a=bustage 2010-08-20 05:58:44 +02:00
Bas Schouten
61add0e551 Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc 2010-08-20 05:40:49 +02:00
Chris Jones
2ae808118e Backed out changeset b3e968d831ec 2010-08-19 19:04:21 -05:00
Robert O'Callahan
b9271a11f6 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-19 13:49:35 -05:00
Jonathan Kew
d572b7fa06 bug 603879 - part 2 - update harfbuzz integration to support arabic etc shaping. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Jonathan Kew
f23e23f242 bug 603879 - part 1.1 - work around gcc4.3/opt compile failure in harfbuzz code. a=bustage 2010-11-20 17:49:12 +00:00
Jonathan Kew
6c765a7a7f bug 603879 - part 1 - updated harfbuzz code from upstream. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Bas Schouten
10dded5fc3 Bug 610737: Use EXTEND_PAD for drawing native themes. r=jmuizelaar a=blocking-betaN 2010-11-19 19:51:33 +01:00
Daniel Holbert
0dba28bdd4 Bug 612662 patch 3: Drop cairo_quartz_surface_t's "imageSurfaceEquiv" member if we fail to create it. r=roc a=blocking-final+ 2010-11-19 08:56:06 -08:00
Daniel Holbert
8e1302c7ce Bug 612662 patch 2: In gfxPlatformGtk::CreateOffscreenSurface, drop our surface if it has non-OK status. r=roc a=blocking-final+ 2010-11-19 08:56:05 -08:00
Daniel Holbert
92783cf367 Bug 612662 patch 1: Skip RecordMemoryUsed call in gfxImageSurface constructor if our surface is invalid. r=roc a=blocking-final 2010-11-19 08:56:05 -08:00
Benjamin Smedberg
f05b9e173c Bug 611595 - Prevent a crash when D3D9 texture creation fails because the screen is locked. In CairoImageD3D9::SetData, save the surface as a member. Try to create the texture immediately, but also try to create the texture again when painting if it failed the first time. r=bas a=blocker-topcrash 2010-11-18 13:47:59 -05:00
Masatoshi Kimura
4a11f15b87 Bug 531606 - "Gecko 1.9.x (Firefox 3.x / Seamonkey 2) truncates print job name to only 30 characters" [r=roc a=dolske] 2010-11-13 03:02:00 -08:00
Chris Double
a9e4c5e117 Bug 612429 - Fix Maemo/Android/ARM inclusion of SSE2 code - r=doublec a=roc
--HG--
extra : rebase_source : 2853b40f4888d4af415bde3e7aa801da10eaea3c
2010-11-18 15:11:11 +13:00
Benoit Jacob
78fce4caa8 Bug 612572 - Crash [@GLContext::ListHasExtension] when extensions is null - r=jseward a=joe 2010-11-18 09:17:19 -05:00
Stuart Parmenter
c357ba4a2e Bug 600103. Fix android text spacing issues by really truely turning hinting off for mobile. r=karlt a=blocking-fennecb2+ 2010-10-21 12:02:02 -07:00
Timothy Nikkel
5818a1f2f6 Bug 606121. Clip the cached surface in basic layers so we draw only what we need to. r=roc a=joe 2010-10-21 19:58:44 -05:00
Bas Schouten
e34319e8af Bug 605368: Fix shared builds by keeping cairo calls in GFX. r=roc a=joedrew 2010-10-21 22:41:06 +02:00
Bas Schouten
911e5dfba9 Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN 2010-10-21 22:41:04 +02:00
Jeff Muizelaar
9de81a88da Bug 604168. pixman: Update to f6ab20ca6604739b82311fc078d6ce850f43adc0 a=blocking-fennec
Andrea Canciani (4):
      support single-stop gradients
      test: verify that gradients do not crash pixman
      Draw radial gradients with PDF semantics
      Add comments about errors

Benjamin Otte (2):
      region: Add a new test region-translate
      region: Fix pixman_region_translate() clipping bug

Brad Smith (1):
      Add support for AltiVec detection for OpenBSD/PowerPC.

Dmitri Vorobiev (5):
      Move aligned_malloc() to utils
      Add gettime() routine to test utils
      Add noinline macro
      Use <sys/mman.h> macros only when they are available
      Some clean-ups in fence_malloc() and fence_free()

Jeff Muizelaar (1):
      create getter for component alpha

Jonathan Morton (1):
      Add a lowlevel blitter benchmark

Liu Xinyun (2):
      add enable-cache-prefetch option
      Remove cache prefetch code.

M Joonas Pihlaja (6):
      Try harder to find suitable flags for pthreads.
      Don't trust OpenBSD's gcc to produce working code for __thread.
      Check that the OpenMP pragmas don't cause link errors.
      Check for specific flags by actually trying to compile and link.
      Avoid trailing slashes on automake install dirs.
      Fix thinko in configure.ac's macro to test linking.

Maarten Bosmans (2):
      Use windows.h directly for mingw32 build
      Add *.exe to .gitignore

Marek Vasut (1):
      Add support for 32bpp X14R6G6B6 format.

Mika Yrjola (1):
      Fix "syntax error: empty declaration" warnings.

Siarhei Siamashka (25):
      test: main loop from blitters-test added as a new function to utils.c
      test: blitters-test-bisect.rb converted to perl
      test: blitters-test updated to use new fuzzer_test_main() function
      test: scaling-test updated to use new fuzzer_test_main() function
      test: added OpenMP support for better utilization of multiple CPU cores
      test: 'scaling-crash-test' added
      test: 'scaling-test' updated to provide better coverage
      Code simplification (no need advancing 'vx' at the end of scanline)
      ARM: 'neon_combine_out_reverse_u' combiner
      ARM: added 'neon_composite_over_8888_8_0565' fast path
      ARM: common init/cleanup macro for saving/restoring NEON registers
      ARM: helper macros for conversion between 8888/x888/0565 formats
      ARM: added 'neon_composite_over_0565_8_0565' fast path
      test: detection of possible floating point registers corruption
      Nearest scaling fast path macros moved to 'pixman-fast-path.h'
      Nearest scaling fast path macro split into two parts
      Introduce a fake PIXMAN_REPEAT_COVER constant
      PAD repeat support for fast scaling with nearest filter
      NONE repeat support for fast scaling with nearest filter
      SSE2 optimization for scaled over_8888_8888 operation with nearest filter
      ARM: NEON: added forgotten cache preload for over_n_8888/over_n_0565
      ARM: added 'neon_composite_add_0565_8_0565' fast path
      ARM: added 'neon_composite_out_reverse_8_0565' fast path
      Use more unrolling for scaled src_0565_0565 with nearest filter
      ARM: restore fallback to ARMv6 implementation from NEON in the delegate chain

Søren Sandmann Pedersen (94):
      Don't use __thread on MinGW.
      Add macros for thread local storage on MinGW 32
      test/gtk-utils: Set the size of the window to the size of the image
      Merge branch 'for-master'
      Eliminate mask_bits from all the scanline fetchers.
      When storing a g1 pixel, store the lowest bit, rather than comparing with 0.
      Make separate gray scanline storers.
      Fix conical gradients to match QConicalGradient from Qt
      Store the conical angle in floating point radians, not fixed point degrees
      Minor tweaks to README
      Make the combiner macros less likely to cause name collisions.
      Fix memory leak in the pthreads thread local storage code
      Hide the global implementation variable behind a force_inline function.
      Cache the implementation along with the fast paths.
      Split the fast path caching into its own force_inline function
      test: Make sure the palettes for indexed format roundtrip properly
      When converting indexed formats to 64 bits, don't correct for channel widths
      Make the repeat mode explicit in the FAST_NEAREST macro.
      In the FAST_NEAREST macro call the function 8888_8888 and not x888_x888
      fast-path: Some formatting fixes
      Check for read accessors before taking the bilinear fast path
      [fast] Add fast_composite_src_x888_8888()
      [sse2] Add sse2_composite_src_x888_8888()
      [sse2] Add sse2_composite_in_n_8()
      [sse2] Add sse2_composite_add_n_8()
      bits: Fix potential divide-by-zero in projective code
      Add x14r6g6b6 format to blitters-test
      If we bail out of do_composite, make sure to undo any workarounds.
      CODING_STYLE: Delete the stuff about trailing spaces
      Fix Altivec/OpenBSD patch
      Extend scaling-crash-test in various ways
      Replace compute_src_extent_flags() with analyze_extents()
      Eliminate recursion from alpha map code
      Eliminate get_pixel_32() and get_pixel_64() from bits_image.
      Split bits_image_fetch_transformed() into two functions.
      Eliminate the store_scanline_{32,64} function pointers.
      Remove "_raw_" from all the accessors.
      Add some new FAST_PATH flags
      Store the various bits image fetchers in a table with formats and flags.
      Add alpha-loop test program
      pixman_image_set_alpha_map(): Disallow alpha map cycles
      Introduce new FAST_PATH_SAMPLES_OPAQUE flag
      Only try to compute the FAST_SAMPLES_COVER_CLIP for bits images
      Pre-release version bump to 0.19.2
      Post-release version bump to 0.19.3
      Merge pixman_image_composite32() and do_composite().
      Be more paranoid about checking for GTK+
      Store a2b2g2r2 pixel through the WRITE macro
      When pixman_compute_composite_region32() returns FALSE, don't fini the region.
      Silence some warnings about uninitialized variables
      Add FAST_PATH_NO_ALPHA_MAP to the standard destination flags.
      Do opacity computation with shifts instead of comparing with 0
      Add fence_malloc() and fence_free().
      Update and extend the alphamap test
      Rename FAST_PATH_NO_WIDE_FORMAT to FAST_PATH_NARROW_FORMAT
      Remove FAST_PATH_NARROW_FORMAT flag if there is a wide alpha map
      Clip composite region against the destination alpha map extents.
      Move some of the FAST_PATH_COVERS_CLIP computation to pixman-image.c
      analyze_extents: Fast path for non-transformed BITS images
      test: Add affine-test
      Use a macro to generate some {a,x}8r8g8b8, a8, and r5g6b5 bilinear fetchers.
      Enable bits_image_fetch_bilinear_affine_pad_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_none_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_reflect_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_normal_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_pad_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_none_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_reflect_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_normal_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_pad_a8
      Enable bits_image_fetch_bilinear_affine_none_a8
      Enable bits_image_fetch_bilinear_affine_reflect_a8
      Enable bits_image_fetch_bilinear_affine_normal_a8
      Enable bits_image_fetch_bilinear_affine_pad_r5g6b5
      Enable bits_image_fetch_bilinear_affine_none_r5g6b5
      Enable bits_image_fetch_bilinear_affine_reflect_r5g6b5
      Enable bits_image_fetch_bilinear_affine_normal_r5g6b5
      compute_composite_region32: Zero extents before returning FALSE.
      Pre-release version bump to 0.19.4
      Post-release version bump to 0.19.5
      If MAP_ANONYMOUS is not defined, define it to MAP_ANON.
      Revert "add enable-cache-prefetch option"
      Rename all the fast paths with _8000 in their names to _8
      Fix search-and-replace issue in lowlevel-blt-bench.c
      Fix bug in FAST_PATH_STD_FAST_PATH
      Delete simple repeat code
      Remove broken optimizations in combine_disjoint_over_u()
      test: Fix bug in color_correct() in composite.c
      test: Fix eval_diff() so that it provides useful error values.
      test: Change composite so that it tests randomly generated images
      test: Parallize composite.c with OpenMP
      test: Add some more colors to the color table in composite.c
      Add no-op combiners for DST and the CA versions of the HSL operators.
      Plug leak in the alphamap test.

Tor Lillqvist (1):
      Support __thread on MINGW 4.5
2010-10-20 15:25:03 -04:00
Rob Arnold
7c93e87d05 Bug 520943 - Windows 7 taskbar previews does not respect browser's zoom level r=roc r=dao a-2.0=gavin 2010-10-19 16:06:00 -07:00
Bas Schouten
f2b22b6625 Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten
3e8591afde Bug 603071 - Part 1: Properly propagate LayerManager destruction through layer tree. r=roc a=blocking-beta8 2010-10-19 21:08:31 +02:00
Bas Schouten
a6c66f0992 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Ben Turner
8a45d0d002 Bug 602733, r=vlad, a=sicking. 2010-10-15 12:32:51 -07:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Jacek Caban
f85ade1e8b Bug 594769 - qcms fails to compile on mingw r=jmuizelaar a=joe 2010-10-14 21:00:22 +00:00
Chris Jones
4b82fba0c3 Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones
ad5cce517f Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
51fc2de345 Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
dd6710b8fc Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
ace8a9c91c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
f0dd48964f Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
6f8a6ea683 Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
55a81f3a07 Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
b9441008dc Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c54015a6b Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
57d3708463 Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc 2010-10-13 17:55:45 -05:00
Chris Jones
72ebe49a58 Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0 Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Stuart IDontCode Parmenter
12117b3c64 Bug 600102 - Add ability to build with --disable-pango. r=karlt a=blocking-fennec
--HG--
extra : rebase_source : 9b5da40d5733ee7adc27310de8b962543d7d3ce9
2010-10-13 15:03:19 -07:00
Vladimir Vukicevic
910d74f7e0 Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Chris Jones
b51dfd9724 Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN 2010-10-13 14:22:17 -05:00
Benjamin Smedberg
3a5f09a601 Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure. 2010-09-14 14:50:24 -07:00
Oleg Romashin
dcd9fb6f7a Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-14 12:01:02 -07:00
Bas Schouten
690beb1d8a Bug 588568. Only check VRAM if we have a D2D device. r=joe,a=blocking 2010-08-19 21:35:08 +12:00
Rob Arnold
422de2253b Bug 587566 - Enable Depth/Clip to allow D2D for non DX10 devices; r=bas.schouten approval2.0=joe 2010-08-19 09:28:14 +01:00
Robert O'Callahan
8d6e97edd5 Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
2ee9178a2e Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Robert O'Callahan
8eec063c4f Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +12:00
Bas Schouten
815503bb25 Bug 587936: Add SSE2 optimizations for alpha recovery. r=vlad a=crowder 2010-08-18 05:43:49 +02:00
Bas Schouten
a5fb731221 Bug 587856 - Part 2: Report D2D surface VRAM usage through memory reporter. r=jrmuizel 2010-08-18 05:43:49 +02:00
Bas Schouten
66f29f398d Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. r=jrmuizel 2010-08-18 05:43:49 +02:00
Bas Schouten
e43ef91c98 Enable D2D by default again. 2010-08-18 05:43:49 +02:00
Rob Arnold
beb6ddf7e8 Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
Jeff Muizelaar
5e9ef56af6 cairo: Fix a clip test to test the right coordinate. r=ehsan,a=gavin
Fixed upstream by 498c10032ea3f8631a928cd7df96766f2c8ddca4
2010-08-17 20:08:57 -04:00
Jonathan Kew
6b602b597d bug 580719 - pt3 - improve sanity-checking of 'head' table in downloaded fonts. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jonathan Kew
9b607c97fd bug 580719 - pt2 - [harfbuzz] check face validity before using ot_layout in hb-ot-layout.cc. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jonathan Kew
3b45080ed0 bug 580719 - pt1 - [harfbuzz] check head table validity when creating face. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jonathan Kew
4ce1757549 bug 586501 - [harfbuzz] check 'rows' value is valid during GPOS sanitize. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jeff Muizelaar
0ae39c92cf Disable D2D to fix browser_bug577990.js timeout 2010-08-16 09:35:40 -04:00
Bas Schouten
40822a9053 Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
9b084a338f Re-enable Direct2D by default. a=joedrew 2010-08-16 09:15:03 +02:00
Bas Schouten
13d541c6b4 Fix line-endings in gfxWindowsPlatform. 2010-08-16 09:15:03 +02:00
Bas Schouten
23600d1535 Bug 587293: When D2D is preffed off, disable DWrite if it wasn't explicitly preffed on. r=joedrew 2010-08-16 09:15:03 +02:00
Jeff Muizelaar
024d8acf0d Bug 587395: Expose whether DWrite is enabled through nsIGfxInfo. r=joedrew 2010-08-16 09:15:03 +02:00
Bas Schouten
8e08f7907f Bug 587318: Only pad horizontal glyph metrics. r=jdaggett 2010-08-16 09:15:03 +02:00
Bas Schouten
45503c0935 Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
048318af5c Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
d84bbb3709 Bug 586316 - Part 1: Use MITER_OR_BEVEL to adhere to cairo expected behavior. r=jrmuizel 2010-08-16 09:15:01 +02:00
Julian Seward
7a97356e18 Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc 2010-08-15 11:01:49 +02:00
Vladimir Vukicevic
189a43e086 b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas 2010-08-14 10:52:16 -07:00
Jacek Caban
7460ee1472 Bug 586279 - Broken DeviceManagerD3D9.h compilation on mingw r=bas.schouten a=joe
--HG--
extra : rebase_source : c3c6d40e0adbfa705759cb238ea10fc0e12e0d4a
2010-08-14 16:43:14 +02:00
Jacek Caban
8d16beb164 Bug 585295 - Broken GLContextProviderEGL.cpp compilation on mingw-w64 r=vladimir a=joe
--HG--
extra : rebase_source : 62a8074c8edfe982e6ddbbc6df6d57b41744aeb1
2010-08-14 16:41:51 +02:00
Jeff Muizelaar
3167f23bb8 Bug 573229. Disable D2D to fix all the orange it's causing.
There are a bunch of failing mochitests that I don't have an answer for,
so just disable D2D for now.
2010-08-14 08:43:27 -04:00
Bas Schouten
bb134293b4 Bug 587289: Unload D3D10_1.dll at the right place. r=joe a=blocking-beta4+ 2010-08-14 10:18:05 +02:00
Bas Schouten
bd638f486d Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel 2010-08-14 08:34:55 +02:00
Bas Schouten
37823092aa Bug 573229: Part 1 - Allow creating a d2d device from an existing d3d10 device. r=jrmuizel 2010-08-14 08:34:16 +02:00
timeless@mozdev.org
819ac8227f Bug 585413 warning: comparison between signed and unsigned integer expressions in GLContext::ExtensionBitset<setlen>. r=vlad a=joe 2010-08-13 21:09:53 -07:00
Robert O'Callahan
f8dc984ede Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
9a0597fca0 Bug 572680 - Create gfxDrawable interface and implementations for surfaces, patterns and drawing callbacks. r=joe 2010-08-13 15:30:14 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Bas Schouten
bd1249e5eb Bug 586562: Always use A8R8G8B8 for our swap chains. Fixes black chrome for NVidia. r=vlad a=mossop 2010-08-12 18:25:12 +00:00
Bas Schouten
2b819506ec Bug 586159: Use SYSTEMMEM textures instead of OffscreenPlainSurfaces, better supported on NVidia. r=vlad 2010-08-12 18:25:09 +00:00