/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) 46 m_info.type = shaderType; 47 m_shader = gl.createShader(getGLShaderType(shaderType)); 290 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) 292 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx) 294 const char* source = sources.sources[shaderType][shaderNdx].c_str(); 295 const int length = (int)sources.sources[shaderType][shaderNdx].size() [all...] |
gluShaderProgram.hpp | 48 ShaderType type; //!< Shader type. 75 Shader (const RenderContext& renderCtx, ShaderType shaderType); 84 glu::ShaderType getType (void) const { return getInfo().type; } 180 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 181 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...] |
es3fShaderPackingFunctionTests.cpp | 72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 79 glu::ShaderType m_shaderType; 88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 90 , m_shaderType (shaderType) 133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 140 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 141 return s_postfix[shaderType]; [all...] |
es3fShaderCommonFunctionTests.cpp | 167 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 181 glu::ShaderType m_shaderType; 191 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 193 , m_shaderType (shaderType) 403 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 410 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 411 return s_postfix[shaderType]; [all...] |
/developers/build/prebuilts/gradle/MediaEffects/MediaEffectsSample/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/MediaEffectsSample/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);
|
/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/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 194 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 208 glu::ShaderType m_shaderType; 218 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 220 , m_shaderType (shaderType) 430 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 441 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 442 return s_postfix[shaderType]; [all...] |
es31fProgramInterfaceDefinitionUtil.hpp | 85 VariableSearchFilter (glu::ShaderType shaderType, glu::Storage storage) : m_shaderType(shaderType), m_storage(storage), m_null(false) { } 93 glu::ShaderType getShaderTypeFilter (void) const { return m_shaderType; } 97 VariableSearchFilter (glu::ShaderType shaderType, glu::Storage storage, bool empty) : m_shaderType(shaderType), m_storage(storage), m_null(empty) { } 99 const glu::ShaderType m_shaderType;
|
es31fShaderBuiltinConstantTests.cpp | 136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference); 166 glu::ShaderType shaderType, 183 return createExecutor(renderCtx, shaderType, shaderSpec); 199 bool ShaderBuiltinConstantCase<DataType>::verifyInShaderType (glu::ShaderType shaderType, DataType reference) 203 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt)); 237 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++ [all...] |
es31fShaderIntegerFunctionTests.cpp | 111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) 114 DE_UNREF(shaderType); 137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) 140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); 165 IntegerFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 179 glu::ShaderType m_shaderType; 189 IntegerFunctionCase::IntegerFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType [all...] |
/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/chromium_org/third_party/angle/src/compiler/translator/ |
BuiltInFunctionEmulator.h | 20 BuiltInFunctionEmulator(ShShaderType shaderType);
|
ValidateLimitations.h | 17 ValidateLimitations(ShShaderType shaderType, TInfoSinkBase &sink);
|
Compiler.cpp | 96 : shaderType(type), 115 maxUniformVectors = (shaderType == SH_VERTEX_SHADER) ? 162 shaderType, shaderSpec, compileOptions, true, 190 if (success && shaderVersion == 300 && shaderType == SH_FRAGMENT_SHADER) 228 if (success && shaderType == SH_VERTEX_SHADER && (compileOptions & SH_INIT_GL_POSITION)) 250 if (success && shaderType == SH_VERTEX_SHADER && 295 switch(shaderType) 316 InsertBuiltInFunctions(shaderType, shaderSpec, resources, symbolTable); 318 IdentifyBuiltIns(shaderType, shaderSpec, resources, symbolTable); 408 ValidateLimitations validate(shaderType, infoSink.info) [all...] |
/external/chromium_org/third_party/webrtc/modules/video_render/android/ |
video_render_opengles20.h | 35 GLuint loadShader(GLenum shaderType, const char* pSource);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
Renderer.h | 34 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);
|
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Validate.h | 33 static bool shaderType(GLenum type);
|