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

Side by Side Diff: gpu/command_buffer/tests/gl_program_unittest.cc

Issue 2410343002: [Reland] Add gl tests to make sure when a buffer is unmapped, all access path generates an INVALID_… (Closed)
Patch Set: Skip the test if context creation fails. Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include <GLES2/gl2.h> 5 #include <GLES2/gl2.h>
6 #include <GLES2/gl2ext.h> 6 #include <GLES2/gl2ext.h>
7 #include <GLES2/gl2extchromium.h> 7 #include <GLES2/gl2extchromium.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "gpu/command_buffer/service/context_group.h" 10 #include "gpu/command_buffer/service/context_group.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 glDeleteShader(fs); 275 glDeleteShader(fs);
276 276
277 glLinkProgram(program); 277 glLinkProgram(program);
278 278
279 GLint linked = 0; 279 GLint linked = 0;
280 glGetProgramiv(program, GL_LINK_STATUS, &linked); 280 glGetProgramiv(program, GL_LINK_STATUS, &linked);
281 EXPECT_NE(0, linked); 281 EXPECT_NE(0, linked);
282 } 282 }
283 283
284 } // namespace gpu 284 } // namespace gpu
285
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_map_buffer_range_unittest.cc ('k') | gpu/command_buffer/tests/gl_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698