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

Side by Side Diff: Source/WebKit/chromium/src/GraphicsContext3DPrivate.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
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // EXT_texture_format_BGRA8888 283 // EXT_texture_format_BGRA8888
284 bool supportsBGRA(); 284 bool supportsBGRA();
285 285
286 // GL_CHROMIUM_map_sub 286 // GL_CHROMIUM_map_sub
287 bool supportsMapSubCHROMIUM(); 287 bool supportsMapSubCHROMIUM();
288 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz ei, GC3Denum access); 288 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz ei, GC3Denum access);
289 void unmapBufferSubDataCHROMIUM(const void*); 289 void unmapBufferSubDataCHROMIUM(const void*);
290 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu m type, GC3Denum access); 290 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu m type, GC3Denum access);
291 void unmapTexSubImage2DCHROMIUM(const void*); 291 void unmapTexSubImage2DCHROMIUM(const void*);
292 292
293 // GL_CHROMIUM_set_visibility
294 void setVisibilityCHROMIUM(bool);
295
293 // GL_CHROMIUM_framebuffer_multisample 296 // GL_CHROMIUM_framebuffer_multisample
294 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC 3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit field mask, GC3Denum filter); 297 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC 3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit field mask, GC3Denum filter);
295 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height); 298 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height);
296 299
297 // GL_CHROMIUM_swapbuffers_complete_callback 300 // GL_CHROMIUM_swapbuffers_complete_callback
298 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium: :SwapBuffersCompleteCallbackCHROMIUM>); 301 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium: :SwapBuffersCompleteCallbackCHROMIUM>);
299 302
300 // GL_CHROMIUM_rate_limit_offscreen_context 303 // GL_CHROMIUM_rate_limit_offscreen_context
301 void rateLimitOffscreenContextCHROMIUM(); 304 void rateLimitOffscreenContextCHROMIUM();
302 305
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 OwnArrayPtr<unsigned char> m_renderOutput; 345 OwnArrayPtr<unsigned char> m_renderOutput;
343 size_t m_renderOutputSize; 346 size_t m_renderOutputSize;
344 #endif 347 #endif
345 348
346 void initializeExtensions(); 349 void initializeExtensions();
347 }; 350 };
348 351
349 } // namespace WebCore 352 } // namespace WebCore
350 353
351 #endif // GraphicsContext3DPrivate_h 354 #endif // GraphicsContext3DPrivate_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp ('k') | Source/WebKit/chromium/tests/MockWebGraphicsContext3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698