Граф коммитов

7366 Коммитов

Автор SHA1 Сообщение Дата
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