summaryrefslogtreecommitdiffstats
path: root/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 01:16:46 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 01:16:46 +0000
commit09fb387aa28e997593d5d5c11cf4a5fb12258217 (patch)
tree18c92d7099ac4ca248ee5e2061aa3ea82b111eb7 /webkit/gpu/webgraphicscontext3d_in_process_impl.cc
parent06aca52af687c5d55794a56aa9e3d625ce6ea8ea (diff)
downloadchromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.zip
chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.gz
chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.bz2
Cleanup everything but net/ for our first clang plugins.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_impl.cc')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index 3721bbf..3e97073 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -25,6 +25,19 @@ enum {
MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD
};
+struct WebGraphicsContext3DInProcessImpl::ShaderSourceEntry {
+ explicit ShaderSourceEntry(WGC3Denum shader_type)
+ : type(shader_type),
+ is_valid(false) {
+ }
+
+ WGC3Denum type;
+ scoped_array<char> source;
+ scoped_array<char> log;
+ scoped_array<char> translated_source;
+ bool is_valid;
+};
+
WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl()
: initialized_(false),
render_directly_to_web_view_(false),