diff options
Diffstat (limited to 'chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc')
-rw-r--r-- | chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc b/chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc index 33b4eda5be9..fbf35d21917 100644 --- a/chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc +++ b/chromium/gpu/command_buffer/client/gles2_implementation_unittest.cc @@ -404,6 +404,8 @@ class GLES2ImplementationTest : public testing::Test { static const GLint kMaxVertexAttribs = 8; static const GLint kMaxVertexTextureImageUnits = 0; static const GLint kMaxVertexUniformVectors = 128; + static const GLint kMaxViewportWidth = 8192; + static const GLint kMaxViewportHeight = 6144; static const GLint kNumCompressedTextureFormats = 0; static const GLint kNumShaderBinaryFormats = 0; static const GLuint kMaxTransformFeedbackSeparateAttribs = 4; @@ -467,6 +469,8 @@ class GLES2ImplementationTest : public testing::Test { capabilities.max_vertex_attribs = kMaxVertexAttribs; capabilities.max_vertex_texture_image_units = kMaxVertexTextureImageUnits; capabilities.max_vertex_uniform_vectors = kMaxVertexUniformVectors; + capabilities.max_viewport_width = kMaxViewportWidth; + capabilities.max_viewport_height = kMaxViewportHeight; capabilities.num_compressed_texture_formats = kNumCompressedTextureFormats; capabilities.num_shader_binary_formats = kNumShaderBinaryFormats; |