Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h

Issue 2044693002: Fixed partially out of screen window capture in unix (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const DesktopRect& rect, 70 const DesktopRect& rect,
71 DesktopFrame* frame); 71 DesktopFrame* frame);
72 72
73 Display* display_; 73 Display* display_;
74 Window window_; 74 Window window_;
75 DesktopSize window_size_; 75 DesktopSize window_size_;
76 XImage* x_image_; 76 XImage* x_image_;
77 XShmSegmentInfo* shm_segment_info_; 77 XShmSegmentInfo* shm_segment_info_;
78 Pixmap shm_pixmap_; 78 Pixmap shm_pixmap_;
79 GC shm_gc_; 79 GC shm_gc_;
80 bool is_xshmgetimage_success_;
Sergey Ulanov 2016/06/09 22:04:21 Maybe call this this xshm_get_image_succeeded_?
GeorgeZ 2016/06/10 20:10:37 Done.
80 81
81 RTC_DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer); 82 RTC_DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer);
82 }; 83 };
83 84
84 } // namespace webrtc 85 } // namespace webrtc
85 86
86 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ 87 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698