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

Side by Side Diff: Source/WebKit/chromium/public/WebGraphicsContext3D.h

Issue 7671031: Merge 92520 - [chromium] Accelerated canvas breaks when moving canvases or resources between Pages (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/Extensions3DChromium.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual void synthesizeGLError(WGC3Denum) = 0; 160 virtual void synthesizeGLError(WGC3Denum) = 0;
161 161
162 virtual bool isContextLost() = 0; 162 virtual bool isContextLost() = 0;
163 163
164 // GL_CHROMIUM_map_sub 164 // GL_CHROMIUM_map_sub
165 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, WGC3Dsizeiptr size, WGC3Denum access) = 0; 165 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, WGC3Dsizeiptr size, WGC3Denum access) = 0;
166 virtual void unmapBufferSubDataCHROMIUM(const void*) = 0; 166 virtual void unmapBufferSubDataCHROMIUM(const void*) = 0;
167 virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC 3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) = 0; 167 virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC 3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) = 0;
168 virtual void unmapTexSubImage2DCHROMIUM(const void*) = 0; 168 virtual void unmapTexSubImage2DCHROMIUM(const void*) = 0;
169 169
170 // GL_CHROMIUM_copy_texture_to_parent_texture
171 virtual void copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId par entTexture) = 0;
172
173 // GL_CHROMIUM_request_extension 170 // GL_CHROMIUM_request_extension
174 virtual WebString getRequestableExtensionsCHROMIUM() = 0; 171 virtual WebString getRequestableExtensionsCHROMIUM() = 0;
175 virtual void requestExtensionCHROMIUM(const char*) = 0; 172 virtual void requestExtensionCHROMIUM(const char*) = 0;
176 173
177 // GL_CHROMIUM_framebuffer_multisample 174 // GL_CHROMIUM_framebuffer_multisample
178 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) = 0; 175 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) = 0;
179 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0 ; 176 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0 ;
180 177
181 // GL_CHROMIUM_swapbuffers_complete_callback 178 // GL_CHROMIUM_swapbuffers_complete_callback
182 virtual void setSwapBuffersCompleteCallbackCHROMIUM(WebGraphicsSwapBuffersCo mpleteCallbackCHROMIUM* callback) { } 179 virtual void setSwapBuffersCompleteCallbackCHROMIUM(WebGraphicsSwapBuffersCo mpleteCallbackCHROMIUM* callback) { }
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // 351 //
355 // This entry point must provide slightly different semantics than 352 // This entry point must provide slightly different semantics than
356 // the GL_ARB_robustness extension; specifically, the lost context 353 // the GL_ARB_robustness extension; specifically, the lost context
357 // state is sticky, rather than reported only once. 354 // state is sticky, rather than reported only once.
358 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */ } 355 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */ }
359 }; 356 };
360 357
361 } // namespace WebKit 358 } // namespace WebKit
362 359
363 #endif 360 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/Extensions3DChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698