| OLD | NEW | 
|---|
| 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 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 5 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 
| 6 | 6 | 
| 7 #include <string.h> | 7 #include <string.h> | 
| 8 | 8 | 
| 9 #include <algorithm> | 9 #include <algorithm> | 
| 10 #include <string> | 10 #include <string> | 
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 706     WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, | 706     WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, | 
| 707     WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, | 707     WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, | 
| 708     WGC3Denum access) { | 708     WGC3Denum access) { | 
| 709   return 0; | 709   return 0; | 
| 710 } | 710 } | 
| 711 | 711 | 
| 712 void WebGraphicsContext3DInProcessImpl::unmapTexSubImage2DCHROMIUM( | 712 void WebGraphicsContext3DInProcessImpl::unmapTexSubImage2DCHROMIUM( | 
| 713     const void* mem) { | 713     const void* mem) { | 
| 714 } | 714 } | 
| 715 | 715 | 
| 716 void WebGraphicsContext3DInProcessImpl::setVisibilityCHROMIUM(bool visible) { | 716 void WebGraphicsContext3DInProcessImpl::setResourceUsageCHROMIUM( | 
|  | 717     ResourceUsage resourceUsage) { | 
| 717 } | 718 } | 
| 718 | 719 | 
| 719 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( | 720 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( | 
| 720     WebGLId id, WebGLId id2) { | 721     WebGLId id, WebGLId id2) { | 
| 721   NOTIMPLEMENTED(); | 722   NOTIMPLEMENTED(); | 
| 722 } | 723 } | 
| 723 | 724 | 
| 724 WebString WebGraphicsContext3DInProcessImpl:: | 725 WebString WebGraphicsContext3DInProcessImpl:: | 
| 725     getRequestableExtensionsCHROMIUM() { | 726     getRequestableExtensionsCHROMIUM() { | 
| 726   return WebString(); | 727   return WebString(); | 
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1701   if (length > 1) { | 1702   if (length > 1) { | 
| 1702     entry->translated_source.reset(new char[length]); | 1703     entry->translated_source.reset(new char[length]); | 
| 1703     ShGetObjectCode(compiler, entry->translated_source.get()); | 1704     ShGetObjectCode(compiler, entry->translated_source.get()); | 
| 1704   } | 1705   } | 
| 1705   entry->is_valid = true; | 1706   entry->is_valid = true; | 
| 1706   return true; | 1707   return true; | 
| 1707 } | 1708 } | 
| 1708 | 1709 | 
| 1709 }  // namespace gpu | 1710 }  // namespace gpu | 
| 1710 }  // namespace webkit | 1711 }  // namespace webkit | 
| OLD | NEW | 
|---|