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

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: Remove .gitmodules change. Created 8 years, 5 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
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 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) 1676 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum)
1677 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) 1677 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*)
1678 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, 1678 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB,
1679 WebGLId, WGC3Denum, WGC3Duint*) 1679 WebGLId, WGC3Denum, WGC3Duint*)
1680 1680
1681 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( 1681 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM(
1682 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { 1682 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) {
1683 NOTIMPLEMENTED(); 1683 NOTIMPLEMENTED();
1684 } 1684 }
1685 1685
1686 void WebGraphicsContext3DInProcessImpl::texImagePixmap2DCHROMIUM(
1687 WGC3Denum target, WGC3Duint pixmapId) {
1688 }
1689
1686 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { 1690 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() {
1687 return gfx::CreateInProcessSkiaGLBinding(); 1691 return gfx::CreateInProcessSkiaGLBinding();
1688 } 1692 }
1689 1693
1690 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { 1694 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() {
1691 if (!ShInitialize()) 1695 if (!ShInitialize())
1692 return false; 1696 return false;
1693 1697
1694 ShBuiltInResources resources; 1698 ShBuiltInResources resources;
1695 ShInitBuiltInResources(&resources); 1699 ShInitBuiltInResources(&resources);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 if (length > 1) { 1764 if (length > 1) {
1761 entry->translated_source.reset(new char[length]); 1765 entry->translated_source.reset(new char[length]);
1762 ShGetObjectCode(compiler, entry->translated_source.get()); 1766 ShGetObjectCode(compiler, entry->translated_source.get());
1763 } 1767 }
1764 entry->is_valid = true; 1768 entry->is_valid = true;
1765 return true; 1769 return true;
1766 } 1770 }
1767 1771
1768 } // namespace gpu 1772 } // namespace gpu
1769 } // namespace webkit 1773 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698