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

Side by Side Diff: ui/gl/gl_gl_api_implementation.h

Issue 898543002: Remove GLFence::CreateWithoutFlush (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove flush event Created 5 years, 10 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 | « ui/gl/gl_fence_nv.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_ 5 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_
6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ 6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/gl/gl_bindings.h" 9 #include "ui/gl/gl_bindings.h"
10 #include "ui/gl/gl_export.h" 10 #include "ui/gl/gl_export.h"
(...skipping 26 matching lines...) Expand all
37 public: 37 public:
38 // Include the auto-generated part of this class. We split this because 38 // Include the auto-generated part of this class. We split this because
39 // it means we can easily edit the non-auto generated parts right here in 39 // it means we can easily edit the non-auto generated parts right here in
40 // this file instead of having to edit some template or the code generator. 40 // this file instead of having to edit some template or the code generator.
41 #include "gl_bindings_api_autogen_gl.h" 41 #include "gl_bindings_api_autogen_gl.h"
42 42
43 protected: 43 protected:
44 GLApiBase(); 44 GLApiBase();
45 ~GLApiBase() override; 45 ~GLApiBase() override;
46 void InitializeBase(DriverGL* driver); 46 void InitializeBase(DriverGL* driver);
47 void SignalFlush();
48 47
49 DriverGL* driver_; 48 DriverGL* driver_;
50 }; 49 };
51 50
52 // Implemenents the GL API by calling directly into the driver. 51 // Implemenents the GL API by calling directly into the driver.
53 class RealGLApi : public GLApiBase { 52 class RealGLApi : public GLApiBase {
54 public: 53 public:
55 RealGLApi(); 54 RealGLApi();
56 ~RealGLApi() override; 55 ~RealGLApi() override;
57 void Initialize(DriverGL* driver); 56 void Initialize(DriverGL* driver);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ScopedSetGLToRealGLApi(); 122 ScopedSetGLToRealGLApi();
124 ~ScopedSetGLToRealGLApi(); 123 ~ScopedSetGLToRealGLApi();
125 124
126 private: 125 private:
127 GLApi* old_gl_api_; 126 GLApi* old_gl_api_;
128 }; 127 };
129 128
130 } // namespace gfx 129 } // namespace gfx
131 130
132 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ 131 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_fence_nv.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698