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

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

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the compilation issue for Mac and Win Created 7 years, 8 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 #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 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) 1729 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum)
1730 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) 1730 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*)
1731 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, 1731 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB,
1732 WebGLId, WGC3Denum, WGC3Duint*) 1732 WebGLId, WGC3Denum, WGC3Duint*)
1733 1733
1734 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( 1734 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM(
1735 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { 1735 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) {
1736 NOTIMPLEMENTED(); 1736 NOTIMPLEMENTED();
1737 } 1737 }
1738 1738
1739 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM(
1740 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum, WGC3Denum) {
1741 NOTIMPLEMENTED();
1742 }
1743
1739 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM( 1744 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM(
1740 WGC3Denum target, WGC3Dint imageId) { 1745 WGC3Denum target, WGC3Dint imageId) {
1741 NOTIMPLEMENTED(); 1746 NOTIMPLEMENTED();
1742 } 1747 }
1743 1748
1744 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( 1749 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM(
1745 WGC3Denum target, WGC3Dint imageId) { 1750 WGC3Denum target, WGC3Dint imageId) {
1746 NOTIMPLEMENTED(); 1751 NOTIMPLEMENTED();
1747 } 1752 }
1748 1753
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 if (length > 1) { 1854 if (length > 1) {
1850 entry->translated_source.reset(new char[length]); 1855 entry->translated_source.reset(new char[length]);
1851 ShGetObjectCode(compiler, entry->translated_source.get()); 1856 ShGetObjectCode(compiler, entry->translated_source.get());
1852 } 1857 }
1853 entry->is_valid = true; 1858 entry->is_valid = true;
1854 return true; 1859 return true;
1855 } 1860 }
1856 1861
1857 } // namespace gpu 1862 } // namespace gpu
1858 } // namespace webkit 1863 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698