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

Side by Side Diff: Source/core/html/canvas/WebGLProgram.h

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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
« no previous file with comments | « Source/core/html/canvas/WebGLObject.cpp ('k') | Source/core/html/canvas/WebGLProgram.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 WebGLShader* getAttachedShader(GLenum); 58 WebGLShader* getAttachedShader(GLenum);
59 bool attachShader(WebGLShader*); 59 bool attachShader(WebGLShader*);
60 bool detachShader(WebGLShader*); 60 bool detachShader(WebGLShader*);
61 61
62 DECLARE_VIRTUAL_TRACE(); 62 DECLARE_VIRTUAL_TRACE();
63 63
64 protected: 64 protected:
65 explicit WebGLProgram(WebGLRenderingContextBase*); 65 explicit WebGLProgram(WebGLRenderingContextBase*);
66 66
67 void deleteObjectImpl(blink::WebGraphicsContext3D*) override; 67 void deleteObjectImpl(WebGraphicsContext3D*) override;
68 68
69 private: 69 private:
70 bool isProgram() const override { return true; } 70 bool isProgram() const override { return true; }
71 71
72 void cacheActiveAttribLocations(blink::WebGraphicsContext3D*); 72 void cacheActiveAttribLocations(WebGraphicsContext3D*);
73 void cacheInfoIfNeeded(); 73 void cacheInfoIfNeeded();
74 74
75 Vector<GLint> m_activeAttribLocations; 75 Vector<GLint> m_activeAttribLocations;
76 76
77 GLint m_linkStatus; 77 GLint m_linkStatus;
78 78
79 // This is used to track whether a WebGLUniformLocation belongs to this 79 // This is used to track whether a WebGLUniformLocation belongs to this
80 // program or not. 80 // program or not.
81 unsigned m_linkCount; 81 unsigned m_linkCount;
82 82
83 RefPtrWillBeMember<WebGLShader> m_vertexShader; 83 RefPtrWillBeMember<WebGLShader> m_vertexShader;
84 RefPtrWillBeMember<WebGLShader> m_fragmentShader; 84 RefPtrWillBeMember<WebGLShader> m_fragmentShader;
85 85
86 bool m_infoValid; 86 bool m_infoValid;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // WebGLProgram_h 91 #endif // WebGLProgram_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLObject.cpp ('k') | Source/core/html/canvas/WebGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698