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

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

Issue 72173002: gpu: Support ES3 msaa and depth/stencil formats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment, rebase Created 7 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 | 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 "ui/gl/gl_implementation.h" 8 #include "ui/gl/gl_implementation.h"
9 #include "ui/gl/gl_mock.h" 9 #include "ui/gl/gl_mock.h"
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 static void SetupContextGroupInitExpectations( 65 static void SetupContextGroupInitExpectations(
66 ::gfx::MockGLInterface* gl, 66 ::gfx::MockGLInterface* gl,
67 const DisallowedFeatures& disallowed_features, 67 const DisallowedFeatures& disallowed_features,
68 const char* extensions); 68 const char* extensions);
69 static void SetupFeatureInfoInitExpectations( 69 static void SetupFeatureInfoInitExpectations(
70 ::gfx::MockGLInterface* gl, const char* extensions); 70 ::gfx::MockGLInterface* gl, const char* extensions);
71 static void SetupFeatureInfoInitExpectationsWithGLVersion( 71 static void SetupFeatureInfoInitExpectationsWithGLVersion(
72 ::gfx::MockGLInterface* gl, 72 ::gfx::MockGLInterface* gl,
73 const char* extensions, 73 const char* extensions,
74 const char* version); 74 const char* gl_renderer,
75 const char* gl_version);
75 static void SetupTextureManagerInitExpectations( 76 static void SetupTextureManagerInitExpectations(
76 ::gfx::MockGLInterface* gl, const char* extensions); 77 ::gfx::MockGLInterface* gl, const char* extensions);
77 static void SetupTextureManagerDestructionExpectations( 78 static void SetupTextureManagerDestructionExpectations(
78 ::gfx::MockGLInterface* gl, const char* extensions); 79 ::gfx::MockGLInterface* gl, const char* extensions);
79 80
80 static void SetupExpectationsForClearingUniforms( 81 static void SetupExpectationsForClearingUniforms(
81 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms); 82 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms);
82 83
83 static void SetupShader( 84 static void SetupShader(
84 ::gfx::MockGLInterface* gl, 85 ::gfx::MockGLInterface* gl,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 119
119 private: 120 private:
120 gfx::GLImplementation old_implementation_; 121 gfx::GLImplementation old_implementation_;
121 }; 122 };
122 123
123 } // namespace gles2 124 } // namespace gles2
124 } // namespace gpu 125 } // namespace gpu
125 126
126 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 127 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
127 128
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698