/external/angle/src/libANGLE/ |
D | Compiler.cpp | 72 mResources() in Compiler() 90 sh::InitBuiltInResources(&mResources); in Compiler() 91 mResources.MaxVertexAttribs = caps.maxVertexAttributes; in Compiler() 92 mResources.MaxVertexUniformVectors = caps.maxVertexUniformVectors; in Compiler() 93 mResources.MaxVaryingVectors = caps.maxVaryingVectors; in Compiler() 94 mResources.MaxVertexTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Vertex]; in Compiler() 95 mResources.MaxCombinedTextureImageUnits = caps.maxCombinedTextureImageUnits; in Compiler() 96 mResources.MaxTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Fragment]; in Compiler() 97 mResources.MaxFragmentUniformVectors = caps.maxFragmentUniformVectors; in Compiler() 98 mResources.MaxDrawBuffers = caps.maxDrawBuffers; in Compiler() [all …]
|
D | Compiler.h | 47 ShBuiltInResources mResources; variable
|
/external/angle/src/compiler/translator/ |
D | Compiler.cpp | 343 mResources = resources; in Init() 370 ResetExtensionBehavior(mResources, mExtensionBehavior, compileOptions); in compileTreeImpl() 407 parseContext.setFragmentPrecisionHighOnESSL1(mResources.FragmentPrecisionHigh == 1); in compileTreeImpl() 640 mResources.FragmentPrecisionHigh == 1; in checkAndSimplifyAST() 684 !ValidateOutputs(root, getExtensionBehavior(), mResources.MaxDrawBuffers, &mDiagnostics)) in checkAndSimplifyAST() 700 mResources.MaxCombinedClipAndCullDistances)) in checkAndSimplifyAST() 787 if (mShaderType == GL_FRAGMENT_SHADER && mShaderVersion == 100 && mResources.EXT_draw_buffers && in checkAndSimplifyAST() 788 mResources.MaxDrawBuffers > 1 && in checkAndSimplifyAST() 791 if (!EmulateGLFragColorBroadcast(this, root, mResources.MaxDrawBuffers, &mOutputVariables, in checkAndSimplifyAST() 879 &mShaderStorageBlocks, mResources.HashFunction, &mSymbolTable, mShaderType, in checkAndSimplifyAST() [all …]
|
D | SymbolTable.h | 321 int getDefaultUniformsBindingIndex() const { return mResources.DriverUniformsBindingIndex; } in getDefaultUniformsBindingIndex() 322 int getDriverUniformsBindingIndex() const { return mResources.DefaultUniformsBindingIndex; } in getDriverUniformsBindingIndex() 325 return mResources.UBOArgumentBufferBindingIndex; in getUBOArgumentBufferBindingIndex() 366 ShBuiltInResources mResources; variable
|
D | Compiler.h | 132 ShHashFunction64 getHashFunction() const { return mResources.HashFunction; } in getHashFunction() 293 ShBuiltInResources mResources; variable
|
/external/angle/src/tests/compiler_tests/ |
D | EXT_clip_cull_distance_test.cpp | 252 &mResources); in InitializeCompiler() 272 mResources.APPLE_clip_distance = enable; in SetExtensionEnable() 274 mResources.EXT_clip_cull_distance = enable; in SetExtensionEnable() 322 mResources.MaxClipDistances = 8; in TEST_P() 323 mResources.MaxCullDistances = 8; in TEST_P() 324 mResources.MaxCombinedClipAndCullDistances = 8; in TEST_P() 359 mResources.MaxClipDistances = 8; in TEST_P() 360 mResources.MaxCullDistances = 8; in TEST_P() 361 mResources.MaxCombinedClipAndCullDistances = 8; in TEST_P() 381 mResources.MaxClipDistances = 8; in TEST_P() [all …]
|
D | APPLE_clip_distance_test.cpp | 54 shaderOutputType, &mResources); in InitializeCompiler() 75 mResources.APPLE_clip_distance = 0; in TEST_P() 84 mResources.APPLE_clip_distance = 1; in TEST_P() 93 mResources.APPLE_clip_distance = 1; in TEST_P() 94 mResources.MaxClipDistances = 8; in TEST_P() 106 mResources.APPLE_clip_distance = 1; in TEST_P() 107 mResources.MaxClipDistances = 8; in TEST_P() 118 mResources.APPLE_clip_distance = 1; in TEST_P() 119 mResources.MaxClipDistances = 8; in TEST_P()
|
D | EXT_blend_func_extended_test.cpp | 164 mResources.EXT_draw_buffers = 1; in SetUp() 165 mResources.NV_draw_buffers = 2; in SetUp() 173 mResources.EXT_blend_func_extended = 0; in TEST_P() 182 mResources.EXT_blend_func_extended = 1; in TEST_P() 183 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P() 192 mResources.EXT_blend_func_extended = 1; in TEST_P() 193 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P() 226 mResources.EXT_blend_func_extended = 1; in TEST_P() 227 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P()
|
D | EXT_YUV_target_test.cpp | 247 mResources.EXT_YUV_target = 0; in TEST_P() 256 mResources.EXT_YUV_target = 1; in TEST_P() 265 mResources.EXT_YUV_target = 1; in TEST_P() 285 mResources.EXT_YUV_target = 1; in TEST_P() 305 mResources.EXT_YUV_target = 1; in TEST_P() 339 mResources.EXT_YUV_target = 0; in TEST_P()
|
D | FragDepth_test.cpp | 26 sh::InitBuiltInResources(&mResources); in SetUp() 28 mResources.EXT_frag_depth = GetParam(); in SetUp() 45 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in InitializeCompiler() 63 ShBuiltInResources mResources; member in FragDepthTest 104 if (mResources.EXT_frag_depth == 1) in TEST_P()
|
D | ShCompile_test.cpp | 25 sh::InitBuiltInResources(&mResources); in SetUp() 27 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in SetUp() 48 ShBuiltInResources mResources; member in ShCompileTest 82 sh::InitBuiltInResources(&mResources); in SetUp() 84 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in SetUp() 239 sh::InitBuiltInResources(&mResources); in SetUp() 241 SH_GLSL_330_CORE_OUTPUT, &mResources); in SetUp()
|
D | OES_sample_variables_test.cpp | 71 shaderOutputType, &mResources); in InitializeCompiler() 96 mResources.OES_sample_variables = 0; in TEST_P() 105 mResources.OES_sample_variables = 1; in TEST_P() 115 mResources.OES_sample_variables = 1; in TEST_P()
|
D | EXT_frag_depth_test.cpp | 33 mResources.EXT_frag_depth = 0; in TEST_P() 42 mResources.EXT_frag_depth = 1; in TEST_P() 51 mResources.EXT_frag_depth = 1; in TEST_P()
|
D | EXT_shadow_samplers_test.cpp | 33 mResources.EXT_shadow_samplers = 0; in TEST_P() 42 mResources.EXT_shadow_samplers = 1; in TEST_P() 51 mResources.EXT_shadow_samplers = 1; in TEST_P()
|
D | EXT_shader_texture_lod_test.cpp | 34 mResources.EXT_shader_texture_lod = 0; in TEST_P() 43 mResources.EXT_shader_texture_lod = 1; in TEST_P() 52 mResources.EXT_shader_texture_lod = 1; in TEST_P()
|
D | OES_standard_derivatives_test.cpp | 55 mResources.OES_standard_derivatives = 0; in TEST_P() 64 mResources.OES_standard_derivatives = 1; in TEST_P() 73 mResources.OES_standard_derivatives = 1; in TEST_P()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | EmulateFragColorData.cpp | 32 : TIntermTraverser(true, false, false, symbolTable), mResources(compiler->getResources()) in EmulateFragColorDataTraverser() 60 arraySize = mResources.MaxDrawBuffers; in visitSymbol() 69 arraySize = mResources.MaxDualSourceDrawBuffers; in visitSymbol() 115 const ShBuiltInResources &mResources; member in sh::__anon3dc17acf0111::EmulateFragColorDataTraverser
|
D | DeclarePerVertexBlocks.cpp | 60 mResources(compiler->getResources()), in DeclarePerVertexBlocksTraverser() 218 clipDistanceType->makeArray(mResources.MaxClipDistances); in declarePerVertex() 219 cullDistanceType->makeArray(mResources.MaxCullDistances); in declarePerVertex() 273 arraySize = mResources.MaxPatchVertices; in declareDefaultGlOut() 288 uint32_t arraySize = mResources.MaxPatchVertices; in declareDefaultGlIn() 300 const ShBuiltInResources &mResources; member in sh::__anon50119cbc0111::DeclarePerVertexBlocksTraverser
|
/external/angle/src/tests/test_utils/ |
D | ShaderExtensionTest.h | 32 sh::InitBuiltInResources(&mResources); in SetUp() 50 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in InitializeCompiler() 76 ShBuiltInResources mResources;
|
D | compiler_test.cpp | 115 sh::InitBuiltInResources(&mResources); in MatchOutputCodeTest() 126 return &mResources; in getResources() 155 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
|
D | compiler_test.h | 103 ShBuiltInResources mResources; variable
|
/external/angle/src/tests/perf_tests/ |
D | CompilerPerf.cpp | 261 ShBuiltInResources mResources; member in __anoncbcfc3ae0111::CompilerPerfTest 281 sh::InitBuiltInResources(&mResources); in SetUp() 282 mResources.FragmentPrecisionHigh = true; in SetUp() 283 if (!mTranslator->Init(mResources)) in SetUp()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | CppAssetManager.java | 102 private ResTable mResources; field in CppAssetManager 279 if (mResources != null) { in addAssetPath() 612 int nextEntryIdx = mResources.getTableCount(); in appendPathToResTable_measured() 663 ALOGV("Installing resource asset %s in to table %s\n", ass, mResources); in appendPathToResTable_measured() 666 mResources.add(sharedRes, ap.isSystemAsset); in appendPathToResTable_measured() 669 mResources.add(ass, idmap, nextEntryIdx + 1, !shared, appAsLib, ap.isSystemAsset); in appendPathToResTable_measured() 677 ALOGV("Installing empty resources in to table %s\n", mResources); in appendPathToResTable_measured() 678 mResources.addEmpty(nextEntryIdx + 1); in appendPathToResTable_measured() 688 ResTable rt = mResources; in getResTable() 696 if (mResources != null) { in getResTable() [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | TerminalManager.java | 68 private final Resources mResources; field in TerminalManager 87 mResources = mService.getResources(); in TerminalManager() 89 (mResources.getConfiguration().hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES); in TerminalManager() 225 AssetFileDescriptor file = mResources.openRawResourceFd(R.raw.bell); in enableMediaPlayer() 298 return mResources; in getResources()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/ |
D | HtmlActivityTask.java | 289 private final Resources mResources; field in HtmlActivityTask.ChromeClient 294 mResources = mActivity.getResources(); in ChromeClient() 314 uiFacade.dialogSetPositiveButtonText(mResources.getString(android.R.string.ok)); in onJsAlert() 337 uiFacade.dialogSetPositiveButtonText(mResources.getString(android.R.string.ok)); in onJsConfirm() 338 uiFacade.dialogSetNegativeButtonText(mResources.getString(android.R.string.cancel)); in onJsConfirm()
|