Lee Salzman
466cb7a2ac
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04:00
Lee Salzman
8a2ef85f44
Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel
2015-07-30 12:05:22 -04:00
Lee Salzman
b14ec2fed8
Bug 1188462 - Rename gfx/skia/trunk directory to gfx/skia/skia. r=jrmuizel
2015-07-30 11:51:29 -04:00
Mason Chang
db2c297a36
Bug 1155249 - Prescale image with an intermediate surface if repeated often on OS X. r=mstange
2015-07-30 08:14:00 -04:00
Milan Sreckovic
b58a5684e5
Bug 1178965 - Check if Factory::GetD2D1Device fails in SourceSurfaceD2D1. r=nical
2015-07-30 07:56:00 -04:00
Benoit Girard
de17df73ab
Bug 1189473 - Don't paint the tiles in the APZ minimap. r=mstange
2015-07-30 15:26:39 -04:00
Andrew Comminos
23750ad765
Bug 1187440 - Fix curly brace bustage in TextureHostOGL. CLOSED TREE
2015-07-30 10:13:00 -04:00
Andrew Comminos
5d264f12d4
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Andrew Comminos
80080b0e89
Bug 1184534 - Fetch viewport size from context in CompositorOGL, discard if changed during composition. r=nical
2015-07-30 12:39:32 -04:00
Andrew Comminos
e27a48201a
Bug 1184534 - Add support for target size retrieval to GLX backend. r=jgilbert
2015-07-30 12:39:26 -04:00
Matt Woodrow
170612bcd9
Bug 1188995 - Increase tile size to 512/1024 on OSX. r=jrmuizel,mstange
2015-07-29 18:21:26 -04:00
David Anderson
75ea3b4482
Don't upgrade gfx features after device resets. (bug 1183910 part 5, r=mattwoodrow)
2015-07-30 00:27:06 -07:00
David Anderson
ab5fc3dcd1
Factor out D2D initialization checks. (bug 1183910 part 4, r=mattwoodrow)
2015-07-30 00:25:56 -07:00
David Anderson
ade2871200
Remove D3D11Status flag in favor of FeatureStatus. (bug 1183910 part 3, r=mattwoodrow)
2015-07-30 00:24:56 -07:00
David Anderson
59ee26be39
Add a pref to force TDRs for graphics testing. (bug 1183910 part 2, r=mattwoodrow)
2015-07-30 00:23:53 -07:00
Nicholas Nethercote
b003fba482
Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
...
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.
And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Matt Woodrow
e1c0dc0a8a
Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel
2015-07-29 16:35:55 -04:00
Matt Woodrow
ff3e71c061
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
dac19d3343
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Matt Woodrow
4bf5c8000a
Bug 1034370 - Make sure we release the SkImageFilter in DrawTargetSkia::DrawSurfaceWithShadow. r=gw280
2015-07-29 16:35:55 -04:00
Wes Kocher
d73df9eb52
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
cf1fb0f8fd
Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel
2015-07-29 16:35:55 -04:00
Matt Woodrow
a355c051e4
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
8c5f0fa1e1
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Matt Woodrow
e70ae6405a
Bug 1034370 - Make sure we release the SkImageFilter in DrawTargetSkia::DrawSurfaceWithShadow. r=gw280
2015-07-29 16:35:55 -04:00
Vladimir Vukicevic
8b7baa4bb2
Bug 1188700, [webvr] Fix VR distortion compositing in d3d11/gl to take into account rendertarget size and transform; r=kip
2015-07-29 14:39:47 -04:00
Vladimir Vukicevic
1d7b498b27
Bug 1186608, [webvr] Add individual prefs to disable backends, set sane defaults; r=mstange
2015-04-12 23:05:36 -04:00
Vladimir Vukicevic
f7cfb01bc7
Bug 1167326, fix up VR distortion constant buffer; r=bas
2015-07-29 14:39:47 -04:00
Vladimir Vukicevic
edc0cc2ab3
Bug 1179935, introduce complex viewport projections to Compositor, remove PrepareViewport; r=mstange
...
---
gfx/layers/Compositor.h | 10 ---
gfx/layers/basic/BasicCompositor.h | 2 -
gfx/layers/composite/TextureHost.h | 34 +++++++-
gfx/layers/d3d11/CompositorD3D11.cpp | 47 +++++++---
gfx/layers/d3d11/CompositorD3D11.h | 4 +-
gfx/layers/d3d9/CompositorD3D9.h | 2 +-
gfx/layers/opengl/CompositingRenderTargetOGL.cpp | 23 +++--
gfx/layers/opengl/CompositingRenderTargetOGL.h | 2 +
gfx/layers/opengl/CompositorOGL.cpp | 104 +++++++++++++----------
gfx/layers/opengl/CompositorOGL.h | 6 +-
10 files changed, 145 insertions(+), 89 deletions(-)
2015-05-19 13:51:26 -04:00
Vladimir Vukicevic
ea27f7ace1
Bug 1179944, [webvr] put back support for Oculus 0.5.0 runtime, for OSX and Linux; r=mstange
2015-06-05 13:14:10 -04:00
Vladimir Vukicevic
ff08123863
Bug 1179944, [webvr] support Oculus 0.6.0 runtime and rendering; r=mstange
...
---
gfx/2d/Quaternion.h | 10 +
gfx/layers/Layers.h | 6 +-
gfx/layers/composite/ContainerLayerComposite.cpp | 161 +++++++---
gfx/layers/composite/ContainerLayerComposite.h | 3 +
gfx/thebes/gfxPrefs.h | 2 +
gfx/vr/gfxVR.cpp | 56 ++++
gfx/vr/gfxVR.h | 37 +++
gfx/vr/gfxVRCardboard.cpp | 54 +---
gfx/vr/gfxVROculus.cpp | 367 +++++++++++++++--------
gfx/vr/gfxVROculus.h | 14 +-
gfx/vr/moz.build | 10 +
gfx/vr/ovr_capi_dynamic.h | 261 +++++++++++-----
modules/libpref/init/all.js | 3 +
13 files changed, 694 insertions(+), 290 deletions(-)
2015-07-02 11:58:24 -04:00
Vladimir Vukicevic
4661807fc2
Bug 1179933, add Layer::ReplaceEffectiveTransform for temporary transform changes; r=mstange
...
---
gfx/layers/Layers.h | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
2015-05-19 13:56:31 -04:00
Botond Ballo
46912805fb
Bug 1131359 - Fix an include-what-you-use error in AsyncCompositionManager.cpp. r=kats
2015-07-27 18:48:54 -04:00
Botond Ballo
b70da53918
Bug 1131359 - Port the double-tap-to-zoom functionality of BrowserElementPanning.js to C++. r=kats
2015-07-27 14:07:58 -04:00
Botond Ballo
cdd1ddf2d4
Bug 1186164 - When clearing the overscroll animation state, make sure GetOverscroll() continues to reflect the correct direction of overscroll. r=Cwiiis
2015-07-22 18:55:55 -04:00
Bobby Holley
106e778c81
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Matt Woodrow
d1919e5cd5
Bug 1180326 - Part 6: Use SingleTiledContentClient for non-scrollable layers on b2g and OSX. r=jrmuizel
2015-07-29 12:03:01 -04:00
Matt Woodrow
400115e8ec
Bug 1180326 - Part 5: Support HWC with tiling when we only have 1 tile. r=jrmuizel
2015-07-29 12:02:50 -04:00
Matt Woodrow
23abbf04c3
Bug 1180326 - Part 4: Add new content client. r=jrmuizel
2015-07-29 12:02:40 -04:00
Matt Woodrow
3ae3aaf84c
Bug 1180326 - Part 3: Move repeated code into GetBackBuffer. r=jrmuizel
2015-07-29 12:02:27 -04:00
Matt Woodrow
b3a0c4fc49
Bug 1180326 - Part 2: Add support for variable tile sizes. r=jrmuizel
2015-07-29 12:01:21 -04:00
Matt Woodrow
7fcdfa5daa
Bug 1180326 - Part 1: Abstract parts of the client side tiling that we need. r=jrmuizel
2015-07-29 12:01:11 -04:00
Nicholas Nethercote
53dc8b3e1b
Bug 1188705 (part 3) - Simplify imgFrame::SizeOfExcludingThis(). r=seth.
...
imgFrame::SizeOfExcludingThis() measures heap and non-heap memory in a very
complex way. This patch simplifies it and removes gfxMemoryLocation in the
process. (gfxMemoryLocation::OUT_OF_PROCESS was unused.)
2015-07-28 21:02:45 -07:00
Nicholas Nethercote
e57cd91501
Bug 1188705 (part 1) - Remove gfxASurface::GetMemoryLocation(). r=seth.
...
It's unused.
2015-07-28 18:33:41 -07:00
Lee Salzman
8f1d3691ab
Bug 1185636 - Remove hard stop workaround for Cairo due to regressions. r=jrmuizel
2015-07-20 14:51:50 -04:00
David Anderson
a10ad42d90
Refactor graphics device initialization on Windows. (bug 1183910 part 1, r=mattwoodrow,bas)
...
This patch addresses a number of inconsistencies in the device initialization process, as well as simplifying it for future use. All device decisions are now explicitly made up-front during startup, rather than implicitly or on-demand. In addition a number of restrictions have been placed on when we can construct devices.
Full change list:
(1) We no longer attempt to use D3D11 if acceleration is disabled or D3D9 is preferred. This is a departure from our previous behavior, where we would construct these devices but then not use them as a compositor backend.
(2) D3D11 startup no longer creates a content device (this is reserved for D2D initialization).
(3) D2D is only attempted if we managed to create a D3D11 compositor device. This is a departure from previous behavior where if D3D11 was not used for compositing, we could still create its machinery to use D2D as a content backend.
(4) D2D 1.1 initialization is now directly responsible for creating a D3D11 content device.
(5) D2D 1.0 and 1.1 logic have been disentangled for clarity.
(6) UpdateRenderMode() has been split up, so we can update backend prefs out of band with device resets.
(7) mUseGDIFonts and mUseDirectWrite have been removed as their state was confusing. Instead, D2D now depends on DWrite initialization succeeding. If later we fail to get a DWrite font list, we revert our decision to use Direct2D.
(8) Device resets now clear a little more state, including the devices set in Moz2D Factory.
(9) We no longer create a DWrite text analyzer as it was unused.
2015-07-28 16:52:54 -07:00
Lee Salzman
79ef3ad1e1
Bug 1179859 - Fix _cairo_box_intersects_line_segment early rejection tests. r=jrmuizel
2015-07-21 23:38:44 -04:00
Vladimir Vukicevic
98c6242570
Bug 1161670, cache D3D11 ShaderResourceView on TextureSourceD3D11; r=bas,jrmuizel
2015-05-05 14:35:29 -04:00
Nicolas Silva
3ab4db55de
Bug 1118876 - Add edge padding with DrawTargetTiled. r=jrmuizel
2015-07-12 11:11:30 +02:00
Ehsan Akhgari
6475fc4b90
Bug 1188206 - Fix more constructors in gfx; r=jrmuizel
2015-07-28 08:53:26 -04:00
David Anderson
4684b384c0
Clear the blur cache after device resets. (bug 1188032, r=bas)
2015-07-28 00:38:41 -07:00
David Anderson
9a684f550c
Fix d3d11 texture sharing checks being preserved across device resets. (bug 1183910 part 6, r=mattwoodrow)
2015-07-28 00:06:13 -07:00
Bas Schouten
74475c3e10
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Kartikaya Gupta
704e816a33
Bug 1187792 - Don't set the SPCSPS unless meta-viewport or zooming is enabled. r=botond
2015-07-27 22:09:37 -04:00
Ryan VanderMeulen
3a870937bc
Backed out changeset adbd8a7608e4 (bug 1176363
) for mochitest-gl permacrashes.
2015-07-27 13:54:56 -04:00
Bas Schouten
90b79e0e3c
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Lee Salzman
cc40b36469
Bug 1187210 - limit ArcToBezier sweeps while taking care of floating-point inaccuracy. r=eihrul
2015-07-25 02:45:02 -04:00
Kartikaya Gupta
e4d72b429c
Bug 1134917 - Hoist assertion into the one callsite where it is actually valid. r=botond
2015-07-24 14:33:47 -04:00
Sotaro Ikeda
a024b5aa03
Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu
2015-07-24 10:56:05 -07:00
Bas Schouten
066a7c1c18
Bug 1187075: Implement cairo atomics for Win32. r=jrmuizel
2015-07-24 16:41:02 +00:00
Sotaro Ikeda
4e0baa6c64
Bug 1186968 - Fix Compositor::SetScreenRotation() call r=nical
2015-07-24 07:13:59 -07:00
Jamie Nicol
aadf5f2161
Bug 1186911 - Fix progressive paint when using tiled-drawtarget. r=nical
...
The commit for bug 1176077 did not correctly handle the code path for
when both progressive paint and tiled-drawtarget are enabled. This
fixes it.
2015-07-24 10:42:12 +01:00
Kyle
2334850aea
Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert
2015-07-23 13:12:59 -04:00
Kyle
e49a0c330b
Bug 1167651 - Added an initialization to mDoesD3D11TextureSharingWork for Windows 8 and later. r=bas
2015-07-13 15:23:26 -04:00
Kyle
5d92101222
Bug 1167651 - Made EGL initialize its ANGLE display using WARP if the system is blacklisted from using HW acceleration for WebGL ANGLE or if WebGL WARP is forced through a pref. ClientCanvasLayer is changed so that it will use shared surfaces only if the compositing device and the WebGL device are both WARP or both not WARP. Added a mIsWARP field to GLLibraryEGL so that this condition can be checked. r=jgilbert
2015-07-23 13:11:04 -04:00
Benoit Girard
57030ee10d
Bug 1186159 - Add an APZ minimap. r=kats
2015-07-23 11:29:22 -04:00
Kearwood (Kip) Gilbert
4532f4438d
Bug 1181240 - Part 4: Remove gfx3DMatrix,r=vlad
...
- Removed the gfx3DMatrix class, which has been replaced with Matrix4x4
2015-07-10 17:12:29 -07:00
Kearwood (Kip) Gilbert
f0bef5f2b3
Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Kearwood (Kip) Gilbert
3f9b5c0c0f
Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:05:47 -07:00
Kearwood (Kip) Gilbert
4a051e26c3
Bug 1181240 - Part 1: Copy methods from gfx3DMatrix,r=vlad
...
- Copied methods from gfx3DMatrix to Matrix4x4, gfxPoint, and gfxRect that
with at double-precision floating point.
2015-07-09 16:27:38 -07:00
Milan Sreckovic
4ad66be42e
Bug 1173579 - Take the first valid default font. r=jdagget
2015-07-21 14:22:25 -04:00
Kartikaya Gupta
c4a7ab6183
Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange
2015-07-22 23:42:08 -04:00
Kartikaya Gupta
6b2369f993
Bug 1186004 - Add a pref to enable/disable APZ zooming behaviour. r=botond
2015-07-22 23:42:08 -04:00
Tim Stullich
f32e7dfd7d
Bug 1171312 - Add generic tree search algorithms for layers-related data structures. r=botond
2015-07-21 16:36:08 -07:00
Jamie Nicol
7f8f9c94b5
Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
...
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Jeff Muizelaar
2187a30f1d
Bug 1186002. Avoid testing for recreate on broken drivers. r=dvander
2015-07-22 10:32:31 -04:00
Nicolas Silva
f241518189
Bug 1186208 - Fix crash when tiling is enabled on linux. r=mattwoodrow
2015-07-22 16:06:02 +02:00
Dan Glastonbury
32e627aa24
Bug 1170455
- Part 3: Wrangle GetVertexAttribI symbols. r=jgilbert
2015-07-22 11:59:17 +10:00
Jeff Muizelaar
d93fe7cfe4
Bug 1186025. Optimize the usage of regions. r=mstange
...
This eliminates a bad idiom in some places.
2015-07-21 10:54:44 -04:00
Sotaro Ikeda
2d816fdbbe
Bug 1186031 - Fix SetDispAcquireFence() calling r=nical
2015-07-21 09:56:17 -07:00
Ting-Yu Lin
5373b86d2f
Bug 1185840 - Make nsRegion::ToString() print string literal. r=roc
...
The function prints a region like [14,118,87,153; 14,218,87,253].
2015-07-21 00:23:00 +08:00
Kartikaya Gupta
03f659c8d0
Bug 1178847 - Move the code from ChromeProcessController::InitializeRoot to APZCCallbackHelper so it can be reused in the child process. r=botond
2015-07-21 10:51:22 -04:00
Carsten "Tomcat" Book
beb5e58493
Backed out changeset 2b2d3c44819e (bug 1178847) for windows reftest failures/assertions
2015-07-21 08:35:29 +02:00
Kartikaya Gupta
0483dea2be
Bug 1178847 - Move the code from ChromeProcessController::InitializeRoot to APZCCallbackHelper so it can be reused in the child process. r=botond
2015-07-20 18:19:40 -04:00
Seth Fowler
2100dfa4a6
Bug 1185582 - Back out bug 1171356, a hack to retry image decoding which is now useless. r=tn
2015-07-20 11:24:59 -07:00
David Anderson
dc0138c34a
Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow)
2015-07-19 14:50:35 -07:00
Ryan VanderMeulen
7a0228a1fa
Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes.
2015-07-19 22:39:20 -04:00
Sotaro Ikeda
ce669f1dab
Bug 1167799 part 2 - Add EGL_ANDROID_image_crop support r=nical,jgilbert
2015-07-19 16:03:10 -07:00
Sotaro Ikeda
6065c98569
Bug 1167799 part 1 - Remove size from NewSurfaceDescriptorGralloc r=nical
2015-07-19 16:02:51 -07:00
David Anderson
e4541b0cb2
Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow)
2015-07-19 14:50:35 -07:00
Daniel Holbert
6ecc0cd76d
Bug 1185011: Add 'override' annotations to DataSourceSurface subclasses in SourceSurfaceRawData.h, to fix clang -Winconsistent-missing-override build warnings/errors. rs=ehsan
2015-07-17 09:58:16 -07:00
Matt Woodrow
2b9c676217
Bug 1176363
- Part 2: Allow mapping of SourceSurfaceRawData from multiple threads. r=bas
2015-07-16 03:36:00 -04:00
Eric Rahm
3c5e067e6b
Bug 1184282 - Remove break suggested inside cluster warning. r=roc
2015-07-16 16:43:04 -07:00
David Anderson
2d6d81d452
Move more compositor backend checks into gfxPlatform. (bug 1179051 part 4, r=mattwoodrow)
2015-07-16 15:18:38 -07:00
David Anderson
a95f1bd843
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
2015-07-16 15:18:05 -07:00
David Anderson
09b894c613
Fix regression where WARP could be used as a fallback on Windows 7. (bug 1179051 part 2.1, r=jrmuizel)
2015-07-16 14:45:06 -07:00
Andreas Pehrson
a7fadaae8e
Bug 1173654 - Part 1: Add logging methods for SurfaceType and ImageFormat. r=Bas
2015-07-16 09:29:26 +08:00
Kartikaya Gupta
f50ee25013
Bug 1145295 - Update assertion to allow for transaction id resets. r=mattwoodrow
2015-07-16 14:18:55 -04:00
Milan Sreckovic
f5f003bce4
Bug 1182209 - Additional info with some critical errors. r=mchang
...
CLOSED TREE
2015-07-14 15:22:29 -04:00
Andrew Comminos
a41cfb0a53
Bug 1184224 - Remove gfxPrefs.h include from gfxPlatformGtk.h. r=karlt
...
CLOSED TREE
2015-07-15 11:38:00 -04:00
Ryan VanderMeulen
8461185365
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-16 12:45:32 -04:00
Ryan VanderMeulen
b0db5f3006
Backed out changeset 01478a143658 (bug 1159751) for causing bug 1184539.
...
CLOSED TREE
2015-07-16 11:11:39 -04:00
David Anderson
1fcddd386d
Break InitD3D11Devices up into smaller functions. (bug 1179051 part 2, r=bas)
2015-07-15 23:59:39 -07:00
David Anderson
f6dec8e6ad
Split gfxWindowsPlatform::UpdateRenderMode() into multiple functions. (bug 1179051 part 1, r=bas)
2015-07-15 23:59:04 -07:00
Matt Woodrow
c4cd88aab0
Bug 1179987 - Remove painted region from SurfaceDescriptorTiles since it isn't used any more. r=nical
2015-07-15 13:36:12 -04:00
Matt Woodrow
72efe5a1fb
Bug 1179987 - Make tiled TextureSource recycling based on pointer comparisons rather than trying to do it geometrically. r=nical
2015-07-15 13:34:35 -04:00
Matt Woodrow
b2b3bc3f8f
Bug 1179987 - Simplify unlocking of tiled texture hosts. r=nical
2015-07-15 13:33:11 -04:00
Jeff Muizelaar
b5a9d65b05
Bug 1184130. Report mismatches of adapter description and vendor id that we get from the registry. r=bas
...
This should help us detect optimus configurations better.
2015-07-14 15:00:24 -04:00
Steven Michaud
5346188009
Bug 1181197 - Fix null dereference in SharedPlanarYCbCrImage destructor. r=jgilbert
2015-07-15 11:56:36 -05:00
Jeff Muizelaar
9214c5266a
Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
2015-07-08 16:51:09 -04:00
Simon Montagu
9f32d87101
Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame
2015-07-15 05:55:24 -07:00
Simon Montagu
9d5ffeb0b9
Bug 1183209 patch 1: add new script codes from Unicode 8 to harfbuzz, r=jfkthame
2015-07-15 05:55:09 -07:00
Makoto Kato
8cf4bed83b
Bug 1176158 - Part 2. Remove unused ko_xxx and x_symbols from gfxGDIFontList. r=jdaggett
2015-07-15 17:18:42 +09:00
Nicholas Nethercote
87a12bf482
Bug 1182962 (part 3) - Use nsTHashtable::Iterator in gfxPlatformFontList. r=jdaggett.
2015-07-13 19:08:31 -07:00
Nicholas Nethercote
6c8339c14c
Bug 1182962 (part 2) - Use nsTHashtable::Iterator in gfxFont. r=jfkthame.
2015-07-13 19:08:16 -07:00
Nicholas Nethercote
e0c7a0cdc5
Bug 1182962 (part 1) - Use nsTHashtable::Iterator in gfxUserFontSet. r=jfkthame.
2015-07-13 17:41:12 -07:00
Seth Fowler
55a7c119be
Bug 1183836 - Remove support for decode-on-draw-only. r=tn
2015-07-14 18:16:31 -07:00
Jeff Gilbert
4d9da3bee5
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Kyle
b084a465ee
Bug 1182547 - Replace InitExtensions() with InitExtensionsFromDisplay() so that queries can be made with specific displays and add symbol loading for GetPlatformDisplayEXT so that the ANGLE_platform_angle_d3d extension can be used. r=jgilbert
2015-07-10 14:47:48 -04:00
Andrew Comminos
219b4c782e
Bug 1183820 - Expose if cairo uses XRender to GetAzureBackendInfo. r=mattwoodrow
2015-07-14 13:56:00 -04:00
Bas Schouten
3cb86e792e
Bug 1159751: Ensure WARP can never be used for Windows 7. r=milan
2015-07-14 17:02:21 +00:00
Ting-Yu Lin
d1003f6084
Bug 1183085 - Remove EndConstruction() from layer documentation; r=roc
...
EndConstruction() was removed in bug 564993.
2015-07-13 21:44:11 +08:00
Ehsan Akhgari
1731ed08e5
Bug 1180552 - Don't treat -Wuninitialized warnings as errors in Cairo; r=jrmuizel
2015-07-13 19:28:53 -04:00
Botond Ballo
1108f5b6cd
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
2015-07-13 11:53:10 -04:00
George Wright
65bdd9320b
Bug 1002466
- Use SK_ScalarNearlyZero instead of 0.0f to render dots r=mattwoodrow
2014-04-29 18:38:35 -04:00
Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Morris Tseng
dc5920b015
Bug 1182950 - Fix compile error in non-unified build. r=botond
2015-07-12 23:23:00 -04:00
Nicolas Silva
e6a5a9b15d
Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange
2015-07-13 16:46:48 +02:00
Lee Salzman
e634b6e971
Bug 1170390 - Use Optimal2DFormatForContent over OptimalFormatForContent to avoid enum conversions. r=jrmuizel
2015-07-06 22:27:19 -04:00
Lee Salzman
d5109076a8
Bug 1170390 - Add gfxASurface::GetSurfaceFormat for retrieving precise surface format where necessary. r=jrmuizel
2015-07-06 22:11:38 -04:00
Lee Salzman
a34975493d
Bug 1170390 - Make gfxPlatform::CreateOffscreenSurface use explicit format rather than guess. r=jrmuizel
2015-07-06 21:21:47 -04:00
Lee Salzman
c85b595075
Bug 1170390 - Detect 16bpp cairo xlib surface format. r=jrmuizel
2015-07-06 20:19:56 -04:00
John Daggett
8742a89b16
Bug 1163488 - use the preprocessor to keep font lang arrays in sync. r=m_kato
2015-07-10 23:49:26 +09:00
David Anderson
5a4203b475
Annotate crash reports during graphics driver initialization guards. (bug 1181375 part 3, r=mattwoodrow)
2015-07-10 20:04:14 -07:00
Jeff Muizelaar
51b48936c3
Bug 1109718. Log when RenderTargetView's need to be recreated. r=mwoodrow
...
This should help us figure out how wide spread this problem is.
2015-07-10 16:56:09 -04:00
Nicolas Silva
d0c90cb110
Bug 1129871 - Avoid copying TileClient when not necessary. r=BenWa
2015-07-10 13:50:21 +02:00
Carsten "Tomcat" Book
fd480f7401
Backed out changeset f4d81e9a81e0 (bug 1181375)
2015-07-10 09:27:24 +02:00
David Anderson
a01b941696
Annotate crash reports during graphics driver initialization guards. (bug 1181375 part 3, r=mattwoodrow)
2015-07-09 23:17:17 -07:00
Randell Jesup
9991856107
Bug 1155059: Patch 6 - fix problems with gfxFontInfoLoader shutdown sequence r=jdaggett
2015-07-09 23:21:46 -04:00
Kartikaya Gupta
b7bc482920
Bug 1181678 - Improve the check for skipping test_layerization if APZ is disabled. r=botond
2015-07-09 09:54:09 -04:00
Maksim Lebedev
5c4a1f5c32
Bug 1177323 - disable decode-only-on-draw preference. r=seth
2015-07-08 00:19:00 +02:00
Kyle
1f77d92629
Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
2015-07-07 14:56:23 -04:00
Mason Chang
f392a27116
Bug 1181028. Delete assertion to create equivalent draw targets during box shadow creation. r=mstange
2015-07-08 10:00:32 -07:00
Nicolas Silva
54d1ea287f
Bug 1178753 - Always enable async-video when OMTC is enabled. r=sotaro
2015-07-08 09:28:48 +02:00
John Daggett
8091004bda
Bug 1180415 - initialize downloadable font pattern from FTFace. r=karlt
2015-07-08 14:44:32 +09:00
Mason Chang
1e4a4d3d88
Bug 1181028. Log assert error. r=me
2015-07-07 15:41:29 -07:00
Robert O'Callahan
3d3268c3c1
Bug 1181303. Set composition time earlier so that computing invalid regions works properly. r=mattwoodrow
2015-07-08 08:50:29 +12:00
Seth Fowler
8441769275
Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn
2015-07-07 14:00:08 -07:00
Wes Kocher
c6423d0a96
Backed out changeset 1afe81135def (bug 1181028) for android build bustage CLOSED TREE
2015-07-07 12:23:33 -07:00
Mason Chang
6642f354a6
Bug 1181028. Log assert error. r=me
2015-07-07 12:00:48 -07:00
Ryan VanderMeulen
18afe1cb5f
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-07 13:38:10 -04:00
Ryan VanderMeulen
c076b1148d
Merge b2g-inbound to m-c. a=merge
2015-07-07 13:25:39 -04:00
Hiroyuki Ikezoe
a98fa02cfd
Bug 1175751 - Apply playback rate to compositor animations. r=bbirtles
2015-07-06 19:05:00 +02:00
Mason Chang
252332b5d8
Bug 1179049. Properly null check for draw target in box shadow code. r=mstange
2015-07-06 08:58:22 -07:00
Nicolas Silva
bb9aef341d
Bug 1178816 - Fix a crash when DrawTargetD2D1 fails to initialize. r=milan
2015-07-06 17:57:03 +02:00
Kartikaya Gupta
fa9c7e68df
Bug 1176798 - Increase the content response timeout to prevent intermittently failing. r=botond
2015-07-06 09:53:11 -04:00
Cervantes Yu
d0d380cd18
Bug 1180644: Fix crashes after enabling OOP on B2GDroid. r=snorp
2015-07-06 19:18:20 +08:00
Robert O'Callahan
e701b816c3
Bug 1181085
- Don't accumulate ImageCompositeNotifications when we're compositing to a DrawTarget. r=nical
...
CLOSED TREE
2015-07-08 00:12:24 +12:00
Dylan Roeh
fe4c41859d
Bug 1153848 - Add pref to disable SurfaceTexture attach/detach. r=snorp
2015-07-06 16:43:45 -05:00
Dragana Damjanovic
c7fc0a288e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Lee Salzman
29638db104
Bug 1180246 - Part 4 - reduce Cairo dependencies where safe in TextureClientD3D9. r=bas
2015-07-03 11:54:35 -04:00
Lee Salzman
f2c9badec6
Bug 1180246 - Part 3 - remove usage of cairo_d2d_device. r=bas
2015-07-02 17:44:53 -04:00
Lee Salzman
94f9867660
Bug 1180246 - Part 2 - kill gfxD2DSurface with fire. r=bas
2015-07-02 08:02:59 -04:00
Lee Salzman
54afeb6c7a
Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas
2015-07-02 08:02:51 -04:00
Robert O'Callahan
acb540bea6
Bug 1143575. Add assertion for diagnostic purposes. r=nical
2015-07-06 17:20:23 +12:00
Robert O'Callahan
5844f35124
Bug 1143575. Fix build by ensuring ColorLayerComposite uses namespace gfx. r=nical
2015-07-04 10:50:30 +12:00
Robert O'Callahan
7a27819a5a
Bug 1143575. Add a bias value to ImageHost to avoid unpredictable results when image times and compositor times are closely aligned. r=nical
2015-06-15 15:27:02 +12:00
Karl Tomlinson
6649094fd6
bug 1180012 remove unused GetPrefFonts() r=jdaggett
2015-05-19 19:39:51 +12:00
Robert O'Callahan
3e6ba27857
Bug 1143575. Let ImageContainer::SetCurrentImages accept multiple images. r=nical
2015-05-25 14:33:35 +12:00
Robert O'Callahan
78a9c11df4
Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical
2015-07-03 22:13:48 +12:00
Robert O'Callahan
fd527c8295
Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical
2015-06-15 14:45:59 +12:00
Robert O'Callahan
f14957a15b
Bug 1143575. Implement ImageContainer::GetDroppedCount. r=nical
2015-05-11 14:07:07 +12:00
Robert O'Callahan
a60e071b21
Bug 1143575. Clarify code by renaming method to ClearCurrentImageFromImageBridge. r=nical
...
We need to make it clear that ClearCurrentImage is really an internal method
of the ImageContainer implementation, not a method that ImageContainer users
should call.
2015-03-26 14:17:13 +13:00
Robert O'Callahan
3da031b651
Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical
...
ImageBridgeChild::FlushAllImages with aExceptFront==true does absolutely
nothing, so remove the parameter and remove all callers which pass true.
2015-03-26 14:08:30 +13:00
Robert O'Callahan
407df544d9
Bug 1143575. Implement ImageContainer::GetPaintDelay. r=nical
2015-07-03 19:39:09 +12:00
Robert O'Callahan
4c9be9c5c5
Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical
2015-07-07 09:58:18 +12:00
Robert O'Callahan
5da95d1584
Bug 1143575. Async image invalidation does not necessarily need to invalidate the layer; LayerTreeInvalidation will do that for us. r=mattwoodrow
...
We need to remove this so that adding images to the end of the list of images
for an ImageLayer doesn't force composition to happen even if nothing else
has changed.
2015-05-15 18:16:41 +12:00
Robert O'Callahan
745582f4ee
Bug 1143575. Exit composition early if nothing is invalid. r=mattwoodrow
...
We need this change so that when ImageHost has a next image to display
more than one composition-interval in the future, we skip the actual
compositing work in those intermediate composition(s) if nothing else
has changed.
This change is a little bit scary since it breaks any code that was
previously assuming ScheduleComposition would actually update the screen.
However, that code was already broken for BasicCompositor.
2015-05-15 18:27:04 +12:00
Robert O'Callahan
125bf1559e
Bug 1143575. Make LayerTreeInvalidation invalidate when an ImageLayerComposite's current frame has changed. r=mattwoodrow
2015-06-07 12:27:06 +03:00
Robert O'Callahan
f3ff1b5c23
Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
...
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
2015-07-06 15:02:26 +12:00
Robert O'Callahan
efca013ba5
Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical
2015-07-03 22:37:03 +12:00
Robert O'Callahan
77012707de
Bug 1143575. Factor out AsyncTransactionWaiter from AsyncTransactionTracker so we'll be able to wait for multiple AsyncTransactionTrackers. r=nical,sotaro
2015-05-12 15:36:49 +12:00
Robert O'Callahan
bdc6e7257d
Bug 1143575. Fix some code formatting. r=nical
2015-03-20 16:46:29 +13:00
Robert O'Callahan
92a09b0193
Bug 1143575. ImageClient::UpdateImage should not return false when there's no image, because recreating the ImageClient won't help. r=nical
2015-03-19 21:06:27 +13:00
Robert O'Callahan
8f72b276f0
Bug 1143575. Remove ImageClientBridge::Updated. r=nical
2015-03-19 21:00:52 +13:00
Robert O'Callahan
8ba13e5876
Bug 1143575. Replace ImageClientSingle::UpdateImage's use of Image serial numbers with ImageContainer state generation counters, and switch it to use ImageContainer::GetCurrentImages. r=nical
...
When ImageContainer and ImageClient are managing a list of images, the
individual Image serial numbers are no longer enough to detect whether the
state has changed.
2015-05-12 12:56:09 +12:00
Robert O'Callahan
4ea78a5cc2
Bug 1143575. Ensure we schedule another composite if ImageHost has pending images. r=nical
2015-03-19 19:58:16 +13:00
Robert O'Callahan
8904d5f44d
Bug 1143575. Implement ImageHost support for multiple timed images. r=nical
2015-05-25 22:48:09 +12:00
Robert O'Callahan
3cd1184fdf
Bug 1143575. Store composition time in Compositor. r=nical
...
We'll need this later so ImageHost can select the correct image to use.
Adding a TimeStamp parameter to BeginFrame is a bit annoying since BeginFrame
is overridden by every subclass. It's a bit more convenient to just call a
separate non-virtual method just before we call BeginFrame.
2015-07-07 15:38:38 +12:00
Robert O'Callahan
43d10b00a4
Bug 1143575. Extend IPDL OpUseTexture to support multiple timestamped images. r=nical
2015-05-04 22:59:02 +12:00
Robert O'Callahan
292adc3c7d
Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
2015-03-27 12:07:53 +13:00
Robert O'Callahan
50198d43fc
Bug 1143575. Fix typo in ImageContainer comment. r=nical
2015-03-16 23:23:50 +13:00
Robert O'Callahan
07ef0f7d0d
Bug 1143575. Rename ImageBridgeChild's AutoRemoteTextures to AutoRemoveTexturesFromImageBridge to avoid clashes with later work. r=nical
2015-03-16 23:20:42 +13:00
Robert O'Callahan
05a2f9de86
Bug 1143575. Pass a picture rect with OpUseOverlaySource and OpUseTexture, and eliminate OpUpdatePictureRect. r=nical
...
The picture rect logically belongs with the texture, and later patches will
make OpUseTexture take multiple textures, each of which needs its own
picture rect.
2015-07-04 10:52:42 +12:00
Robert O'Callahan
db09f27c29
Bug 1143575. Move mLayer from ImageClientBridge up into its superclass ImageClient. r=nical
...
This simplifies code slightly.
2015-03-25 22:02:04 +13:00
Robert O'Callahan
51df6923f6
Bug 1143575. Remove unused CompositableClient::OnTransaction. r=nical
2015-03-25 21:30:25 +13:00
Robert O'Callahan
b3afb10984
Bug 1143575. Remove unused AttachAsyncCompositable overload. r=nical
2015-05-08 15:58:17 +12:00
Robert O'Callahan
dd5a99f85a
Bug 1143575. LayerManagerComposite can't get END_NO_COMPOSITE. r=mattwoodrow
2015-05-15 18:33:20 +12:00
Robert O'Callahan
4ab5c86cbb
Bug 1143575. Remove unused ReturnReleaseFence. r=nical
2015-05-12 09:53:22 +12:00
Robert O'Callahan
d8bbca6323
Bug 1143575. Remove unused ImageContainer::ResetPaintCount. r=nical
2015-03-23 23:39:28 +13:00