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

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

Issue 2827573007: Reset TexImage2D base level to workaround Intel mac driver bug (Closed)
Patch Set: Add gpu unittests 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 GLint level, 355 GLint level,
356 GLenum internal_format, 356 GLenum internal_format,
357 GLsizei width, 357 GLsizei width,
358 GLsizei height, 358 GLsizei height,
359 GLsizei depth, 359 GLsizei depth,
360 GLint border, 360 GLint border,
361 GLenum format, 361 GLenum format,
362 GLenum type, 362 GLenum type,
363 uint32_t shared_memory_id, 363 uint32_t shared_memory_id,
364 uint32_t shared_memory_offset); 364 uint32_t shared_memory_offset);
365 void DoTexParameteri(GLenum target, GLenum pname, GLint paramGLuint);
365 void DoRenderbufferStorage( 366 void DoRenderbufferStorage(
366 GLenum target, GLenum internal_format, GLenum actual_format, 367 GLenum target, GLenum internal_format, GLenum actual_format,
367 GLsizei width, GLsizei height, GLenum error); 368 GLsizei width, GLsizei height, GLenum error);
368 void DoFramebufferRenderbuffer( 369 void DoFramebufferRenderbuffer(
369 GLenum target, 370 GLenum target,
370 GLenum attachment, 371 GLenum attachment,
371 GLenum renderbuffer_target, 372 GLenum renderbuffer_target,
372 GLuint renderbuffer_client_id, 373 GLuint renderbuffer_client_id,
373 GLuint renderbuffer_service_id, 374 GLuint renderbuffer_service_id,
374 GLenum error); 375 GLenum error);
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 if (arg[i] != array[i]) 794 if (arg[i] != array[i])
794 return false; 795 return false;
795 } 796 }
796 return true; 797 return true;
797 } 798 }
798 799
799 } // namespace gles2 800 } // namespace gles2
800 } // namespace gpu 801 } // namespace gpu
801 802
802 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 803 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698