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

Side by Side Diff: Source/WebKit/chromium/tests/MockWebGraphicsContext3D.h

Issue 8479052: Merge 98185 - [chromium] Make setVisibility extension- and thread-correct (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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/WebKit/chromium/src/GraphicsContext3DPrivate.h ('k') | no next file » | 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 virtual void synthesizeGLError(WGC3Denum) { } 54 virtual void synthesizeGLError(WGC3Denum) { }
55 55
56 virtual bool isContextLost() { return false; } 56 virtual bool isContextLost() { return false; }
57 57
58 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, WGC3Dsizeiptr size, WGC3Denum access) { return 0; } 58 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, WGC3Dsizeiptr size, WGC3Denum access) { return 0; }
59 virtual void unmapBufferSubDataCHROMIUM(const void*) { } 59 virtual void unmapBufferSubDataCHROMIUM(const void*) { }
60 virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC 3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) { return 0; } 60 virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC 3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) { return 0; }
61 virtual void unmapTexSubImage2DCHROMIUM(const void*) { } 61 virtual void unmapTexSubImage2DCHROMIUM(const void*) { }
62 62
63 virtual void setVisibilityCHROMIUM(bool visible) { }
64
63 virtual WebString getRequestableExtensionsCHROMIUM() { return WebString(); } 65 virtual WebString getRequestableExtensionsCHROMIUM() { return WebString(); }
64 virtual void requestExtensionCHROMIUM(const char*) { } 66 virtual void requestExtensionCHROMIUM(const char*) { }
65 67
66 virtual void blitFramebufferCHROMIUM(WGC3Dint srcX0, WGC3Dint srcY0, WGC3Din t srcX1, WGC3Dint srcY1, WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Din t dstY1, WGC3Dbitfield mask, WGC3Denum filter) { } 68 virtual void blitFramebufferCHROMIUM(WGC3Dint srcX0, WGC3Dint srcY0, WGC3Din t srcX1, WGC3Dint srcY1, WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Din t dstY1, WGC3Dbitfield mask, WGC3Denum filter) { }
67 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { } 69 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { }
68 70
69 virtual void activeTexture(WGC3Denum texture) { } 71 virtual void activeTexture(WGC3Denum texture) { }
70 virtual void attachShader(WebGLId program, WebGLId shader) { } 72 virtual void attachShader(WebGLId program, WebGLId shader) { }
71 virtual void bindAttribLocation(WebGLId program, WGC3Duint index, const WGC3 Dchar* name) { } 73 virtual void bindAttribLocation(WebGLId program, WGC3Duint index, const WGC3 Dchar* name) { }
72 virtual void bindBuffer(WGC3Denum target, WebGLId buffer) { } 74 virtual void bindBuffer(WGC3Denum target, WebGLId buffer) { }
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 virtual void deleteFramebuffer(WebGLId) { } 223 virtual void deleteFramebuffer(WebGLId) { }
222 virtual void deleteProgram(WebGLId) { } 224 virtual void deleteProgram(WebGLId) { }
223 virtual void deleteRenderbuffer(WebGLId) { } 225 virtual void deleteRenderbuffer(WebGLId) { }
224 virtual void deleteShader(WebGLId) { } 226 virtual void deleteShader(WebGLId) { }
225 virtual void deleteTexture(WebGLId) { } 227 virtual void deleteTexture(WebGLId) { }
226 }; 228 };
227 229
228 } // namespace WebKit 230 } // namespace WebKit
229 231
230 #endif // MockWebGraphicsContext3D_h 232 #endif // MockWebGraphicsContext3D_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/GraphicsContext3DPrivate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698