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

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

Issue 1925663002: command_buffer: Defer restoring of FBO bindings when changing virtual contexts Base URL: https://chromium.googlesource.com/chromium/src.git@lazy-bindframebuffer-03-copy-texture-chromium-instantiation
Patch Set: rework Created 4 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
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_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id); 276 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id);
277 277
278 bool DoIsBuffer(GLuint client_id); 278 bool DoIsBuffer(GLuint client_id);
279 bool DoIsFramebuffer(GLuint client_id); 279 bool DoIsFramebuffer(GLuint client_id);
280 bool DoIsProgram(GLuint client_id); 280 bool DoIsProgram(GLuint client_id);
281 bool DoIsRenderbuffer(GLuint client_id); 281 bool DoIsRenderbuffer(GLuint client_id);
282 bool DoIsShader(GLuint client_id); 282 bool DoIsShader(GLuint client_id);
283 bool DoIsTexture(GLuint client_id); 283 bool DoIsTexture(GLuint client_id);
284 284
285 void DoDeleteBuffer(GLuint client_id, GLuint service_id); 285 void DoDeleteBuffer(GLuint client_id, GLuint service_id);
286 void DoDeleteFramebuffer( 286 void DoDeleteFramebuffer(GLuint client_id, GLuint service_id);
287 GLuint client_id, GLuint service_id,
288 bool reset_draw, GLenum draw_target, GLuint draw_id,
289 bool reset_read, GLenum read_target, GLuint read_id);
290 void DoDeleteProgram(GLuint client_id, GLuint service_id); 287 void DoDeleteProgram(GLuint client_id, GLuint service_id);
291 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id); 288 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id);
292 void DoDeleteShader(GLuint client_id, GLuint service_id); 289 void DoDeleteShader(GLuint client_id, GLuint service_id);
293 void DoDeleteTexture(GLuint client_id, GLuint service_id); 290 void DoDeleteTexture(GLuint client_id, GLuint service_id);
294 291
295 void DoCompressedTexImage2D(GLenum target, 292 void DoCompressedTexImage2D(GLenum target,
296 GLint level, 293 GLint level,
297 GLenum format, 294 GLenum format,
298 GLsizei width, 295 GLsizei width,
299 GLsizei height, 296 GLsizei height,
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 }; 762 };
766 763
767 // SpecializedSetup specializations that are needed in multiple unittest files. 764 // SpecializedSetup specializations that are needed in multiple unittest files.
768 template <> 765 template <>
769 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid); 766 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid);
770 767
771 } // namespace gles2 768 } // namespace gles2
772 } // namespace gpu 769 } // namespace gpu
773 770
774 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 771 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698