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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc

Issue 8373006: Rename setVisibility to setVisibilityCHROMIUM and expose as GL_CHROIMIUM_set_visibility extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 9 years, 2 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) 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 #if defined(ENABLE_GPU) 5 #if defined(ENABLE_GPU)
6 6
7 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" 7 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
8 8
9 #include <GLES2/gl2.h> 9 #include <GLES2/gl2.h>
10 #ifndef GL_GLEXT_PROTOTYPES 10 #ifndef GL_GLEXT_PROTOTYPES
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 return gl_->MapTexSubImage2DCHROMIUM( 902 return gl_->MapTexSubImage2DCHROMIUM(
903 target, level, xoffset, yoffset, width, height, format, type, access); 903 target, level, xoffset, yoffset, width, height, format, type, access);
904 } 904 }
905 905
906 void WebGraphicsContext3DInProcessCommandBufferImpl::unmapTexSubImage2DCHROMIUM( 906 void WebGraphicsContext3DInProcessCommandBufferImpl::unmapTexSubImage2DCHROMIUM(
907 const void* mem) { 907 const void* mem) {
908 ClearContext(); 908 ClearContext();
909 gl_->UnmapTexSubImage2DCHROMIUM(mem); 909 gl_->UnmapTexSubImage2DCHROMIUM(mem);
910 } 910 }
911 911
912 void WebGraphicsContext3DInProcessCommandBufferImpl::setVisibilityCHROMIUM(
913 bool visible) {
914 }
915
912 void WebGraphicsContext3DInProcessCommandBufferImpl:: 916 void WebGraphicsContext3DInProcessCommandBufferImpl::
913 copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId parentTexture) { 917 copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId parentTexture) {
914 NOTIMPLEMENTED(); 918 NOTIMPLEMENTED();
915 } 919 }
916 920
917 void WebGraphicsContext3DInProcessCommandBufferImpl:: 921 void WebGraphicsContext3DInProcessCommandBufferImpl::
918 rateLimitOffscreenContextCHROMIUM() { 922 rateLimitOffscreenContextCHROMIUM() {
919 // TODO(gmam): See if we can comment this in. 923 // TODO(gmam): See if we can comment this in.
920 // ClearContext(); 924 // ClearContext();
921 gl_->RateLimitOffscreenContextCHROMIUM(); 925 gl_->RateLimitOffscreenContextCHROMIUM();
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 context_lost_reason_ = GL_UNKNOWN_CONTEXT_RESET_ARB; 1659 context_lost_reason_ = GL_UNKNOWN_CONTEXT_RESET_ARB;
1656 if (context_lost_callback_) { 1660 if (context_lost_callback_) {
1657 context_lost_callback_->onContextLost(); 1661 context_lost_callback_->onContextLost();
1658 } 1662 }
1659 } 1663 }
1660 1664
1661 } // namespace gpu 1665 } // namespace gpu
1662 } // namespace webkit 1666 } // namespace webkit
1663 1667
1664 #endif // defined(ENABLE_GPU) 1668 #endif // defined(ENABLE_GPU)
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698