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

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

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kMaxTransformFeedbackSeparateAttribs = 4; 381 static const GLuint kMaxTransformFeedbackSeparateAttribs = 4;
382 static const GLuint kMaxUniformBufferBindings = 36; 382 static const GLuint kMaxUniformBufferBindings = 36;
383 static const GLuint kStartId = 1024; 383 static const GLuint kStartId = 1024;
384 static const GLuint kBuffersStartId = 384 static const GLuint kBuffersStartId = 1;
385 GLES2Implementation::kClientSideArrayId + 2 * kNumTestContexts;
386 static const GLuint kFramebuffersStartId = 1; 385 static const GLuint kFramebuffersStartId = 1;
387 static const GLuint kProgramsAndShadersStartId = 1; 386 static const GLuint kProgramsAndShadersStartId = 1;
388 static const GLuint kRenderbuffersStartId = 1; 387 static const GLuint kRenderbuffersStartId = 1;
389 static const GLuint kSamplersStartId = 1; 388 static const GLuint kSamplersStartId = 1;
390 static const GLuint kTexturesStartId = 1; 389 static const GLuint kTexturesStartId = 1;
391 static const GLuint kTransformFeedbacksStartId = 1; 390 static const GLuint kTransformFeedbacksStartId = 1;
392 static const GLuint kQueriesStartId = 1; 391 static const GLuint kQueriesStartId = 1;
393 static const GLuint kVertexArraysStartId = 1; 392 static const GLuint kVertexArraysStartId = 1;
394 static const GLuint kValuebuffersStartId = 1; 393 static const GLuint kValuebuffersStartId = 1;
395 394
(...skipping 3288 matching lines...) Expand 10 before | Expand all | Expand 10 after
3684 TEST_F(GLES2ImplementationManualInitTest, FailInitOnTransferBufferFail) { 3683 TEST_F(GLES2ImplementationManualInitTest, FailInitOnTransferBufferFail) {
3685 ContextInitOptions init_options; 3684 ContextInitOptions init_options;
3686 init_options.transfer_buffer_initialize_fail = true; 3685 init_options.transfer_buffer_initialize_fail = true;
3687 EXPECT_FALSE(Initialize(init_options)); 3686 EXPECT_FALSE(Initialize(init_options));
3688 } 3687 }
3689 3688
3690 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" 3689 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h"
3691 3690
3692 } // namespace gles2 3691 } // namespace gles2
3693 } // namespace gpu 3692 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698