Commit Graph

1319 Commits

Author SHA1 Message Date
Oleg Romashin
c58271c6e7 Bug 601451 - Allow compile qt port with system cairo which does not have QT_SURFACE compiled. r=joe a=npodb
--HG--
extra : rebase_source : a6bc7d01efb4a9d91418a33d43bbaf07139b4a18
2010-10-05 09:15:57 +03:00
Oleg Romashin
78afeaaec0 Bug 598970 - GL/EGL qt rendering is broken completely after landing 596784. r=vladimir a=blocking-fennec 2010-10-04 14:21:32 +03:00
Benoit Jacob
8d44a37a58 b=600927; don't print gl extensions in non-debug builds; r=vlad a=b 2010-10-01 21:00:36 -07:00
Bas Schouten
67888ccd42 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten
786128e3d2 Bug 546514 - Part 2: Add #defines for D3D10 layers. r=vlad 2010-10-01 00:53:47 +02:00
Bas Schouten
2b22fa73c9 Bug 597950 - Part 2: Expose API to create a D2D surface from a D3D10 Texture. r=vlad 2010-10-01 00:53:42 +02:00
Joe Drew
1a4c17d1cb Back out temporary initialization of OpenGL because we're turning it on by default. 2010-09-29 22:34:08 -04:00
Jeff Muizelaar
4c2820c868 Bug 600763. Force initialization of OpenGL on OS X. r,a=joe
This is expected to regress Ts but the idea is to separate
out the costs that we have little control of (like this one)
from the costs that we have more control of.
2010-09-29 22:30:48 -04:00
Joe Drew
80e6919bfc Back out bug 596303 for causing Tp regressions with OpenGL. a=backout 2010-09-29 14:36:20 -04:00
Benoit Jacob
868cedad20 Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7 2010-09-27 16:20:11 -04:00
Benoit Jacob
500e111cce Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7 2010-09-27 16:20:07 -04:00
Chris Jones
8e028241fc Bug 595215: Check for a null FontEntry here. r=karlt a=blocking-oprah 2010-09-24 20:15:02 -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
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
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
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
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
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
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
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
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
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
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -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
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
Vladimir Vukicevic
61fb3a126f b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04: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
7414352ff2 b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel 2010-09-07 12:26:43 -04: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
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07: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
abb6802ff0 Bug 422179 - Implement bilinear filtering of upscaled images for Linux; r=jmuizelaar a=blocking-final+ 2010-09-09 16:27:10 -04: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
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
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
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
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
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