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

Side by Side Diff: gpu/command_buffer/service/test_helper.h

Issue 2471853002: remove 'unsafe' from ES3 apis in gpu process (Closed)
Patch Set: forgot to save file Created 4 years, 1 month 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/command_buffer/service/gpu_preferences.h ('k') | gpu/command_buffer/service/test_helper.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 GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const char* gl_version, 109 const char* gl_version,
110 ContextType context_type, 110 ContextType context_type,
111 bool bind_generates_resource); 111 bool bind_generates_resource);
112 static void SetupFeatureInfoInitExpectations(::gl::MockGLInterface* gl, 112 static void SetupFeatureInfoInitExpectations(::gl::MockGLInterface* gl,
113 const char* extensions); 113 const char* extensions);
114 static void SetupFeatureInfoInitExpectationsWithGLVersion( 114 static void SetupFeatureInfoInitExpectationsWithGLVersion(
115 ::gl::MockGLInterface* gl, 115 ::gl::MockGLInterface* gl,
116 const char* extensions, 116 const char* extensions,
117 const char* gl_renderer, 117 const char* gl_renderer,
118 const char* gl_version, 118 const char* gl_version,
119 ContextType context_type, 119 ContextType context_type);
120 bool enable_es3 = false);
121 static void SetupTextureManagerInitExpectations(::gl::MockGLInterface* gl, 120 static void SetupTextureManagerInitExpectations(::gl::MockGLInterface* gl,
122 bool is_es3_enabled, 121 bool is_es3_enabled,
123 bool is_es3_capable, 122 bool is_es3_capable,
124 bool is_desktop_core_profile, 123 bool is_desktop_core_profile,
125 const char* extensions, 124 const char* extensions,
126 bool use_default_textures); 125 bool use_default_textures);
127 static void SetupTextureManagerDestructionExpectations( 126 static void SetupTextureManagerDestructionExpectations(
128 ::gl::MockGLInterface* gl, 127 ::gl::MockGLInterface* gl,
129 bool is_es3_enabled, 128 bool is_es3_enabled,
130 bool is_desktop_core_profile, 129 bool is_desktop_core_profile,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool use_default_textures); 228 bool use_default_textures);
230 229
231 static std::vector<std::string> split_extensions_; 230 static std::vector<std::string> split_extensions_;
232 }; 231 };
233 232
234 } // namespace gles2 233 } // namespace gles2
235 } // namespace gpu 234 } // namespace gpu
236 235
237 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 236 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
238 237
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_preferences.h ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698