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

Side by Side Diff: Source/platform/graphics/test/MockWebGraphicsContext3D.h

Issue 216603004: Fix WebGLDebugShaders::getTranslatedShaderSource returning null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « Source/core/html/canvas/WebGLDebugShaders.cpp ('k') | public/platform/WebGraphicsContext3D.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in ternalformat, WGC3Dint width, WGC3Dint height) { } 277 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in ternalformat, WGC3Dint width, WGC3Dint height) { }
278 278
279 virtual WebGLId createQueryEXT() { return 1; } 279 virtual WebGLId createQueryEXT() { return 1; }
280 virtual void deleteQueryEXT(WebGLId) { } 280 virtual void deleteQueryEXT(WebGLId) { }
281 virtual GLboolean isQueryEXT(WebGLId) { return true; } 281 virtual GLboolean isQueryEXT(WebGLId) { return true; }
282 virtual void beginQueryEXT(GLenum, WebGLId) { } 282 virtual void beginQueryEXT(GLenum, WebGLId) { }
283 virtual void endQueryEXT(GLenum) { } 283 virtual void endQueryEXT(GLenum) { }
284 virtual void getQueryivEXT(GLenum, GLenum, GLint*) { } 284 virtual void getQueryivEXT(GLenum, GLenum, GLint*) { }
285 virtual void getQueryObjectuivEXT(WebGLId, GLenum, GLuint*) { } 285 virtual void getQueryObjectuivEXT(WebGLId, GLenum, GLuint*) { }
286 286
287 virtual WebString getTranslatedShaderSourceANGLE(WebGLId) { return WebString (); }
288
287 protected: 289 protected:
288 unsigned m_nextTextureId; 290 unsigned m_nextTextureId;
289 Attributes m_attrs; 291 Attributes m_attrs;
290 }; 292 };
291 293
292 } // namespace blink 294 } // namespace blink
293 295
294 #endif // MockWebGraphicsContext3D_h 296 #endif // MockWebGraphicsContext3D_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLDebugShaders.cpp ('k') | public/platform/WebGraphicsContext3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698