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

Side by Side Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h

Issue 7488069: Expose mapExternalTexture extension to WebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 WGC3Dsizei width, 398 WGC3Dsizei width,
399 WGC3Dsizei height, 399 WGC3Dsizei height,
400 WGC3Denum format, 400 WGC3Denum format,
401 WGC3Denum type, 401 WGC3Denum type,
402 WGC3Denum access); 402 WGC3Denum access);
403 virtual void unmapTexSubImage2DCHROMIUM(const void*); 403 virtual void unmapTexSubImage2DCHROMIUM(const void*);
404 404
405 virtual void copyTextureToParentTextureCHROMIUM( 405 virtual void copyTextureToParentTextureCHROMIUM(
406 WebGLId texture, WebGLId parentTexture); 406 WebGLId texture, WebGLId parentTexture);
407 407
408 virtual void mapExternalTextureCHROMIUM(WebGLId source_texture,
409 WebGraphicsContext3D* source_context,
410 WebGLId destination_texture);
411
408 virtual void rateLimitOffscreenContextCHROMIUM(); 412 virtual void rateLimitOffscreenContextCHROMIUM();
409 413
410 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); 414 virtual WebKit::WebString getRequestableExtensionsCHROMIUM();
411 virtual void requestExtensionCHROMIUM(const char*); 415 virtual void requestExtensionCHROMIUM(const char*);
412 416
413 virtual void blitFramebufferCHROMIUM( 417 virtual void blitFramebufferCHROMIUM(
414 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, 418 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1,
415 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1, 419 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1,
416 WGC3Dbitfield mask, WGC3Denum filter); 420 WGC3Dbitfield mask, WGC3Denum filter);
417 virtual void renderbufferStorageMultisampleCHROMIUM( 421 virtual void renderbufferStorageMultisampleCHROMIUM(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 #ifdef FLIP_FRAMEBUFFER_VERTICALLY 459 #ifdef FLIP_FRAMEBUFFER_VERTICALLY
456 scoped_array<uint8> scanline_; 460 scoped_array<uint8> scanline_;
457 void FlipVertically(uint8* framebuffer, 461 void FlipVertically(uint8* framebuffer,
458 unsigned int width, 462 unsigned int width,
459 unsigned int height); 463 unsigned int height);
460 #endif 464 #endif
461 }; 465 };
462 466
463 #endif // defined(ENABLE_GPU) 467 #endif // defined(ENABLE_GPU)
464 #endif // CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 468 #endif // CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698