Home
last modified time | relevance | path

Searched refs:mResources (Results 1 – 25 of 30) sorted by relevance

12

/external/angle/src/libANGLE/
DCompiler.cpp72 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 …]
DCompiler.h47 ShBuiltInResources mResources; variable
/external/angle/src/compiler/translator/
DCompiler.cpp343 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 …]
DSymbolTable.h321 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
DCompiler.h132 ShHashFunction64 getHashFunction() const { return mResources.HashFunction; } in getHashFunction()
293 ShBuiltInResources mResources; variable
/external/angle/src/tests/compiler_tests/
DEXT_clip_cull_distance_test.cpp252 &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 …]
DAPPLE_clip_distance_test.cpp54 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()
DEXT_blend_func_extended_test.cpp164 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()
DEXT_YUV_target_test.cpp247 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()
DFragDepth_test.cpp26 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()
DShCompile_test.cpp25 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()
DOES_sample_variables_test.cpp71 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()
DEXT_frag_depth_test.cpp33 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()
DEXT_shadow_samplers_test.cpp33 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()
DEXT_shader_texture_lod_test.cpp34 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()
DOES_standard_derivatives_test.cpp55 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/
DEmulateFragColorData.cpp32 : 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
DDeclarePerVertexBlocks.cpp60 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/
DShaderExtensionTest.h32 sh::InitBuiltInResources(&mResources); in SetUp()
50 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in InitializeCompiler()
76 ShBuiltInResources mResources;
Dcompiler_test.cpp115 sh::InitBuiltInResources(&mResources); in MatchOutputCodeTest()
126 return &mResources; in getResources()
155 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
Dcompiler_test.h103 ShBuiltInResources mResources; variable
/external/angle/src/tests/perf_tests/
DCompilerPerf.cpp261 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/
DCppAssetManager.java102 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/
DTerminalManager.java68 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/
DHtmlActivityTask.java289 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()

12