diff options
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_impl.cc')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 13 |
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), |