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

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

Issue 10440019: Add support for GL_CHROMIUM_pixel_transfer_buffer_object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM( 1707 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM(
1708 WGC3Denum target, WGC3Dint imageId) { 1708 WGC3Denum target, WGC3Dint imageId) {
1709 NOTIMPLEMENTED(); 1709 NOTIMPLEMENTED();
1710 } 1710 }
1711 1711
1712 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( 1712 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM(
1713 WGC3Denum target, WGC3Dint imageId) { 1713 WGC3Denum target, WGC3Dint imageId) {
1714 NOTIMPLEMENTED(); 1714 NOTIMPLEMENTED();
1715 } 1715 }
1716 1716
1717 void* WebGraphicsContext3DInProcessImpl::mapBufferCHROMIUM(
1718 WGC3Denum target, WGC3Denum access) {
1719 return 0;
1720 }
1721
1722 WGC3Dboolean WebGraphicsContext3DInProcessImpl::unmapBufferCHROMIUM(
1723 WGC3Denum target) {
1724 return false;
1725 }
1726
1717 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { 1727 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() {
1718 return gfx::CreateInProcessSkiaGLBinding(); 1728 return gfx::CreateInProcessSkiaGLBinding();
1719 } 1729 }
1720 1730
1721 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { 1731 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() {
1722 if (!ShInitialize()) 1732 if (!ShInitialize())
1723 return false; 1733 return false;
1724 1734
1725 ShBuiltInResources resources; 1735 ShBuiltInResources resources;
1726 ShInitBuiltInResources(&resources); 1736 ShInitBuiltInResources(&resources);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 if (length > 1) { 1804 if (length > 1) {
1795 entry->translated_source.reset(new char[length]); 1805 entry->translated_source.reset(new char[length]);
1796 ShGetObjectCode(compiler, entry->translated_source.get()); 1806 ShGetObjectCode(compiler, entry->translated_source.get());
1797 } 1807 }
1798 entry->is_valid = true; 1808 entry->is_valid = true;
1799 return true; 1809 return true;
1800 } 1810 }
1801 1811
1802 } // namespace gpu 1812 } // namespace gpu
1803 } // namespace webkit 1813 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698