jiayl@webrtc.org
4220434d37
Implement the Windows screen capturer using the Magnification API.
...
The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
BUG=2789
TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
R=sergeyu@chromium.org , wez@chromium.org
Committed: https://code.google.com/p/webrtc/source/detail?r=6048
Review URL: https://webrtc-codereview.appspot.com/12149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6053 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-05 16:08:47 +00:00
tina.legrand@webrtc.org
7dccce3948
Revert 6048 "Implement the Windows screen capturer using the Mag..."
...
> Implement the Windows screen capturer using the Magnification API.
> The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
>
> BUG=2789
> TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
> R=sergeyu@chromium.org , wez@chromium.org
>
> Review URL: https://webrtc-codereview.appspot.com/12149004
TBR=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/15429005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6052 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-05 11:17:26 +00:00
jiayl@webrtc.org
b235c56017
Implement the Windows screen capturer using the Magnification API.
...
The original ScreenCapturerWin is renamed ScreenCapturerWinGdi.
BUG=2789
TESTED=full desktop cast and single monitor cast works on win7 and win8 desktop mode. Have to use GDI capturer on win8 metro mode. Changing display configuration work on the fly.
R=sergeyu@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/12149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6048 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-03 00:16:29 +00:00
jiayl@webrtc.org
8ce7c72456
Fix the captured screen rect conversion.
...
device_mode.dmPosition is already relative to the primary display's top-left, while the expected value of GetScreenRect() is also relative to the primary display's top-left.
TESTED=verified on Windows single monitor capturing and cursor capturing is fixed.
BUG=https://code.google.com/p/chromium/issues/detail?id=362631
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11789006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5890 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-11 22:31:15 +00:00
jiayl@webrtc.org
0231e801d6
Invalidate the whole screen when the frame size is changed.
...
Otherwise we'll compare frames of different sizes and read into invalid
memory.
BUG=https://code.google.com/p/chromium/issues/detail?id=345498
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/9149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5614 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-26 18:54:57 +00:00
jiayl@webrtc.org
4985927d36
Implement screen enumeration and individual screen capturing for Windows.
...
BUG=2787
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5399 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-17 17:19:16 +00:00
jiayl@webrtc.org
017b619010
Extends the ScreenCapturer interface for individual display screen cast.
...
Real implementations for each platform will be added in future CLs.
BUG=2787
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/6819005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5386 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-14 18:26:37 +00:00
sergeyu@chromium.org
8ae72560dd
Make MouseCursor mutable
...
MouseCursor objects were previous immutable which makes it harder to
implement deserializers when MouseCursor is sent over IPC in Chromium.
R=dcaiafa@chromium.org
Committed: https://code.google.com/p/webrtc/source/detail?r=5310
Review URL: https://webrtc-codereview.appspot.com/6059005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5314 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-18 02:18:01 +00:00
sergeyu@chromium.org
e839da02c1
Fix MouseCursor to MouseCursorShape conversion in ScreenCapturerWin.
...
BUG=crbug.com/322596
R=dcaiafa@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/4279005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5165 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-22 20:39:16 +00:00
sergeyu@chromium.org
2df89c0c8b
MouseCursorMonitor implementation for OSX and Windows.
...
BUG=crbug.com/173265
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2388004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4994 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-17 19:47:18 +00:00
sergeyu@chromium.org
894e6fe9ea
Add DesktopCaptureOptions class.
...
The new class is used to pass configuration parameters to screen/window
capturers. It also allows to share X Window connection between multiple
objects.
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2374004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4952 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-12 22:40:05 +00:00
alexeypa@chromium.org
4af0878e57
Allow the screen capturer to capture oversized cursors and cursors without alpha channel (Windows).
...
Changes in this CL:
- CaptureCursor() scans the cursor to verify that it has alpha channel.
- The AND mask of the cursor is used to reconstruct transparency if the cursor does not have alpha channel.
- CaptureCursor() always outlines the cursor when a "screen reverse" pixel detected. Previously it was only done for black and while cursors.
Added desktop_capture_unittest.MouseCursorShapeTest to test the cursor conversion code.
BUG=chromium:223147
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1627004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4210 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-10 22:29:17 +00:00
sergeyu@chromium.org
3d34f66292
Move screen capturers from chromium to webrtc.
...
R=alexeypa@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1586005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4175 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-04 18:51:23 +00:00