X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fwebrtc%2Fmodules%2Fdesktop_capture%2Fx11%2Fx_server_pixel_buffer.h;h=98f263f3a88d9b64ee547f7f1e8c09bc4c3153f8;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=b81096c81108f548d5c1024fd17b918b253be8fd;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h b/src/third_party/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h index b81096c..98f263f 100644 --- a/src/third_party/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h +++ b/src/third_party/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h @@ -40,6 +40,9 @@ class XServerPixelBuffer { // Returns the size of the window the buffer was initialized for. const DesktopSize& window_size() { return window_size_; } + // Returns true if the window can be found. + bool IsWindowValid() const; + // If shared memory is being used without pixmaps, synchronize this pixel // buffer with the root window contents (otherwise, this is a no-op). // This is to avoid doing a full-screen capture for each individual