Commit Graph

5234 Commits

Author SHA1 Message Date
Nicolas Silva
049d5a6366 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Jeff Muizelaar
091c38ffda Bug 683243. Dither 16 bit gradients. r=BenWa
This does a 2x2 ordered dither in the same way that Skia does.

One of the things I'm currently unhappy with is that it duplicates
the gradient walker code for 16 bits. We could turn it into a large
macro that does the appropriate things for 16 bit and 32 bit
versions, but that's not particularly appealing.
2012-07-04 11:42:29 -04:00
Jeff Muizelaar
3770f17103 Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.
2012-07-11 12:58:17 -04:00
Phil Ringnalda
cfef187ad4 Back out 0c1f34eb5b93 and 0f987ac28e8c (bug 683243) for Android R2 bustage 2012-07-12 22:27:34 -07:00
Jeff Muizelaar
40983c8443 Bug 683243. Dither 16 bit gradients. r=BenWa
This does a 2x2 ordered dither in the same way that Skia does.

One of the things I'm currently unhappy with is that it duplicates
the gradient walker code for 16 bits. We could turn it into a large
macro that does the appropriate things for 16 bit and 32 bit
versions, but that's not particularly appealing.

--HG--
extra : rebase_source : ef89cd53d68166db825bb993e1262db342ba9b5d
2012-07-04 11:42:29 -04:00
Jeff Muizelaar
6d431e1711 Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.

--HG--
extra : rebase_source : cffa90d5959211c8c1953867d85c7799ed52d662
2012-07-11 12:58:17 -04:00
Chris Jones
db8fe81f49 Bug 773192: Only proxy drawing to a non-default target in BasicShadowableLayerManager, i.e. drawWindow(USE_WIDGET_LAYERS) for a content context, when the request is same-process. r=ajuma 2012-07-12 14:07:13 -07:00
Chris Jones
a461883264 Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones
2e1fa258fd Bug 765734, part 5: Disable texture-upload hacks on b2g. (This code is dead for android currently too, to be removed soon.) r=BenWa
--HG--
extra : rebase_source : d78019d51647bf55ff8bded0f35549100e72dd6c
2012-07-12 05:51:58 -07:00
Chris Jones
f2d2a7bb3b Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones
e0f72354fe Bug 765734, part 3: Remove unused code. r=mattwoodrow
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
fae577c2a7 Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones
4b8927b5f1 Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Chris Jones
70375ea1b1 Bug 765734, part 0.2: Remove \r from basic layers files. r=nrc
--HG--
extra : rebase_source : c79a1469e473865a22d83b503c947ef3a6b26889
2012-07-12 05:51:57 -07:00
foo
31b3709c86 Bug 772457 - add --disable-webgl, remove --disable-angle, clean up configure.in - r=vladv
Note that MOZ_ANGLE is renamed to MOZ_ANGLE_RENDERER
2012-07-10 22:33:03 -04:00
Benoit Jacob
8984d1e5c1 Bug 760323 - fix the --disable-webgl build - r=vladv 2012-07-10 22:32:59 -04:00
Ed Morley
e7e93c1b7e Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405 2012-07-10 16:06:42 +01:00
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