/external/mesa3d/src/mesa/program/ |
prog_print.h | 113 _mesa_write_shader_to_file(const struct gl_shader *shader); 116 _mesa_append_uniforms_to_file(const struct gl_shader *shader);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_clip.c | 52 /* if we have a vertex shader that writes clip vertex we need to pass 55 if (ctx->Shader.CurrentVertexProgram)
|
/external/skia/gm/ |
bigmatrix.cpp | 73 SkShader* shader = SkShader::CreateBitmapShader( local 78 paint.setShader(shader)->unref();
|
composeshader.cpp | 101 SkShader* shader = shaders[y]; variable 109 paint.setShader(shader);
|
gm.cpp | 87 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp, SkShader::kMirror_TileMode, 90 paint.setShader(shader);
|
gradientDirtyLaundry.cpp | 89 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm); variable 90 paint.setShader(shader)->unref();
|
gradients.cpp | 137 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, scale); local 139 paint.setShader(shader); 141 shader->unref(); 191 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, perspective); local 193 paint.setShader(shader); 195 shader->unref(); 312 SkShader* shader = SkGradientShader::CreateRadial( local 316 paint.setShader(shader); 318 shader->unref(); 354 SkShader* shader variable [all...] |
/external/skia/src/core/ |
SkBlitter_Sprite.cpp | 50 // have wrapped the source bitmap inside a shader 59 paint and return null if it is set, forcing the client to take the slow shader case
|
/external/skia/src/effects/ |
SkRectShaderImageFilter.cpp | 38 SkAutoTUnref<SkShader> shader(buffer.readShader()); 39 return Create(shader.get(), &common.cropRect());
|
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 72 const SkSweepGradient& shader, const ContextRec& rec) 73 : INHERITED(shader, rec) {} 214 static GrFragmentProcessor* Create(GrContext* ctx, const SkSweepGradient& shader, 216 return SkNEW_ARGS(GrSweepGradient, (ctx, shader, m)); 233 const SkSweepGradient& shader, 235 : INHERITED(ctx, shader, matrix, SkShader::kClamp_TileMode) { 258 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateSweep(center.fX, center.fY, 263 SkAssertResult(shader->asFragmentProcessor(context, paint,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 312 int shader = glCreateShader(type); local 314 glShaderSource(shader, source); 317 glCompileShader(shader); 321 glGetShaderiv(shader, GL_COMPILE_STATUS, status, 0); 323 String error = glGetShaderInfoLog(shader); 324 Log.d(LOG_TAG, "Error while compiling shader:\n" + error); 325 glDeleteShader(shader); 329 return shader;
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 60 /* Second fragment shader to use a texture (framebuffer object) to draw with */ 64 /* Set the fragment shader in the Renderscript runtime */
|
/external/deqp/executor/ |
xeTestResultParser.cpp | 145 { 0x1181fa5a, "VertexShader", ri::Shader::SHADERTYPE_VERTEX }, 146 { 0xa93daef0, "FragmentShader", ri::Shader::SHADERTYPE_FRAGMENT }, 147 { 0x8f066128, "GeometryShader", ri::Shader::SHADERTYPE_GEOMETRY }, 148 { 0x235a931c, "TessControlShader", ri::Shader::SHADERTYPE_TESS_CONTROL }, 149 { 0xa1bf7153, "TessEvaluationShader", ri::Shader::SHADERTYPE_TESS_EVALUATION }, 150 { 0x6c1415d9, "ComputeShader", ri::Shader::SHADERTYPE_COMPUTE }, 235 static ri::Shader::ShaderType getShaderTypeFromTagName (const char* shaderType) 237 return (ri::Shader::ShaderType)getEnumValue("shader type", s_shaderTypeFromTagMap, DE_LENGTH_OF_ARRAY(s_shaderTypeFromTagMap), shaderType); 550 ri::Shader* shader = curList->allocItem<ri::Shader>() local [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | 293 /* Conical gradient shader, based on the Canvas spec for radial gradients 437 State(const SkShader& shader, const SkMatrix& canvasTransform, 495 // handle compose shader by pulling things up to a layer, drawing with 496 // the first shader, applying the xfer mode and drawing again with the 497 // second shader, then applying the layer to the original drawing. 500 SkPDFObject* shader = canon->findImageShader(state); local 501 return shader ? SkRef(shader) 504 SkPDFObject* shader = canon->findAlphaShader(state); local 505 return shader ? SkRef(shader 508 SkPDFObject* shader = canon->findFunctionShader(state); local [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
GL2Encoder.cpp | 663 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length) 666 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); 667 SET_ERROR_IF(!ctx->m_shared->isObject(shader), GL_INVALID_VALUE); 684 ctx->glShaderString(ctx, shader, str, len + 1); 770 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); 771 if (shader != 0) { 772 if (!ctx->m_shared->addShaderData(shader)) { 773 ctx->m_glDeleteShader_enc(self, shader); 777 return shader; 788 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTessellationGeometryInteractionTests.cpp | 21 * \brief Tessellation and geometry shader interaction tests. 171 << "Testing tessellating shader program output does not change when a passthrough geometry shader is attached.\n" 172 << "Rendering two images, first with and second without a geometry shader. Expecting similar results.\n" 221 { "RenderWithGeometryShader", "Render with geometry shader", true, resultWithGeometry.getAccess() }, 222 { "RenderWithoutGeometryShader", "Render without geometry shader", false, resultWithoutGeometry.getAccess() }, 236 // render with and without geometry shader 475 << "Testing geometry shading shader program output does not change when a passthrough tessellation shader is attached.\n" 476 << "Rendering two images, first with and second without a tessellation shader. Expecting similar results.\n [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderStateQueryTests.cpp | 99 void verifyShaderParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint shader, GLenum pname, GLenum reference) 102 gl.glGetShaderiv(shader, pname, &state); 506 const GLuint shader = glCreateShader(shaderTypes[ndx]); local 507 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]); 508 glDeleteShader(shader); 562 const GLuint shader = glCreateShader(GL_VERTEX_SHADER); local 563 verifyShaderParam(m_testCtx, *this, shader, GL_INFO_LOG_LENGTH, 0); 565 glShaderSource(shader, 1, &brokenShader, DE_NULL); 566 glCompileShader(shader); 571 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength) 655 const GLuint shader = glCreateShader(GL_VERTEX_SHADER); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Interpolator_ResultTest.java | 21 import android.graphics.Shader.TileMode;
|
/cts/tests/tests/opengl/libopengltest/ |
attach_shader_eleven.cpp | 39 LOGI("Attached Shader First element : %d\n", *shaders);
|
attach_shader_five.cpp | 38 LOGI("Attached Shader First element : %d\n", *shaders);
|
attach_shader_four.cpp | 34 LOGI("Attached Shader First element : %d\n", *shaders);
|
attach_shader_one.cpp | 55 LOGI("Attached Shader First elemt : %d\n", *shaders);
|
attach_shader_two.cpp | 40 LOGI("Attached Shader First element : %d\n", *shaders);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererNineShaderTest.java | 34 //Invalid shader with value 0
|
/cts/tests/tests/transition/src/android/transition/cts/ |
TransitionActivity.java | 25 import android.graphics.Shader;
|