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

Side by Side Diff: content/common/gpu/media/rendering_helper_gl.cc

Issue 19463008: Use a direct include of the message_loop header in content/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/gpu/media/rendering_helper.h" 5 #include "content/common/gpu/media/rendering_helper.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/mac/scoped_nsautorelease_pool.h" 10 #include "base/mac/scoped_nsautorelease_pool.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/strings/stringize_macros.h" 12 #include "base/strings/stringize_macros.h"
13 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
14 #include "ui/gl/gl_bindings.h" 14 #include "ui/gl/gl_bindings.h"
15 #include "ui/gl/gl_context.h" 15 #include "ui/gl/gl_context.h"
16 #include "ui/gl/gl_context_stub.h" 16 #include "ui/gl/gl_context_stub.h"
17 #include "ui/gl/gl_implementation.h" 17 #include "ui/gl/gl_implementation.h"
18 #include "ui/gl/gl_surface.h" 18 #include "ui/gl/gl_surface.h"
19 19
20 #if !defined(OS_WIN) && defined(ARCH_CPU_X86_FAMILY) 20 #if !defined(OS_WIN) && defined(ARCH_CPU_X86_FAMILY)
21 #define GL_VARIANT_GLX 1 21 #define GL_VARIANT_GLX 1
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 CHECK(XUnmapWindow(x_display_, x_windows_[i])); 497 CHECK(XUnmapWindow(x_display_, x_windows_[i]));
498 CHECK(XDestroyWindow(x_display_, x_windows_[i])); 498 CHECK(XDestroyWindow(x_display_, x_windows_[i]));
499 } 499 }
500 // Mimic newly created object. 500 // Mimic newly created object.
501 x_display_ = NULL; 501 x_display_ = NULL;
502 x_windows_.clear(); 502 x_windows_.clear();
503 #endif 503 #endif
504 } 504 }
505 505
506 } // namespace content 506 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/omx_video_decode_accelerator.h ('k') | content/common/gpu/media/vaapi_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698