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

Side by Side Diff: gpu/blink/webgraphicscontext3d_impl.cc

Issue 1907783002: Delete //gpu/blink/ and WebGraphicsContext3DImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm-webgraphicscontext3dimpl: noflush Created 4 years, 8 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
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "gpu/blink/webgraphicscontext3d_impl.h"
6
7 #include <stdint.h>
8
9 #include "base/atomicops.h"
10 #include "base/lazy_instance.h"
11 #include "base/logging.h"
12 #include "base/macros.h"
13 #include "base/sys_info.h"
14 #include "gpu/GLES2/gl2extchromium.h"
15 #include "gpu/command_buffer/client/gles2_implementation.h"
16 #include "gpu/command_buffer/client/gles2_lib.h"
17 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
18 #include "gpu/command_buffer/common/sync_token.h"
19 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
20
21 #include "third_party/khronos/GLES2/gl2.h"
22 #ifndef GL_GLEXT_PROTOTYPES
23 #define GL_GLEXT_PROTOTYPES 1
24 #endif
25 #include "third_party/khronos/GLES2/gl2ext.h"
26
27 namespace gpu_blink {
28
29 WebGraphicsContext3DImpl::WebGraphicsContext3DImpl()
30 : initialized_(false),
31 initialize_failed_(false),
32 context_lost_callback_(0),
33 gl_(NULL) {}
34
35 WebGraphicsContext3DImpl::~WebGraphicsContext3DImpl() {
36
37 }
38
39 void WebGraphicsContext3DImpl::setContextLostCallback(
40 WebGraphicsContext3D::WebGraphicsContextLostCallback* cb) {
41 context_lost_callback_ = cb;
42 }
43
44 } // namespace gpu_blink
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698