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

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

Issue 2936973003: Revert "Workaround for Qualcomm renderbuffer resize bug" (Closed)
Patch Set: Created 3 years, 6 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 GLint GetGLError(); 286 GLint GetGLError();
287 287
288 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id); 288 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id);
289 void DoBindFramebuffer(GLenum target, GLuint client_id, GLuint service_id); 289 void DoBindFramebuffer(GLenum target, GLuint client_id, GLuint service_id);
290 void DoBindRenderbuffer(GLenum target, GLuint client_id, GLuint service_id); 290 void DoBindRenderbuffer(GLenum target, GLuint client_id, GLuint service_id);
291 void DoRenderbufferStorageMultisampleCHROMIUM(GLenum target, 291 void DoRenderbufferStorageMultisampleCHROMIUM(GLenum target,
292 GLsizei samples, 292 GLsizei samples,
293 GLenum internal_format, 293 GLenum internal_format,
294 GLenum gl_format, 294 GLenum gl_format,
295 GLsizei width, 295 GLsizei width,
296 GLsizei height, 296 GLsizei height);
297 bool expect_bind);
298 void RestoreRenderbufferBindings(); 297 void RestoreRenderbufferBindings();
299 void EnsureRenderbufferBound(bool expect_bind); 298 void EnsureRenderbufferBound(bool expect_bind);
300 void DoBindTexture(GLenum target, GLuint client_id, GLuint service_id); 299 void DoBindTexture(GLenum target, GLuint client_id, GLuint service_id);
301 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id); 300 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id);
302 void DoBindSampler(GLuint unit, GLuint client_id, GLuint service_id); 301 void DoBindSampler(GLuint unit, GLuint client_id, GLuint service_id);
303 void DoBindTransformFeedback( 302 void DoBindTransformFeedback(
304 GLenum target, GLuint client_id, GLuint service_id); 303 GLenum target, GLuint client_id, GLuint service_id);
305 304
306 bool DoIsBuffer(GLuint client_id); 305 bool DoIsBuffer(GLuint client_id);
307 bool DoIsFramebuffer(GLuint client_id); 306 bool DoIsFramebuffer(GLuint client_id);
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 if (arg[i] != array[i]) 793 if (arg[i] != array[i])
795 return false; 794 return false;
796 } 795 }
797 return true; 796 return true;
798 } 797 }
799 798
800 } // namespace gles2 799 } // namespace gles2
801 } // namespace gpu 800 } // namespace gpu
802 801
803 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 802 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698