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

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

Issue 3150026: Fixes for the default texture.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
7
8 #include "app/gfx/gl/gl_mock.h"
9 #include "gpu/GLES2/gles2_command_buffer.h"
10
11 namespace gpu {
12 namespace gles2 {
13
14 class TestHelper {
15 public:
16 static const GLuint kServiceBlackTexture2dId = 701;
17 static const GLuint kServiceBlackTextureCubemapId = 702;
18 static const GLuint kServiceDefaultTexture2dId = 703;
19 static const GLuint kServiceDefaultTextureCubemapId = 704;
20
21 static const GLint kMaxTextureSize = 2048;
22 static const GLint kMaxCubeMapTextureSize = 256;
23 static const GLint kNumVertexAttribs = 16;
24 static const GLint kNumTextureUnits = 8;
25 static const GLint kMaxTextureImageUnits = 8;
26 static const GLint kMaxVertexTextureImageUnits = 2;
27 static const GLint kMaxFragmentUniformVectors = 16;
28 static const GLint kMaxVaryingVectors = 8;
29 static const GLint kMaxVertexUniformVectors = 128;
30
31 static void SetupContextGroupInitExpectations(
32 ::gfx::MockGLInterface* gl, const char* extensions);
33 static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl);
34 };
35
36 } // namespace gles2
37 } // namespace gpu
38
39 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
40
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698