/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
GrGLShaderStringBuilder.cpp | 27 GrGLuint shaderId; 28 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); 29 if (0 == shaderId) { 41 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength)); 43 GR_GL_CALL(gli, CompileShader(shaderId)); 52 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); 56 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); 62 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, 68 GR_GL_CALL(gli, DeleteShader(shaderId)); 84 GR_GL_CALL(gli, AttachShader(programId, shaderId)); [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
shaders.h | 18 enum ShaderID { 29 ShaderID ShaderIDFromString(std::string name); 30 std::string ShaderNameFromID(ShaderID id);
|
render_tree.h | 162 ShaderID vertex_shader() { 166 void set_vertex_shader(ShaderID shader) { 170 ShaderID fragment_shader() { 174 void set_fragment_shader(ShaderID shader) { 191 ShaderID vertex_shader_; 192 ShaderID fragment_shader_;
|
shaders.cc | 84 ShaderID ShaderIDFromString(std::string name) { 100 std::string ShaderNameFromID(ShaderID id) { 122 const char* GetShaderSource(ShaderID shader) { 226 int GetProgramIdx(ShaderID v, ShaderID f) { 230 static void ReportAnyShaderCompilationErrors(GLuint shader, ShaderID id) { 243 static int ActivateShader(ShaderID v, ShaderID f, float* layer_transform) { 277 ShaderID vs = n->vertex_shader(); 278 ShaderID fs = n->fragment_shader() [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthTests.cpp | 205 deUint32 shaderID = context.createProgram(&shader); 219 shader.setColor(context, shaderID, red); 220 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); 222 shader.setColor(context, shaderID, green); 223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); 227 shader.setColor(context, shaderID, red); 228 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); 230 shader.setColor(context, shaderID, green); 231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); 235 shader.setColor(context, shaderID, red) [all...] |
es2fFboRenderTest.cpp | 704 deUint32 shaderID = context.createProgram(&shader); 706 shader.setUnit(context, shaderID, 0); 710 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); 950 deUint32 shaderID = context.createProgram(&shader); 960 shader.setUnit(context, shaderID, 0); 971 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); 979 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); 1005 deUint32 shaderID = context.createProgram(&shader); [all...] |
es2fTextureSpecificationTests.cpp | 571 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); 573 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); 574 sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2.0f, -1.0f + h*2.0f, 0.0f)); 598 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); 600 shaders[face]->setUniforms(*getCurrentContext(), shaderID); 601 sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2.0f, -1.0f + h*2.0f, 0.0f)); [all...] |
es2fTextureUnitTests.cpp | 903 deUint32 shaderID = context.createProgram(m_shader); 909 m_shader->setUniforms(context, shaderID); 910 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDepthTests.cpp | 208 deUint32 shaderID = context.createProgram(&shader); 222 shader.setColor(context, shaderID, red); 223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); 225 shader.setColor(context, shaderID, green); 226 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); 230 shader.setColor(context, shaderID, red); 231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); 233 shader.setColor(context, shaderID, green); 234 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); 238 shader.setColor(context, shaderID, red) [all...] |
es3fTextureSpecificationTests.cpp | 300 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 303 shader.setUniforms(*ctx, shaderID); 304 renderTex(dst, shaderID, levelW, levelH); 391 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 394 shader.setUniforms(*ctx, shaderID); 395 renderTex(dst, shaderID, levelSize, levelSize); 491 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 494 shader.setUniforms(*ctx, shaderID); 495 renderTex(dst, shaderID, levelW, levelH); 592 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles [all...] |
es3fTextureUnitTests.cpp | [all...] |
es3fFboRenderTest.cpp | 824 deUint32 shaderID = context.createProgram(&shader); 826 shader.setUniforms(context, shaderID); 830 sglr::drawQuad(context, shaderID, Vec3(-0.9f, -0.9f, 0.0f), Vec3(0.9f, 0.9f, 0.0f)); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
Blit9.h | 63 enum ShaderId 77 bool setShader(ShaderId source, const char *profile, 81 bool setVertexShader(ShaderId shader); 82 bool setPixelShader(ShaderId shader);
|
Blit9.cpp | 116 bool Blit9::setShader(ShaderId source, const char *profile, 154 bool Blit9::setVertexShader(ShaderId shader) 159 bool Blit9::setPixelShader(ShaderId shader)
|
/external/skia/src/gpu/gl/ |
GrGLShaderBuilder.cpp | 729 GrGLuint shaderId; 730 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); 731 if (0 == shaderId) { 737 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength)); 738 GR_GL_CALL(gli, CompileShader(shaderId)); 747 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); 751 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); 757 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, 763 GR_GL_CALL(gli, DeleteShader(shaderId)); 776 GR_GL_CALL(gli, AttachShader(programId, shaderId)); [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 366 GLuint shaderId = pData->getShader(i); 367 ShaderData* shader = m_shaders.valueFor(shaderId);
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 327 GLuint shaderId = pData->getShader(i); 328 ShaderData* shader = m_shaders.get(shaderId);
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 37 GrGLuint shaderID) { 43 GrShaderObj *shader = GR_FIND(shaderID, 496 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteShader(GrGLuint shaderID) { 498 GrShaderObj *shader = GR_FIND(shaderID, [all...] |
/external/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 37 GrGLuint shaderID) { 43 GrShaderObj *shader = GR_FIND(shaderID, 496 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteShader(GrGLuint shaderID) { 498 GrShaderObj *shader = GR_FIND(shaderID, [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureSpecificationTests.cpp | 287 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 290 shader.setUniforms(*ctx, shaderID); 291 renderTex(dst, shaderID, levelSize, levelSize); [all...] |