Commit Graph

3544 Commits

Author SHA1 Message Date
Chris Jones
bdfb401e6b Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
cb2ee3417a Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
8325aff847 Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
0a936edcc7 Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
9037e7684c Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
e77d94694c Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
8a96cd22fa Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
46987600ab Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
289ccdf1c6 Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-07-13 22:43:43 -07:00
Chris Jones
7e90855ae8 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-13 22:43:43 -07:00
Chris Jones
7a11870b91 Bug 648484, part 1: Fix some warning spam. r=roc 2011-07-13 22:43:43 -07:00
Matt Woodrow
b154d14e64 Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe 2011-07-15 08:45:33 +12:00
Rob Bradford
a3a670fa80 Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow 2011-07-11 14:07:49 +01:00
Adrian Johnson
ca5502b6f3 Bug 624699. Fix some landscape printing bugs. r=roc
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Jacek Caban
3cdbb68a2e Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe) 2011-07-13 17:58:17 +02:00
Ehsan Akhgari
c2c6bac9e3 Merge mozilla-central and mozilla-inbound 2011-07-13 11:51:33 -04:00
Ehsan Akhgari
096131f2a7 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Jonathan Kew
4ddf26ea1f bug 668758 - don't look up prefs font families in the user font set. r=jdaggett 2011-07-13 09:40:32 +01:00
Jonathan Kew
c7c5b7169b Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage 2011-07-13 10:50:37 +01:00
Jonathan Kew
e163f1538f bug 668758 - don't look up prefs font families in the user font set. r=jdaggett 2011-07-13 09:40:32 +01:00
Bas Schouten
9df92e2b44 Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc 2011-07-13 02:36:28 +02:00
Bas Schouten
d364586638 Bug 666452 - Part 2: Minimize drawing done with shadow in the Azure D2D backend. r=BenWa 2011-07-13 02:34:43 +02:00
Bas Schouten
aa8d9fe0e0 Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc 2011-07-13 02:34:40 +02:00
Benoit Girard
952c2f25af Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Jonathan Kew
275db5cd96 bug 494130 - log downloadable font errors to console. r=jdaggett 2011-07-12 12:24:36 +01:00
Daniel Holbert
7024f8afe3 Bug 670025: Use more fine-grained checks to pick depth in GLContext::ResizeOffscreenFBO. r=vlad 2011-07-12 00:11:20 -07:00
Daniel Holbert
452e2996ff backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7 2011-07-11 18:24:03 -07:00
Jeff Gilbert
247edcfca1 Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe 2011-07-11 12:24:21 -07:00
Bas Schouten
b4f2c613de Bug 668764: Properly specify stroke offset in Direct2D cairo backend. r=jrmuizel 2011-07-11 16:37:01 +02:00
Ed Morley
3bd1c95cf1 Bug 631155 - undefined return value in function '_cairo_surface_wrapper_flush'; r=jrmuizel 2011-07-11 09:14:12 -04:00
Ed Morley
f3a9335535 Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc 2011-07-11 09:14:12 -04:00
Ed Morley
2e399e9852 Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc 2011-07-11 09:14:12 -04:00
Bas Schouten
70cf943058 Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Robert O'Callahan
26c67a621c Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas 2011-07-08 22:42:21 +12:00
Marco Bonardo
94da8809f7 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Benoit Jacob
eb0e51fa33 Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel 2011-07-07 20:01:16 -04:00
Marco Bonardo
331cfdd0fa Merge mozilla-inbound and mozilla-central 2011-07-07 12:02:38 +02:00
Justin Lebar
82e8ec8cdb Backing out bug Bug 648484 (csets 9fcd404d97aa through 2bfa7417504d) due to orange. 2011-07-06 20:27:35 -04:00
Florian Haenel
32ba480e5b Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar 2011-07-06 11:00:47 -07:00
Chris Jones
01bd80b344 Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04:00
Chris Jones
3a8730cfb8 Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-06 13:29:27 -04:00
Chris Jones
fdccfcc943 Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
dcfb4599ee Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
2019352cf7 Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
50a0f24763 Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
d7df36fbe8 Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
d455e8ab6b Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas 2011-07-06 13:29:27 -04:00
Chris Jones
dc8f49c9a6 Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas 2011-07-06 13:29:26 -04:00
Chris Jones
61d03418ec Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas 2011-07-06 13:29:26 -04:00
Chris Jones
1383ae51c9 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-06 13:29:26 -04:00
Chris Jones
179dd1b1f5 Bug 648484, part 1: Fix some warning spam. r=roc 2011-07-06 13:29:26 -04:00
Mounir Lamouri
620eea42dc Merge mozilla-central into mozilla-inbound. 2011-07-06 14:49:29 +02:00
L. David Baron
dbb636b97e Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky 2011-07-06 12:03:23 +02:00
Jonathan Kew
18076188b4 bug 669175 - [harfbuzz] fix indexing in reverse_range() to avoid pathological perf & incorrect results. r=behdad 2011-07-06 08:01:41 +01:00
Jacob Bramley
6d297c4c1a Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones] 2011-07-05 09:48:40 +01:00
Bas Schouten
20707018d6 Bug 668801 - Followup: Properly address review comments. 2011-07-05 08:52:48 +00:00
Bas Schouten
951afc154e Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel 2011-07-05 06:28:20 +00:00
Bas Schouten
1234946c68 Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel 2011-07-05 06:28:17 +00:00
Bas Schouten
756d1c7e15 Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel 2011-07-05 06:28:14 +00:00
Matt Woodrow
dbbef6ee35 Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:50 +12:00
Matt Woodrow
dd264db48d Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:34 +12:00
Matt Woodrow
89e737996c Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf 2011-07-05 14:52:00 +12:00
Matt Woodrow
7ab3748569 Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe 2011-07-05 14:50:38 +12:00
Benoit Girard
9c46ca57c5 Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow 2011-07-04 09:51:37 -04:00
Benoit Girard
dd61f3a2ea Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-04 09:15:05 -04:00
Ed Morley
e2dd282c90 Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-07-03 11:53:40 +02:00
Benoit Girard
069dc7b333 Backout 627489bb6288. 2011-07-01 18:05:54 -04:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Benoit Girard
c83b82cbd1 Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-01 16:57:15 -04:00
Jonathan Kew
21a371ca1a bug 666893 - add padding pixels to DWrite text bounds because of ClearType bleed when using GDI Classic mode. r=roc 2011-07-01 07:38:17 +01:00
Jonathan Kew
636a69c177 bug 553571 - try to avoid breaking font runs at ZWNJ when using font fallback, because Indic scripts require shaping across the ZWNJ character. r=roc 2011-07-01 07:38:14 +01:00
Makoto Kato
09ff6f5746 Bug 413019 - Remove PGO workaround for some modules. r=ted 2011-07-01 12:46:02 +09:00
Steven Michaud
b9da15d745 Bug 659851 - Firefox and Lion disagree on GLintptr. f=bas.schouten r=bjacob 2011-06-30 14:06:25 -05:00
Benoit Girard
2655767197 Bug 663259 - Part 1: Mac Async rendering fixes. r=josh 2011-06-30 12:46:25 -04:00
Ryan VanderMeulen
3daf9bf212 Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas 2011-06-30 14:35:46 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Oleg Romashin
fdc131bf41 Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten 2011-06-29 15:13:21 -07:00
Jonathan Kew
b6406524e0 bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett 2011-06-29 14:16:12 +01:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jeff Muizelaar
a4fa82cf61 2D: Add a comment about why we need to know the fill mode early. r=bas 2011-07-07 12:57:52 -04:00
Chris Jones
1ed2dae061 Bug 662038, part 3: Implement dashing for d2d. r=Bas 2011-06-29 14:34:58 -07:00
Chris Jones
546a15416f Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc 2011-06-29 14:34:58 -07:00
Chris Jones
c4559259a5 Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel 2011-06-29 14:34:58 -07:00
Marco Bonardo
e42980dbde Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-28 11:17:15 +02:00
Bas Schouten
915c27a3f4 Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel 2011-06-28 02:10:06 +02:00
Benoit Jacob
c4cbfb78a0 Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Mounir Lamouri
d8b025aad8 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Matt Woodrow
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
31412c006b Bug 656185 - Part 4 - Fix for D3D9. r=Bas 2011-06-27 14:32:42 +12:00
Matt Woodrow
379c7e6f82 Bug 656185 - Part 3 - Fix for D3D10. r=Bas 2011-06-27 14:32:34 +12:00
Matt Woodrow
8aba398b72 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Matt Woodrow
9376e72c7e Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe 2011-06-27 14:32:06 +12:00
Benoit Girard
6455de56ad Enabled Mac Async plugin by default + Fixes. b=663259 r=josh 2011-06-25 15:12:59 -04:00
Benoit Girard
9f6defe8cd Bug 577224 - Fix nsCARenderer warnings; r=smichaud 2011-06-24 10:49:42 -04:00
Takanori MATSUURA
bd263d1c2f Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas 2011-06-26 23:10:35 +09:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Jonathan Kew
f4cbe3b555 bug 663688 - prefer CGFont APIs to older ATS APIs on 10.6 or later. r=smichaud,roc 2011-06-24 18:55:27 +01:00
Bas Schouten
bfb8808747 Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel 2011-06-24 19:41:18 +02:00
Bas Schouten
933cae4fbb Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc 2011-06-24 19:41:18 +02:00