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

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

Issue 2424833003: gpu: check GL_RGB565 work in ES3 context (Closed)
Patch Set: Created 4 years, 2 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 AttribInfo* attribs, 162 AttribInfo* attribs,
163 size_t num_attribs, 163 size_t num_attribs,
164 UniformInfo* uniforms, 164 UniformInfo* uniforms,
165 size_t num_uniforms, 165 size_t num_uniforms,
166 VaryingInfo* varyings, 166 VaryingInfo* varyings,
167 size_t num_varyings, 167 size_t num_varyings,
168 ProgramOutputInfo* program_outputs, 168 ProgramOutputInfo* program_outputs,
169 size_t num_program_outputs, 169 size_t num_program_outputs,
170 GLuint service_id); 170 GLuint service_id);
171 171
172 static void SetupFetureInfoEnableES3ValidatorsExpectations(
173 ::gl::MockGLInterface* gl);
174
172 static void DoBufferData(::gl::MockGLInterface* gl, 175 static void DoBufferData(::gl::MockGLInterface* gl,
173 MockErrorState* error_state, 176 MockErrorState* error_state,
174 BufferManager* manager, 177 BufferManager* manager,
175 Buffer* buffer, 178 Buffer* buffer,
176 GLenum target, 179 GLenum target,
177 GLsizeiptr size, 180 GLsizeiptr size,
178 GLenum usage, 181 GLenum usage,
179 const GLvoid* data, 182 const GLvoid* data,
180 GLenum error); 183 GLenum error);
181 184
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool use_default_textures); 232 bool use_default_textures);
230 233
231 static std::vector<std::string> split_extensions_; 234 static std::vector<std::string> split_extensions_;
232 }; 235 };
233 236
234 } // namespace gles2 237 } // namespace gles2
235 } // namespace gpu 238 } // namespace gpu
236 239
237 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 240 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
238 241
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/framebuffer_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