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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_unittest.cc

Issue 692073002: command_buffer: Implement IdAllocator by recording ranges (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years, 11 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 // Tests for GLES2Implementation. 5 // Tests for GLES2Implementation.
6 6
7 #include "gpu/command_buffer/client/gles2_implementation.h" 7 #include "gpu/command_buffer/client/gles2_implementation.h"
8 8
9 #include <limits> 9 #include <limits>
10 10
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 static const GLint kMaxRenderbufferSize = 64; 372 static const GLint kMaxRenderbufferSize = 64;
373 static const GLint kMaxTextureImageUnits = 8; 373 static const GLint kMaxTextureImageUnits = 8;
374 static const GLint kMaxTextureSize = 128; 374 static const GLint kMaxTextureSize = 128;
375 static const GLint kMaxVaryingVectors = 8; 375 static const GLint kMaxVaryingVectors = 8;
376 static const GLint kMaxVertexAttribs = 8; 376 static const GLint kMaxVertexAttribs = 8;
377 static const GLint kMaxVertexTextureImageUnits = 0; 377 static const GLint kMaxVertexTextureImageUnits = 0;
378 static const GLint kMaxVertexUniformVectors = 128; 378 static const GLint kMaxVertexUniformVectors = 128;
379 static const GLint kNumCompressedTextureFormats = 0; 379 static const GLint kNumCompressedTextureFormats = 0;
380 static const GLint kNumShaderBinaryFormats = 0; 380 static const GLint kNumShaderBinaryFormats = 0;
381 static const GLuint kStartId = 1024; 381 static const GLuint kStartId = 1024;
382 static const GLuint kBuffersStartId = 382 static const GLuint kBuffersStartId = 1;
383 GLES2Implementation::kClientSideArrayId + 2 * kNumTestContexts;
384 static const GLuint kFramebuffersStartId = 1; 383 static const GLuint kFramebuffersStartId = 1;
385 static const GLuint kProgramsAndShadersStartId = 1; 384 static const GLuint kProgramsAndShadersStartId = 1;
386 static const GLuint kRenderbuffersStartId = 1; 385 static const GLuint kRenderbuffersStartId = 1;
387 static const GLuint kSamplersStartId = 1; 386 static const GLuint kSamplersStartId = 1;
388 static const GLuint kTexturesStartId = 1; 387 static const GLuint kTexturesStartId = 1;
389 static const GLuint kTransformFeedbacksStartId = 1; 388 static const GLuint kTransformFeedbacksStartId = 1;
390 static const GLuint kQueriesStartId = 1; 389 static const GLuint kQueriesStartId = 1;
391 static const GLuint kVertexArraysStartId = 1; 390 static const GLuint kVertexArraysStartId = 1;
392 static const GLuint kValuebuffersStartId = 1; 391 static const GLuint kValuebuffersStartId = 1;
393 392
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after
3566 TEST_F(GLES2ImplementationManualInitTest, FailInitOnTransferBufferFail) { 3565 TEST_F(GLES2ImplementationManualInitTest, FailInitOnTransferBufferFail) {
3567 ContextInitOptions init_options; 3566 ContextInitOptions init_options;
3568 init_options.transfer_buffer_initialize_fail = true; 3567 init_options.transfer_buffer_initialize_fail = true;
3569 EXPECT_FALSE(Initialize(init_options)); 3568 EXPECT_FALSE(Initialize(init_options));
3570 } 3569 }
3571 3570
3572 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" 3571 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h"
3573 3572
3574 } // namespace gles2 3573 } // namespace gles2
3575 } // namespace gpu 3574 } // namespace gpu
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/common/id_allocator.h » ('j') | gpu/command_buffer/common/id_allocator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698