Searched defs:shader (Results 1 - 25 of 513) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/gpu/gl/debug/
H A DGrProgramObj.cpp12 void GrProgramObj::AttachShader(GrShaderObj *shader) { argument
13 shader->ref();
14 fShaders.push_back(shader);
/external/chromium_org/third_party/skia/tests/
H A DPictureShaderTest.cpp13 // Test that attempting to create a picture shader with a NULL picture or
16 SkShader* shader = SkShader::CreatePictureShader(NULL, local
18 REPORTER_ASSERT(reporter, NULL == shader);
23 shader = SkShader::CreatePictureShader(picture.get(),
25 REPORTER_ASSERT(reporter, NULL == shader);
H A DBitmapHeapTest.cpp19 static void Flatten(SkWriteBuffer& buffer, const SkShader& shader) { argument
20 buffer.writeFlattenable(&shader);
34 // Create a bitmap shader.
75 // Now attempt to flatten the shader again.
H A DPipeTest.cpp35 SkShader* shader = SkShader::CreateBitmapShader(bm, SkShader::kClamp_TileMode, local
38 paint.setShader(shader)->unref();
H A DShaderOpacityTest.cpp20 SkShader* shader = SkShader::CreateBitmapShader(bmp, local
22 REPORTER_ASSERT(reporter, shader);
23 REPORTER_ASSERT(reporter, !shader->isOpaque());
24 shader->unref();
30 shader = SkShader::CreateBitmapShader(bmp,
32 REPORTER_ASSERT(reporter, shader);
33 REPORTER_ASSERT(reporter, !shader->isOpaque());
34 shader->unref();
38 shader = SkShader::CreateBitmapShader(bmp,
40 REPORTER_ASSERT(reporter, shader);
[all...]
/external/skia/src/gpu/gl/debug/
H A DGrProgramObj.cpp12 void GrProgramObj::AttachShader(GrShaderObj *shader) { argument
13 shader->ref();
14 fShaders.push_back(shader);
/external/skia/tests/
H A DPictureShaderTest.cpp13 // Test that attempting to create a picture shader with a NULL picture or
16 SkShader* shader = SkShader::CreatePictureShader(NULL, local
18 REPORTER_ASSERT(reporter, NULL == shader);
23 shader = SkShader::CreatePictureShader(picture.get(),
25 REPORTER_ASSERT(reporter, NULL == shader);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_fs.c43 const struct pipe_shader_state *shader)
49 dfs->base = *shader;
50 tgsi_scan_shader(shader->tokens, &dfs->info);
42 draw_create_fragment_shader(struct draw_context *draw, const struct pipe_shader_state *shader) argument
H A Ddraw_vs_llvm.c42 vs_llvm_prepare(struct draw_vertex_shader *shader, argument
45 /*struct llvm_vertex_shader *evs = llvm_vertex_shader(shader);*/
49 vs_llvm_run_linear( struct draw_vertex_shader *shader, argument
67 struct llvm_vertex_shader *shader = llvm_vertex_shader(dvs); local
70 li = first_elem(&shader->variants);
71 while(!at_end(&shader->variants, li)) {
77 assert(shader->variants_cached == 0);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_fs.c43 const struct pipe_shader_state *shader)
49 dfs->base = *shader;
50 tgsi_scan_shader(shader->tokens, &dfs->info);
42 draw_create_fragment_shader(struct draw_context *draw, const struct pipe_shader_state *shader) argument
H A Ddraw_vs_llvm.c42 vs_llvm_prepare(struct draw_vertex_shader *shader, argument
45 /*struct llvm_vertex_shader *evs = llvm_vertex_shader(shader);*/
49 vs_llvm_run_linear( struct draw_vertex_shader *shader, argument
67 struct llvm_vertex_shader *shader = llvm_vertex_shader(dvs); local
70 li = first_elem(&shader->variants);
71 while(!at_end(&shader->variants, li)) {
77 assert(shader->variants_cached == 0);
/external/chromium_org/skia/ext/
H A Dpaint_simplifier.cc13 SkShader* shader = paint.getShader(); local
14 if (!shader)
17 if (shader->asAGradient(NULL) == SkShader::kNone_GradientType)
20 return shader->asABitmap(NULL, NULL, NULL) != SkShader::kNone_BitmapType;
/external/deqp/framework/randomshaders/
H A DrsgGeneratorState.cpp48 void GeneratorState::setShader (const ShaderParameters& shaderParams, Shader& shader) argument
51 m_shader = &shader;
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_1.cc32 void ShaderCacheCb(const std::string& key, const std::string& shader) { argument
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLDebugShaders.cpp54 String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader) argument
58 if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader))
60 return m_context->ensureNotNull(m_context->webContext()->getTranslatedShaderSourceANGLE(shader->object()));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_context.c57 unsigned shader; local
76 for(shader = 0; shader < PIPE_SHADER_TYPES; ++shader)
77 pipe_resource_reference( &svga->curr.cb[shader], NULL );
H A Dsvga_pipe_constants.c48 uint shader, uint index,
61 assert(shader < PIPE_SHADER_TYPES);
64 pipe_resource_reference( &svga->curr.cb[shader],
67 if (shader == PIPE_SHADER_FRAGMENT)
47 svga_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, struct pipe_constant_buffer *cb) argument
H A Dsvga_pipe_fs.c79 svga_bind_fs_state(struct pipe_context *pipe, void *shader) argument
81 struct svga_fragment_shader *fs = (struct svga_fragment_shader *) shader;
89 void svga_delete_fs_state(struct pipe_context *pipe, void *shader) argument
92 struct svga_fragment_shader *fs = (struct svga_fragment_shader *) shader;
H A Dsvga_pipe_vs.c107 /* substitute a debug shader?
119 * debug shader.
137 static void svga_bind_vs_state(struct pipe_context *pipe, void *shader) argument
139 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader;
147 static void svga_delete_vs_state(struct pipe_context *pipe, void *shader) argument
150 struct svga_vertex_shader *vs = (struct svga_vertex_shader *)shader;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dstandalone_scaffolding.cpp53 struct gl_shader *shader; local
58 shader = rzalloc(NULL, struct gl_shader);
59 if (shader) {
60 shader->Type = type;
61 shader->Name = name;
62 shader->RefCount = 1;
64 return shader;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_wm_state.c169 * If using the fragment shader backend, the program is always
173 struct brw_shader *shader = (struct brw_shader *) local
176 if (shader != NULL && shader->ir != NULL) {
/external/chromium_org/third_party/skia/experimental/SkiaExamples/
H A DHelloSkiaExample.cpp52 SkShader* shader = SkGradientShader::CreateLinear( local
55 SkAutoUnref shader_deleter(shader);
57 paint.setShader(shader);
63 // Detach shader
/external/chromium_org/third_party/skia/gm/
H A Dcomposeshader.cpp101 SkShader* shader = shaders[y]; variable
109 paint.setShader(shader);
/external/chromium_org/third_party/skia/src/views/
H A DSkParsePaint.cpp16 if ((node = dom.getFirstChild(node, "shader")) == NULL)
106 SkShader* shader = inflate_shader(dom, node); local
107 if (shader)
108 paint->setShader(shader)->unref();
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.c57 unsigned shader; local
76 for(shader = 0; shader < PIPE_SHADER_TYPES; ++shader)
77 pipe_resource_reference( &svga->curr.cb[shader], NULL );

Completed in 582 milliseconds

1234567891011>>