Bas Schouten
6a06fa8380
Bug 596419: Fix up layer destruction scheme. r=jrmuizel
2010-09-15 22:15:49 +00:00
Chris Jones
a8f1311915
Merge m-c --> cedar
2010-09-15 16:44:30 -05:00
Chris Jones
44f558357f
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
bdb986dad1
Merge m-c --> cedar
2010-09-14 14:28:39 -05:00
Chris Jones
c97d52bdcf
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
b4be041173
Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl
2010-09-14 00:23:08 -05:00
Chris Jones
e8eb30ff51
Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc
2010-09-14 00:23:08 -05:00
Chris Jones
8253d09d34
Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc
2010-09-14 00:23:08 -05:00
Chris Jones
ebd077db4c
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
a51fcd62bb
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
59c05a7df9
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
95de98049a
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
4c903c6d8e
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
126a05c068
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
c5732bc45e
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
64b517b4b0
Merge m-c --> cedar
2010-09-13 19:24:09 -05:00
Bas Schouten
690c044661
Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b
2010-09-14 12:57:25 +02:00
Bas Schouten
b00f4315b9
Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad
2010-09-14 12:57:03 +02:00
Bas Schouten
427d14731f
Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel
2010-09-14 12:56:56 +02:00
Bas Schouten
237862f9f1
Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel
2010-09-14 12:56:39 +02:00
Oleg Romashin
97c15514a0
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Joe Drew
03a10edb97
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
b3bdfaf398
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
c802040d01
b=594642; [gl] use scissor rect when drawing layers; r=vlad
2010-09-09 16:40:15 -04:00
Vladimir Vukicevic
4a7a424085
b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel
2010-09-09 16:40:11 -04:00
Doug Turner
184ca22265
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
c81a4e20fd
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Vladimir Vukicevic
4ebf7213d0
b=594553; correctly create gl layer manager on android; r=jrmuizel
2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
184cab618e
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
b2504acbeb
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
9bf33916ad
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
18948caf81
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
d11d97f7a8
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
cc46f40ef4
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
c356ebf15a
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
eab6f9aa7e
Merge m-c --> cedar
2010-09-07 17:35:15 -05:00
Vladimir Vukicevic
caeb556f51
b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel
2010-09-07 17:31:40 -04:00
Vladimir Vukicevic
96f2d587fc
b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel
2010-09-07 12:26:43 -04:00
Bas Schouten
5ea1d2f28a
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
366b75199e
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
029fa58892
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
e62e25be23
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05:00
Chris Jones
d92634399e
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
d04ae7b1fe
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
827b16161e
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
278ab99928
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
079e20fd34
b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b
2010-09-03 14:07:59 -04:00
Joe Drew
daa97e214f
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
25481eecd2
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
b8f64f9406
Fixing bustage, a=me
2010-09-03 16:20:23 +12:00
Chris Jones
5a261a871c
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
a8027da20f
Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0
2010-09-03 15:51:15 +12:00
Matt Woodrow
b11ef202f4
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
d892767b19
Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0
2010-09-03 15:50:53 +12:00
Matt Woodrow
593ea4944b
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
40535b1e32
Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0
2010-09-03 15:50:29 +12:00
Chris Jones
64404c9d58
Bug 593248: Release old shmem surfaces on realloc. r=joe
2010-09-02 22:05:01 -05:00
Robert O'Callahan
afdeb3f001
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
f843ab6d56
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
649a41a7cf
Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad
2010-09-03 14:31:42 +12:00
Robert O'Callahan
1f6a19dfda
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
f6f66e65b9
Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad
2010-09-02 21:18:41 +12:00
Robert O'Callahan
99c9793ffb
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
a6fc3b3045
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
9d606b2136
Merged m-c: 51d17027ff45 -> cedar
2010-09-01 09:36:29 -07:00
Bas Schouten
53dd8f407b
Bug 596152: Clear intermediate textures used with container layers. r=jrmuizel a=blocking-beta7
2010-09-15 17:00:42 +00:00
Oleg Romashin
5f018f111f
Bug 556487 - Subimage API. r=roc a=blocking2.0
2010-09-15 09:02:42 -07:00
Mike Hommey
75b7600b73
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
ba3d617a58
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
e2423422f0
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
2b18f9e628
b=593558; make gl context creation quieter; r=matt.woodrow; a=b
2010-09-05 16:37:52 -04:00
Vladimir Vukicevic
b452a965bf
b=592106; correctly update GL context format; r=jrmuizel
2010-09-05 16:37:51 -04:00
Bas Schouten
4ace4e2dc9
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
f6ef28ef1c
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
2c6217fa25
Merge m-c --> cedar
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Vladimir Vukicevic
ffda55f132
b=591486 followup for non-d2d-surface win32 builds; a=bbbreakage
2010-08-30 20:02:18 -04:00
Vladimir Vukicevic
82572dd4bc
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
8e519d4483
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
62371fc382
b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5
2010-08-30 17:45:29 -04:00
Matt Woodrow
082f7ad1df
Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+
2010-09-03 23:27:04 -04:00
Matt Woodrow
bf1fd4502a
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
6b07f8b62a
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
82cc81573a
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
2f0504d750
Revert to rev 36a5e2fa01c9
2010-08-28 01:11:22 -05:00
Timothy Nikkel
fceb323f06
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
31ddd81b69
Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5
2010-08-27 22:24:42 +00:00
Bas Schouten
259f20a5d2
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
bf88636c3a
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
2f416d4188
imported patch returnnullincreatesimilar
2010-08-26 22:01:43 -05:00
Chris Jones
e1f01a4b6b
Merge m-c --> cedar
2010-08-26 21:36:43 -05:00
Jonathan Kew
a291d927de
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
8e782489bd
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
2fac5b095b
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
af54a86c47
Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas
2010-08-26 20:44:53 +00:00
Bas Schouten
b75e92fb59
Fix line endings in DeviceManagerD3D9.
2010-08-26 20:44:11 +00:00
Oleg Romashin
7a0791e1cd
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
1cdac44b1d
Merge remote-frame code into m-c tip
2010-08-23 22:10:50 -05:00
Bobby Holley
4e54b57f0a
Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker
2010-08-23 15:42:51 -07:00
Loïc Yhuel
55608597c6
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
bfc60fdd41
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
4bdb286d29
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
b44a3480e1
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
c6ff4f4ba9
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
8edbe500a8
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
99c38a9d05
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
c9cb8625d0
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
09e8205a6d
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
0c290c390b
Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad
2010-08-20 18:24:41 -05:00
Chris Jones
a1da060aa5
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
7548246b53
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
31e5ef68b2
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
8e364166bf
Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc
2010-08-19 20:26:00 -05:00
Jonas Sicking
0a4de59cf6
Backout bugs 586754, 574189, 584611 due to orange. a=backout
2010-08-20 11:08:43 -07:00
Joel Maher
cb20a221ad
Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB
2010-08-20 09:32:58 -07:00
Justin Lebar
eb969e65ec
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
642b5068d4
backout dbbb9575aae1 due to build issues in some configurations b=577743
2010-08-23 16:27:49 +12:00
Chris Double
2dd0780ddc
Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking
2010-08-23 13:47:33 +12:00
Oleg Romashin
4514bb4b4a
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
5e12d65bf9
Bug 556487 - gfxASurface GetSize. r=joe a=blocking2.0
...
--HG--
extra : rebase_source : 3f587a6352af1c72f5dbf860380dc8a2ef42f72d
2010-09-07 17:36:57 -07:00
Bas Schouten
5720d39ce4
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
cd1ac894b2
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
97d018ee72
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
a930f93337
Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc
2010-09-08 05:27:29 +02:00
Oleg Romashin
5d9ae71f83
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
c1cd7cba11
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
de1dc0e8a8
Bug 587936 Fix a crash in gfxAlphaRecovery::RecoverAlphaSSE2 r=vladimir a=joedrew
2010-08-22 23:17:03 +08:00
Jacek Caban
76759d3f70
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
7e93956904
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
88f70e53ba
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
515675867c
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
01f7507dc3
Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe
2010-08-26 15:54:10 +09:00
Clint Talbert
ec98104ba7
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
62bd93f5af
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
957b4fefc4
comments only, updating license text. a=b
2010-09-13 13:45:20 -07:00
Justin Wood
c59096bdb0
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
d016107374
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
c090e6fe02
Bug 591139 - Disable hardware acceleration in safe mode. r=bas a=blocking2.0:beta5+
2010-08-27 22:44:37 -04:00
Joe Drew
18c336a85f
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
fdfe0b9a31
Backing out bug 579276. a=me
2010-09-02 23:14:25 +12:00
Robert O'Callahan
bdd023eb01
Fixing bustage, a=me
2010-09-02 22:15:17 +12:00
Robert O'Callahan
dba37d3134
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
dfdadfe03a
Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad
2010-09-02 21:18:41 +12:00
Robert O'Callahan
c4f16cb532
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
dee41196f3
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
55d813afb0
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
4c67a7e896
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
dcec9fa8ea
backing out 2796c7 (bug 539771); a=b
2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
43ca3e5940
b=590244; update ANGLE to r385; r=vlad; a=b
2010-09-01 15:04:51 -04:00
Vladimir Vukicevic
82356662ed
b=539771; Add support for context attribs to canvas; r=jmuizelaar
2010-09-01 15:04:48 -04:00
Matt Woodrow
a94003ecb4
Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+
2010-08-23 20:58:27 -07:00
Matt Woodrow
edf6f172c9
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
5655e68bc6
Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+
2010-08-23 20:57:22 -07:00
Matt Woodrow
2b98b97a13
Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+
2010-08-23 20:56:49 -07:00
Vladimir Vukicevic
4f67542ae9
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
e21f1eac11
Fix bustage from changeset 8c767b950381. a=bustage
2010-08-20 05:58:44 +02:00
Bas Schouten
83c43a8e49
Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc
2010-08-20 05:40:49 +02:00
Chris Jones
8ae1282ff9
Backed out changeset b3e968d831ec
2010-08-19 19:04:21 -05:00
Robert O'Callahan
a52080a429
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
3483972d3e
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
c264c90313
Bug 556487 - Subimage API. r=roc a=blocking2.0
2010-09-14 12:01:02 -07:00
Bas Schouten
3494368a52
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
383c1b860c
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
24dd7c5e33
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
517eca47f9
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
3d41f0a8fc
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
fb80a43923
Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad
2010-08-13 21:58:01 +12:00
Robert O'Callahan
4b9eca9e5f
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Robert O'Callahan
f5bee9d101
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
4263d7a74e
Bug 587936: Add SSE2 optimizations for alpha recovery. r=vlad a=crowder
2010-08-18 05:43:49 +02:00
Bas Schouten
045a888dd2
Bug 587856 - Part 2: Report D2D surface VRAM usage through memory reporter. r=jrmuizel
2010-08-18 05:43:49 +02:00
Bas Schouten
cc3f37176a
Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. r=jrmuizel
2010-08-18 05:43:49 +02:00
Bas Schouten
cf903af326
Enable D2D by default again.
2010-08-18 05:43:49 +02:00
Rob Arnold
02f784b117
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
7b474f6044
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
5163cc92f3
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
92ad7b8cde
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
6615abf145
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
a8d3495a21
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
c392ce715d
Disable D2D to fix browser_bug577990.js timeout
2010-08-16 09:35:40 -04:00
Bas Schouten
9e435b667a
Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel
2010-08-16 09:15:03 +02:00
Bas Schouten
85b159d384
Re-enable Direct2D by default. a=joedrew
2010-08-16 09:15:03 +02:00
Bas Schouten
5cefc20395
Fix line-endings in gfxWindowsPlatform.
2010-08-16 09:15:03 +02:00
Bas Schouten
a803fbebfe
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
a6fd033fb1
Bug 587395: Expose whether DWrite is enabled through nsIGfxInfo. r=joedrew
2010-08-16 09:15:03 +02:00
Bas Schouten
79323f4e24
Bug 587318: Only pad horizontal glyph metrics. r=jdaggett
2010-08-16 09:15:03 +02:00
Bas Schouten
c384d634b8
Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel
2010-08-16 09:15:02 +02:00
Bas Schouten
335acaff58
Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel
2010-08-16 09:15:02 +02:00
Bas Schouten
27c056adc7
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
e170114ee8
Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc
2010-08-15 11:01:49 +02:00
Vladimir Vukicevic
60a4f060de
b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas
2010-08-14 10:52:16 -07:00
Jacek Caban
859c886e67
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
f1ae6a4db1
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
e280fdd366
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
677666e8fa
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
0022b32300
Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel
2010-08-14 08:34:55 +02:00
Bas Schouten
afb4e6aa6b
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
ae7c0997d2
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
763b320420
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
078ec49213
Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe
2010-08-13 15:30:27 +02:00
Markus Stange
2b382c8b02
Bug 572680 - Create gfxDrawable interface and implementations for surfaces, patterns and drawing callbacks. r=joe
2010-08-13 15:30:14 +02:00