| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RootWindowObserver::OnRootWindowMoved to OnRootWindowHostMoved
- Changed so that this is called only when host window's size
is changed.
- Remove old argument as it was RootWindow's size but not HostWindow's, and it's not used.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/16410015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205706 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=247723
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16739005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205277 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added GL utility functions to create and copy texture for mirroring
- made sure we don't create two compositor for the same display.
- update the mirroring compositor size when the mirror window size
changed.
- fix a bug that was using int for display ID. changed the
initial value for faked display id so that we can catch
such error early in test.
BUG=239776
TEST=added new tests, plus manually on daisy (mirroring now works on daisy)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205044
Review URL: https://chromiumcodereview.appspot.com/16232013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205084 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This broke CromeOS compile
cc1plus: warnings being treated as errors
../../ash/display/display_info.cc:40:error: this decimal constant is unsigned only in ISO C90
ninja: build stopped: subcommand failed.
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/54421
> Compositor reflector, which copies texture onto another compositor.
>
> - added GL utility functions to create and copy texture for mirroring
> - made sure we don't create two compositor for the same display.
> - update the mirroring compositor size when the mirror window size
> changed.
> - fix a bug that was using int for display ID. changed the
> initial value for faked display id so that we can catch
> such error early in test.
>
>
> BUG=239776
> TEST=added new tests, plus manually on daisy (mirroring now works on daisy)
>
> Review URL: https://chromiumcodereview.appspot.com/16232013
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/16434007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205056 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added GL utility functions to create and copy texture for mirroring
- made sure we don't create two compositor for the same display.
- update the mirroring compositor size when the mirror window size
changed.
- fix a bug that was using int for display ID. changed the
initial value for faked display id so that we can catch
such error early in test.
BUG=239776
TEST=added new tests, plus manually on daisy (mirroring now works on daisy)
Review URL: https://chromiumcodereview.appspot.com/16232013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205044 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ash/, base/.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/15735027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204874 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=mukai@chromium.org
BUG=none
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/16342003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204097 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It crashes Win8 Aura on roughly 50% of all runs at the moment.
BUG=chromium:246109
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/15980008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203680 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that we can copy texture as is.
- store gfx::Display object for mirrored display instead of
just id because we need one for mirror root window.
- use host window's coordinate for mirror cursor window.
BUG=239776
TEST=covered by unit tests
Review URL: https://chromiumcodereview.appspot.com/15730006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202985 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=244466
TBR=oshima@chromium.org
Review URL: https://chromiumcodereview.appspot.com/15659012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
* add command line flag to enable software mirroring
BUG=239776
TEST=covered by test
Review URL: https://chromiumcodereview.appspot.com/14731027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202277 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the mirrored content of the source window. See the next steps
for
misc:
* added debug+desktop only shortcut
* rotating square display now update the root window.
Next steps:
* Mirror cursor
* Modify OutputConfigurator to fallback to software mirror mode.
* Scale the root window size for mirror window so that
it has the same size as the source root window.
* Copy texture from soruce window to dest window.
* Handle device scale factor/cursor scaling.
BUG=239776
TEST=covered by test
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201618
Review URL: https://chromiumcodereview.appspot.com/15367003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201870 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is a stop-gap workaround for missing internal display.
BUG=241868
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/15503003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201686 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> This CL create just a window which will be used to show
> the mirrored content of the source window. See the next steps
> for
>
> misc:
> * added debug+desktop only shortcut
> * rotating square display now update the root window.
>
> Next steps:
> * Mirror cursor
> * Modify OutputConfigurator to fallback to software mirror mode.
> * Scale the root window size for mirror window so that
> it has the same size as the source root window.
> * Copy texture from soruce window to dest window.
> * Handle device scale factor/cursor scaling.
>
> BUG=239776
> TEST=covered by test
>
> Review URL: https://chromiumcodereview.appspot.com/15367003
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/15799002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201668 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the mirrored content of the source window. See the next steps
for
misc:
* added debug+desktop only shortcut
* rotating square display now update the root window.
Next steps:
* Mirror cursor
* Modify OutputConfigurator to fallback to software mirror mode.
* Scale the root window size for mirror window so that
it has the same size as the source root window.
* Copy texture from soruce window to dest window.
* Handle device scale factor/cursor scaling.
BUG=239776
TEST=covered by test
Review URL: https://chromiumcodereview.appspot.com/15367003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201618 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several new features have been added recently, and this new UI
allows users to customize them through web UI.
Updates display options page.
BUG=190897
R=oshima@chromium.org, xiyuan@chromium.org, jhawkins@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14710011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201256 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=240168
Review URL: https://chromiumcodereview.appspot.com/15067012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200466 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use DisplayManager::IsMirrored to check mirroring state
* Split CycleDisplay shortcut into AddRemoveDisplay and ToggleMirrorMode
* A few minor cleanups that will make it easy to implement
compositor based mirroing.
BUG=239776
TEST=none no functional change.
R=jamescook@chromium.org, mukai@chromium.org, sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200208
Review URL: https://chromiumcodereview.appspot.com/15094002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200453 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=oshima@chromium.org
BUG=239776
Review URL: https://codereview.chromium.org/15076012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200221 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Split CycleDisplay shortcut into AddRemoveDisplay and ToggleMirrorMode
* A few minor cleanups that will make it easy to implement
compositor based mirroing.
BUG=239776
TEST=none no functional change.
R=jamescook@chromium.org, mukai@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/15094002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200208 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=239412
TEST=manual. see bug for repro step.
Review URL: https://chromiumcodereview.appspot.com/14699004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199695 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=239681
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14584004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DisplayManagerTest.EnsurePointerInDisplays_2ndOnLeft
DisplayControllerTest.CursorDeviceScaleFactorSwapPrimary
BUG=239539,237642
TEST=ash_unittests
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/14773019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199250 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
They crash flakily on win8 aura bots.
BUG=237642
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/14705007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197980 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove local functions to move the mouse in host coordinates.
* updated tests that should use host coordinates instead of
root.
BUG=none
TEST=covered by tests.
Review URL: https://chromiumcodereview.appspot.com/14293028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
MessagePumpLinux implies the absence of an X server. Fix up
some defines in ash appropriately for this.
BUG=180666
Review URL: https://chromiumcodereview.appspot.com/13947019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197446 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236029
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14283019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197444 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=236170
TEST=None
R=ben@chromium.org
Review URL: https://codereview.chromium.org/14554002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197363 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This also change to use ShellObserver to stop listening display change event
BUG=231696
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14502004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196843 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create transform matrix.
This patch enables us to use simultaneously these features.
BUG=223983, 230979
TEST=ash_unittests and aura_unittests passes.
R=oshima@chromium.org
NOTRY=True
# NOTRYing for trybots are already passed.
Review URL: https://chromiumcodereview.appspot.com/13634002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196077 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Reverted wrong CL by mistake
TBR=oshima@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/14081019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195742 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>Add debug shortcuts that toggles options to shows paint rects, debug borders and fps counters.
>Cleanup: Separate desktop shortcuts which are useful only on linux desktop, and debug shortcuts.
>
>BUG=227375
>Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195733
TBR=oshima@chromium.org
BUG=
Review URL: https://codereview.chromium.org/14263025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=233375,180535
TEST=covered by unit tests.
Review URL: https://codereview.chromium.org/14320009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Otherwise restoring focused/active window may try to use stale display.
BUG=229158
Review URL: https://chromiumcodereview.appspot.com/14188054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rotation matrixes are normalized (and will soon changed to handle 90 rotations in special form),
so no need to have separate inverse matrix.
BUG=222483
TEST=no functionality change.
Review URL: https://codereview.chromium.org/14361002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195238 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TouchEvent's radius on Pixel is reported in the touchscreen's
native resolution. When Pixel is connected to an external screen
and running in mirror mode, the radius value is too large for
the external screen's low display resolution. The radius value
needs to be scaled properly in this case.
BUG=229932
TEST=Switching to mirror mode when connecting Pixel to a low
resolution external display, following the test in the issue
and make sure the radius has a sensible value.
Review URL: https://chromiumcodereview.appspot.com/14279002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
string_piece.h was moved into base/strings/ in r191206 -
https://chromiumcodereview.appspot.com/12982018/
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/14272007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in ash/.
BUG=232084
Review URL: https://codereview.chromium.org/14297013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This seems to be the root cause of computation errors.
BUG=222483,223983
TEST=covered by test
Review URL: https://chromiumcodereview.appspot.com/14142011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194007 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Renames string16 -> base::string16 and
base/string_number_conversions.h -> base/strings/string_number_conversions.h
BUG=
Review URL: https://codereview.chromium.org/13856005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193561 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=222483
TEST=covered by unit test
Review URL: https://chromiumcodereview.appspot.com/13916004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193560 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
BUG=226300
TEST=covered by test.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193008
Review URL: https://chromiumcodereview.appspot.com/13466022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193227 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Don't move cursor location when rotation /ui scaling has changed
> Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
>
>
> BUG=226300
> TEST=covered by test.
>
> Review URL: https://chromiumcodereview.appspot.com/13466022
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/13946002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193035 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
BUG=226300
TEST=covered by test.
Review URL: https://chromiumcodereview.appspot.com/13466022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193008 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In https://codereview.chromium.org/12983010/
reversed_root_transform is passed into event::UpdateForRootTransform.
Then for TouchEvent::UpdateForRootTransform(), the radius_x/y now
should times the inverted device scale factor instead of being
divided by it. The same in ScrollEvent::UpdateForRootTransform() for
scroll offset ordinal.
BUG=chromium:226169
TEST=On Link, visit http://www.rbyers.net/paint.html, make sure
touch radius has normal range.
Review URL: https://chromiumcodereview.appspot.com/13594009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves OutputConfigurator's X11 code into a separate
delegate class to make testing possible. It also removes
some ugliness in the form of Displays, XRRScreenResources,
and Windows getting passed between methods. No functional
changes are intended.
BUG=225536
Review URL: https://chromiumcodereview.appspot.com/13430025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192449 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also allows screen magnifier to use the same mechanism
as screen rotation/zooming.
BUG=223983
TEST=no functional change. All tests should pass.
Review URL: https://chromiumcodereview.appspot.com/13429003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
- expose LayerTreeHost::set_background_color() as
compositor's API
BUG=224500
Review URL: https://chromiumcodereview.appspot.com/13402002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191764 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/13386010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191751 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This looks old bug which was working by accident, or due to
optimization difference.
BUG=225241
TEST=maual
Review URL: https://chromiumcodereview.appspot.com/13251019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191701 0039d316-1c4b-4281-b951-d872f2087c98
|