/external/skia/src/gpu/gl/builders/ |
GrGLShaderStringBuilder.cpp | 29 GrGLuint shaderId; 30 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); 31 if (0 == shaderId) { 39 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength)); 41 GR_GL_CALL(gli, ShaderSource(shaderId, count, strings, lengths)); 54 GR_GL_CALL(gli, CompileShader(shaderId)); 63 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); 67 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); 73 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); 78 GR_GL_CALL(gli, DeleteShader(shaderId)); [all...] |
GrGLShaderBuilder.cpp | 214 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), 224 if (!shaderId) { 228 *shaderIds->append() = shaderId;
|
/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 | 570 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); 572 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); 573 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)); 597 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); 599 shaders[face]->setUniforms(*getCurrentContext(), shaderID); 600 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 | 312 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 315 shader.setUniforms(*ctx, shaderID); 316 renderTex(dst, shaderID, levelW, levelH); 403 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 406 shader.setUniforms(*ctx, shaderID); 407 renderTex(dst, shaderID, levelSize, levelSize); 503 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 506 shader.setUniforms(*ctx, shaderID); 507 renderTex(dst, shaderID, levelW, levelH); 604 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...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 372 GLuint shaderId = pData->getShader(i); 373 ShaderData* shader = m_shaders.valueFor(shaderId);
|
/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...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglRenderer.java | 775 int shaderId = shader.getId();
776 if (context.boundShaderProgram != shaderId) {
777 glUseProgram(shaderId);
780 context.boundShaderProgram = shaderId;
787 int shaderId = shader.getId();
[all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
OGLESShaderRenderer.java | 764 int shaderId = shader.getId(); 769 if (context.boundShaderProgram != shaderId) { 771 logger.log(Level.INFO, "GLES20.glUseProgram({0})", shaderId); 773 GLES20.glUseProgram(shaderId); 777 context.boundShaderProgram = shaderId; [all...] |