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

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

Issue 9192014: Replace WGC3D visibility extension with resource_usage extension. [Part 2 of 3] (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added image_transport_surface_win changes Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 WGC3Dint level, 420 WGC3Dint level,
421 WGC3Dint xoffset, 421 WGC3Dint xoffset,
422 WGC3Dint yoffset, 422 WGC3Dint yoffset,
423 WGC3Dsizei width, 423 WGC3Dsizei width,
424 WGC3Dsizei height, 424 WGC3Dsizei height,
425 WGC3Denum format, 425 WGC3Denum format,
426 WGC3Denum type, 426 WGC3Denum type,
427 WGC3Denum access); 427 WGC3Denum access);
428 virtual void unmapTexSubImage2DCHROMIUM(const void*); 428 virtual void unmapTexSubImage2DCHROMIUM(const void*);
429 429
430 virtual void setVisibilityCHROMIUM(bool visible); 430 virtual void setResourceUsageCHROMIUM(ResourceUsage);
431 431
432 virtual void copyTextureToParentTextureCHROMIUM( 432 virtual void copyTextureToParentTextureCHROMIUM(
433 WebGLId texture, WebGLId parentTexture); 433 WebGLId texture, WebGLId parentTexture);
434 434
435 virtual void rateLimitOffscreenContextCHROMIUM(); 435 virtual void rateLimitOffscreenContextCHROMIUM();
436 436
437 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); 437 virtual WebKit::WebString getRequestableExtensionsCHROMIUM();
438 virtual void requestExtensionCHROMIUM(const char*); 438 virtual void requestExtensionCHROMIUM(const char*);
439 439
440 virtual void blitFramebufferCHROMIUM( 440 virtual void blitFramebufferCHROMIUM(
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 #ifdef FLIP_FRAMEBUFFER_VERTICALLY 524 #ifdef FLIP_FRAMEBUFFER_VERTICALLY
525 scoped_array<uint8> scanline_; 525 scoped_array<uint8> scanline_;
526 void FlipVertically(uint8* framebuffer, 526 void FlipVertically(uint8* framebuffer,
527 unsigned int width, 527 unsigned int width,
528 unsigned int height); 528 unsigned int height);
529 #endif 529 #endif
530 }; 530 };
531 531
532 #endif // defined(ENABLE_GPU) 532 #endif // defined(ENABLE_GPU)
533 #endif // CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 533 #endif // CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/renderer_gl_context.cc ('k') | content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698