/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ShapeDrawableTest.java | 31 import android.graphics.Shader; 197 public Shader resize(int width, int height) {
|
BitmapDrawableTest.java | 32 import android.graphics.Shader; 34 import android.graphics.Shader.TileMode; 164 Shader oldShader = bitmapDrawable.getPaint().getShader();
|
/external/chromium_org/gpu/command_buffer/service/ |
program_manager.cc | 464 Shader* shader, 467 // Translate GL ES 2.0 shader to Desktop GL shader and pass that to 469 const std::string* source = shader->source(); 473 shader->SetStatus(false, translator->info_log(), NULL); 478 shader->UpdateTranslatedSource(shader_src); 481 glShaderSource(shader->service_id(), 1, &shader_src, NULL); 482 glCompileShader(shader->service_id()); 485 glGetShaderiv(shader->service_id() 712 Shader* shader = attached_shaders_[ii].get(); local 726 Shader* shader = attached_shaders_[ii].get(); local 765 Shader* shader = attached_shaders_[ii].get(); local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Program.cpp | 161 bool Program::attachShader(Shader *shader) 163 if (shader->getType() == GL_VERTEX_SHADER) 170 mVertexShader = (VertexShader*)shader; 173 else if (shader->getType() == GL_FRAGMENT_SHADER) 180 mFragmentShader = (FragmentShader*)shader; 188 bool Program::detachShader(Shader *shader) 190 if (shader->getType() == GL_VERTEX_SHADER) 192 if (mVertexShader != shader) [all...] |
Context.h | 46 class Shader; 284 void deleteShader(GLuint shader); 324 Shader *getShader(GLuint handle);
|
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/mesa/src/src/mesa/main/ |
texstate.c | 500 if (ctx->Shader.CurrentVertexProgram && 501 ctx->Shader.CurrentVertexProgram->LinkStatus) { 502 vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program; 504 /* XXX enable this if/when non-shader vertex programs get 510 if (ctx->Shader.CurrentFragmentProgram && 511 ctx->Shader.CurrentFragmentProgram->LinkStatus) { 512 fprog = ctx->Shader.CurrentFragmentProgram->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program; 518 /* FINISHME: Geometry shader texture accesses should also be considered 592 /* If we get here it means the shader is expecting a texture
|
/external/mesa3d/src/mesa/main/ |
texstate.c | 500 if (ctx->Shader.CurrentVertexProgram && 501 ctx->Shader.CurrentVertexProgram->LinkStatus) { 502 vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program; 504 /* XXX enable this if/when non-shader vertex programs get 510 if (ctx->Shader.CurrentFragmentProgram && 511 ctx->Shader.CurrentFragmentProgram->LinkStatus) { 512 fprog = ctx->Shader.CurrentFragmentProgram->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program; 518 /* FINISHME: Geometry shader texture accesses should also be considered 592 /* If we get here it means the shader is expecting a texture
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
ResourceFetcher.cpp | 97 case Resource::Shader: 138 case Resource::Shader: 205 case Resource::Shader: 320 return toShaderResource(requestResource(Resource::Shader, request)); 396 case Resource::Shader: 461 case Resource::Shader: 499 case Resource::Shader: [all...] |
Resource.h | 71 Shader,
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglRenderer.java | 46 import com.jme3.shader.Attribute;
47 import com.jme3.shader.Shader;
48 import com.jme3.shader.Shader.ShaderSource;
49 import com.jme3.shader.Shader.ShaderType;
50 import com.jme3.shader.Uniform;
93 private Shader boundShader;
760 protected void updateUniformLocation(Shader shader, Uniform uniform) { [all...] |
LwjglGL1Renderer.java | 19 import com.jme3.shader.Shader; 20 import com.jme3.shader.Shader.ShaderSource; 564 // as the one used in the lighting shader. [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarICS.java | 26 import android.graphics.Shader; 191 Shader.TileMode.REPEAT, Shader.TileMode.CLAMP);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_vs.c | 54 * Compute the VUE map for vertex shader program. 170 if (ctx->Shader.CurrentVertexProgram) { 171 /* There is currently a GLSL vertex shader, so clip according to GLSL 262 perf_debug("Vertex shader triggered register spilling. " 319 perf_debug("Recompiling vertex shader for program %d\n", prog->Name); 335 perf_debug(" Didn't find previous compile in the shader cache for " 434 bool success = do_vs_prog(brw, ctx->Shader.CurrentVertexProgram,
|
gen6_wm_state.c | 141 if (ctx->Shader.CurrentFragmentProgram == NULL)
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vs.c | 54 * Compute the VUE map for vertex shader program. 170 if (ctx->Shader.CurrentVertexProgram) { 171 /* There is currently a GLSL vertex shader, so clip according to GLSL 262 perf_debug("Vertex shader triggered register spilling. " 319 perf_debug("Recompiling vertex shader for program %d\n", prog->Name); 335 perf_debug(" Didn't find previous compile in the shader cache for " 434 bool success = do_vs_prog(brw, ctx->Shader.CurrentVertexProgram,
|
gen6_wm_state.c | 141 if (ctx->Shader.CurrentFragmentProgram == NULL)
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
OGLESShaderRenderer.java | 48 import com.jme3.shader.Attribute; 49 import com.jme3.shader.Shader; 50 import com.jme3.shader.Shader.ShaderSource; 51 import com.jme3.shader.Shader.ShaderType; 52 import com.jme3.shader.Uniform; 79 private Shader boundShader; 188 // TODO: When new versions of OpenGL ES shader language come out, [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 48 Shader s = new SweepGradient(0, 0, mColors, null);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 61 Shader s = new SweepGradient(0, 0, mColors, null);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 190 if (ctx->Shader.CurrentFragmentProgram) {
|
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 190 if (ctx->Shader.CurrentFragmentProgram) {
|
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 41 private Shader mShader; 928 * Get the paint's shader object. 930 * @return the paint's shader (or null) 932 public Shader getShader() { 937 * Set or clear the shader object. 939 * Pass null to clear any previous shader. 942 * @param shader May be null. the new shader to be installed in the paint 943 * @return shader 945 public Shader setShader(Shader shader) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 37 * as all the Shader classes will be added to the manager owned by {@link Shader_Delegate}.
|
LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 37 * as all the Shader classes will be added to the manager owned by {@link Shader_Delegate}. 93 * Create a shader that draws a linear gradient along a line. 103 * @param tile The Shader tiling mode
|