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

Side by Side Diff: src/gpu/gl/builders/GrGLShaderStringBuilder.h

Issue 2288033003: Turned on SkSL->GLSL compiler (Closed)
Patch Set: changed <iostream> to <ostream> Created 4 years, 2 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 | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/builders/GrGLShaderStringBuilder.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 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLShaderStringBuilder_DEFINED 8 #ifndef GrGLShaderStringBuilder_DEFINED
9 #define GrGLShaderStringBuilder_DEFINED 9 #define GrGLShaderStringBuilder_DEFINED
10 10
11 #include "GrAllocator.h" 11 #include "GrAllocator.h"
12 #include "GrGpu.h" 12 #include "GrGpu.h"
13 #include "gl/GrGLContext.h" 13 #include "gl/GrGLContext.h"
14 #include "SkSLGLSLCodeGenerator.h"
14 #include "SkTypes.h" 15 #include "SkTypes.h"
15 16
17 SkSL::GLCaps GrGLSkSLCapsForContext(const GrGLContext& context);
18
16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, 19 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
17 GrGLuint programId, 20 GrGLuint programId,
18 GrGLenum type, 21 GrGLenum type,
19 const char** strings, 22 const char** strings,
20 int* lengths, 23 int* lengths,
21 int count, 24 int count,
22 GrGpu::Stats*); 25 GrGpu::Stats*);
23 26
24 #endif 27 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/builders/GrGLShaderStringBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698