device_context_ 63 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc device_context_ = pp::Graphics2D(this, size_, false); device_context_ 64 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc if (!BindGraphics(device_context_)) device_context_ 118 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc device_context_.ReplaceContents(&image); device_context_ 120 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc device_context_.Flush( device_context_ 207 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Graphics2D device_context_; device_context_ 138 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc device_context_ = pp::Graphics2D(this, size_, false); device_context_ 141 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc is_context_bound_ = BindGraphics(device_context_); device_context_ 200 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc device_context_.ReplaceContents(&image); device_context_ 202 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc device_context_.Flush( device_context_ 98 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::Graphics2D device_context_; device_context_ 87 ppapi/examples/audio_input/audio_input.cc device_context_ = pp::Graphics2D(this, size_, false); device_context_ 88 ppapi/examples/audio_input/audio_input.cc if (!BindGraphics(device_context_)) device_context_ 166 ppapi/examples/audio_input/audio_input.cc device_context_.ReplaceContents(&image); device_context_ 168 ppapi/examples/audio_input/audio_input.cc device_context_.Flush( device_context_ 319 ppapi/examples/audio_input/audio_input.cc pp::Graphics2D device_context_; device_context_ 36 ppapi/examples/flash_topmost/flash_topmost.cc device_context_ = pp::Graphics2D(this, size_, false); device_context_ 37 ppapi/examples/flash_topmost/flash_topmost.cc if (!BindGraphics(device_context_)) device_context_ 76 ppapi/examples/flash_topmost/flash_topmost.cc device_context_.ReplaceContents(&image); device_context_ 78 ppapi/examples/flash_topmost/flash_topmost.cc device_context_.Flush( device_context_ 114 ppapi/examples/flash_topmost/flash_topmost.cc pp::Graphics2D device_context_; device_context_ 64 ppapi/examples/gamepad/gamepad.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), false); device_context_ 65 ppapi/examples/gamepad/gamepad.cc if (!BindGraphics(device_context_)) device_context_ 77 ppapi/examples/gamepad/gamepad.cc pp::ImageData image = PaintImage(device_context_.size()); device_context_ 79 ppapi/examples/gamepad/gamepad.cc device_context_.ReplaceContents(&image); device_context_ 80 ppapi/examples/gamepad/gamepad.cc device_context_.Flush( device_context_ 126 ppapi/examples/gamepad/gamepad.cc pp::Graphics2D device_context_; device_context_ 61 ppapi/examples/media_stream_audio/media_stream_audio.cc device_context_ = pp::Graphics2D(this, size_, false); device_context_ 62 ppapi/examples/media_stream_audio/media_stream_audio.cc if (!BindGraphics(device_context_)) device_context_ 115 ppapi/examples/media_stream_audio/media_stream_audio.cc device_context_.ReplaceContents(&image); device_context_ 117 ppapi/examples/media_stream_audio/media_stream_audio.cc device_context_.Flush( device_context_ 202 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Graphics2D device_context_; device_context_ 99 ppapi/examples/mouse_lock/mouse_lock.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), false); device_context_ 100 ppapi/examples/mouse_lock/mouse_lock.cc if (!BindGraphics(device_context_)) device_context_ 139 ppapi/examples/mouse_lock/mouse_lock.cc device_context_.ReplaceContents(&image); device_context_ 141 ppapi/examples/mouse_lock/mouse_lock.cc device_context_.Flush( device_context_ 256 ppapi/examples/mouse_lock/mouse_lock.cc pp::Graphics2D device_context_; device_context_ 120 ppapi/examples/scaling/scaling.cc device_context_ = pp::Graphics2D(this, device_context_ 127 ppapi/examples/scaling/scaling.cc device_context_.SetScale(1.0f / device_scale_); device_context_ 131 ppapi/examples/scaling/scaling.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), true); device_context_ 133 ppapi/examples/scaling/scaling.cc BindGraphics(device_context_); device_context_ 196 ppapi/examples/scaling/scaling.cc device_context_.ReplaceContents(&image); device_context_ 197 ppapi/examples/scaling/scaling.cc device_context_.Flush(pp::CompletionCallback(&OnFlush, this)); device_context_ 202 ppapi/examples/scaling/scaling.cc pp::Graphics2D device_context_; device_context_ 62 ui/gl/gl_surface_wgl.cc device_context_(0), device_context_ 117 ui/gl/gl_surface_wgl.cc device_context_ = GetDC(window_handle_); device_context_ 118 ui/gl/gl_surface_wgl.cc pixel_format_ = ChoosePixelFormat(device_context_, device_context_ 124 ui/gl/gl_surface_wgl.cc if (!SetPixelFormat(device_context_, device_context_ 135 ui/gl/gl_surface_wgl.cc HDC device_context() const { return device_context_; } device_context_ 142 ui/gl/gl_surface_wgl.cc HDC device_context_; device_context_ 189 ui/gl/gl_surface_wgl.cc DCHECK(!device_context_); device_context_ 218 ui/gl/gl_surface_wgl.cc device_context_ = GetDC(child_window_); device_context_ 219 ui/gl/gl_surface_wgl.cc if (!device_context_) { device_context_ 225 ui/gl/gl_surface_wgl.cc if (!SetPixelFormat(device_context_, device_context_ 237 ui/gl/gl_surface_wgl.cc if (child_window_ && device_context_) device_context_ 238 ui/gl/gl_surface_wgl.cc ReleaseDC(child_window_, device_context_); device_context_ 244 ui/gl/gl_surface_wgl.cc device_context_ = NULL; device_context_ 269 ui/gl/gl_surface_wgl.cc DCHECK(device_context_); device_context_ 270 ui/gl/gl_surface_wgl.cc return ::SwapBuffers(device_context_) == TRUE; device_context_ 281 ui/gl/gl_surface_wgl.cc return device_context_; device_context_ 286 ui/gl/gl_surface_wgl.cc device_context_(NULL), device_context_ 295 ui/gl/gl_surface_wgl.cc DCHECK(!device_context_); device_context_ 315 ui/gl/gl_surface_wgl.cc device_context_ = wglGetPbufferDCARB(static_cast<HPBUFFERARB>(pbuffer_)); device_context_ 316 ui/gl/gl_surface_wgl.cc if (!device_context_) { device_context_ 326 ui/gl/gl_surface_wgl.cc if (pbuffer_ && device_context_) device_context_ 327 ui/gl/gl_surface_wgl.cc wglReleasePbufferDCARB(static_cast<HPBUFFERARB>(pbuffer_), device_context_); device_context_ 329 ui/gl/gl_surface_wgl.cc device_context_ = NULL; device_context_ 351 ui/gl/gl_surface_wgl.cc return device_context_; device_context_ 46 ui/gl/gl_surface_wgl.h HDC device_context_; device_context_ 68 ui/gl/gl_surface_wgl.h HDC device_context_; device_context_ 49 ui/gl/gl_surface_win.cc HDC device_context_; device_context_ 129 ui/gl/gl_surface_win.cc device_context_ = GetDC(window_); device_context_ 134 ui/gl/gl_surface_win.cc if (window_ && device_context_) device_context_ 135 ui/gl/gl_surface_win.cc ReleaseDC(window_, device_context_); device_context_ 137 ui/gl/gl_surface_win.cc device_context_ = NULL; device_context_ 147 ui/gl/gl_surface_win.cc DCHECK(device_context_); device_context_ 171 ui/gl/gl_surface_win.cc StretchDIBits(device_context_, device_context_ 188 ui/gl/gl_surface_win.cc DCHECK(device_context_); device_context_ 212 ui/gl/gl_surface_win.cc StretchDIBits(device_context_,