Home
last modified time | relevance | path

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

1234

/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.h79 const Program& texRender, TextRenderer& textRenderer);
138 Program mExtTexProgram;
139 Program mTexProgram;
DOverlay.cpp150 err = mTexProgram.setup(Program::PROGRAM_TEXTURE_2D); in setup_l()
154 err = mExtTexProgram.setup(Program::PROGRAM_EXTERNAL_TEXTURE); in setup_l()
231 mTexProgram.blit(mTextRenderer.getTextureName(), Program::kIdentity, in processFrame_l()
239 mTextRenderer.drawString(mTexProgram, Program::kIdentity, 0, 0, timeStr); in processFrame_l()
306 Program texProgram; in drawInfoPage()
307 err = texProgram.setup(Program::PROGRAM_TEXTURE_2D); in drawInfoPage()
328 const Program& texProgram, TextRenderer& textRenderer) { in doDrawInfoPage()
DTextRenderer.h71 void drawString(const Program& program, const float* texMatrix,
78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
/frameworks/rs/
DrsProgram.cpp25 Program::Program(Context *rsc, const char * shaderText, size_t shaderLength, in Program() function in android::renderscript::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()
213 Program *p = static_cast<Program *>(vp); in rsi_ProgramBindConstants()
218 Program *p = static_cast<Program *>(vpf); in rsi_ProgramBindTexture()
223 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/native/libs/renderengine/gl/
DProgram.cpp30 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) in Program() function in android::renderengine::gl::Program
85 Program::~Program() { in ~Program()
93 bool Program::isValid() const { in isValid()
97 void Program::use() { in use()
101 GLuint Program::getAttrib(const char* name) const { in getAttrib()
106 GLint Program::getUniform(const char* name) const { in getUniform()
111 GLuint Program::buildShader(const char* source, GLenum type) { in buildShader()
129 void Program::setUniforms(const Description& desc) { in setUniforms()
DProgram.h36 class Program {
56 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
57 ~Program();
/frameworks/av/media/libstagefright/renderfright/gl/
DProgram.cpp30 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) in Program() function in android::renderengine::gl::Program
84 bool Program::isValid() const { in isValid()
88 void Program::use() { in use()
92 GLuint Program::getAttrib(const char* name) const { in getAttrib()
97 GLint Program::getUniform(const char* name) const { in getUniform()
102 GLuint Program::buildShader(const char* source, GLenum type) { in buildShader()
120 void Program::setUniforms(const Description& desc) { in setUniforms()
DProgram.h36 class Program {
56 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
57 ~Program() = default;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBlendFilter.java20 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
DAlphaBlendFilter.java21 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()
DContrastFilter.java22 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram()
53 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()
DSaturateFilter.java24 import android.filterfw.core.Program;
36 private Program mBenProgram;
37 private Program mHerfProgram;
DGrainFilter.java24 import android.filterfw.core.Program;
41 private Program mGrainProgram;
42 private Program mNoiseProgram;
/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()
DProgramPort.java49 Program program = (Program)fieldValue; in transfer()
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.h28 class Program; variable
47 std::unique_ptr<Program> mProgram;
/frameworks/rs/driver/
DrsdShader.h29 class Program; variable
42 RsdShader(const android::renderscript::Program *p, uint32_t type,
87 const android::renderscript::Program *mRSProgram;

1234