Home
last modified time | relevance | path

Searched refs:mPerShaderConstants (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DVertexShader.java58 mShader.mPerShaderConstants = type; in setShaderConst()
68 if (mShader.mPerShaderConstants != null) { in create()
69 mBuilder.addConstant(mShader.mPerShaderConstants); in create()
98 if (mPerShaderConstants != null) { in getRSData()
106 item.objectConstIndex = mPerShaderConstants != null ? 1 : 0; in getRSData()
DShader.java35 protected Type mPerShaderConstants; field in Shader
67 if (mPerShaderConstants == null) { in linkConstants()
71 Element constElem = mPerShaderConstants.getElement(); in linkConstants()
74 mConstantBuffer = Allocation.createTyped(rs, mPerShaderConstants); in linkConstants()
DFragmentShader.java62 mShader.mPerShaderConstants = type; in setShaderConst()
79 if (mShader.mPerShaderConstants != null) { in create()
80 mBuilder.addConstant(mShader.mPerShaderConstants); in create()
159 if (mPerShaderConstants != null) { in getRSData()
167 item.objectConstIndex = mPerShaderConstants != null ? 1 : 0; in getRSData()