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

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

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add kGLImplementationMockGL case to gl_image_android.cc. Created 8 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 | 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 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) 1691 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum)
1692 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) 1692 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*)
1693 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, 1693 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB,
1694 WebGLId, WGC3Denum, WGC3Duint*) 1694 WebGLId, WGC3Denum, WGC3Duint*)
1695 1695
1696 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( 1696 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM(
1697 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { 1697 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) {
1698 NOTIMPLEMENTED(); 1698 NOTIMPLEMENTED();
1699 } 1699 }
1700 1700
1701 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM(
1702 WGC3Denum target, WGC3Dint imageId) {
1703 NOTIMPLEMENTED();
1704 }
1705
1706 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM(
1707 WGC3Denum target, WGC3Dint imageId) {
1708 NOTIMPLEMENTED();
1709 }
1710
1701 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { 1711 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() {
1702 return gfx::CreateInProcessSkiaGLBinding(); 1712 return gfx::CreateInProcessSkiaGLBinding();
1703 } 1713 }
1704 1714
1705 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { 1715 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() {
1706 if (!ShInitialize()) 1716 if (!ShInitialize())
1707 return false; 1717 return false;
1708 1718
1709 ShBuiltInResources resources; 1719 ShBuiltInResources resources;
1710 ShInitBuiltInResources(&resources); 1720 ShInitBuiltInResources(&resources);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 if (length > 1) { 1785 if (length > 1) {
1776 entry->translated_source.reset(new char[length]); 1786 entry->translated_source.reset(new char[length]);
1777 ShGetObjectCode(compiler, entry->translated_source.get()); 1787 ShGetObjectCode(compiler, entry->translated_source.get());
1778 } 1788 }
1779 entry->is_valid = true; 1789 entry->is_valid = true;
1780 return true; 1790 return true;
1781 } 1791 }
1782 1792
1783 } // namespace gpu 1793 } // namespace gpu
1784 } // namespace webkit 1794 } // 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