Home
last modified time | relevance | path

Searched refs:Program (Results 1 – 25 of 131) sorted by relevance

123456

/frameworks/base/libs/hwui/
DProgram.cpp32 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { in Program() function in android::uirenderer::Program
85 Program::~Program() { in ~Program()
100 int Program::addAttrib(const char* name) { in addAttrib()
106 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) { in bindAttrib()
112 int Program::getAttrib(const char* name) { in getAttrib()
120 int Program::addUniform(const char* name) { in addUniform()
126 int Program::getUniform(const char* name) { in getUniform()
134 GLuint Program::buildShader(const char* source, GLenum type) { in buildShader()
156 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix, in set()
180 void Program::setColor(FloatColor color) { in setColor()
[all …]
DProgramCache.h46 Program* get(const ProgramDescription& description);
51 Program* generateProgram(const ProgramDescription& description, programid key);
59 std::map<programid, std::unique_ptr<Program>> mCache;
DGammaFontRenderer.h41 virtual void setupProgram(ProgramDescription& description, Program& program) const = 0;
89 void setupProgram(ProgramDescription& description, Program& program) const override;
138 void setupProgram(ProgramDescription& description, Program& program) const override { in setupProgram()
174 void setupProgram(ProgramDescription& description, Program& program) const override { in setupProgram()
DDither.h27 class Program; variable
43 void setupProgram(Program& program, GLuint* textureUnit);
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgram.cpp28 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) in Program() function in android::Program
76 Program::~Program() { in ~Program()
79 bool Program::isValid() const { in isValid()
83 void Program::use() { in use()
87 GLuint Program::getAttrib(const char* name) const { in getAttrib()
92 GLint Program::getUniform(const char* name) const { in getUniform()
97 GLuint Program::buildShader(const char* source, GLenum type) { in buildShader()
115 String8& Program::dumpShader(String8& result, GLenum /*type*/) { in dumpShader()
126 void Program::setUniforms(const Description& desc) { in setUniforms()
DProgram.h34 class Program {
39 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
40 ~Program();
DProgramCache.h31 class Program; variable
120 static Program* generateProgram(const Key& needs);
128 DefaultKeyedVector<Key, Program*> mCache;
DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey); in primeCache()
214 Program* ProgramCache::generateProgram(const Key& needs) { in generateProgram()
221 Program* program = new Program(needs, vs.string(), fs.string()); in generateProgram()
231 Program* program = mCache.valueFor(needs); in useProgram()
/frameworks/av/cmds/screenrecord/
DProgram.h32 class Program {
37 Program() : in Program() function
46 ~Program() { release(); } in ~Program()
67 Program(const Program&);
68 Program& operator=(const Program&);
DProgram.cpp31 const float Program::kIdentity[] = {
71 status_t Program::setup(ProgramType type) { in setup()
104 void Program::release() { in release()
112 status_t Program::createProgram(GLuint* outPgm, const char* vertexShader, in createProgram()
137 status_t Program::compileShader(GLenum shaderType, const char* src, in compileShader()
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram()
203 status_t Program::blit(GLuint texName, const float* texMatrix, in blit()
229 status_t Program::drawTriangles(GLuint texName, const float* texMatrix, in drawTriangles()
243 status_t Program::beforeDraw(GLuint texName, const float* texMatrix, in beforeDraw()
296 status_t Program::afterDraw() const { in afterDraw()
DOverlay.h78 const Program& texRender, TextRenderer& textRenderer);
137 Program mExtTexProgram;
138 Program mTexProgram;
DOverlay.cpp151 err = mTexProgram.setup(Program::PROGRAM_TEXTURE_2D); in setup_l()
155 err = mExtTexProgram.setup(Program::PROGRAM_EXTERNAL_TEXTURE); in setup_l()
233 mTexProgram.blit(mTextRenderer.getTextureName(), Program::kIdentity, in processFrame_l()
241 mTextRenderer.drawString(mTexProgram, Program::kIdentity, 0, 0, timeStr); in processFrame_l()
303 Program texProgram; in drawInfoPage()
304 err = texProgram.setup(Program::PROGRAM_TEXTURE_2D); in drawInfoPage()
325 const Program& texProgram, TextRenderer& textRenderer) { in doDrawInfoPage()
/frameworks/rs/
DrsProgram.cpp25 Program::Program(Context *rsc, const char * shaderText, size_t shaderLength, in Program() function in Program
87 Program::~Program() { in ~Program()
113 bool Program::freeChildren() { in freeChildren()
125 void Program::initMemberVars() { in initMemberVars()
152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
181 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture()
200 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler()
216 Program *p = static_cast<Program *>(vp); in rsi_ProgramBindConstants()
221 Program *p = static_cast<Program *>(vpf); in rsi_ProgramBindTexture()
226 Program *p = static_cast<Program *>(vpf); in rsi_ProgramBindSampler()
DrsProgram.h31 class Program : public ProgramBase {
61 Program(Context *, const char * shaderText, size_t shaderLength,
63 virtual ~Program();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DShader.java39 protected ArrayList<Program.TextureType > mShaderTextureTypes;
41 protected ArrayList<Program.TextureType > mTextureTypes;
49 mShaderTextureTypes = new ArrayList<Program.TextureType>(); in Shader()
51 mTextureTypes = new ArrayList<Program.TextureType>(); in Shader()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DAlphaBlendFilter.java21 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DBlendFilter.java20 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DContrastFilter.java22 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DBrightnessFilter.java22 import android.filterfw.core.Program;
45 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
50 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DInvert.java22 import android.filterfw.core.Program;
47 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
52 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DSimpleImageFilter.java24 import android.filterfw.core.Program;
35 protected Program mProgram;
107 protected abstract Program getNativeProgram(FilterContext context); in getNativeProgram()
109 protected abstract Program getShaderProgram(FilterContext context); in getShaderProgram()
DImageCombineFilter.java24 import android.filterfw.core.Program;
34 protected Program mProgram;
130 protected abstract Program getNativeProgram(FilterContext context); in getNativeProgram()
132 protected abstract Program getShaderProgram(FilterContext context); in getShaderProgram()
DToGrayFilter.java24 import android.filterfw.core.Program;
63 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
68 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DProgramVariable.java25 private Program mProgram;
28 public ProgramVariable(Program program, String varName) { in ProgramVariable()
33 public Program getProgram() { in getProgram()
/frameworks/base/libs/hwui/renderstate/
DMeshState.cpp57 glEnableVertexAttribArray(Program::kBindingPosition); in MeshState()
109 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindPositionVertexPointer()
117 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindTexCoordsVertexPointer()
134 glEnableVertexAttribArray(Program::kBindingTexCoords); in enableTexCoordsVertexArray()
142 glDisableVertexAttribArray(Program::kBindingTexCoords); in disableTexCoordsVertexArray()

123456