/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 24 import android.graphics.Shader; 26 import android.graphics.Shader.TileMode; 46 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, local 47 Shader.TileMode.REPEAT); 49 paint.setShader(shader);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 54 private final Shader mShader1; 55 private final Shader mShader2; 74 mShader1 = new BitmapShader(makeBitmap1(), Shader.TileMode.REPEAT, 75 Shader.TileMode.REPEAT); 76 mShader2 = new BitmapShader(makeBitmap2(), Shader.TileMode.REPEAT, 77 Shader.TileMode.REPEAT);
|
ShapeDrawable1.java | 38 private static Shader makeSweep() { 44 private static Shader makeLinear() { 47 null, Shader.TileMode.MIRROR); 50 private static Shader makeTiling() { 55 return new BitmapShader(bm, Shader.TileMode.REPEAT, 56 Shader.TileMode.REPEAT);
|
/external/chromium_org/gpu/command_buffer/service/ |
shader_translator.h | 21 // Translates a GLSL ES 2.0 shader to desktop GLSL shader, or just 58 std::string name; // name in the original shader source. 75 // Translates the given shader source. 77 virtual bool Translate(const char* shader) = 0; 126 virtual bool Translate(const char* shader) OVERRIDE;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
rbug_shader.h | 54 rbug_shader_t shader; member in struct:rbug_proto_shader_info 61 rbug_shader_t shader; member in struct:rbug_proto_shader_disable 69 rbug_shader_t shader; member in struct:rbug_proto_shader_replace 99 rbug_shader_t shader, 104 rbug_shader_t shader, 110 rbug_shader_t shader,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_vs.c | 52 /* copy shader tokens, the ones passed in will go away. 54 state->shader.tokens = tgsi_dup_tokens(templ->tokens); 55 if (state->shader.tokens == NULL) 63 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) state); 71 FREE( (void *)state->shader.tokens ); 106 FREE( (void *)state->shader.tokens );
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_state.h | 82 void (*prepare)(const struct sp_fragment_shader_variant *shader, 86 unsigned (*run)(const struct sp_fragment_shader_variant *shader, 91 void (*delete)(struct sp_fragment_shader_variant *shader, 100 struct pipe_shader_state shader; member in struct:sp_fragment_shader 108 struct pipe_shader_state shader; member in struct:sp_vertex_shader 115 struct pipe_shader_state shader; member in struct:sp_geometry_shader
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_shader.h | 54 rbug_shader_t shader; member in struct:rbug_proto_shader_info 61 rbug_shader_t shader; member in struct:rbug_proto_shader_disable 69 rbug_shader_t shader; member in struct:rbug_proto_shader_replace 99 rbug_shader_t shader, 104 rbug_shader_t shader, 110 rbug_shader_t shader,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_vs.c | 52 /* copy shader tokens, the ones passed in will go away. 54 state->shader.tokens = tgsi_dup_tokens(templ->tokens); 55 if (state->shader.tokens == NULL) 63 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) state); 71 FREE( (void *)state->shader.tokens ); 106 FREE( (void *)state->shader.tokens );
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state.h | 82 void (*prepare)(const struct sp_fragment_shader_variant *shader, 86 unsigned (*run)(const struct sp_fragment_shader_variant *shader, 91 void (*delete)(struct sp_fragment_shader_variant *shader, 100 struct pipe_shader_state shader; member in struct:sp_fragment_shader 108 struct pipe_shader_state shader; member in struct:sp_vertex_shader 115 struct pipe_shader_state shader; member in struct:sp_geometry_shader
|
/external/skia/gm/ |
clippedbitmapshaders.cpp | 17 // filled with a bitmap shader. The bitmap shader is transformed so that the 20 // In Repeat and Mirror mode, this tests that the bitmap shader still draws 84 SkShader* shader = SkShader::CreateBitmapShader( local 92 shader->setLocalMatrix(s); 93 paint.setShader(shader)->unref();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedBlendActivity.java | 31 import android.graphics.Shader; 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 70 Shader.TileMode.MIRROR); 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 76 Shader.TileMode.MIRROR); 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
/frameworks/rs/driver/ |
rsdProgram.cpp | 37 const char* shader, size_t shaderLen, 40 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen, 74 ALOGV("Destroying vertex shader with ID %u", (uint32_t)pv); 84 const char* shader, size_t shaderLen, 87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, 108 ALOGV("Destroying fragment shader with ID %u", (uint32_t)pf);
|
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Imp.cpp | 150 GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader){ 153 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(SHADER,program); 155 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName(SHADER,shader); 158 ObjectDataPtr programData = ctx->shareGroup()->getObjectData(SHADER,program); 159 ObjectDataPtr shaderData = ctx->shareGroup()->getObjectData(SHADER,shader); 167 pData->attachShader(shader,shaderType); 177 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(SHADER,program); 179 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(SHADER,program) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_fs.c | 43 const struct pipe_shader_state *shader) 49 dfs->base = *shader; 50 tgsi_scan_shader(shader->tokens, &dfs->info);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_shader.h | 52 /* Number of color outputs in the TGSI shader, 58 /* bit n is set if the shader writes gl_ClipDistance[n] */ 60 /* flag is set if the shader writes VS_OUT_MISC_VEC (e.g. for PSIZE) */
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
descrip.mms | 16 define shader [--.shader] 24 INCDIR = [----.include],[--.main],[--.glapi],[--.shader]
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
package.html | 22 Material definitions provide the "logic" for the material. Usually a shader that 24 configuration of the shader. 26 The J3MD file abstracts the shader and its configuration away from the user, allowing a
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_fs.c | 43 const struct pipe_shader_state *shader) 49 dfs->base = *shader; 50 tgsi_scan_shader(shader->tokens, &dfs->info);
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_shader.h | 52 /* Number of color outputs in the TGSI shader, 58 /* bit n is set if the shader writes gl_ClipDistance[n] */ 60 /* flag is set if the shader writes VS_OUT_MISC_VEC (e.g. for PSIZE) */
|
/external/mesa3d/src/mesa/drivers/x11/ |
descrip.mms | 16 define shader [--.shader] 24 INCDIR = [----.include],[--.main],[--.glapi],[--.shader]
|
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_shader_programs_mac.h | 15 // Provides caching of the compile-and-link step for shader programs at runtime 26 // Reset the cache, deleting any references to currently-cached shader 66 // Cached values for previously-compiled/linked shader programs, and the 72 // Byte order of the quads generated by the RGBToYV12 shader program. Must
|
/external/chromium_org/third_party/angle/src/compiler/ |
ShHandle.h | 89 // Rewrites a shader's intermediate tree according to the CSS Shaders spec. 91 // Returns true if the given shader does not exceed the minimum 101 // Appendix A, section 7, the shader does not use too many uniforms. 103 // Returns true if the shader passes the restrictions that aim to prevent timing attacks. 105 // Returns true if the shader does not use samplers. 107 // Returns true if the shader does not use sampler dependent values to affect control 144 TVariableInfoList attribs; // Active attributes in the compiled shader. 145 TVariableInfoList uniforms; // Active uniforms in the compiled shader. 146 TVariableInfoList varyings; // Varyings in the compiled shader.
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
ResourceManager.cpp | 16 #include "libGLESv2/Shader.h" 78 // Returns an unused shader/program name 96 // Returns an unused program/shader name 138 void ResourceManager::deleteShader(GLuint shader) 140 ShaderMap::iterator shaderObject = mShaderMap.find(shader); 214 Shader *ResourceManager::getShader(unsigned int handle) 216 ShaderMap::iterator shader = mShaderMap.find(handle); local 218 if (shader == mShaderMap.end()) 224 return shader->second;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
ShaderExecutable.h | 7 // ShaderExecutable.h: Defines a renderer-agnostic class to contain shader
|