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
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
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
ef2339dd29
Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad
2010-09-02 21:18:41 +12: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
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
Vladimir Vukicevic
70490d6dea
b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5
2010-08-30 17:45:29 -04: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
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
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
Atul Apte
4a9f8dee1f
Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas
2010-08-26 20:44:53 +00: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
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
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
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
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
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
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
Robert O'Callahan
2ee9178a2e
Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad
2010-08-13 21:58:01 +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
e43ef91c98
Enable D2D by default again.
2010-08-18 05:43:49 +02: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
Jeff Muizelaar
0ae39c92cf
Disable D2D to fix browser_bug577990.js timeout
2010-08-16 09:35:40 -04: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
Julian Seward
7a97356e18
Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc
2010-08-15 11:01:49 +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
bd638f486d
Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel
2010-08-14 08:34:55 +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
Jonathan Kew
24d6cefcd4
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
Jonathan Kew
ab84e170d2
bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc
2010-08-11 17:52:23 +01:00
Jonathan Kew
c8f4d990c1
bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett
2010-08-11 17:52:21 +01:00
Jonathan Kew
0edcbde657
merge backout of 153bd6dc88be (bug 553963 pt 3) a=backout
2010-08-11 19:09:17 +01:00
Jonathan Kew
b2e93e816f
Backed out changeset 153bd6dc88be
2010-08-11 19:06:46 +01:00
Jonathan Kew
266fa0f9f5
merge backout of 444328d96da2 (bug 553963 pt 2)
2010-08-11 19:06:07 +01:00
Jonathan Kew
22451edaa4
Backed out changeset 444328d96da2
2010-08-11 19:04:16 +01:00
Jonathan Kew
4d5859d463
merge backout of changeset fc3b32b2f050 (bug 553963 pt 1)
2010-08-11 18:49:36 +01:00
Jonathan Kew
e0c144a2cf
Backed out changeset fc3b32b2f050
2010-08-11 18:47:48 +01:00