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

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

Issue 10829209: Add GL_CHROMIUM_texture_mailbox entrypoints to wgc3d implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( 745 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM(
746 WebGLId id, WebGLId id2) { 746 WebGLId id, WebGLId id2) {
747 NOTIMPLEMENTED(); 747 NOTIMPLEMENTED();
748 } 748 }
749 749
750 void WebGraphicsContext3DInProcessImpl::bindUniformLocationCHROMIUM( 750 void WebGraphicsContext3DInProcessImpl::bindUniformLocationCHROMIUM(
751 WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { 751 WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) {
752 NOTIMPLEMENTED(); 752 NOTIMPLEMENTED();
753 } 753 }
754 754
755 void WebGraphicsContext3DInProcessImpl::genMailboxCHROMIUM(
756 WGC3Dbyte* mailbox) {
757 NOTIMPLEMENTED();
758 }
759
760 void WebGraphicsContext3DInProcessImpl::produceTextureCHROMIUM(
761 WGC3Denum target, const WGC3Dbyte* mailbox) {
762 NOTIMPLEMENTED();
763 }
764
765 void WebGraphicsContext3DInProcessImpl::consumeTextureCHROMIUM(
766 WGC3Denum target, const WGC3Dbyte* mailbox) {
767 NOTIMPLEMENTED();
768 }
769
755 WebString WebGraphicsContext3DInProcessImpl:: 770 WebString WebGraphicsContext3DInProcessImpl::
756 getRequestableExtensionsCHROMIUM() { 771 getRequestableExtensionsCHROMIUM() {
757 return WebString(); 772 return WebString();
758 } 773 }
759 774
760 void WebGraphicsContext3DInProcessImpl::requestExtensionCHROMIUM(const char*) { 775 void WebGraphicsContext3DInProcessImpl::requestExtensionCHROMIUM(const char*) {
761 } 776 }
762 777
763 void WebGraphicsContext3DInProcessImpl::blitFramebufferCHROMIUM( 778 void WebGraphicsContext3DInProcessImpl::blitFramebufferCHROMIUM(
764 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, 779 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1,
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 if (length > 1) { 1775 if (length > 1) {
1761 entry->translated_source.reset(new char[length]); 1776 entry->translated_source.reset(new char[length]);
1762 ShGetObjectCode(compiler, entry->translated_source.get()); 1777 ShGetObjectCode(compiler, entry->translated_source.get());
1763 } 1778 }
1764 entry->is_valid = true; 1779 entry->is_valid = true;
1765 return true; 1780 return true;
1766 } 1781 }
1767 1782
1768 } // namespace gpu 1783 } // namespace gpu
1769 } // namespace webkit 1784 } // 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