Commit Graph

24070 Commits

Author SHA1 Message Date
Milan Sreckovic
6fcbf9169d Bug 1323625: The callers are using Factory::CheckSurfaceSize to guard against zero sized surfaces, so we'll remove the warning. r=rhunt
MozReview-Commit-ID: DzFUjTlXfeT

--HG--
extra : rebase_source : 683250aecffa1e738e5f4963c677b4e169debdfd
2016-12-15 10:32:10 -05:00
Daosheng Mu
370aa4a0c8 Bug 1315896 - Part 3: Remove MOZ_GAMEPAD in VR module; r=kip
MozReview-Commit-ID: I9vJvxgFgIh

--HG--
extra : rebase_source : 270e971ace44b00d9877a67f68f349bbd9b550c1
2016-12-08 13:01:11 -10:00
Phil Ringnalda
3abfe370ac Merge m-i to m-c, a=merge
MozReview-Commit-ID: 3TWj1elRxgV
2016-12-17 14:00:48 -08:00
Chris Peterson
78f7bd1dd7 Bug 1323923 - Part 2: Suppress more clang warnings and unify CLANG_CXX/CLANG_CL warning flags in gfx/cairo. r=lsalzman
gfx/cairo/cairo/src/cairo-image-surface.c:1225:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-image-surface.c:1227:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-quartz-surface.c:1919:12 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:1920:6 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:3530:18 [-Wunused-variable] unused variable 'i'
gfx/cairo/cairo/src/cairo-version.c:39:9 [-Wmacro-redefined] 'CAIRO_VERSION_H' macro redefined
2016-12-15 23:59:12 -08:00
Chris Peterson
a2deb2ec60 Bug 1323923 - Part 1: Fix -Wunknown-warning-option clang warning in gfx/cairo. r=lsalzman
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
2016-12-15 23:58:57 -08:00
Mason Chang
5902ea8a82 Bug 1323587 Part 1: Use correct gamma and contrast for dwrite fonts. r=lsalzman 2016-12-16 08:04:45 -08:00
Jonathan Watt
e3366cf656 Bug 1322729 - Have gfxContext always use DrawTarget::PushLayer/PopLayer. r=lsalzman 2016-12-16 11:02:04 -05:00
Lee Salzman
90fe07ab69 Bug 1322729 - fix DrawTargetSkia::BorrowCGContext to work with PushLayer. r=mchang
MozReview-Commit-ID: Hl2t9gxIdYI
2016-12-16 11:02:04 -05:00
Lee Salzman
a3ecdc5084 Bug 1322729 - fix DrawTargetTiled to forward SetPermitSubpixelAA. r=mchang
MozReview-Commit-ID: 7aicn9Crru9
2016-12-16 11:02:04 -05:00
Lee Salzman
a55eee6d3f Bug 1322729 - fix DrawTargetTiled::PushLayer to properly handle clipping. r=mchang
MozReview-Commit-ID: 2otVOl9J4pZ
2016-12-16 11:02:04 -05:00
Carsten "Tomcat" Book
a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Cameron McCormack
366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Ting-Yu Chou
4f285bd583 Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
MozReview-Commit-ID: FLTLZSg2yh9

--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Lee Salzman
b79dc7d5f9 Bug 1323284 - don't enable GL compositor by default on Linux nightly. r=milan
MozReview-Commit-ID: GbX38FNiBn5
2016-12-15 11:44:19 -05:00
Mason Chang
49715dce65 Bug 1321901 - Use IDWriteFontFace::GetRecommendedRenderingMode for font rendering mode in Skia. r=lsalzman 2016-12-15 08:33:43 -08:00
Carsten "Tomcat" Book
4a9a623faf Merge mozilla-central to mozilla-inbound 2016-12-15 14:24:41 +01:00
Bob Owen
ca714c62ab Bug 1321522: Add null check and logging on fontResource in RecordedScaledFontCreation::PlayEvent. r=milan
MozReview-Commit-ID: 3nM28xgGLPO
2016-12-15 10:55:10 +00:00
Botond Ballo
2e3caa982c Bug 1321412 - Add support for partial prerendering to ShouldPrerenderTransformedContent(). r=mattwoodrow
This is behind a pref and not enabled by default yet.

MozReview-Commit-ID: HKbP02PkdI9

--HG--
extra : rebase_source : 3f724f12d467dfb6e3ac1c44841e8e452a7d4b7e
2016-12-14 14:31:20 -05:00
Botond Ballo
d806f521fb Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=birtles,flod,mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT

--HG--
extra : rebase_source : 010aa55255d49e4875cb6870f309649a9ca762d5
2016-12-09 20:23:42 -05:00
Botond Ballo
315932fa35 Bug 1321412 - Add an operator<< to BaseSize. r=kats
MozReview-Commit-ID: 4zVkyafxtfG

--HG--
extra : rebase_source : 4a5a3f09ab0008d7e736cedb817505e6e45b054c
2016-11-25 20:46:58 -05:00
Botond Ballo
ea351be0c0 Bug 1321412 - Add Min() and Max() functions to BaseSize. r=kats
MozReview-Commit-ID: 6GTzkpwwDNu

--HG--
extra : rebase_source : 1d8e888649c10f8f044f475095cb592538992946
2016-11-23 19:27:27 -05:00
Botond Ballo
7a4cb0cf48 Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats
A second template parameter 'F' was previously added to SizeTyped, but was
not correspondingly added to the argument passed for the 'Sub' parameter
of BaseSize.

MozReview-Commit-ID: 2pRQXeWMJpP

--HG--
extra : rebase_source : c1e71b18fdb303f9684d0c9c26dca2462fa0f62d
2016-11-23 19:26:55 -05:00
Carsten "Tomcat" Book
fd4709f9c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-14 16:41:28 +01:00
Jonathan Kew
8edf19e319 Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel 2016-12-13 12:15:24 +00:00
Miko Mynttinen
c0b2cd5b45 Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
MozReview-Commit-ID: 3Hy4IRDFgaP

--HG--
extra : rebase_source : ec31672ba66a81537cd21356466c8774023edd60
2016-12-06 13:39:01 -10:00
Miko Mynttinen
d8d0459a98 Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip
MozReview-Commit-ID: I6DB8xldpjO

--HG--
extra : rebase_source : c881f68722404e0d749a00424eb17d284a7383d2
2016-12-04 17:49:32 +01:00
Miko Mynttinen
93c8550e72 Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 1: Add Point4D construction/conversion from/to Point3D r=bas
MozReview-Commit-ID: 2zvXkYcVV1A

--HG--
extra : rebase_source : 1a2aab40bfb17573fd1290484d9463fe5bf43d1e
2016-11-21 19:50:33 +01:00
George Wright
424157b16b Bug 1318845 - Ensure we support DWrite fonts in the parent process when the GPU process is enabled r=Bas 2016-12-15 17:24:58 -05:00
Phil Ringnalda
cb73f8ea6a Merge m-c to m-i
MozReview-Commit-ID: EDvQhOpyRJu
2016-12-13 19:30:23 -08:00
Phil Ringnalda
36bfd0a8da Merge m-i to m-c, a=merge
MozReview-Commit-ID: ODjsKqdMLM
2016-12-13 19:25:01 -08:00
Sebastian Hengst
19b9d0a8d9 Backed out changeset f2dbb8f9f082 (bug 1316267) for mass bustage. r=backout on a CLOSED TREE 2016-12-13 23:14:44 +01:00
David Anderson
ddc0e88224 Unconditionally disconnect PLayerChildren from ClientLayers. (bug 1316267, r=billm) 2016-12-13 13:41:13 -08:00
Kartikaya Gupta
ff521f735d Bug 1323291 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: 8V5SPiRA8FO
2016-12-13 15:56:26 -05:00
Phil Ringnalda
ce8fd410e7 Backed out 2 changesets (bug 1320665) for Windows failures in 1320665-cmap-format-13.html
Backed out changeset b2bac083c74e (bug 1320665)
Backed out changeset 59bdf1eb5d2d (bug 1320665)

MozReview-Commit-ID: 2M9tcerb3pm
2016-12-13 10:56:17 -08:00
Jonathan Kew
aa1f85e3d9 Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel 2016-12-13 16:16:57 +00:00
Kan-Ru Chen
c649cfaa98 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Carsten "Tomcat" Book
eb5f79ce29 Merge mozilla-central to autoland 2016-12-13 16:53:28 +01:00
Carsten "Tomcat" Book
fa5c335f38 merge mozilla-inbound to mozilla-central a=merge 2016-12-13 16:04:16 +01:00
Andrew McCreight
fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Kevin Wern
e4d8f7fbe8 bug 1249162 - Fix unwanted thumb shifts when starting APZ drag r=botond
Fix thumb position determination in these places:
- nsSliderFrame::StartAPZDrag() -- Constrain sliderTrack using
  GetXULClientRect() to match dimensions used in
  SetCurrentThumbPosition() and DoXULLayout(). This is what caused
  the scaling/offset mismatch.
- nsSliderFrame::StartAPZDrag() -- Adjust nonsensical calculation of
  cssSliderTrack. Should be sliderFrame + scrollbarFramePosition -
  compositionBoundsPosition, to get coordinates relative to the same
  region as that of APZ event coordinates.
- AsyncDragMetrics -- Make mScrollTrack and mScrollbarDragOffset float
  instead of int coordinates.
- AsyncPanZoomController::HandleDragEvent() -- Use
  GetAxisLength(scrollTrack) instead of GetAxisEnd(scrollTrack) in
  calculation of scrollMax.
- AsyncPanZoomController::HandleDragEvent() -- Only change position on
  MOUSE_MOVE.

Additional refactors:
- Rename HitTestingTreeNode::GetScrollSize() to GetScrollThumbLength(),
  along with related functions/variables.
- Rename AsyncPanZoomController::GetAxisSize() to GetAxisLength().
- Rename cf to scrollFrame in nsSliderFrame::StartAPZDrag().

MozReview-Commit-ID: CIsU8Pj6qfa

--HG--
extra : rebase_source : 29548fb95ec3e958d903d964753857ee949753ba
2016-11-27 20:48:08 -05:00
Kevin Wern
b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Daosheng Mu
8385c9beb5 Bug 1323088 - OpenVR controller manager should not be created while loading runtime fail; r=kip
MozReview-Commit-ID: 6gM9r1Y4MkG

--HG--
extra : rebase_source : dbda834a119023c90a791267edeeac322569cd1d
2016-12-13 13:56:58 +08:00
Wes Kocher
d4cb3f4086 Merge m-c to autoland, a=merge 2016-12-16 16:53:06 -08:00
Botond Ballo
a72159c3ad Bug 1321885 - Expose the current async scroll offset in CSS pixels. r=kats
Some consumers want to use the async scroll offset in CSS pixels, and
it's pointless to convert to ParentLayer pixels only to have the consumer
convert it back.

MozReview-Commit-ID: B8nq3LUPM6Q

--HG--
extra : rebase_source : 9d2fc1d7637945bf582877118fd7d53e04c00f4c
2016-11-21 19:26:07 -05:00
Botond Ballo
3472ac9d09 Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats
MozReview-Commit-ID: 2glK42uCFBs

--HG--
extra : rebase_source : ba36935ce4c728c5a6a412dd6668f605db743bf6
2016-11-21 19:25:32 -05:00
Botond Ballo
3161fcc88c Bug 1321885 - Show the number of OMT animations on a layer in the layer dump. r=kats
MozReview-Commit-ID: KmG0TKEKZRR

--HG--
extra : rebase_source : aed045e00064e90f75bada9e6c397081b63b45d1
extra : source : 3e64e3ab44cdb0087787d2016bd2a3d623cb0c57
2016-07-20 14:53:38 -04:00
Sebastian Hengst
def85fe5c1 Backed out changeset 34a1640010d6 (bug 1321412) for failing test_animation_performance_warning.html at least on Linux and Android. r=backout 2016-12-09 22:28:46 +01:00
Sebastian Hengst
97d81df3d2 Backed out changeset 31f15a3b5ce0 (bug 1321412) 2016-12-09 22:27:15 +01:00