sergeyu@chromium.org
74f6074ec1
Fix DesktopSize::is_empty() for the case when only width or only height is 0.
...
BUG=crbug.com/358909
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5867 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-09 01:04:22 +00:00
jiayl@webrtc.org
f040bd8fa3
Fix a crash in WindowCapturereMac when capture() fails.
...
BUG=http://code.google.com/p/chromium/issues/detail?id=359985
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/11219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5846 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-04 20:26:41 +00:00
jiayl@webrtc.org
7ee0c16edd
Makes ScreenCapturerMac exclude the window specified in DesktopCapturer::SetExcludedWindow.
...
No behavior change for now since Chromium has not been updated to call SetExcludedWindow.
BUG=2789
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10299004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5792 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 15:57:43 +00:00
jiayl@webrtc.org
c8ac17ca04
Adjust the captured window rect when the window is maximized.
...
GetWindowRect includes the window frames for maximized window even they are off screen, causing content outside the window being captured falsely. The fix is to remove the left/right/bottom window frame from the captured rect. Mouse capturing is adjusted accordingly as well.
BUG=3076
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10149004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5732 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-20 00:06:41 +00:00
jiayl@webrtc.org
886c94f07c
Adds a method to WindowCapturer to bring a window to the front.
...
BUG=3071
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/10079004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5718 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-18 17:10:36 +00:00
pbos@webrtc.org
3ecc162d01
Remove std:: prefixes from C functions in webrtc/.
...
std::memcpy -> memcpy for instance. This change was motivated by a
compile report complaining that std::rand() was used instead of rand(),
probably with a stdlib.h include instead of cstdlib. Use of C functions
without the std:: prefix is a lot more common, so removing std:: to
address this.
BUG=
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/9549004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5658 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 15:23:34 +00:00
jiayl@webrtc.org
f0fc72f70e
Call PrintWindow for the first time of capturing to capture the window frames correctly.
...
This will fix artifacts on the captured window frames, especially for cmd, which
sometimes leaks glimpss of other window's content.
BUG=
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8989004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5616 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-27 16:43:12 +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
97e7a640d8
Make WindowCapturerLinux handling window resize events.
...
We need to re-initialize the XServerPixelBuffer to the new size
when a window resize event is received.
BUG=https://code.google.com/p/chromium/issues/detail?id=339953
R=sergeyu@chromium.org , wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8679004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5578 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-19 17:28:41 +00:00
sergeyu@chromium.org
e384104166
Fix DesktopAndCursorComposer not to crash
...
DesktopAndCursorComposer was crashing when screen/window
capturer returns a NULL frame due to an error.
BUG=crbug.com/344093
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/8769004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5573 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-18 23:26:34 +00:00
sergeyu@chromium.org
ad3035fc9e
Fix WindowCapturerWin to unselect bitmap before destroying DC.
...
BUG=https://code.google.com/p/webrtc/issues/detail?id=2901
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/8229004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5504 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-07 21:24:04 +00:00
jiayl@webrtc.org
20a60ea39d
Fix a cursor capturing issue on Windows.
...
The input position to WindowFromPoint should be relative to the desktop, not
relative to the window; if the result from WindowFromPoint is a child window
of the shared top window, it should be captured.
BUG=
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7959004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5487 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-04 17:49:12 +00:00
jiayl@webrtc.org
1af5ea0538
Implement single monitor capture on Mac.
...
BUG=2787, 2824
TESTED=MacBook Pro Retina with an external monitor; verified changing display configuration while capturing; add/remove monitor while capturing; verified cursor position.
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5471 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-01 02:03:24 +00:00
jiayl@webrtc.org
bda5fa77af
Fix the mouse cursor offset issue on Mac.
...
The problem is that MouseCursorMonitor returns coordinates in DIPs, while DisplayAndMouseComposer assumes that they are in physical pixels. The fix is to convert the position to physical pixels in MouseCursorMonitorMac.
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7739006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5463 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-30 23:27:35 +00:00
jiayl@webrtc.org
cf1b51b6fb
Moves the display reconfiguration callback into a separate class,
...
so that it can be shared with the cursor monitor when single monitor capturing
is added (https://webrtc-codereview.appspot.com/4679005/ ).
This Cl should have no functionality change.
BUG=2253
R=henrike@webrtc.org , sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7599004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5461 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-29 21:59:12 +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
sergeyu@chromium.org
fb4e256d49
Fix crash in MouseCursor::CopyOf()
...
This issue was causing test failures with the latest webrtc roll.
R=mallinath@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7249005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5392 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-16 04:45:35 +00:00
mallinath@webrtc.org
7a2ca7c621
Update needed to MockScreenCapturer after new methods addition to webrtc::ScreenCapturer.
...
This change is also must for rolling webrtc in chrome.
R=jiayl@webrtc.org
TBR=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/7219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5389 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-15 19:00:13 +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
eb31b45aaf
Fix MouseCursorMonitorMac to return correct hotspot position.
...
Previusly (0, 0) was always return as mouse cursor hotspot.
BUG=2779
R=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7089004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5379 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-13 23:25:17 +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
e4c927208b
Revert "Make MouseCursor mutable"
...
This reverts commit a6db8ab8bc4b569a26633b0ca3665297f1a5349b.
TBR=dcaiafa@chromium.org
Review URL: https://webrtc-codereview.appspot.com/6079004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5311 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-17 22:48:50 +00:00
sergeyu@chromium.org
8fd1d26536
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
Review URL: https://webrtc-codereview.appspot.com/6059005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5310 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-17 22:19:12 +00:00
sergeyu@chromium.org
5e13ac967b
Add shape in DesktopFrame.
...
The shape will be used for Me2App mode in chromoting.
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/4369005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5243 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-07 01:03:28 +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
5d85819dd2
Fix DesktopAndCursorComposer to restore frames to the original state.
...
Screen capturers may reuse frame buffers and they expect that the
frame content isn't changed by the frame consumer.
DesktopAndCursorComposer draws mouse cursor on generated frames and
it was releasing the frames with the mouse cursor on them. Fixed
it to restore frame content erasing mouse cursor before returning
desktop frames.
BUG=crbug.com/316297
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/3899004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5133 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-19 02:15:47 +00:00
sergeyu@chromium.org
773e72797f
Provide a MouseCursorMonitor::CreateForWindow implementation in *_null.cc
...
Chromium issue:
https://code.google.com/p/chromium/issues/detail?id=310146
BUG=2551
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2759004
Patch from Daniel Nicoara <dnicoara@chromium.org>.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5061 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-31 01:51:21 +00:00
andrew@webrtc.org
31628aae7e
Upgrade scoped_ptr to Chromium's latest version.
...
Analogous to the recent libjingle change: http://cl/54929753-p10 .
This supports scoped_ptr<T[]> and scoped_ptr<C, FreeDeleter> rather
than scoped_array and scoped_ptr_malloc respectively.
- Add Chromium's template-based COMPILE_ASSERT. We didn't have this
previously in order to support the macro in C. Instead, move the
existing macro to compile_assert_c.h.
- Additionally copy the move.h and template_util.h depedencies and add
the WARN_UNUSED_RESULT macro.
- Leave scoped_array and scoped_ptr_malloc for now, but mark as
deprecated.
- Remove scoped_ptr foo(NULL) use. The default constructor handles it.
- Remove the now redundant COMPILE_ASSERT from peerconnection_jni.cc.
- Add a CHECK_ARRAY_SIZE macro to rtp_format_vp8_unittest.cc to remove
some repeated code.
TESTED=trybots
R=pbos@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2449005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5015 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-22 12:50:00 +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
e6e749da38
Add MouseCursorRenderer.
...
The new class acts as a wrapper for DesktopCapturer interface. It takes
mouse shape and position from MouseCursorCapturer and renders it on the
frames produced by underlying DesktopCapturer.
BUG=crbug.com/173265
R=wez@chromium.org
TBR=andrew@webrtc.org (modules.gyp)
Review URL: https://webrtc-codereview.appspot.com/2387004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4968 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-16 02:48:41 +00:00
sergeyu@chromium.org
2767b53f66
Add MouseCursorCapturer interface with implementation for X11.
...
The new interface will be used to capture cursor shape and position and
blend it into the image captured with desktop capturers.
BUG=crbug.com/173265
R=wez@chromium.org
TBR=andrew@webrtc.org (modules.gyp)
Review URL: https://webrtc-codereview.appspot.com/2386005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4967 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-16 02:42:38 +00:00
sergeyu@chromium.org
30792987b8
Remove empty line in SharedXDisplay::RemoveEventHandler.
...
TBR=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2397004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4958 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-14 17:58:46 +00:00
sergeyu@chromium.org
7419a72383
Add event handling in SharedXDisplay.
...
SharedXDisplay has to handle X events because the events may belong to
different clients of that class.
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2386004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4953 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-13 00:44:09 +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
sergeyu@chromium.org
becbefaee6
Fix WindowCapturerWin to capture window decorations after window size changes.
...
DWM doesn't update window decorations in bitmap captured
from GetWindowDC(). Work it around by calling PrintWindow()
after each resize (which somehow affects what's later
captured from GetWindowDC()). That solution avoids the
downsides of PrintWindow() (namely flickering) while still
allowing to capture window decorations correctly.
BUG=crbug.com/289759
R=alexeypa@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2295004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4847 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-25 22:56:59 +00:00
sergeyu@chromium.org
8d757ac0a2
Fix window capturer not to leak HDC.
...
Previously Windows window capturer kept DC handles between captures. As
result it was leaking DC handles in SelectWindow(). Fixed it so that it
calls GetWindowDC() for each capture.
R=alexeypa@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2289004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4834 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-24 23:13:51 +00:00
sergeyu@chromium.org
958cdf68f3
Fix window capturer to stop capturing when the target is minimized.
...
BUG=crbug.com/288205
R=alexeypa@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2273005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4833 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-24 22:10:13 +00:00
sergeyu@chromium.org
2edb642810
Fix bugs in DesktopRegion::Subtract().
...
Fixed a bug that caused the crash in the linked bug and also couple of
other issues in the same code. Also added more tests.
BUG=crbug.com/295057
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2259005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4806 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-20 21:29:18 +00:00
sergeyu@chromium.org
6ab45b9dab
Implement DesktopRegion subtraction.
...
Region subtraction is used in chromoting client, so it's needed to
replace SkRegion.
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2205004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4741 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-13 19:53:16 +00:00
sergeyu@chromium.org
6a5cc9d899
Fix crash in the window capturer on windows
...
BUG=crbug.com/289753
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2203005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4737 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-12 19:17:26 +00:00
alexeypa@chromium.org
bebf3995ce
Pre-multiply images for MouseCursorShape.
...
BUG=chromium:267270
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2173004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4685 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-05 19:32:46 +00:00
sergeyu@chromium.org
9ded07e3a4
Fix typo in InvertedDesktopFrame
...
BUG=279334
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2141004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4643 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-30 01:05:14 +00:00
sergeyu@chromium.org
01cb3ad883
Fix image flipping for OpenGL-based screen capturer on Mac.
...
I broke captured image flipping when refactoring this code while it was
still in chromium. Previously we had CaptureData that was returned from
capturers with correctly inverted stride, but frames were still stored
with positive stride. CaptureData was removed and so the returned frames
always had positive stride, which is not correct. Now ScreenCapturerMac
uses frames with inverted stride when capturing using OpenGL.
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2105004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4621 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-26 21:48:56 +00:00
sergeyu@chromium.org
9f282403f2
WindowCapturer implementation for Linux.
...
Window enumeration is based on the code used by hangouts plugin
(see libjingle/talk/base/linuxwindowpicker.cc). XServerPixelBuffer
is used to capture windows. It had to be refactored to support window
capturing (previously it worked only for the whole screen).
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1741004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4605 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-23 18:22:12 +00:00
sergeyu@chromium.org
eef29ec6cf
Implement window capturer for OS X.
...
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2055005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4599 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-23 00:39:46 +00:00
sergeyu@chromium.org
bf853f2732
Fix crash in screen capturer on Mac
...
BUG=crbug.com/247685
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/2006004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4518 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-10 01:30:23 +00:00
pbos@webrtc.org
12dc1a38ca
Switch C++-style C headers with their C equivalents.
...
The C++ headers define the C functions within the std:: namespace, but
we mainly don't use the std:: namespace for C functions. Therefore we
should include the C headers.
BUG=1833
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1917004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4486 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 16:22:53 +00:00
sergeyu@chromium.org
17758e96c5
Fix crash in DesktopRegion::Intersect().
...
BUG=crbug.com/266933
R=alexeypa@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1938004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4468 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-01 19:51:04 +00:00
pbos@webrtc.org
e72428442d
Fix some chromium-style warnings in webrtc/modules/desktop_capture/
...
BUG=163
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1904004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4446 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-31 15:32:43 +00:00
sergeyu@chromium.org
d102e66ef9
Fix ScreenCapturerLinux not to use XDamage when requested.
...
When moving this code to webrtc I added line "use_x_damage=true" for
debugging and forgot to remove it when landing this code, so the
capturer always tries to use XDamage.
BUG=crbug.com/263003
R=wez@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1854004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4387 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 20:05:42 +00:00