Home
last modified time | relevance | path

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

12345

/frameworks/support/tv-provider/tests/src/android/support/media/tv/
DProgramTest.java57 Program emptyProgram = new Program.Builder() in testEmptyProgram()
61 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testEmptyProgram()
66 Program sampleProgram = new Program.Builder() in testSampleProgram()
79 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testSampleProgram()
81 Program clonedSampleProgram = new Program.Builder(sampleProgram).build(); in testSampleProgram()
87 Program fullyPopulatedProgram = createFullyPopulatedProgram(3); in testFullyPopulatedProgram()
91 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testFullyPopulatedProgram()
93 Program clonedFullyPopulatedProgram = new Program.Builder(fullyPopulatedProgram).build(); in testFullyPopulatedProgram()
110 Program fullyPopulatedProgram = in testChannelWithSystemContentProvider()
115 Program programFromSystemDb = loadProgramFromContentProvider(resolver, programUri); in testChannelWithSystemContentProvider()
[all …]
/frameworks/base/libs/hwui/
DProgram.cpp29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { in Program() function in android::uirenderer::Program
82 Program::~Program() { in ~Program()
97 int Program::addAttrib(const char* name) { in addAttrib()
103 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) { in bindAttrib()
109 int Program::getAttrib(const char* name) { in getAttrib()
117 int Program::addUniform(const char* name) { in addUniform()
123 int Program::getUniform(const char* name) { in getUniform()
131 GLuint Program::buildShader(const char* source, GLenum type) { in buildShader()
153 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix, in set()
177 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;
DCaches.h172 void setProgram(Program* program);
175 Program& program() { return *mProgram; } in program()
201 Program* mProgram = nullptr; // note: object owned by ProgramCache
/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
127 static Program* generateProgram(const Key& needs);
135 DefaultKeyedVector<Key, Program*> mCache;
DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey); in primeCache()
262 Program* ProgramCache::generateProgram(const Key& needs) { in generateProgram()
269 Program* program = new Program(needs, vs.string(), fs.string()); in generateProgram()
279 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.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()
DOverlay.h79 const Program& texRender, TextRenderer& textRenderer);
138 Program mExtTexProgram;
139 Program mTexProgram;
/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/support/tv-provider/src/android/support/media/tv/
DProgram.java75 public final class Program extends BaseProgram implements Comparable<Program> { class
85 private Program(Builder builder) { in Program() method in Program
135 if (!(other instanceof Program)) { in equals()
138 return mValues.equals(((Program) other).mValues); in equals()
146 public int compareTo(@NonNull Program other) { in compareTo()
175 public static Program fromCursor(Cursor cursor) { in fromCursor()
238 public Builder(Program other) { in Builder()
306 public Program build() { in build()
307 return new Program(this); in build()
/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.cpp54 glEnableVertexAttribArray(Program::kBindingPosition); in MeshState()
125 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindPositionVertexPointer()
136 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindTexCoordsVertexPointer()
149 glEnableVertexAttribArray(Program::kBindingTexCoords); in enableTexCoordsVertexArray()
157 glDisableVertexAttribArray(Program::kBindingTexCoords); in disableTexCoordsVertexArray()

12345