Ali Juma
5a4cee66b0
Bug 762101 - Correctly convert from screen coordinates to buffer coordinates in ShadowBufferOGL::Upload. r=cjones
2012-07-10 10:25:17 -04:00
Phil Ringnalda
523452e9f9
Merge mozilla-central to mozilla-inbound
2012-07-09 22:24:44 -07:00
Ryan VanderMeulen
22a9fed718
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Vladimir Vukicevic
4c6ced282f
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Benoit Girard
b5177ee586
Bug 771219 - Disable progressive painting until Talos correctly measure progressive painting progress. r=ajuma
2012-07-08 11:36:49 -04:00
Benoit Girard
358e391815
Bug 771219 - Added a pref for progressive painting. r=ajuma
2012-07-06 14:38:50 -04:00
Benoit Girard
d637f02a21
Bug 771219 - Implement tile based progressive drawing. r=ajuma
2012-07-06 14:02:10 -04:00
Benoit Girard
330ecc7585
Bug 771219 - Add Repeatable transactions. r=ajuma
2012-07-06 13:58:01 -04:00
Marshall Culpepper
4ba3595a19
Bug 749538 - Check 24bpp/RGBX_8888 and 32bpp/RGBA_8888 when validating EGL Contexts. r=vlad
2012-07-07 10:06:59 -04:00
Oleg Romashin
5ec3a2efeb
Bug 728524 - Render to shared EGLImage/Texture implementation. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Oleg Romashin
ee5b6a2485
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Oleg Romashin
677d4767fa
Bug 728524 - Minor rework for TexImage filter setup. r=bgirard
2012-07-09 21:30:14 -04:00
Jonathan Kew
3f6b6fcb17
backout changeset d9d5d1bd766c (bug 769194) because of crashiness.
2012-07-09 22:47:48 +01:00
Benoit Jacob
95888a7d12
Bug 760323 - Runtime fails to create WebGL contexts without DirectX End-User Runtime Installed - r=bsmedberg
...
Load the Direct X runtime programmatically so that the EGL libraries can locate it when running webapprt and the Firefox install dir is not in the DLL load path.
2012-07-07 00:44:48 -04:00
Jeff Gilbert
c55cc58c31
Bug 769949 - GuaranteeResolve() must BlitDirtyFBOs() - r=bjacob
2012-07-06 16:38:16 -07:00
Vladimir Vukicevic
2b6cf64500
backout bug 767064, 1f9c66d66df4
2012-07-06 11:08:21 -04:00
Vladimir Vukicevic
ce22e24d56
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Vladimir Vukicevic
45877a1b01
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel
2012-07-05 14:34:04 -04:00
Benoit Girard
44eb180a00
Bug 770988 - Seperate DumpAsDataURL into MOZ_DUMP_IMAGES. r=ajuma
2012-07-05 14:07:37 -04:00
Phil Ringnalda
eef64f0e00
Back out f79077bad960 and 94dd16a365d9 (bug 765150) for bustage
2012-07-05 09:07:18 -07:00
Vladimir Vukicevic
3185d5d982
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices -- now with correctly generated shaders include; r=jrmuizel
2012-07-05 11:27:26 -04:00
Benoit Jacob
0c1f91c4b7
Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert
2012-07-05 10:13:46 -04:00
Vladimir Vukicevic
624a5a712f
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel
2012-07-05 10:00:23 -04:00
Bill McCloskey
2100b10524
Bug 770759 - Add mutable handles (r=bhackett)
2012-07-04 11:12:16 -07:00
Bas Schouten
0e378470a6
Bug 770033 - Part 3: Deal with extend modes for D2D partial bitmap uploads. r=jrmuizel
2012-07-04 20:23:16 +02:00
Bas Schouten
494bb3cd77
Bug 770033 - Part 2: Add order test for horizontal halfscaling code. r=jrmuizel
2012-07-04 20:21:27 +02:00
Bas Schouten
f7db81b01c
Bug 770033 - Part 1: Fix shuffling bug in horizontal halfscaling code. r=jrmuizel
2012-07-04 20:21:12 +02:00
Chris Lord
403bcb406a
Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
...
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Ehsan Akhgari
46cbc36da6
Merge backout of DLBI from mozilla-central
2012-07-03 20:53:08 -04:00
Ehsan Akhgari
06cc96c737
Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions
2012-07-03 20:32:33 -04:00
Ehsan Akhgari
e275d5ebb0
Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:54 -04:00
Ehsan Akhgari
2ea15f6244
Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions
2012-07-03 20:27:47 -04:00
Ehsan Akhgari
cee73c3f9e
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Ehsan Akhgari
e678c17f63
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
5e6974df88
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
392100a449
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
f3e27db850
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
a1e25b9548
Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:13:38 -04:00
Ehsan Akhgari
521cc06e7d
Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions
2012-07-03 20:11:59 -04:00
Ehsan Akhgari
42ecdb2eac
Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out
2012-07-03 19:41:27 -04:00
Oleg Romashin
a4782a4230
Bug 763241 - Add double buffer EGL provider detection by define or permanently. r=jgilbert
2012-07-03 16:50:06 -07:00
Jonathan Kew
0604d2f511
bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett
2012-07-03 11:42:07 +01:00
Jonathan Kew
99de89ed3c
bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett
2012-07-03 11:35:18 +01:00
Robert O'Callahan
ddbee0e9d9
Backout bug 768775 for now
2012-07-02 14:43:37 +12:00
Robert O'Callahan
221cda4051
Bug 768348. Avoid ExtCreatePen failures by avoiding rounding widths and dash lengths down to zero. r=jrmuizel
...
--HG--
extra : rebase_source : 5231a02af67486dbd0e663d3756ad60fe1483157
2012-07-02 11:49:34 +12:00
Robert O'Callahan
7252675cc8
Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
...
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Nicolas Silva
dc904caff5
Bug 769294 - Fix crash when trying to dump layers in the console. r=joedrew
2012-06-28 11:23:40 -04:00
Robert O'Callahan
04016edac8
Bug 539356. Part 30: Call correct HasShadowManager method. Fixing Win mochitest-2 bustage. r=the-wind
2012-07-01 00:21:39 +12:00
Matt Woodrow
0868198bb0
Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel
2012-06-30 15:06:13 +12:00
Matt Woodrow
066a7a9687
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
ffcd727240
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
9193c41326
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
36717ce675
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
0b0abe97ec
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
8f789d0418
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Matt Woodrow
62341f0c3b
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-30 15:06:09 +12:00
Jonathan Kew
7ee339db6d
bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett
2012-06-29 12:39:44 +01:00
Nicholas Cameron
c064eb870f
Bug 768723; Reorganise BasicLayers.cpp into multiple files; r=roc
...
--HG--
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
extra : rebase_source : aff7ec0b95a70e00149d2d9ea2856f9192dbc7f6
2012-06-29 18:01:34 +12:00
Jonathan Kew
b372d82d77
bug 764805 - fix handling of src:local style properties in the GDI backend. r=jdaggett
2012-06-28 10:59:37 +01:00
Martin Stransky
ddc356125d
Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt
2012-06-27 20:15:32 -04:00
Chris Lord
6a63c42f88
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-27 16:44:22 +01:00
Chris Lord
9fd49ed93f
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ehsan Akhgari
45fe6d3ae2
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Nicholas Cameron
ec4082e8bb
Bug 768079; mask layers force an intermediate surface for their containers. r=roc
2012-06-27 08:06:32 +12:00
Nicholas Cameron
205bca3553
Bug 768079; test for patch. r=roc
2012-06-27 08:06:32 +12:00
Ed Morley
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
b05770560f
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord
1448e862c1
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Jonathan Kew
486d6a7bf5
bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett
2012-06-26 09:51:37 +01:00
Nicholas Cameron
6be9877aaf
Bug 757347; checking the format of images. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
88e40f4fe1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
9f19c1a23a
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
03e8305815
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
34289b5948
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Bas Schouten
d8b7729753
Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel
2012-06-26 02:59:18 +02:00
Nicholas Cameron
549b63d97d
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
bb0ad1299c
Bug 757346 followup, actually compile
2012-06-26 10:15:15 +12:00
Nicholas Cameron
e0a38b326b
Bug 757347; checking the format of images. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
14b8ef1f95
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
ac7e54e7fc
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
aae4ecb5d0
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
f7821afd6f
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
David Zbarsky
85d3d4ef59
Bug 766017 - Fix some skia warnings r=gw280
2012-06-22 13:16:31 -07:00
Nicolas Silva
b8baec98b5
Bug 761849 - D[OGL] Don't convert video texture to RGBA for better performance on desktoop. r=joe
2012-06-21 16:58:49 -04:00
Jeff Muizelaar
a543ac8b3f
Bug 764594. Remove some unneeded calls in the Azure CG backend. r=bgirard
...
Some old code that was copy-n-pasted but never used.
2012-06-12 21:15:32 -07:00
Jonathan Kew
05b9971fb9
bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey
2012-06-21 07:45:55 +01:00
Bas Schouten
e83aeac3ec
Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage
2012-06-21 00:32:52 +02:00
Bas Schouten
64457eec20
Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel
2012-06-20 23:41:16 +02:00
Bas Schouten
5dad9a7e0a
Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel
2012-06-20 23:41:16 +02:00
Jonathan Kew
c49bd10d2f
bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett
2012-06-20 20:58:19 +01:00
Jonathan Kew
2d7e5e52f7
bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu
2012-06-20 20:58:18 +01:00
Jonathan Kew
368eaccf10
bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu
2012-06-20 20:58:18 +01:00
Daniel Holbert
0fed280097
Bug 766666: Remove unused variable 'found' in GLContext.cpp's "RemoveNamesFromArray" function. r=bjacob
2012-06-20 12:40:16 -07:00
David Zbarsky
08a87d5cc9
Bug 765989 - Add fail on warnings to some gfx directories r=benwa
2012-06-19 21:12:30 -07:00
Kan-Ru Chen
e9c09b3da5
Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
...
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Brad Lassey
899154819f
bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread, follow up to fix windows builders r=bustage
2012-06-19 17:11:38 -07:00
Brad Lassey
116e769f51
bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread r=joe
2012-06-19 17:05:28 -04:00
Jonathan Watt
70c1310055
Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr.
2012-06-19 16:28:04 +01:00
Ehsan Akhgari
9044808cf7
Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc
2012-06-18 21:19:06 -04:00
Ehsan Akhgari
8a54f4db7a
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Brad Lassey
71069fdd08
bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel
2012-06-15 15:06:35 -07:00
Jeff Gilbert
aef6231428
Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob
2012-06-16 10:01:24 -04:00
Nicholas Cameron
4d1cdf1eb1
Bug 765038; fix a Clang compilation bug in Skia; r=jwatt
2012-06-15 11:52:15 +01:00
Benoit Jacob
d9920d2433
Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert
2012-06-14 23:16:21 -04:00
Andrew Quartey
2b6232de46
Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert
2012-06-14 15:39:57 -07:00
Nicholas Cameron
a5a0aba836
Bug 746896. Fix a bug with printing Azure canvas. r=joe
2012-06-15 10:00:44 +12:00
David Zbarsky
73f1ca6717
Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa
2012-06-14 14:08:12 -07:00
Cody Brocious
40ab2a089f
Bug 745137 - Removed double buffering stubs, fixed crashiness across all devices. r=gal
2012-06-14 14:57:26 -04:00
Benoit Jacob
f2ac5d188d
Bug 764578 - WebGL context creation keeps failing after D3D device has been lost - r=jgilbert
2012-06-14 11:59:40 -04:00
John Daggett
b87de573df
Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew
2012-06-14 15:31:56 +09:00
Nicholas Cameron
aa4bc97d31
Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
2012-04-26 10:04:35 +12:00
Nicholas Cameron
94da7bc7ce
Bug 761890 (was 746883); changes to the Skia library. r=gw280
2012-05-16 17:42:07 +12:00
Nicholas Cameron
281be0879e
Bug 761890; build Skia on Windows. r=gw280
2012-06-14 16:27:53 +12:00
Cody Brocious
25d0f0e95b
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Nicholas Cameron
e9550e5f75
Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas
2012-06-14 10:40:43 +12:00
Jeff Muizelaar
e5ef842a1b
Bug 757878. Add a fast path for 8888_over_565 with NEON. r=bgirard,joe
...
Add a 2 pass implementation of this op. This uses Siarhei Siamashka's
idea mentioned here:
http://lists.freedesktop.org/archives/pixman/2011-April/001156.html
2012-05-17 19:23:53 -04:00
Jeff Muizelaar
8006b61cd7
Bug 763120. Avoid using vm_copy when snapshoting. r=bgirard
...
CGBitmapContextCreateImage uses vm_copy which ends up being
slower than memcpy if we actually need to make a copy. Further,
since it does the copy by pagefaulting, it's shows up poorly
on profiles. Since, we already manually track modification we
don't really have need for the copy-on-write semantics. This
change ensures that we'll only use memcpy when we need to make
a copy.
--HG--
extra : rebase_source : 93afb1423605a13cb4c76a6c389e1989aa814ae0
2012-06-11 16:21:55 -07:00
Kartikaya Gupta
6435bb7e6d
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
Ehsan Akhgari
ff75c88d87
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew
2012-06-13 00:14:28 -04:00
Ed Morley
283e84e0e8
Backout a55eea2c294d (bug 627699) for bustage
2012-06-13 16:07:22 +01:00
Martin Stransky
23eecf1d40
Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad
2012-06-13 10:47:54 -04:00
Bas Schouten
7c405d7b37
Bug 758980: Assume DirectWrite is buggy when it returns empty alpha texture bounds. r=jrmuizel
2012-06-13 10:42:23 +02:00
Chris Jones
27eb2547d2
Backed out changeset beba1a053f5e
2012-06-12 21:40:40 -07:00
Cody Brocious
607697b6ba
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Jeff Muizelaar
99eabd8851
Bug 764181. Keep the output of the TRC between 0 and 1. r=bgirard
...
Section 10.16: The domain and range of each function shall be [0,0 1,0].
Any function value outside the range shall be clipped to the range of the function.
--HG--
extra : rebase_source : 165927afb271980259c021fa0af25787be4a7ad3
2012-06-07 16:47:34 -04:00
Jeff Gilbert
f8c10a1c5b
Bug 762263 - Add EGLSync - r=bjacob
2012-06-12 14:39:43 -07:00
Jeff Gilbert
102120e83e
Bug 762265 - Modernize EGL extension detection, similar to GLContext - r=bjacob
2012-06-12 14:39:18 -07:00
Jeff Gilbert
ec2c14c939
Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob
2012-06-12 14:36:10 -07:00
Ali Juma
57bc05ad45
Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa
2012-06-12 10:24:31 -04:00
Matt Brubeck
8aad0a2626
Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
...
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
b97c21b905
Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas
...
--HG--
extra : rebase_source : 2bb553e52f2d4058e1c7865dadccfc6a20c6d66c
2012-06-08 11:44:07 +12:00
Nicholas Cameron
86ca4eed6a
Bug 746896. Fix a bug with printing Azure canvas. r=joe
...
--HG--
extra : rebase_source : 0f1b44a5be4a3b7fa3f4df3080de50da96b95c58
2012-06-08 11:42:21 +12:00
Nicholas Cameron
480bde076f
Bug 761890 (was 746883); changes to the Skia library. r=gw280
...
--HG--
extra : rebase_source : bf619eaad94265334b89e1adf97a00cb0d1d7c67
2012-05-16 17:42:07 +12:00
Nicholas Cameron
0826e53b52
Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
...
--HG--
extra : rebase_source : 89b3501dad46f0c1284107afe906869548623992
2012-04-26 10:04:35 +12:00
Nicholas Cameron
e9b95c1edf
Bug 761890; build Skia on Windows. r=gw280
...
--HG--
extra : rebase_source : 51c85a45aa0ac50fd69ee054047f7ca19661737b
2012-06-08 11:42:20 +12:00
Chris Jones
84300d4bbe
Bug 759653: Use RGB24 for offscreen surfaces on android-esque platforms. r=mwu
2012-06-11 20:41:46 -07:00
John Drinkwater
15c380056a
Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert
2012-06-11 08:25:06 -07:00
Ed Morley
a73fc227f9
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
d5d8ca1061
Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel
2012-06-11 16:45:40 +12:00
Matt Woodrow
d4acadf979
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-11 16:45:39 +12:00
Oleg Romashin
4d14e84fec
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
e1af0db87a
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-11 16:44:09 +12:00
Matt Woodrow
379ee49abc
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-11 16:44:08 +12:00