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

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

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | 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 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 void* WebGraphicsContext3DInProcessImpl::mapBufferCHROMIUM( 1724 void* WebGraphicsContext3DInProcessImpl::mapBufferCHROMIUM(
1725 WGC3Denum target, WGC3Denum access) { 1725 WGC3Denum target, WGC3Denum access) {
1726 return 0; 1726 return 0;
1727 } 1727 }
1728 1728
1729 WGC3Dboolean WebGraphicsContext3DInProcessImpl::unmapBufferCHROMIUM( 1729 WGC3Dboolean WebGraphicsContext3DInProcessImpl::unmapBufferCHROMIUM(
1730 WGC3Denum target) { 1730 WGC3Denum target) {
1731 return false; 1731 return false;
1732 } 1732 }
1733 1733
1734 void WebGraphicsContext3DInProcessImpl::drawBuffersEXT(
1735 WGC3Dsizei n, const WGC3Denum* bufs) {
1736 NOTIMPLEMENTED();
1737 }
1738
1734 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { 1739 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() {
1735 return gfx::CreateInProcessSkiaGLBinding(); 1740 return gfx::CreateInProcessSkiaGLBinding();
1736 } 1741 }
1737 1742
1738 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { 1743 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() {
1739 if (!ShInitialize()) 1744 if (!ShInitialize())
1740 return false; 1745 return false;
1741 1746
1742 ShBuiltInResources resources; 1747 ShBuiltInResources resources;
1743 ShInitBuiltInResources(&resources); 1748 ShInitBuiltInResources(&resources);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1819 if (length > 1) { 1824 if (length > 1) {
1820 entry->translated_source.reset(new char[length]); 1825 entry->translated_source.reset(new char[length]);
1821 ShGetObjectCode(compiler, entry->translated_source.get()); 1826 ShGetObjectCode(compiler, entry->translated_source.get());
1822 } 1827 }
1823 entry->is_valid = true; 1828 entry->is_valid = true;
1824 return true; 1829 return true;
1825 } 1830 }
1826 1831
1827 } // namespace gpu 1832 } // namespace gpu
1828 } // namespace webkit 1833 } // 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