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

Unified Diff: gpu/command_buffer/service/test_helper.h

Issue 2291753002: Prevent crash when using getExtension while a PBO is bound. (Closed)
Patch Set: small corrections Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/test_helper.h
diff --git a/gpu/command_buffer/service/test_helper.h b/gpu/command_buffer/service/test_helper.h
index 6663e92d44a8ca42d6ffe1dfd62d99e0ee462590..0169e4c6456972840b75858b43a0c95f9a9c7ae4 100644
--- a/gpu/command_buffer/service/test_helper.h
+++ b/gpu/command_buffer/service/test_helper.h
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "gpu/command_buffer/common/gles2_cmd_utils.h"
#include "gpu/command_buffer/service/shader_translator.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_mock.h"
@@ -106,6 +107,7 @@ class TestHelper {
const DisallowedFeatures& disallowed_features,
const char* extensions,
const char* gl_version,
+ ContextType context_type,
bool bind_generates_resource);
static void SetupFeatureInfoInitExpectations(::gl::MockGLInterface* gl,
const char* extensions);
@@ -114,6 +116,7 @@ class TestHelper {
const char* extensions,
const char* gl_renderer,
const char* gl_version,
+ ContextType context_type,
bool enable_es3 = false);
static void SetupTextureManagerInitExpectations(::gl::MockGLInterface* gl,
bool is_es3_enabled,
« no previous file with comments | « gpu/command_buffer/service/renderbuffer_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698