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

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

Issue 371463009: Making use of bindless variants mailbox produce/consume on remainders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cc tests Created 6 years, 5 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 <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 GLint yoffset, 162 GLint yoffset,
163 GLsizei width, 163 GLsizei width,
164 GLsizei height, 164 GLsizei height,
165 GLenum format, 165 GLenum format,
166 GLenum type, 166 GLenum type,
167 const void* pixels) {} 167 const void* pixels) {}
168 168
169 virtual void genMailboxCHROMIUM(GLbyte* mailbox); 169 virtual void genMailboxCHROMIUM(GLbyte* mailbox);
170 virtual void produceTextureCHROMIUM(GLenum target, 170 virtual void produceTextureCHROMIUM(GLenum target,
171 const GLbyte* mailbox) { } 171 const GLbyte* mailbox) { }
172 virtual void produceTextureDirectCHROMIUM(GLuint texture,
173 GLenum target,
174 const GLbyte* mailbox) {}
172 virtual void consumeTextureCHROMIUM(GLenum target, 175 virtual void consumeTextureCHROMIUM(GLenum target,
173 const GLbyte* mailbox) { } 176 const GLbyte* mailbox) { }
177 virtual GLuint createAndConsumeTextureCHROMIUM(GLenum target,
178 const GLbyte* mailbox);
174 179
175 virtual void loseContextCHROMIUM(GLenum current, GLenum other); 180 virtual void loseContextCHROMIUM(GLenum current, GLenum other);
176 181
177 virtual void bindTexImage2DCHROMIUM(GLenum target, GLint image_id) {} 182 virtual void bindTexImage2DCHROMIUM(GLenum target, GLint image_id) {}
178 183
179 virtual void drawArrays(GLenum mode, GLint first, GLsizei count) {} 184 virtual void drawArrays(GLenum mode, GLint first, GLsizei count) {}
180 virtual void drawElements(GLenum mode, 185 virtual void drawElements(GLenum mode,
181 GLsizei count, 186 GLsizei count,
182 GLenum type, 187 GLenum type,
183 GLintptr offset) {} 188 GLintptr offset) {}
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 447
443 scoped_refptr<Namespace> namespace_; 448 scoped_refptr<Namespace> namespace_;
444 static Namespace* shared_namespace_; 449 static Namespace* shared_namespace_;
445 450
446 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 451 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
447 }; 452 };
448 453
449 } // namespace cc 454 } // namespace cc
450 455
451 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 456 #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