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

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

Issue 10381137: Don't enable occlusion query on Linux with Intel drivers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 #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 "gpu/command_buffer/common/gl_mock.h" 8 #include "gpu/command_buffer/common/gl_mock.h"
9 9
10 namespace gpu { 10 namespace gpu {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 GLint real_location; 54 GLint real_location;
55 const char* good_name; 55 const char* good_name;
56 }; 56 };
57 57
58 static void SetupContextGroupInitExpectations( 58 static void SetupContextGroupInitExpectations(
59 ::gfx::MockGLInterface* gl, 59 ::gfx::MockGLInterface* gl,
60 const DisallowedFeatures& disallowed_features, 60 const DisallowedFeatures& disallowed_features,
61 const char* extensions); 61 const char* extensions);
62 static void SetupFeatureInfoInitExpectations( 62 static void SetupFeatureInfoInitExpectations(
63 ::gfx::MockGLInterface* gl, const char* extensions); 63 ::gfx::MockGLInterface* gl, const char* extensions);
64 static void SetupFeatureInfoInitExpectationsWithVendor(
65 ::gfx::MockGLInterface* gl, const char* extensions, const char* vendor);
64 static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl, 66 static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl,
65 const char* extensions); 67 const char* extensions);
66 68
67 static void SetupExpectationsForClearingUniforms( 69 static void SetupExpectationsForClearingUniforms(
68 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms); 70 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms);
69 71
70 static void SetupShader( 72 static void SetupShader(
71 ::gfx::MockGLInterface* gl, 73 ::gfx::MockGLInterface* gl,
72 AttribInfo* attribs, size_t num_attribs, 74 AttribInfo* attribs, size_t num_attribs,
73 UniformInfo* uniforms, size_t num_uniforms, 75 UniformInfo* uniforms, size_t num_uniforms,
74 GLuint service_id); 76 GLuint service_id);
75 77
76 private: 78 private:
77 static void SetupTextureInitializationExpectations(::gfx::MockGLInterface* gl, 79 static void SetupTextureInitializationExpectations(::gfx::MockGLInterface* gl,
78 GLenum target); 80 GLenum target);
79 }; 81 };
80 82
81 } // namespace gles2 83 } // namespace gles2
82 } // namespace gpu 84 } // namespace gpu
83 85
84 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 86 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
85 87
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698