Chris Jones
7c1181632c
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
61979f9825
Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl
2010-09-14 00:23:08 -05:00
Chris Jones
fe90c2afa2
Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc
2010-09-14 00:23:08 -05:00
Chris Jones
c346eb90b7
Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc
2010-09-14 00:23:08 -05:00
Chris Jones
0cb7bd0628
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
433a837370
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
f7bf383e15
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
413f96b038
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
7e002c08ab
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
f5894e967e
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
3f1c9a5b8a
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
d8f9eb58aa
Merge m-c --> cedar
2010-09-13 19:24:09 -05:00
Bas Schouten
dbb710b503
Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b
2010-09-14 12:57:25 +02:00
Bas Schouten
9ff24ead27
Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad
2010-09-14 12:57:03 +02:00
Bas Schouten
05782c80c6
Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel
2010-09-14 12:56:56 +02:00
Bas Schouten
55b8afc7e5
Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel
2010-09-14 12:56:39 +02:00
Oleg Romashin
8c88c718ff
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Joe Drew
e71a8809e5
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
fba30f2714
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
3d2ced7b82
b=594642; [gl] use scissor rect when drawing layers; r=vlad
2010-09-09 16:40:15 -04:00
Vladimir Vukicevic
c4d22f2b89
b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel
2010-09-09 16:40:11 -04:00
Doug Turner
e41b48044c
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
3b953ced69
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Vladimir Vukicevic
e421717237
b=594553; correctly create gl layer manager on android; r=jrmuizel
2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
0031e81e55
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
acdcaa5b39
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
a8af75d125
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
3d34b91118
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
c8cf79903e
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
5059980e47
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
337f5dcdc5
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
7688c45243
Merge m-c --> cedar
2010-09-07 17:35:15 -05:00
Vladimir Vukicevic
1a13eb330a
b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel
2010-09-07 17:31:40 -04:00
Vladimir Vukicevic
0c35090bd4
b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel
2010-09-07 12:26:43 -04:00
Bas Schouten
ddb91c6769
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
d022f13c66
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
249569f2dc
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
a2c93af9b1
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05:00
Chris Jones
f502883ffc
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
0c28df6c86
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
6480591e23
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
1ef9f416ce
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
95051089f9
b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b
2010-09-03 14:07:59 -04:00
Joe Drew
dbb9a82fc2
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
5ab666d34a
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
418edf53e3
Fixing bustage, a=me
2010-09-03 16:20:23 +12:00
Chris Jones
f2ee7d2dd8
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
d55c0df3ed
Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0
2010-09-03 15:51:15 +12:00
Matt Woodrow
0fe2dd0835
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
e4a9dac062
Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0
2010-09-03 15:50:53 +12:00
Matt Woodrow
b5fb6a703c
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
47a5284310
Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0
2010-09-03 15:50:29 +12:00
Chris Jones
81e7d1c97a
Bug 593248: Release old shmem surfaces on realloc. r=joe
2010-09-02 22:05:01 -05:00
Robert O'Callahan
d070f2c342
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
ef6a01f479
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
dc9e28789b
Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad
2010-09-03 14:31:42 +12:00
Robert O'Callahan
c4801219d7
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
4251c4b8a9
Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad
2010-09-02 21:18:41 +12:00
Robert O'Callahan
be2d05f9a8
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
c649008789
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
058feeb909
Merged m-c: 51d17027ff45 -> cedar
2010-09-01 09:36:29 -07:00
Bas Schouten
575f0f6eee
Bug 596152: Clear intermediate textures used with container layers. r=jrmuizel a=blocking-beta7
2010-09-15 17:00:42 +00:00
Oleg Romashin
f1c3b3ff35
Bug 556487 - Subimage API. r=roc a=blocking2.0
2010-09-15 09:02:42 -07:00
Mike Hommey
ccf7ad92f0
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
c06ae165fe
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
349f37cc97
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
d45fb468b2
b=593558; make gl context creation quieter; r=matt.woodrow; a=b
2010-09-05 16:37:52 -04:00
Vladimir Vukicevic
796209cd43
b=592106; correctly update GL context format; r=jrmuizel
2010-09-05 16:37:51 -04:00
Bas Schouten
f7a7d600cc
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
a6a9e1fd22
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
d817c2ab47
Merge m-c --> cedar
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Vladimir Vukicevic
a4ed1e7e30
b=591486 followup for non-d2d-surface win32 builds; a=bbbreakage
2010-08-30 20:02:18 -04:00
Vladimir Vukicevic
fffd50d2cd
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
8ae2d33728
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
d5f3b4053d
b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5
2010-08-30 17:45:29 -04:00
Matt Woodrow
aaa21a504a
Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+
2010-09-03 23:27:04 -04:00
Matt Woodrow
881a4c21e1
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
aa89ddcb4c
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
76dde2a6bc
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
8797754c26
Revert to rev 36a5e2fa01c9
2010-08-28 01:11:22 -05:00
Timothy Nikkel
3198bbfb98
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
8120d23a45
Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5
2010-08-27 22:24:42 +00:00
Bas Schouten
8382ce93aa
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
5257eb8592
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
ddb8fb9a84
imported patch returnnullincreatesimilar
2010-08-26 22:01:43 -05:00
Chris Jones
e90e7c53de
Merge m-c --> cedar
2010-08-26 21:36:43 -05:00
Jonathan Kew
2ed70114b5
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
209fbfd5ff
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
adaba45072
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
3551ca8cb1
Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas
2010-08-26 20:44:53 +00:00
Bas Schouten
a98eb3997a
Fix line endings in DeviceManagerD3D9.
2010-08-26 20:44:11 +00:00
Oleg Romashin
6e925ce155
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
dda8db8657
Merge remote-frame code into m-c tip
2010-08-23 22:10:50 -05:00
Bobby Holley
4114ad3659
Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker
2010-08-23 15:42:51 -07:00
Loïc Yhuel
e2ebc7dee3
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
dfcd5d8362
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
b21b54a32d
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
aba987848c
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
5de92d7b23
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
81493ca326
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
f22350f2bc
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
0e3d3aaf97
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
b4c4c02965
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
16b9e25f92
Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad
2010-08-20 18:24:41 -05:00
Chris Jones
03c4f01c8b
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
6159af5262
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
3f83dd98b9
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
dddae4f595
Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc
2010-08-19 20:26:00 -05:00
Jonas Sicking
32a03526e0
Backout bugs 586754, 574189, 584611 due to orange. a=backout
2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b
Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB
2010-08-20 09:32:58 -07:00
Justin Lebar
92b6751bd9
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
b1ef0bf840
backout dbbb9575aae1 due to build issues in some configurations b=577743
2010-08-23 16:27:49 +12:00
Chris Double
d2b3e251e9
Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking
2010-08-23 13:47:33 +12:00
Oleg Romashin
215062605a
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
a75925884a
Bug 556487 - gfxASurface GetSize. r=joe a=blocking2.0
...
--HG--
extra : rebase_source : 3f587a6352af1c72f5dbf860380dc8a2ef42f72d
2010-09-07 17:36:57 -07:00
Bas Schouten
a35172c9e2
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
9f3321e5ee
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
87fc80cd17
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
2d7db6d80e
Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc
2010-09-08 05:27:29 +02:00
Oleg Romashin
8aa93601ef
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
0e4edc0417
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
338008f654
Bug 587936 Fix a crash in gfxAlphaRecovery::RecoverAlphaSSE2 r=vladimir a=joedrew
2010-08-22 23:17:03 +08:00
Jacek Caban
370c84010d
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
d0a138305c
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
e832974a3e
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
3d1604f2c7
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
af46f7c45f
Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe
2010-08-26 15:54:10 +09:00
Clint Talbert
4fa6358e1b
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
fecae963b6
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
79b654fd1a
comments only, updating license text. a=b
2010-09-13 13:45:20 -07:00
Justin Wood
9a8b85c404
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
91305e990f
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
92bc8c2631
Bug 591139 - Disable hardware acceleration in safe mode. r=bas a=blocking2.0:beta5+
2010-08-27 22:44:37 -04:00
Joe Drew
15604aee26
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
cfb7f48514
Backing out bug 579276. a=me
2010-09-02 23:14:25 +12:00
Robert O'Callahan
df7ddc69f9
Fixing bustage, a=me
2010-09-02 22:15:17 +12:00
Robert O'Callahan
2fb2fc7212
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
359694e234
Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad
2010-09-02 21:18:41 +12:00
Robert O'Callahan
93076398d1
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
bc14460ac4
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
49feffb4b6
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
981b6640f0
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
65806647ae
backing out 2796c7 (bug 539771); a=b
2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
7506d2533d
b=590244; update ANGLE to r385; r=vlad; a=b
2010-09-01 15:04:51 -04:00
Vladimir Vukicevic
3129d7c735
b=539771; Add support for context attribs to canvas; r=jmuizelaar
2010-09-01 15:04:48 -04:00
Matt Woodrow
2441967f84
Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+
2010-08-23 20:58:27 -07:00
Matt Woodrow
56e9a9a98a
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
a4b8d433d4
Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+
2010-08-23 20:57:22 -07:00
Matt Woodrow
35a7b7fe11
Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+
2010-08-23 20:56:49 -07:00
Vladimir Vukicevic
fc3a7c6d8b
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
Bas Schouten
77a6b11872
Fix bustage from changeset 8c767b950381. a=bustage
2010-08-20 05:58:44 +02:00
Bas Schouten
cb632a9c1b
Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc
2010-08-20 05:40:49 +02:00
Chris Jones
7a1aec6acd
Backed out changeset b3e968d831ec
2010-08-19 19:04:21 -05:00
Robert O'Callahan
4fb60189e3
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
Benjamin Smedberg
9c6b634f34
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
72e503a1a5
Bug 556487 - Subimage API. r=roc a=blocking2.0
2010-09-14 12:01:02 -07:00
Bas Schouten
6dd8478e7a
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
832394c514
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
2a2db81c1a
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
3133bff6c6
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
c0a3a641e0
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
6f3648b4f2
Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad
2010-08-13 21:58:01 +12:00
Robert O'Callahan
a4e6996a16
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Robert O'Callahan
fe59073292
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
d93e612cf9
Bug 587936: Add SSE2 optimizations for alpha recovery. r=vlad a=crowder
2010-08-18 05:43:49 +02:00
Bas Schouten
62c762bc00
Bug 587856 - Part 2: Report D2D surface VRAM usage through memory reporter. r=jrmuizel
2010-08-18 05:43:49 +02:00
Bas Schouten
859fbab273
Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. r=jrmuizel
2010-08-18 05:43:49 +02:00
Bas Schouten
669b8daee9
Enable D2D by default again.
2010-08-18 05:43:49 +02:00
Rob Arnold
bcd5f25ef2
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
7ed56960b2
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
d25cb6fb6d
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
1b93eed2a6
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
43a3ed4892
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
6d3b63fe44
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
7aa074bc10
Disable D2D to fix browser_bug577990.js timeout
2010-08-16 09:35:40 -04:00
Bas Schouten
be04bb141a
Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel
2010-08-16 09:15:03 +02:00
Bas Schouten
5ab5eb739e
Re-enable Direct2D by default. a=joedrew
2010-08-16 09:15:03 +02:00
Bas Schouten
bd705c1eb6
Fix line-endings in gfxWindowsPlatform.
2010-08-16 09:15:03 +02:00
Bas Schouten
666b9f9b26
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
481d148c13
Bug 587395: Expose whether DWrite is enabled through nsIGfxInfo. r=joedrew
2010-08-16 09:15:03 +02:00
Bas Schouten
7d7234561e
Bug 587318: Only pad horizontal glyph metrics. r=jdaggett
2010-08-16 09:15:03 +02:00
Bas Schouten
0e90af301e
Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel
2010-08-16 09:15:02 +02:00
Bas Schouten
c1a47676c3
Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel
2010-08-16 09:15:02 +02:00
Bas Schouten
a0f71a230a
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
a875ff3d6f
Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc
2010-08-15 11:01:49 +02:00
Vladimir Vukicevic
0fff021bbd
b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas
2010-08-14 10:52:16 -07:00
Jacek Caban
aac1a9302f
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
c7c2d6cb93
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
c4d7b8f41c
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
cfae18edb4
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
cdda35a60e
Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel
2010-08-14 08:34:55 +02:00
Bas Schouten
c2dc430b37
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
045a437294
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
25324c072d
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
c0e4ac43e7
Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe
2010-08-13 15:30:27 +02:00
Markus Stange
bf4e719f0d
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
cd5be97592
Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe
2010-08-13 15:30:02 +02:00
Bas Schouten
2d2753ac80
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
4055e82557
Bug 586159: Use SYSTEMMEM textures instead of OffscreenPlainSurfaces, better supported on NVidia. r=vlad
2010-08-12 18:25:09 +00:00
Jonathan Kew
44d81202ab
bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett
2010-08-11 17:52:26 +01:00