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/src/GraphicsContext3DInternal.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/src/GraphicsContext3DChromium.cpp ('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) 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 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // EXT_texture_format_BGRA8888 268 // EXT_texture_format_BGRA8888
269 bool supportsBGRA(); 269 bool supportsBGRA();
270 270
271 // GL_CHROMIUM_map_sub 271 // GL_CHROMIUM_map_sub
272 bool supportsMapSubCHROMIUM(); 272 bool supportsMapSubCHROMIUM();
273 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz ei size, GC3Denum access); 273 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz ei size, GC3Denum access);
274 void unmapBufferSubDataCHROMIUM(const void*); 274 void unmapBufferSubDataCHROMIUM(const void*);
275 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu m type, GC3Denum access); 275 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu m type, GC3Denum access);
276 void unmapTexSubImage2DCHROMIUM(const void*); 276 void unmapTexSubImage2DCHROMIUM(const void*);
277 277
278 // GL_CHROMIUM_copy_texture_to_parent_texture
279 bool supportsCopyTextureToParentTextureCHROMIUM();
280 void copyTextureToParentTextureCHROMIUM(Platform3DObject texture, Platform3D Object parentTexture);
281
282 // GL_CHROMIUM_framebuffer_multisample 278 // GL_CHROMIUM_framebuffer_multisample
283 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC 3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit field mask, GC3Denum filter); 279 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC 3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit field mask, GC3Denum filter);
284 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height); 280 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height);
285 281
286 // GL_CHROMIUM_swapbuffers_complete_callback 282 // GL_CHROMIUM_swapbuffers_complete_callback
287 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium: :SwapBuffersCompleteCallbackCHROMIUM>); 283 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium: :SwapBuffersCompleteCallbackCHROMIUM>);
288 284
289 // GL_CHROMIUM_rate_limit_offscreen_context 285 // GL_CHROMIUM_rate_limit_offscreen_context
290 void rateLimitOffscreenContextCHROMIUM(); 286 void rateLimitOffscreenContextCHROMIUM();
291 287
(...skipping 28 matching lines...) Expand all
320 OwnArrayPtr<unsigned char> m_renderOutput; 316 OwnArrayPtr<unsigned char> m_renderOutput;
321 size_t m_renderOutputSize; 317 size_t m_renderOutputSize;
322 #endif 318 #endif
323 319
324 void initializeExtensions(); 320 void initializeExtensions();
325 }; 321 };
326 322
327 } // namespace WebCore 323 } // namespace WebCore
328 324
329 #endif // GraphicsContext3D_h 325 #endif // GraphicsContext3D_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698