/cts/tests/tests/opengl/libopengltest/ |
common.cpp | 23 GLuint loadShader(GLenum shaderType, const char* pSource) { 24 GLuint shader = glCreateShader(shaderType);
|
common.h | 24 GLuint loadShader(GLenum shaderType, const char* pSource);
|
/external/deqp/framework/opengl/ |
gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) 44 m_info.type = shaderType; 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) 54 m_info.type = shaderType; 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 327 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++ [all...] |
gluShaderProgram.hpp | 48 ShaderType type; //!< Shader type. 84 Shader (const glw::Functions& gl, ShaderType shaderType); 85 Shader (const RenderContext& renderCtx, ShaderType shaderType); 94 glu::ShaderType getType (void) const { return getInfo().type; } 193 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 194 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 77 switch (shaderType) 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 94 switch (shaderType) 221 virtual std::string next (const glu::ShaderType shaderType) = 0; 222 virtual bool finished (const glu::ShaderType shaderType) const = 0; 231 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkGlslToSpirV.cpp | 53 EShLanguage getGlslangStage (glu::ShaderType type) 201 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) 203 if (!program.sources[shaderType].empty()) 221 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) 223 if (!program.sources[shaderType].empty()) 226 const std::string& srcText = program.sources[shaderType][0] [all...] |
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info);
|
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info);
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 35 shaderType + ":" + info);
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) 116 DE_UNREF(shaderType); 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); 209 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 220 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 221 return s_postfix[shaderType]; [all...] |
vktShaderPackingFunctionTests.cpp | 80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 91 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 92 return s_postfix[shaderType]; 102 ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 113 const glu::ShaderType m_shaderType; 122 ShaderPackingFunctionCase::ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) 124 , m_shaderType (shaderType) [all...] |
vktShaderCommonFunctionTests.cpp | 354 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 365 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 366 return s_postfix[shaderType]; 369 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 371 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 434 group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); 446 CommonFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); [all...] |
/external/deqp/modules/gles3/stress/ |
es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); 86 if (shaderType == glu::SHADERTYPE_VERTEX) 162 glu::ShaderType shaderType; 168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) 169 : shaderType (shaderTypeInit) 214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/google/gwt/webgl/client/ |
WebGLUtil.java | 48 private static WebGLShader getShader (WebGLRenderingContext gl, int shaderType, String source) {
49 WebGLShader shader = gl.createShader(shaderType);
|
/external/deqp/modules/gles31/functional/ |
es31fNegativePreciseTests.cpp | 53 static const glu::ShaderType s_shaderTypes[] = 63 std::string generateShaderSource (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise test) 83 switch (shaderType) 143 void generateAndVerifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise test) 145 glu::Shader shader (ctx.getRenderContext(), shaderType); 146 std::string shaderSource = generateShaderSource(ctx, shaderType, test);
|
es31fShaderCommonFunctionTests.cpp | 240 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 254 glu::ShaderType m_shaderType; 264 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 266 , m_shaderType (shaderType) 477 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 488 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 489 return s_postfix[shaderType]; [all...] |
es31fShaderBuiltinConstantTests.cpp | 136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference); 187 glu::ShaderType shaderType, 205 return createExecutor(renderCtx, shaderType, shaderSpec); 221 bool ShaderBuiltinConstantCase<DataType>::verifyInShaderType (glu::ShaderType shaderType, DataType reference) 225 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt)); 259 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++ [all...] |
es31fNegativeTestShared.cpp | 113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType) 118 switch (shaderType)
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
GlShader.java | 40 private static int compileShader(int shaderType, String source) { 44 int shader = GLES20.glCreateShader(shaderType); 49 Logging.e(TAG, "Could not compile shader " + shaderType + ":" +
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
gles3jni.h | 68 extern GLuint createShader(GLenum shaderType, const char* src);
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
Renderer.h | 34 GLuint loadShader(GLenum shaderType, const char* pSource);
|
/external/webrtc/webrtc/modules/video_render/android/ |
video_render_opengles20.h | 35 GLuint loadShader(GLenum shaderType, const char* pSource);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
Renderer.h | 34 GLuint loadShader(GLenum shaderType, const char* pSource);
|