gecko-dev/gfx/layers
Jean-Yves Avenard 4fd0cbda6e Bug 1421187 - P3. Optimize pixels data copy and remove extra loop. r=mattwoodrow
There's no need to perform the format test within the loop, so we can separate the different cases as needed.
Also copy the entire pixel data in one go, by using C types.

The skip value definition doesn't specify if it's in bytes, or in "pixels". We will assume the later. There are currently no decoders returning HDR content with a skip value different than zero anyway.

MozReview-Commit-ID: KTwYuNKJq3R

--HG--
extra : rebase_source : 3f1989c37ebdab6a60605815a961eda7286c423c
2017-11-28 16:29:49 +01:00
..
apz Bug 1418541 - Remove HitTestResult and use CompositorHitTestInfo instead. r=botond 2017-11-25 10:53:38 -05:00
basic Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
client Bug 1421187 - P3. Optimize pixels data copy and remove extra loop. r=mattwoodrow 2017-11-28 16:29:49 +01:00
composite Backed out 5 changesets (bug 1420674) for Build Bustage. r=backout on a CLOSED TREE 2017-11-29 06:03:31 +02:00
d3d11 Bug 1415754 - try to use egl stream instead of CreatePbufferFromClientBuffer() for d3d rgb format texture. r=jgilbert 2017-11-28 20:04:00 +08:00
ipc Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange 2017-11-25 01:29:01 +01:00
layerviewer
mlgpu Backed out 5 changesets (bug 1420674) for Build Bustage. r=backout on a CLOSED TREE 2017-11-29 06:03:31 +02:00
opengl Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
protobuf Bug 1411450 - Add the protobuf version to LayerScopePacket.proto. r=mattwoodrow 2017-10-26 16:15:30 -07:00
wr Bug 1421196 - Set default draw target to basic layer manager so that we won't have different backend. r=kats 2017-11-28 17:25:49 +08:00
AnimationHelper.cpp Bug 1340005 - Part 7: Switch compositor animations to Servo backend for desktop. r=birtles,hiro,nical 2017-10-27 21:13:27 +02:00
AnimationHelper.h Bug 1340005 - Part 3: Use AnimationValue on the compositor thread. r=birtles 2017-09-21 17:01:48 +08:00
AnimationInfo.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AnimationInfo.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AsyncCanvasRenderer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AsyncCanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AtomicRefCountedWithFinalize.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsMSDModel.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsMSDModel.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsModel.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsModel.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BSPTree.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BSPTree.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferTexture.cpp Bug 1421187 - P2. Properly set bytesPerPixel in MappedYCbCrTextureData. r=mattwoodrow 2017-11-28 15:53:54 +01:00
BufferTexture.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferUnrotate.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferUnrotate.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CanvasRenderer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
Compositor.cpp Bug 1410766 - Re-acquireDevices in gpu process when SimulateDeviceReset() is called r=dvander 2017-11-03 17:06:37 +09:00
Compositor.h Bug 1410766 - Re-acquireDevices in gpu process when SimulateDeviceReset() is called r=dvander 2017-11-03 17:06:37 +09:00
CompositorTypes.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CopyableCanvasRenderer.cpp Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro 2017-11-23 16:31:55 +08:00
CopyableCanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3D9SurfaceImage.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3D9SurfaceImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3D11ShareHandleImage.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3D11ShareHandleImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3D11YCbCrImage.cpp Bug 1417373 - Add initialize setting to texture Cb's property description; r=jya 2017-11-15 18:13:12 +08:00
D3D11YCbCrImage.h Bug 1415763 - Fix DXGIYCbCrTextureData as to deliver YUVColorSpace r=mattwoodrow 2017-11-10 18:15:54 +09:00
DirectedGraph.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
DirectionUtils.h Bug 1420516 - Remove ScrollDirection::NONE. r=kats 2017-11-20 19:00:34 -05:00
Effects.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
Effects.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
FrameMetrics.cpp Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange 2017-11-25 01:29:01 +01:00
FrameMetrics.h Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange 2017-11-25 01:29:01 +01:00
GLImages.cpp Bug 1412427 part 1: Add standard mode line & MPL boilerplate to a few gfx C++ files that are missing it entirely. r=jrmuizel 2017-10-27 15:55:37 -07:00
GLImages.h Bug 1413500 - Disable video surface readback (for page thumbnail) on Android r=jgilbert 2017-11-22 12:28:15 -06:00
GPUVideoImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
IMFYCbCrImage.cpp Bug 1415763 - Fix DXGIYCbCrTextureData as to deliver YUVColorSpace r=mattwoodrow 2017-11-10 18:15:54 +09:00
IMFYCbCrImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
IPDLActor.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageContainer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageContainer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageDataSerializer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageDataSerializer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageLayers.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageLayers.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageTypes.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerAttributes.h Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond 2017-11-24 16:23:05 -05:00
LayerMetricsWrapper.h Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond 2017-11-24 16:23:05 -05:00
LayerScope.cpp Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas) 2017-11-09 00:43:30 -08:00
LayerScope.h Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel 2017-07-05 11:18:49 -04:00
LayerSorter.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerSorter.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerTreeInvalidation.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerTreeInvalidation.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerUserData.h
Layers.cpp Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond 2017-11-24 16:23:05 -05:00
Layers.h Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond 2017-11-24 16:23:05 -05:00
LayersHelpers.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayersHelpers.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayersLogging.cpp Bug 951793 - Add overscroll-behavior to the layer dump. r=kats 2017-11-25 01:29:17 +01:00
LayersLogging.h Bug 951793 - Add overscroll-behavior to the layer dump. r=kats 2017-11-25 01:29:17 +01:00
LayersTypes.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayersTypes.h Bug 1420516 - Remove ScrollDirection::NONE. r=kats 2017-11-20 19:00:34 -05:00
MacIOSurfaceHelpers.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceHelpers.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceImage.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
PaintThread.cpp Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, r=bas) 2017-11-17 01:37:01 -05:00
PaintThread.h Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, r=bas) 2017-11-17 01:37:01 -05:00
PersistentBufferProvider.cpp Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro 2017-11-23 16:31:55 +08:00
PersistentBufferProvider.h Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro 2017-11-23 16:31:55 +08:00
ReadbackLayer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ReadbackProcessor.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ReadbackProcessor.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTrace.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTrace.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RotatedBuffer.cpp Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas) 2017-10-26 00:47:17 -04:00
RotatedBuffer.h Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas) 2017-10-26 00:47:17 -04:00
ShareableCanvasRenderer.cpp Bug 1411472 - Add support of PersistentBufferProviderShared r=nical 2017-11-16 14:47:26 +09:00
ShareableCanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SourceSurfaceSharedData.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
SourceSurfaceSharedData.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
SourceSurfaceVolatileData.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SourceSurfaceVolatileData.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SyncObject.cpp Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-24 23:52:56 -07:00
SyncObject.h Bug 1409176 - make SyncObjectD3D11Client become fallible. r=dvander 2017-11-06 16:07:22 +08:00
TextureDIB.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureDIB.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureSourceProvider.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureSourceProvider.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureWrapperImage.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureWrapperImage.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TiledLayerBuffer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TransactionIdAllocator.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TreeTraversal.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
UpdateImageHelper.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
moz.build Record buffer operations to a struct for replaying on paint thread (bug 1399692 part 6, r=bas) 2017-10-25 10:20:49 -04:00