Chris Jones
ba07a24719
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
8bf2f65db7
Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec
2010-09-23 16:06:27 -07:00
Benoit Jacob
8d4a2d48dd
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
9ffb36bc73
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
770a81fa76
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
82a36cf46a
Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b
2010-09-21 15:41:24 -04:00
Bas Schouten
e3ee5915bd
Bug 598686: Properly count VRAM for interop surfaces. r=jdrew a=blocking-beta7
2010-09-22 20:00:08 +02:00
John Daggett
b8ad85013f
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
e9e6c123e5
Bug 598265: Initialize BasicImageLayer::mSize. r=roc a=blocking-fennec
2010-09-21 01:57:25 -05:00
Matt Woodrow
ea68b8ef10
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
c4ad05fce7
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
c2a24b4eeb
Bug 567750 - Build option to use the system Pixman. r=khuey. a=dougt
2010-09-20 21:16:37 -07:00
Joseph Yasi
33ff1321e0
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
372a684263
Backed out changeset f8854fb6b63f - Wrong patch attached to the bug.
2010-09-21 00:57:19 +02:00
Joseph Yasi
b93f9b9004
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
09cd99ac19
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
30cba65f3c
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
2cfb719a2a
Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver
2010-09-18 11:59:06 -04:00
Mats Palmgren
34b76f12ed
Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN
2010-09-18 13:28:50 +02:00
Oleg Romashin
0332671ba9
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
4d10273aee
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
d03c15e824
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
d5d1794564
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
b10bbc722f
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
edffdd77c1
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
2b6d13adaa
Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5
2010-09-17 12:29:52 -07:00
Bas Schouten
8385c77c3e
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
a0276bc2ac
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
e23595f3c1
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
edaafea0fe
Fix mismerge. a=bustage
2010-09-17 11:17:32 -07:00
Matt Woodrow
81dfaaffd7
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
c4ea3060d4
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
a37e73a500
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
39afae6c37
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
ee1bbcd8a8
Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r=vladimir
2010-09-16 12:45:08 -04:00
Jonathan Kew
86125b1d23
bug 593296 - correctly release kern table in HB shaper. r=jdaggett a=blocking2.0
2010-09-16 17:41:41 +01:00
Jonathan Kew
e1a38465ec
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
2d8c812a3a
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
2d3753c877
Merge m-c --> cedar
2010-09-15 18:28:06 -05:00
Bas Schouten
219f069673
Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel
2010-09-15 22:16:09 +00:00
Bas Schouten
582d2c590d
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
8915449d83
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
3b157b7a00
Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel
2010-09-15 22:15:59 +00:00
Bas Schouten
ade2ddb365
Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel
2010-09-15 22:15:56 +00:00
Bas Schouten
90d4b99c8d
Bug 596419: Fix up layer destruction scheme. r=jrmuizel
2010-09-15 22:15:49 +00:00
Chris Jones
06ec6c6ee8
Merge m-c --> cedar
2010-09-15 16:44:30 -05:00
Chris Jones
166112f466
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
2b12976c51
Merge m-c --> cedar
2010-09-14 14:28:39 -05:00
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