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

Side by Side Diff: cc/test/test_web_graphics_context_3d.h

Issue 2687143003: Fix flaky LayerTreeHostCopyRequestTestDeleteTexture test. (Closed)
Patch Set: flaky-copyrequest: . Created 3 years, 10 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
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 virtual void useProgram(GLuint program); 124 virtual void useProgram(GLuint program);
125 125
126 virtual void viewport(GLint x, GLint y, GLsizei width, GLsizei height) {} 126 virtual void viewport(GLint x, GLint y, GLsizei width, GLsizei height) {}
127 127
128 virtual void genBuffers(GLsizei count, GLuint* ids); 128 virtual void genBuffers(GLsizei count, GLuint* ids);
129 virtual void genFramebuffers(GLsizei count, GLuint* ids); 129 virtual void genFramebuffers(GLsizei count, GLuint* ids);
130 virtual void genRenderbuffers(GLsizei count, GLuint* ids); 130 virtual void genRenderbuffers(GLsizei count, GLuint* ids);
131 virtual void genTextures(GLsizei count, GLuint* ids); 131 virtual void genTextures(GLsizei count, GLuint* ids);
132 132
133 virtual void deleteBuffers(GLsizei count, GLuint* ids); 133 virtual void deleteBuffers(GLsizei count, const GLuint* ids);
134 virtual void deleteFramebuffers(GLsizei count, GLuint* ids); 134 virtual void deleteFramebuffers(GLsizei count, const GLuint* ids);
135 virtual void deleteRenderbuffers(GLsizei count, GLuint* ids); 135 virtual void deleteRenderbuffers(GLsizei count, const GLuint* ids);
136 virtual void deleteTextures(GLsizei count, GLuint* ids); 136 virtual void deleteTextures(GLsizei count, const GLuint* ids);
137 137
138 virtual GLuint createBuffer(); 138 virtual GLuint createBuffer();
139 virtual GLuint createFramebuffer(); 139 virtual GLuint createFramebuffer();
140 virtual GLuint createRenderbuffer(); 140 virtual GLuint createRenderbuffer();
141 virtual GLuint createTexture(); 141 virtual GLuint createTexture();
142 142
143 virtual void deleteBuffer(GLuint id); 143 virtual void deleteBuffer(GLuint id);
144 virtual void deleteFramebuffer(GLuint id); 144 virtual void deleteFramebuffer(GLuint id);
145 virtual void deleteRenderbuffer(GLuint id); 145 virtual void deleteRenderbuffer(GLuint id);
146 virtual void deleteTexture(GLuint id); 146 virtual void deleteTexture(GLuint id);
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 483
484 scoped_refptr<Namespace> namespace_; 484 scoped_refptr<Namespace> namespace_;
485 static Namespace* shared_namespace_; 485 static Namespace* shared_namespace_;
486 486
487 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 487 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
488 }; 488 };
489 489
490 } // namespace cc 490 } // namespace cc
491 491
492 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 492 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698