/external/chromium_org/gpu/command_buffer/service/ |
D | shader_manager.cc | 15 Shader::Shader(GLuint service_id, GLenum shader_type) in Shader() function in gpu::gles2::Shader 22 Shader::~Shader() { in ~Shader() 25 void Shader::IncUseCount() { in IncUseCount() 29 void Shader::DecUseCount() { in DecUseCount() 34 void Shader::MarkAsDeleted() { in MarkAsDeleted() 39 void Shader::SetStatus( in SetStatus() 61 const Shader::VariableInfo* 62 Shader::GetAttribInfo( in GetAttribInfo() 68 const std::string* Shader::GetAttribMappedName( in GetAttribMappedName() 78 const std::string* Shader::GetOriginalNameFromHashedName( in GetOriginalNameFromHashedName() [all …]
|
D | shader_manager.h | 25 class GPU_EXPORT Shader : public base::RefCounted<Shader> { 127 friend class base::RefCounted<Shader>; 130 Shader(GLuint service_id, GLenum shader_type); 131 ~Shader(); 181 Shader* CreateShader( 188 Shader* GetShader(GLuint client_id); 193 void MarkAsDeleted(Shader* shader); 196 void UseShader(Shader* shader); 200 void UnuseShader(Shader* shader); 203 bool IsOwned(Shader* shader); [all …]
|
D | shader_manager_unittest.cc | 49 Shader* info0 = manager_.CreateShader( in TEST_F() 53 Shader* shader1 = manager_.GetShader(kClient1Id); in TEST_F() 67 Shader* shader1 = manager_.CreateShader( in TEST_F() 87 scoped_refptr<Shader> shader1( in TEST_F() 89 scoped_refptr<Shader> shader2( in TEST_F() 100 TEST_F(ShaderManagerTest, Shader) { in TEST_F() argument 106 Shader* shader1 = manager_.CreateShader( in TEST_F() 181 Shader* shader1 = manager_.CreateShader( in TEST_F() 190 const Shader::VariableInfo* variable_info = in TEST_F() 201 const Shader::VariableInfo* variable_info = in TEST_F() [all …]
|
D | program_cache.h | 20 class Shader; variable 54 Shader* shader_a, 56 Shader* shader_b, 65 const Shader* shader_a, 67 const Shader* shader_b,
|
D | mocks.h | 106 Shader* shader_a, 108 Shader* shader_b, 115 const Shader* shader_a, 117 const Shader* shader_b,
|
D | memory_program_cache.h | 31 Shader* shader_a, 33 Shader* shader_b, 39 const Shader* shader_a, 41 const Shader* shader_b,
|
D | program_manager_unittest.cc | 236 Shader* vertex_shader = shader_manager_.CreateShader( in SetUp() 238 Shader* fragment_shader = in SetUp() 377 Shader* vshader = shader_manager_.CreateShader( in SetupShaderVariableTest() 379 Shader* fshader = shader_manager_.CreateShader( in SetupShaderVariableTest() 576 Shader* vshader = shader_manager_.CreateShader( in TEST_F() 580 Shader* fshader = shader_manager_.CreateShader( in TEST_F() 712 Shader* vshader = shader_manager_.CreateShader( in TEST_F() 716 Shader* fshader = shader_manager_.CreateShader( in TEST_F() 781 Shader* vshader = shader_manager_.CreateShader( in TEST_F() 785 Shader* fshader = shader_manager_.CreateShader( in TEST_F() [all …]
|
D | program_manager.h | 25 class Shader; variable 155 bool AttachShader(ShaderManager* manager, Shader* shader); 156 bool DetachShader(ShaderManager* manager, Shader* shader); 308 scoped_refptr<Shader> 388 Shader* shader,
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | Shader.cpp | 22 void *Shader::mFragmentCompiler = NULL; 23 void *Shader::mVertexCompiler = NULL; 25 Shader::Shader(ResourceManager *manager, const rx::Renderer *renderer, GLuint handle) in Shader() function in gl::Shader 39 Shader::~Shader() in ~Shader() 46 GLuint Shader::getHandle() const in getHandle() 51 void Shader::setSource(GLsizei count, const char **string, const GLint *length) in setSource() 91 int Shader::getInfoLogLength() const in getInfoLogLength() 103 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog) in getInfoLog() 124 int Shader::getSourceLength() const in getSourceLength() 136 int Shader::getTranslatedSourceLength() const in getTranslatedSourceLength() [all …]
|
D | Shader.h | 51 class Shader 56 Shader(ResourceManager *manager, const rx::Renderer *renderer, GLuint handle); 58 virtual ~Shader(); 116 DISALLOW_COPY_AND_ASSIGN(Shader); 148 class VertexShader : public Shader 170 class FragmentShader : public Shader
|
D | ResourceManager.h | 34 class Shader; variable 61 Shader *getShader(GLuint handle); 90 typedef HASH_MAP<GLuint, Shader*> ShaderMap;
|
D | Program.h | 31 class Shader; variable 72 bool attachShader(Shader *shader); 73 bool detachShader(Shader *shader);
|
/external/mesa3d/src/mesa/main/ |
D | uniforms.c | 134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT); in _mesa_Uniform1fARB() 144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2); in _mesa_Uniform2fARB() 155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3); in _mesa_Uniform3fARB() 168 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC4); in _mesa_Uniform4fARB() 175 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_INT); in _mesa_Uniform1iARB() 185 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC2); in _mesa_Uniform2iARB() 196 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC3); in _mesa_Uniform3iARB() 208 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC4); in _mesa_Uniform4iARB() 215 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT); in _mesa_Uniform1fvARB() 222 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT_VEC2); in _mesa_Uniform2fvARB() [all …]
|
D | shaderapi.c | 116 ctx->Shader.Flags = get_shader_flags(); in _mesa_init_shader_state() 126 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentVertexProgram, NULL); in _mesa_free_shader_state() 127 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentGeometryProgram, in _mesa_free_shader_state() 129 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentFragmentProgram, in _mesa_free_shader_state() 131 _mesa_reference_shader_program(ctx, &ctx->Shader._CurrentFragmentProgram, in _mesa_free_shader_state() 133 _mesa_reference_shader_program(ctx, &ctx->Shader.ActiveProgram, NULL); in _mesa_free_shader_state() 435 if (ctx->Shader.ActiveProgram) in get_handle() 436 return ctx->Shader.ActiveProgram->Name; in get_handle() 736 (ctx->Shader.Flags & GLSL_REPORT_ERRORS)) { in compile_shader() 758 && (shProg == ctx->Shader.CurrentVertexProgram in link_program() [all …]
|
D | state.c | 106 const struct gl_shader_program *vsProg = ctx->Shader.CurrentVertexProgram; in update_program() 107 const struct gl_shader_program *gsProg = ctx->Shader.CurrentGeometryProgram; in update_program() 108 struct gl_shader_program *fsProg = ctx->Shader.CurrentFragmentProgram; in update_program() 134 &ctx->Shader._CurrentFragmentProgram, in update_program() 144 &ctx->Shader._CurrentFragmentProgram, in update_program() 156 &ctx->Shader._CurrentFragmentProgram, in update_program() 357 if (ctx->Shader.CurrentVertexProgram || in update_twoside()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | uniforms.c | 134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT); in _mesa_Uniform1fARB() 144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2); in _mesa_Uniform2fARB() 155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3); in _mesa_Uniform3fARB() 168 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC4); in _mesa_Uniform4fARB() 175 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_INT); in _mesa_Uniform1iARB() 185 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC2); in _mesa_Uniform2iARB() 196 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC3); in _mesa_Uniform3iARB() 208 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC4); in _mesa_Uniform4iARB() 215 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT); in _mesa_Uniform1fvARB() 222 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT_VEC2); in _mesa_Uniform2fvARB() [all …]
|
D | shaderapi.c | 116 ctx->Shader.Flags = get_shader_flags(); in _mesa_init_shader_state() 126 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentVertexProgram, NULL); in _mesa_free_shader_state() 127 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentGeometryProgram, in _mesa_free_shader_state() 129 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentFragmentProgram, in _mesa_free_shader_state() 131 _mesa_reference_shader_program(ctx, &ctx->Shader._CurrentFragmentProgram, in _mesa_free_shader_state() 133 _mesa_reference_shader_program(ctx, &ctx->Shader.ActiveProgram, NULL); in _mesa_free_shader_state() 435 if (ctx->Shader.ActiveProgram) in get_handle() 436 return ctx->Shader.ActiveProgram->Name; in get_handle() 736 (ctx->Shader.Flags & GLSL_REPORT_ERRORS)) { in compile_shader() 758 && (shProg == ctx->Shader.CurrentVertexProgram in link_program() [all …]
|
/external/chromium_org/mojo/apps/js/bindings/gl/ |
D | context.h | 24 typedef Opaque Shader; typedef 35 static gin::Handle<Shader> CreateShader(const gin::Arguments& arguments, 37 static void ShaderSource(gin::Handle<Shader> shader, 40 gin::Handle<Shader> shader);
|
D | context.cc | 42 gin::Handle<Shader> Context::CreateShader(const gin::Arguments& args, in CreateShader() 44 gin::Handle<Shader> result; in CreateShader() 52 void Context::ShaderSource(gin::Handle<Shader> shader, in ShaderSource() 59 gin::Handle<Shader> shader) { in CompileShader()
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
D | Shader.java | 47 public final class Shader extends NativeObject implements Savable { class 216 public Shader(String language){ in Shader() method in Shader 217 super(Shader.class); in Shader() 228 public Shader(){ in Shader() method in Shader 229 super(Shader.class); in Shader() 232 protected Shader(Shader s){ in Shader() method in Shader 233 super(Shader.class, s.id); in Shader() 440 return new Shader(this); in createDestructableClone()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPaint.java | 5 import android.graphics.Shader; 27 private Shader shader; 47 public Shader setShader(Shader shader) { in setShader() 64 public Shader getShader() { in getShader()
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | Renderer.java | 40 import com.jme3.shader.Shader; 41 import com.jme3.shader.Shader.ShaderSource; 177 public void setShader(Shader shader); in setShader() 185 public void deleteShader(Shader shader); in deleteShader()
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
D | NullRenderer.java | 44 import com.jme3.shader.Shader; 45 import com.jme3.shader.Shader.ShaderSource; 101 public void setShader(Shader shader) { in setShader() 104 public void deleteShader(Shader shader) { in deleteShader()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapDrawableTest.java | 7 import android.graphics.Shader; 99 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); in shouldSetTileModeXY() 100 assertEquals(Shader.TileMode.REPEAT, drawable.getTileModeX()); in shouldSetTileModeXY() 101 assertEquals(Shader.TileMode.MIRROR, drawable.getTileModeY()); in shouldSetTileModeXY()
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
D | DesktopAssetManager.java | 41 import com.jme3.shader.Shader; 387 public Shader loadShader(ShaderKey key){ in loadShader() 390 Shader s = (Shader) cache.getFromCache(key); in loadShader() 398 s = new Shader(key.getLanguage()); in loadShader() 399 … s.addSource(Shader.ShaderType.Vertex, vertName, vertSource, key.getDefines().getCompiled()); in loadShader() 400 … s.addSource(Shader.ShaderType.Fragment, fragName, fragSource, key.getDefines().getCompiled()); in loadShader()
|