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
Jonathan Kew
0ba687d883
bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc
2010-08-11 17:52:23 +01:00
Jonathan Kew
adeef3303a
bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett
2010-08-11 17:52:21 +01:00
Jeff Muizelaar
8f9365bc6e
Bug 586348 - [d2d] Device creation has shadow variables that cause problems, r=Bas,joe a=blocking2.0
2010-08-11 18:29:14 -07:00
Jonathan Kew
6cb5bfaa2f
merge backout of 153bd6dc88be (bug 553963 pt 3) a=backout
2010-08-11 19:09:17 +01:00
Jonathan Kew
d93d77926a
Backed out changeset 153bd6dc88be
2010-08-11 19:06:46 +01:00
Jonathan Kew
fc3d38b736
merge backout of 444328d96da2 (bug 553963 pt 2)
2010-08-11 19:06:07 +01:00
Jonathan Kew
3df506e391
Backed out changeset 444328d96da2
2010-08-11 19:04:16 +01:00
Jonathan Kew
0aff42a6bf
merge backout of changeset fc3b32b2f050 (bug 553963 pt 1)
2010-08-11 18:49:36 +01:00
Jonathan Kew
a709e19cc8
Backed out changeset fc3b32b2f050
2010-08-11 18:47:48 +01:00
Jonathan Kew
1270fcec82
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
e15470b88a
bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc
2010-08-11 17:52:23 +01:00
Jonathan Kew
984c9dfea0
bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett
2010-08-11 17:52:21 +01:00
Justin Wood
0b585cc0a7
bug 586187 - Build failure in LayerManagerD3D9 due to --disable-ipc not also defining Unicode, r=khuey a=bustage
2010-08-11 18:05:14 +02:00
Bas Schouten
3ef26ae8e5
Bug 584539: Part 3 - Use D2D interop when using the D3D9 layer manager. r=vlad a=dougt
2010-08-11 02:36:05 +02:00
Bas Schouten
7167044f1f
Bug 584539: Part 2 - Expose D2D surface creation from handle. r=jrmuizel
2010-08-11 02:36:03 +02:00
Bas Schouten
dcd0ee87d8
Bug 584539: Part 1 - Allow creating a D2D surface from a DirectX SharedHandle. r=jrmuizel
2010-08-11 02:36:01 +02:00
Bas Schouten
d39a572aa8
Bug 580765: Support different compositing operations with D2D. Add cairo_d2d_device_t to make handling this easier. r=jrmuizel
2010-08-11 01:59:51 +02:00
Bas Schouten
9c925ac105
Bug 580765: Allow const dereferencing for our cairo ref ptr. r=jrmuizel
2010-08-11 01:57:11 +02:00
Bas Schouten
6d53e198b0
Bug 580109: Optimize operations that can be executed as a GPU memcpy. r=jrmuizel a=dougt
2010-08-11 01:39:49 +02:00
Bas Schouten
93ae62051a
Bug 584754: Use the D3D9Ex device where available. r=vlad
2010-08-11 01:39:45 +02:00
Bas Schouten
9ea6e6543e
Bug 585248: Use a single device for all LayerManagerD3D9's. r=vlad
2010-08-11 01:32:45 +02:00
Bas Schouten
4138c802e8
Bug 578384: Clear to to transparent black instead of solid white. r=jrmuizel
2010-08-11 01:32:43 +02:00
Jim Mathies
bd1872ca14
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
85ca93692a
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Matthew Gregan
d08de7d497
Bug 577645 - Y'CbCr assembly uses movntq which is SSE, not MMX. Change runtime CPU detection to match. r=tterribe
2010-08-02 15:32:14 +12:00
Karl Tomlinson
393fe355c9
b=579676 detect overflow when black and white images differ r=roc
2010-08-09 14:22:56 +12:00
Karl Tomlinson
ec38185fe5
b=579676 use the same alpha recovery code for gfxWindowsNativeDrawing and gfxXlibNativeRenderer r=roc
2010-08-09 14:19:17 +12:00
Rich Walsh
0119f14372
Bug 580142 - [OS/2] Build break in gfxOS2Fonts r=mozilla@Weilbacher.org a=NPOTB
2010-08-07 17:35:33 +02:00
Mark Banner
1d305fb40d
Mark GLContext::MarkDestroyed as THEBES_API to resolve link bustage in shared builds. r=Bustage fix.
2010-08-07 08:49:01 +01:00
Vladimir Vukicevic
d0c8473b6b
b=583838; add ANGLE/D3D WebGL support - part 4 - allow CanvasLayerOGL to work with different-type GL contexts; r=bas
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
12fd2fe362
b=583838; add ANGLE/D3D WebGL support - part 3 - add support for finding ANGLE libs in an addon; r=sdwilsh
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
ee64634b3d
b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
99c28af205
b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
b524227b49
b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
df9d6bc2dd
b=574481; fix layers lifetime isues; part 3 - add lifetime mgmt to GL layers; r=bas
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
781c3188c7
b=574481; fix layers lifetime issues; part 2 - add some utils to GLContext; r=bas
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
956826cf56
b=574481; fix layers lifetime issues; part 1 - add API; r=roc
2010-08-06 22:09:17 -07:00
Jonathan Kew
5529857400
bug 580863 - don't use CGFontGetUnitsPerEm with OpenType fonts, may result in incorrect glyph metrics for harfbuzz. r=jdaggett a=blocking2.0
2010-08-05 10:18:44 +01:00
Jonathan Kew
97bbe78e82
bug 581087 - get true maxAdvance and aveCharWidth in DWrite font metrics. r=bas a=blocking2.0
2010-08-05 10:18:42 +01:00
Robert O'Callahan
b77ef45783
Bug 522859. Handle unbounded cairo operators properly in the Quartz backend. r=jrmuizel,a=joe
2010-08-13 22:02:47 +12:00
Robert O'Callahan
82d45b530d
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
339b3340da
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
fd75e64333
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
77123ae3fa
Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad
2010-08-13 21:58:01 +12:00
Robert O'Callahan
8084cbbe6d
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Robert O'Callahan
9114a20c25
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
Jeff Muizelaar
73cbe59a21
Bug 584400. cairo: Fix dash arrays with D2D
...
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Karl Tomlinson
4be01c9897
b=583115 use XCopyArea for operator SOURCE with compatible COLOR_ALPHA surfaces to support simple overlapping self-copies r=jrmuizel
...
--HG--
extra : rebase_source : 201d9032b9dca80f71e154c68f0724e6826162eb
2010-08-03 13:26:27 +12:00
Jeff Muizelaar
47eafd52d1
Bug 518172. cairo: Disable the previous_scaled_font cache. r=karlt
...
Rotated text was sometimes broken because there was a mismatch of
assumptions between cairo and Gecko about how important it was
for the ctm of a scaled_font to match the ctm of a context. This
temporarily fixes the problem by disabling the previous_scaled_font
cache with bug #583035 tracking a more permanent fix.
2010-08-02 10:00:21 -04:00
Robert O'Callahan
1524120859
Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel
2010-08-02 15:06:58 +12:00
Kyle Huey
ef8a1429c9
Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
...
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Vladimir Vukicevic
42d7238528
b=583375; update ANGLE to r367, forgot to regenerate parser; r=vlad
2010-07-31 12:04:26 -07:00
Robert Sayre
42050ce07c
(b=583450, 583375) Fix ShaderLang.h bustage. Commas at the end of enum lists.
2010-07-31 00:01:14 -07:00
L. David Baron
b0ac8dc333
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Karl Tomlinson
dfb597740c
b=579736 use cairo_surface_create_similar in CreateSimilarSurface to create surfaces that support simple overlapping self-copies r=jrmuizel
...
--HG--
extra : rebase_source : c789d681825d8a4b22d7b3161ec476a5f85d73b2
2010-07-30 15:16:17 +12:00
Vladimir Vukicevic
3daa19f799
b=583375; update ANGLE to r367; r=vlad
2010-07-30 15:22:11 -07:00
Ginn Chen
3ed86f3dc2
Bug 579856 Failed to build angle code with Sun Studio 12 r=vlad a=joedrew
2010-07-30 18:54:04 +08:00
Ginn Chen
ba9a804f7b
Bug 582189 Fix harfbuzz build issue with Sun Studio r=jfkthame a=joedrew
2010-07-30 18:52:55 +08:00
Bas Schouten
c763b37157
Bug 583033: We should allow the function to continue for OPERATOR_CLEAR. r=jrmuizel a=blocking-betaN
2010-07-29 21:26:32 +02:00
Chris Jones
9bff50e1eb
Followup to bug 573829: Clean up a chunk of .rej vomit that just so happened to be syntactically correct and not change semantics. r=vlad
2010-07-29 14:15:13 -05:00
Bas Schouten
d9fafdc2c7
Bug 581089: Make linear gradients work properly for zero length and different extend modes. r=jrmuizel a=blocking-betaN
2010-07-29 18:18:36 +02:00
Vladimir Vukicevic
269f9938b8
b=582469; use high precision depth buffer if available (esp with FBOs); r=bjacob
2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
78b092c544
b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe
2010-07-28 14:24:09 -07:00
Bas Schouten
c6425a3e67
Bug 581089: Part 1: Fix radial gradient pattern handling when not using EXTEND_PAD. r=jrmuizel a=blocking-betaN
2010-07-28 18:53:20 +02:00
Bas Schouten
79b907273a
Bug 581083: Use Direct2D geometry to inverse transform which will preserve the required precision. r=jrmuizel a=blocking-betaN
2010-07-28 18:53:17 +02:00
Jonathan Kew
abbcb755ac
bug 575695 - [harfbuzz] fall back to truetype kern table if no kern feature in GPOS. r=jdaggett
2010-07-28 14:36:10 +01:00
Jonathan Kew
e4889a2a0d
bug 575695 - support TrueType kerning in the harfbuzz font shaper backend. r=jdaggett
2010-07-28 14:36:07 +01:00
John Daggett
5fcee06d7a
Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe
2010-07-28 14:30:21 +09:00
John Daggett
86703f88ee
Bug 577065. Force bitmap fonts to use Uniscribe shaper. r=jkew
2010-07-28 13:52:21 +09:00
John Daggett
a5f302236d
Bug 577065. Cleanup MapCharToGlyph parameter types. r=jkew
2010-07-28 13:00:38 +09:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
16a0fba570
Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg
2010-07-27 16:57:47 +02:00
Timothy Nikkel
94e794fd91
Back out changeset ba9be0418b15 (bug 579963) because it didn't work.
2010-07-25 18:10:08 -05:00
Timothy Nikkel
abc4f41212
Bug 579963. Don't inline nsPoint::ConvertAppUnits because it causes PGO builds on windows to be slower in some cases. r=bzbarsky
2010-07-25 13:08:16 -05:00
Benoit Girard
d402634fa9
Bug 580862 - Init gGlobalContext in GLContextProviderCGL. r=vlad
2010-07-24 20:10:58 -04:00
Benoit Girard
b7fb412e8b
Bug 575142 - qcms_transform_create should use transform_free. r=jmuizellar
2010-07-24 20:10:15 -04:00
Robert O'Callahan
120f46d5e2
Bug 579262. Inherit FLAG_DESTINED_FOR_SCREEN into BasicLayer rendering. r=vlad
2010-07-24 21:37:17 +12:00
Robert O'Callahan
bc67da304a
Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange
2010-07-24 21:35:29 +12:00
Chris Jones
90269c6e6d
Followup to bug 570294: Avoid vector::data(), it's not C++98.
...
--HG--
extra : rebase_source : 66a38bee840b21251dd4cbfca370cf9294745ee3
2010-07-21 18:13:24 -05:00
Chris Jones
d153e8e243
Bug 570294, part j: Publish BasicThebesLayer pixels to remote processes (slowly). r=roc
...
--HG--
extra : rebase_source : bac63c2b868fd002f9b27c6836aaed3f95c5316d
2010-07-21 16:17:33 -05:00
Chris Jones
3ee53108c2
Bug 570294, part i: Publish BasicImageLayer pixels to remote processes (slowly). r=Bas
...
--HG--
extra : rebase_source : 6a5749fd41cc8181531b7ad89867be8736dbe63b
2010-07-21 16:17:33 -05:00
Chris Jones
4cc19406c4
Bug 570294, part h: Publish BasicCanvasLayer pixels to remote processes (slowly). sr=vlad
...
--HG--
extra : rebase_source : c113259f24d6f1c43583c729b7e996be01ed35bc
2010-07-21 16:17:33 -05:00
Chris Jones
d72e903707
Bug 570294, part g: Implement basic ShadowLayers and share basic layers with remote processes. r=Bas sr=vlad
...
--HG--
extra : rebase_source : aca1e9e2ebb49f000bbe5116c04145f8aff8ac03
2010-07-21 16:17:33 -05:00
Chris Jones
2989ab88fa
Bug 570294, part f: Implement the "manager" side of IPC layers. r=vlad
...
--HG--
extra : rebase_source : 8c99ac9f20dd92ab8d1f8379d166339366be4c60
2010-07-21 16:17:33 -05:00
Chris Jones
8e4be915c6
Bug 570294, part e: Implement the "forwarder" side of IPC layers. r=jrmuizel
...
--HG--
extra : rebase_source : 43c9bd051ec500d08ebd7bce6767c1be36abcd26
2010-07-21 16:17:33 -05:00
Chris Jones
5ad1372c5c
Bug 570294, part d: IPC protocol for Layers. r=jrmuizel sr=vlad
...
--HG--
extra : rebase_source : dba7175f08f4fe6df93f2a66622dc3780a1890ed
2010-07-21 16:17:33 -05:00
Chris Jones
cdb78a8151
Bug 570294, part c: C++ part of Layers IPC interface. r=Bas sr=vlad
...
--HG--
extra : rebase_source : 12246bd29d0469630c406dea4b137e792002de57
2010-07-21 16:17:33 -05:00
Chris Jones
aab660510e
Bug 570294, part b: Add a Mutated() API allowing Layers to notify their managers that their Layer attributes have changed. r=Bas sr=roc
...
--HG--
extra : rebase_source : e3b7714bb3083bcf30b08920ebce1a656d48798a
2010-07-21 16:17:33 -05:00
Karl Tomlinson
95f8a49e3a
b=576143 copy and draw over background to avoid alpha extraction when possible r=roc
...
--HG--
extra : rebase_source : 810293a95d07bc0f0a981466a596ccd0db8d389b
2010-07-23 10:39:22 +12:00
Karl Tomlinson
d0d2c042bc
add a function to look for a Visual matching an image format b=576143 r=jrmuizel
...
--HG--
extra : rebase_source : bc38c8223dc91c2ec6a05a35e6ba43863c77dd7b
2010-07-23 10:28:56 +12:00
Karl Tomlinson
7c86e32ec8
b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
...
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Karl Tomlinson
44ee4169cd
b=562574 fixes for cairo_copy_clip_rectangle_list and empty cairo_clip_extents r=jrmuizel
...
--HG--
extra : rebase_source : 7559cb07311c0328d62a625c631a6ab822934b0d
2010-07-23 10:22:51 +12:00
Chris Jones
da2a929d29
Bug 573829, part 4: Use GL_REPEAT and appropriate texcoords to render ThebesLayerOGL's pixels rotated correctly. r=vlad
2010-07-22 15:29:37 -05:00
Chris Jones
5ce4b9fe07
Bug 573829, part 3: Use ThebesLayerBuffer to retain contents for ASurface-backed TextureImages. r=vlad
2010-07-22 15:29:37 -05:00
Chris Jones
71d4fcd2ec
Bug 573829, part 2: Add TextureImage API for getting backing ASurface (if exists) and determining whether it's in an update. sr=vlad
2010-07-22 15:29:37 -05:00
Jonathan Kew
130127369e
Mark crashing test to be skipped on Linux for now, see bug 580962. a=test-only bustage
2010-07-22 11:14:53 +01:00
Jonathan Kew
7bad4b8e4d
bug 580233 - hb sanitizer fix. r=jdaggett
2010-07-22 10:25:24 +01:00
Jonathan Kew
fa0ceecdf2
bug 580212 - loca table validation. r=jdaggett
2010-07-22 10:25:23 +01:00
Jonathan Kew
b4588f42d5
bug 580100 - sanity-checking of hhea/hmtx tables. r=jdaggett
2010-07-22 10:25:23 +01:00
Jonathan Kew
c37829eb10
bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett
2010-07-22 10:25:21 +01:00
Oleg Romashin
f73a2d2030
Bug 580317 - Qt desktop build not compilable on non-EGL environment. r=vladimir approval2.0=pavlov
2010-07-22 08:07:38 +03:00
Jeff Muizelaar
9fc42c3101
Bug 578124. D2D: Don't create an A8 surface with GDI compatible flags. r=bas
...
CreateTexture2D doesn't support creating FORMAT_A8 textures with GDI_COMPATIBLE
so we avoid doing so.
2010-07-21 16:37:24 -04:00
Chris Jones
40a231016e
Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
...
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Chris Jones
ad15c41672
Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc
2010-07-21 13:06:33 -05:00
Chris Jones
509381a2b4
Bug 567421, part 1: Rename NS_* macros to MOZ_* and add LayerManager::Name() interface. r=roc
2010-07-21 13:06:33 -05:00
Brad Lassey
3495a1c15f
bug 571767 - @font-face is not working on Android r=jdagget b=fennec2.0
2010-07-16 02:03:45 -04:00
Vladimir Vukicevic
32f7f1aef8
b=580101; fix GLX GL context provider (nvidia/intel fix); r=cjones
2010-07-19 22:25:47 -07:00
Matt Woodrow
8baacd5f75
b=580101; fix GLX GL context provider; r=vlad
2010-07-19 21:05:42 -07:00
Neil Rashbrook
5b25bd71ff
Bug 579931 - libgklayout.so link failure because of undefined GLContext methods; r=vladimir
2010-07-19 18:19:15 -04:00
Vladimir Vukicevic
4c1166372f
b=579696; BasicTextureImage doesn't handle partial updates properly; r=cjones
2010-07-19 14:54:17 -07:00
Bas Schouten
fe90876f5f
Whitespace fix from changeset 2f270a9da778.
2010-07-19 18:53:47 +02:00
Bas Schouten
34290715c4
Bug 579215: Direct2D does not know how to deal with self-copy. Fallback. r=jrmuizel
2010-07-19 18:48:02 +02:00
John Daggett
105b3fb57c
Bug 579838. Remove unnecessary assertion. r=jkew
2010-07-19 17:10:35 +09:00
Vladimir Vukicevic
f684b56490
b=573720; some small fixes to make OSMesa work; r=bjacob
2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
27b296ce6e
b=575469; use CreateOffscreen in layers; r=bas
2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e71cc8f81f
b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas
2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
061fa66851
b=575032; make GL Context providers static, allow for multiple providers; r=bas
2010-07-18 22:01:14 -07:00
Timothy Nikkel
70d241a01e
Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc
2010-07-18 21:23:47 -05:00
Jacek Caban
1a2d4451d7
Bug 579493 - ANGLE fails to compile on mingw r=vladimir
...
--HG--
extra : rebase_source : 52992f80a118d5fe124a285ead0a1e4fb53f7df6
2010-07-17 15:49:04 +02:00
Ryan VanderMeulen
bf4b81178a
Bug 577344 - Define extra virtual function unconditionally. r=roc
2010-07-17 18:26:02 +02:00
Neil Rashbrook
b962667cc2
Windows static builds failing due to ANGLE changes, r=vlad
2010-07-17 14:22:26 +02:00
Oleg Romashin
571ff20b60
Bug 550673 - Fix glyphs rendering for cairo-qpainter-surface. r=jmuizelaar
...
--HG--
extra : rebase_source : efbaa01f0716eafb3cf53a2e21eed49c9e88e54a
2010-07-17 09:52:35 +03:00
John Daggett
831a6b0e5e
Bug 578022. Cleanup font deactivation code on Windows. r=jkew
2010-07-17 10:32:18 +09:00
Vladimir Vukicevic
aaa4680df3
b=579336; crash in GLX CreatePBuffer due to missing termination; r=valgrind
2010-07-16 11:58:07 -07:00
Vladimir Vukicevic
832bc06216
Fix ANGLE on gcc shared non-libxul builds, r=irc, and I know it's a CLOSED TREE
2010-07-15 14:38:22 -07:00
Robert O'Callahan
f7ac43fd89
Bug 564991. Part 41: When we clear our buffer, we need to redraw the entire visible region. r=cjones
2010-07-16 09:08:11 +12:00
Robert O'Callahan
6da468e0e8
Bug 564991. Part 40: ThebesLayers painted with variable opacity can still be OPAQUE_CONTENT themselves. r=bas
2010-07-16 09:08:11 +12:00
Robert O'Callahan
306a6d44c0
Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones
2010-07-16 09:08:10 +12:00
Robert O'Callahan
4b75d1b16c
Bug 564991. Part 32: Fix assertion in BasicThebesLayer; it's entirely possible that we need to invalidate an area, but the actual visible region is empty so there's no context to draw to. r=cjones
2010-07-16 09:08:10 +12:00
Robert O'Callahan
6749973427
Bug 577631. Don't pass zero sizes to XCreatePixmap. r=jrmuizel
2010-07-16 09:08:09 +12:00
Robert O'Callahan
61b008df80
Bug 564991. Part 30: Skip clearing our ThebesLayerBuffer surface if we just created it. r=cjones
2010-07-16 09:08:09 +12:00
Karl Tomlinson
d3d8b866f4
b=573626 support force-24bpp in gfxXlibSurface::CreateSimilar r=vlad
2010-07-16 09:08:09 +12:00
Karl Tomlinson
f7284fe424
b=573409 expire unused cached double-buffering back surfaces r=vlad sr=roc
2010-07-16 09:08:09 +12:00
Robert O'Callahan
1656c232c6
Bug 573942. Adjust transform matrix in RenderDocument to ensure that components close to integers become actual integers. r=jrmuizel,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
1b38f406bd
Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron
2010-07-16 09:08:05 +12:00
Matt Woodrow
2eeaed4ebb
Bug 564991. Part 21: Avoid double-buffering if we're only going to paint one layer. r=vlad
2010-07-16 09:08:05 +12:00
Matt Woodrow
5e872d086e
Bug 564991. Part 20: Performance win by avoiding PushGroup for single-layer opacity. r=vlad
2010-07-16 09:08:04 +12:00
Robert O'Callahan
b3a05d5100
Bug 564991. Part 19: Cache the backbuffer surface for performance wins. r=vlad
2010-07-16 09:08:04 +12:00
Matt Woodrow
64934786f8
Bug 564991. Part 18: Move double-buffering into the layer manager. r=jrmuizel,sr=vlad
2010-07-16 09:08:04 +12:00
Robert O'Callahan
f63eab3242
Bug 564991. Part 15: Start retaining the contents of BasicLayers. r=mats
2010-07-16 09:08:03 +12:00
Robert O'Callahan
6824d17ea0
Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats
2010-07-16 09:07:51 +12:00
Bas Schouten
8375ae3268
Bug 577200. Part 2: When painting a Win32 transparent widget with GDI (Aero Glass), tell gfxWindowsSurface our HDC surface is transparent. r=roc
2010-07-16 09:07:44 +12:00
Bas Schouten
7b063ed632
Bug 577200. Part 1: Add cairo API to set up a Win32 surface for an HDC with an alpha channel. r=jrmuizel
2010-07-16 09:07:44 +12:00
Robert O'Callahan
0587a61cc8
Bug 573953. Ensure that zoom factors are chosen in reftests so appunits-per-dev-pixel is an integer. r=dbaron
2010-07-16 09:04:16 +12:00
Vladimir Vukicevic
19360f2603
b=578938; ANGLE compilation broken for non-libxul shared builds; r=khuey
2010-07-15 12:49:09 -07:00
Vladimir Vukicevic
7b749dffcd
b=571172; disable ANGLE compilation on Linux-x86_64, until build slaves are fixed
2010-07-14 20:52:37 -07:00
Vladimir Vukicevic
59836b1055
b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe
2010-07-14 20:52:34 -07:00
Vladimir Vukicevic
9a8e1bf68a
b=571172; import and use ANGLE GLSL ES shader validator (ANGLE source)
2010-07-14 20:52:32 -07:00
Jonathan Kew
3d4004fe64
bug 511339 - bustage fix for android build
2010-07-13 23:58:21 +01:00
Bas Schouten
bc942e367e
Bug 577462: Addition - add comment requested in review.
2010-07-14 00:23:32 +02:00
Bas Schouten
7e49fc5fa1
Bug 577462: Use GetDC where possible for ThebesLayerD3D9 textures. r=jrmuizel
2010-07-14 00:19:45 +02:00
Bas Schouten
a2b4191bd4
Bug 578500: Clear mTarget at the end of a transaction. r=roc
2010-07-14 00:19:43 +02:00
Bas Schouten
d53399f950
Bug 577770: LayerManagerD3D9 should be using GetClientBounds not GetBounds. r=roc
2010-07-14 00:19:41 +02:00
Zack Weinberg
eb465237e2
Bug 571989 part 5: move gfx/src/thebes/utils/* to gfx/thebes. r=joedrew
...
--HG--
rename : gfx/src/thebes/utils/gfxBlur.cpp => gfx/thebes/gfxBlur.cpp
rename : gfx/src/thebes/utils/gfxBlur.h => gfx/thebes/gfxBlur.h
rename : gfx/src/thebes/utils/gfxThebesUtils.cpp => gfx/thebes/gfxThebesUtils.cpp
rename : gfx/src/thebes/utils/gfxThebesUtils.h => gfx/thebes/gfxThebesUtils.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.h => gfx/thebes/nsCoreAnimationSupport.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.mm => gfx/thebes/nsCoreAnimationSupport.mm
2010-07-13 14:54:21 -07:00
Zack Weinberg
a995bc95dd
Bug 571989 part 4: Reorganize all the tests directories below gfx/. r=joedrew
...
--HG--
rename : gfx/thebes/crashtests/122875-1.html => gfx/tests/crashtests/122875-1.html
rename : gfx/thebes/crashtests/156882-1.html => gfx/tests/crashtests/156882-1.html
rename : gfx/thebes/crashtests/157320-1.html => gfx/tests/crashtests/157320-1.html
rename : gfx/thebes/crashtests/199379-1.html => gfx/tests/crashtests/199379-1.html
rename : gfx/thebes/crashtests/206561-1.html => gfx/tests/crashtests/206561-1.html
rename : gfx/thebes/crashtests/248518-1.html => gfx/tests/crashtests/248518-1.html
rename : gfx/thebes/crashtests/306649-1.xml => gfx/tests/crashtests/306649-1.xml
rename : gfx/src/thebes/crashtests/306902-1.xml => gfx/tests/crashtests/306902-1.xml
rename : gfx/thebes/crashtests/333861-1.html => gfx/tests/crashtests/333861-1.html
rename : gfx/thebes/crashtests/334735-1.html => gfx/tests/crashtests/334735-1.html
rename : gfx/thebes/crashtests/345576-1.html => gfx/tests/crashtests/345576-1.html
rename : gfx/thebes/crashtests/345629-1.html => gfx/tests/crashtests/345629-1.html
rename : gfx/thebes/crashtests/348462-1.html => gfx/tests/crashtests/348462-1.html
rename : gfx/thebes/crashtests/348462-2.html => gfx/tests/crashtests/348462-2.html
rename : gfx/thebes/crashtests/369688-1.html => gfx/tests/crashtests/369688-1.html
rename : gfx/thebes/crashtests/369947-1.html => gfx/tests/crashtests/369947-1.html
rename : gfx/thebes/crashtests/372094-1.xhtml => gfx/tests/crashtests/372094-1.xhtml
rename : gfx/thebes/crashtests/376627-1.html => gfx/tests/crashtests/376627-1.html
rename : gfx/thebes/crashtests/377231-1.html => gfx/tests/crashtests/377231-1.html
rename : gfx/thebes/crashtests/377232-1.xhtml => gfx/tests/crashtests/377232-1.xhtml
rename : gfx/thebes/crashtests/377461-1.xhtml => gfx/tests/crashtests/377461-1.xhtml
rename : gfx/thebes/crashtests/383473-1.html => gfx/tests/crashtests/383473-1.html
rename : gfx/src/thebes/crashtests/383872-1.svg => gfx/tests/crashtests/383872-1.svg
rename : gfx/thebes/crashtests/385228-1.svg => gfx/tests/crashtests/385228-1.svg
rename : gfx/thebes/crashtests/385228-2.svg => gfx/tests/crashtests/385228-2.svg
rename : gfx/thebes/crashtests/385289-1.xhtml => gfx/tests/crashtests/385289-1.xhtml
rename : gfx/thebes/crashtests/385417-1.html => gfx/tests/crashtests/385417-1.html
rename : gfx/thebes/crashtests/385417-2.html => gfx/tests/crashtests/385417-2.html
rename : gfx/thebes/crashtests/385423-1.html => gfx/tests/crashtests/385423-1.html
rename : gfx/thebes/crashtests/385423-2.html => gfx/tests/crashtests/385423-2.html
rename : gfx/thebes/crashtests/385719-1.html => gfx/tests/crashtests/385719-1.html
rename : gfx/thebes/crashtests/389326-1-inner.xhtml => gfx/tests/crashtests/389326-1-inner.xhtml
rename : gfx/thebes/crashtests/389326-1.html => gfx/tests/crashtests/389326-1.html
rename : gfx/thebes/crashtests/393746-1.xhtml => gfx/tests/crashtests/393746-1.xhtml
rename : gfx/thebes/crashtests/393749-1.html => gfx/tests/crashtests/393749-1.html
rename : gfx/thebes/crashtests/393822-1.html => gfx/tests/crashtests/393822-1.html
rename : gfx/thebes/crashtests/394246-1.html => gfx/tests/crashtests/394246-1.html
rename : gfx/thebes/crashtests/394246-2.html => gfx/tests/crashtests/394246-2.html
rename : gfx/thebes/crashtests/394384-1.html => gfx/tests/crashtests/394384-1.html
rename : gfx/thebes/crashtests/395335-1.xhtml => gfx/tests/crashtests/395335-1.xhtml
rename : gfx/thebes/crashtests/395458-1.html => gfx/tests/crashtests/395458-1.html
rename : gfx/thebes/crashtests/396321-1.svg => gfx/tests/crashtests/396321-1.svg
rename : gfx/thebes/crashtests/398042-1.xhtml => gfx/tests/crashtests/398042-1.xhtml
rename : gfx/thebes/crashtests/398042-2.xhtml => gfx/tests/crashtests/398042-2.xhtml
rename : gfx/thebes/crashtests/402307-1.html => gfx/tests/crashtests/402307-1.html
rename : gfx/thebes/crashtests/403464-1.html => gfx/tests/crashtests/403464-1.html
rename : gfx/thebes/crashtests/404112-1.html => gfx/tests/crashtests/404112-1.html
rename : gfx/thebes/crashtests/404112-2.html => gfx/tests/crashtests/404112-2.html
rename : gfx/thebes/crashtests/405268-1.xhtml => gfx/tests/crashtests/405268-1.xhtml
rename : gfx/thebes/crashtests/407761-1.html => gfx/tests/crashtests/407761-1.html
rename : gfx/thebes/crashtests/407842.html => gfx/tests/crashtests/407842.html
rename : gfx/thebes/crashtests/408754-1.html => gfx/tests/crashtests/408754-1.html
rename : gfx/thebes/crashtests/410728-1.xml => gfx/tests/crashtests/410728-1.xml
rename : gfx/thebes/crashtests/416637-1.html => gfx/tests/crashtests/416637-1.html
rename : gfx/thebes/crashtests/419095-1.html => gfx/tests/crashtests/419095-1.html
rename : gfx/thebes/crashtests/419255-1.html => gfx/tests/crashtests/419255-1.html
rename : gfx/thebes/crashtests/420945-1.html => gfx/tests/crashtests/420945-1.html
rename : gfx/thebes/crashtests/420962-1.html => gfx/tests/crashtests/420962-1.html
rename : gfx/thebes/crashtests/421393-1.html => gfx/tests/crashtests/421393-1.html
rename : gfx/thebes/crashtests/421813-1.html => gfx/tests/crashtests/421813-1.html
rename : gfx/src/thebes/crashtests/423110-1.xhtml => gfx/tests/crashtests/423110-1.xhtml
rename : gfx/thebes/crashtests/423270-1.html => gfx/tests/crashtests/423270-1.html
rename : gfx/thebes/crashtests/429899-1.html => gfx/tests/crashtests/429899-1.html
rename : gfx/thebes/crashtests/441360.html => gfx/tests/crashtests/441360.html
rename : gfx/thebes/crashtests/441360_data.gif => gfx/tests/crashtests/441360_data.gif
rename : gfx/src/thebes/crashtests/445711.html => gfx/tests/crashtests/445711.html
rename : gfx/thebes/crashtests/463307-1.html => gfx/tests/crashtests/463307-1.html
rename : gfx/thebes/crashtests/467703-1.xhtml => gfx/tests/crashtests/467703-1.xhtml
rename : gfx/thebes/crashtests/467873-1.html => gfx/tests/crashtests/467873-1.html
rename : gfx/thebes/crashtests/470418-1.html => gfx/tests/crashtests/470418-1.html
rename : gfx/thebes/crashtests/474410-1.html => gfx/tests/crashtests/474410-1.html
rename : gfx/thebes/crashtests/483120-1.xhtml => gfx/tests/crashtests/483120-1.xhtml
rename : gfx/thebes/crashtests/483120-2.xhtml => gfx/tests/crashtests/483120-2.xhtml
rename : gfx/thebes/crashtests/487549-1.html => gfx/tests/crashtests/487549-1.html
rename : gfx/thebes/crashtests/487549-bad_kern_table.ttf => gfx/tests/crashtests/487549-bad_kern_table.ttf
rename : gfx/thebes/crashtests/487724-1.html => gfx/tests/crashtests/487724-1.html
rename : gfx/thebes/crashtests/490777-1.html => gfx/tests/crashtests/490777-1.html
rename : gfx/thebes/crashtests/532726-1.html => gfx/tests/crashtests/532726-1.html
rename : gfx/thebes/crashtests/538065-1.html => gfx/tests/crashtests/538065-1.html
rename : gfx/thebes/crashtests/546870-1.html => gfx/tests/crashtests/546870-1.html
rename : gfx/thebes/crashtests/balinese-letter-spacing.html => gfx/tests/crashtests/balinese-letter-spacing.html
rename : gfx/thebes/crashtests/crashtests.list => gfx/tests/crashtests/crashtests.list
rename : gfx/thebes/test/gfxColorManagementTest.cmtest => gfx/tests/gfxColorManagementTest.cmtest
rename : gfx/thebes/test/gfxColorManagementTest.cpp => gfx/tests/gfxColorManagementTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTest.cpp => gfx/tests/gfxFontSelectionTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTests.h => gfx/tests/gfxFontSelectionTests.h
rename : gfx/thebes/test/gfxSurfaceRefCountTest.cpp => gfx/tests/gfxSurfaceRefCountTest.cpp
rename : gfx/thebes/test/gfxTestCocoaHelper.h => gfx/tests/gfxTestCocoaHelper.h
rename : gfx/thebes/test/gfxTestCocoaHelper.mm => gfx/tests/gfxTestCocoaHelper.mm
rename : gfx/thebes/test/gfxTextRunPerfTest.cpp => gfx/tests/gfxTextRunPerfTest.cpp
rename : gfx/thebes/test/gfxWordCacheTest.cpp => gfx/tests/gfxWordCacheTest.cpp
rename : gfx/thebes/mochitest/test_bug509244.html => gfx/tests/mochitest/test_bug509244.html
rename : gfx/thebes/mochitest/test_bug513439.html => gfx/tests/mochitest/test_bug513439.html
rename : gfx/thebes/test/per-word-runs.h => gfx/tests/per-word-runs.h
rename : gfx/thebes/test/process-textruns.pl => gfx/tests/process-textruns.pl
rename : gfx/thebes/test/testprofiles/DELL2407WFP-2B283C91.icc => gfx/tests/testprofiles/DELL2407WFP-2B283C91.icc
rename : gfx/thebes/test/testprofiles/G22LWk-2489A79.icc => gfx/tests/testprofiles/G22LWk-2489A79.icc
rename : gfx/thebes/test/testprofiles/MBP20080419-1.icc => gfx/tests/testprofiles/MBP20080419-1.icc
rename : gfx/thebes/test/testprofiles/PhLCD17a.icm => gfx/tests/testprofiles/PhLCD17a.icm
rename : gfx/thebes/test/testprofiles/identity.icc => gfx/tests/testprofiles/identity.icc
rename : gfx/thebes/test/testprofiles/murphy.icc => gfx/tests/testprofiles/murphy.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_noBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_noBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_withBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_withBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_v4_ICC_preference.icc => gfx/tests/testprofiles/sRGB_v4_ICC_preference.icc
2010-07-13 14:54:18 -07:00
Jonathan Kew
37f506a92a
bug 511339 - part 2 - font-feature-settings and font-language-override support in gfx/thebes. r=jdaggett
2010-07-13 21:31:31 +01:00
Jonathan Kew
d34dd05fe1
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Daniel Holbert
0a2d04e6df
Bug 503279: disable spammy 'missing initializer' warning in imported code within gfx. r=jrmuizel
2010-07-13 11:50:18 -07:00
Jonathan Kew
4d8909782a
bug 532533 - prefer reading metrics directly from font tables. r=jdaggett
2010-07-11 20:33:56 +01:00
Jonathan Kew
d89d21d869
bug 543780 - don't consider FF_DONTCARE fonts to match all generic family names. r=jdaggett
2010-07-11 20:01:52 +01:00
Jonathan Kew
3d63381f9a
bug 550443 - fix font enumeration for x-unicode language group. r=jdaggett
2010-07-11 19:51:26 +01:00
Benoit Girard
2eec701d44
Back out 06cc16f7954e (bug 577224) because it can cause plugins to not draw.
2010-07-09 13:14:22 -07:00
timeless@mozdev.org
faa330ac93
Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions
...
r=BenWa
2010-07-07 12:08:22 +03:00
timeless@mozdev.org
03f17e3cc6
Bug 576375 LayerManagerOGL::Initialize leaks p in SHADER_PROGRAM when p->Initialize fails
...
r=vlad
--HG--
extra : rebase_source : 3e48dcd70be50d94126272c6339573133075faf6
2010-07-02 17:31:08 +03:00
timeless@mozdev.org
6ad8a00f94
Bug 565326 ContainerLayerOGL::ContainerLayerOGL doesn't use mTexture
...
r=bas
--HG--
extra : rebase_source : 81003129e2b42ed026a43a4a43c295dc0f6fc9cb
2010-05-25 17:34:09 +03:00
Saint Wesonga
4bd9280674
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Benoit Jacob
f39d072c77
b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir
2010-07-03 18:26:56 -04:00
Vladimir Vukicevic
4cd467403f
b=?; fix make-makefile and cairo-features.h.in hack; r=ted
2010-07-02 11:20:29 -07:00
Oleg Romashin
9f4fd5ba19
Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
2010-06-16 04:32:26 -04:00
Karl Tomlinson
b8e9380c35
b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
...
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
a032ecef21
b=574220 remove gfxXlibNativeRenderer.cpp r=roc
2010-07-02 16:04:09 +12:00
Karl Tomlinson
3f6b6f1333
b=574220 add gfxXlibSurface::GetVisualAndColormap() r=vlad
2010-07-02 16:04:01 +12:00
Karl Tomlinson
0eab1ae8fb
b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc
2010-07-02 15:55:24 +12:00
Bas Schouten
b94e5f575a
Bug 574239: Have ThebesLayerD3D9 retain its content even across changes to the visible region. r=jrmuizel
2010-07-02 04:08:48 +02:00
Robert O'Callahan
b12eec77e4
Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad
2010-03-04 10:37:04 +13:00
Matt Woodrow
47f140fb7d
Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad
2010-07-01 20:01:09 -05:00
Chris Jones
2a0c514521
Bug 574585: Have LayerManagerOGL release its root layer before destruction. r=vlad
2010-07-01 20:01:09 -05:00
Benjamin Smedberg
a08857c778
Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
...
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan
This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Markus Stange
283b92b9e1
Bug 572680 - Shuffle some gfx dependencies around. r=joe
...
--HG--
extra : rebase_source : 982a57f4466a69e6e6a2053794b6b09c2b470b12
2010-07-01 18:43:33 +02:00
Chris Jones
0e3cacd0f6
Bug 573889, part 6: RefactorThebesLayerOGL to use TextureImage. r=Bas
2010-07-01 11:30:38 -05:00
Chris Jones
922d9f7d39
Bug 573889, part 5: Implement TextureImage for CGL and WGL. r=vlad
2010-07-01 11:30:38 -05:00
Chris Jones
078b326454
Bug 573889, part 4: Implement TextureImage for GLX. r=vlad
2010-07-01 11:30:38 -05:00
Chris Jones
3105100b4f
Bug 573889, part 3: Implement TextureImage for EGL/X11. r=romaxa,vlad
2010-07-01 11:30:38 -05:00
Chris Jones
488aae0251
Bug 573889, part 2: Add a BasicTextureImage implementation that synchronizes new pixels to its texture with a scratch gfxASurface and glTexSubImage2D(). r=vlad
2010-07-01 11:30:38 -05:00
Chris Jones
59a1b19153
Bug 573889, part 1: Add a TextureImage interface to manage synchronizing thebes-drawn content with a GL texture. sr=vlad
2010-07-01 11:30:38 -05:00
Chris Jones
9afc0278ab
Bug 573889, part 0: Move the DEBUG_GL_ERROR_CHECK() macro into GLContext.h. r=vlad
2010-07-01 11:30:38 -05:00
Benjamin Smedberg
a677e5bf91
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
e17740e1ab
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Zack Weinberg
c7973f9c79
Bug 571989 follow-up: remove mentions of removed directories from toolkit-makefiles.sh and elsewhere. r=dholbert
...
--HG--
extra : rebase_source : c6e387430e6b2292b0925fdb681819ba109568e7
2010-06-30 08:54:39 -07:00
Bas Schouten
806d740e62
Bug 558467: Use nsIMemoryReporter to report the image surface cache memory usage. r=jrmuizel
2010-06-30 15:52:13 +02:00
Bas Schouten
7aca9947fd
Bug 558467: Expose the image surface cache memory usage for Direct2D. r=jrmuizel
2010-06-30 15:52:00 +02:00
Benjamin Smedberg
29e089defb
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
822ccb0789
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Chris Jones
64c7c1423e
Bug 573894: Have LayerManagerOGL hold a strong ref to its root layer. r=Bas
2010-06-23 13:59:07 -05:00
Oleg Romashin
052a3b348c
Bustage build fix on ANDROID, EGL/non-X11 configureation. bug 571832
2010-06-23 11:50:51 -04:00
Oleg Romashin
7d3da39d07
Bustage build fix on linux, EGL/X11 configureation. bug 571832
2010-06-23 11:39:33 -04:00
Ginn Chen
6560c5519f
Bug 561739 Implement YCbCr conversion on Solaris r=doublec
2010-06-23 17:30:48 +08:00
Benjamin Smedberg
0df0345c66
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Justin Wood
67f183080f
Bug 576074 - In gfxSurfaceRefCountTest thebes.lib not found. r=vlad
...
--HG--
extra : rebase_source : 20c72bb80ced7ee200b0456463048e59e080ec11
2010-07-01 11:36:40 -04:00