Home
last modified time | relevance | path

Searched refs:pixel_buffer_object_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/mac/
Dscoped_pixel_buffer_object.cc19 pixel_buffer_object_(0) { in ScopedPixelBufferObject()
30 glGenBuffersARB(1, &pixel_buffer_object_); in Init()
32 glBindBufferARB(GL_PIXEL_PACK_BUFFER_ARB, pixel_buffer_object_); in Init()
41 pixel_buffer_object_ = 0; in Init()
43 return pixel_buffer_object_ != 0; in Init()
47 if (pixel_buffer_object_) { in Release()
49 glDeleteBuffersARB(1, &pixel_buffer_object_); in Release()
51 pixel_buffer_object_ = 0; in Release()
Dscoped_pixel_buffer_object.h30 GLuint get() const { return pixel_buffer_object_; } in get()
34 GLuint pixel_buffer_object_; variable
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_mac.mm239 ScopedPixelBufferObject pixel_buffer_object_;
356 pixel_buffer_object_.Release();
428 if (pixel_buffer_object_.get() != 0) {
532 glBindBufferARB(GL_PIXEL_PACK_BUFFER_ARB, pixel_buffer_object_.get());
540 pixel_buffer_object_.Release();
565 pixel_buffer_object_.Release();
879 pixel_buffer_object_.Init(cgl_context_, buffer_size);