/frameworks/support/tv-provider/tests/src/android/support/media/tv/ |
D | ProgramTest.java | 57 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/ |
D | Program.cpp | 29 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 …]
|
D | ProgramCache.h | 46 Program* get(const ProgramDescription& description); 51 Program* generateProgram(const ProgramDescription& description, programid key); 59 std::map<programid, std::unique_ptr<Program>> mCache;
|
D | Caches.h | 172 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/ |
D | Program.cpp | 28 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()
|
D | Program.h | 34 class Program { 39 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment); 40 ~Program();
|
D | ProgramCache.h | 31 class Program; variable 127 static Program* generateProgram(const Key& needs); 135 DefaultKeyedVector<Key, Program*> mCache;
|
D | ProgramCache.cpp | 106 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/ |
D | Program.h | 32 class Program { 37 Program() : in Program() function 46 ~Program() { release(); } in ~Program() 67 Program(const Program&); 68 Program& operator=(const Program&);
|
D | Program.cpp | 31 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()
|
D | Overlay.cpp | 150 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()
|
D | Overlay.h | 79 const Program& texRender, TextRenderer& textRenderer); 138 Program mExtTexProgram; 139 Program mTexProgram;
|
/frameworks/rs/ |
D | rsProgram.cpp | 25 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()
|
D | rsProgram.h | 31 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/ |
D | Program.java | 75 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/ |
D | AlphaBlendFilter.java | 21 import android.filterfw.core.Program; 48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram() 53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
|
D | BlendFilter.java | 20 import android.filterfw.core.Program; 48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram() 53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
|
D | ContrastFilter.java | 22 import android.filterfw.core.Program; 48 protected Program getNativeProgram(FilterContext context) { in getNativeProgram() 53 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
|
D | BrightnessFilter.java | 22 import android.filterfw.core.Program; 45 protected Program getNativeProgram(FilterContext context) { in getNativeProgram() 50 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
|
D | Invert.java | 22 import android.filterfw.core.Program; 47 protected Program getNativeProgram(FilterContext context) { in getNativeProgram() 52 protected Program getShaderProgram(FilterContext context) { in getShaderProgram()
|
D | SimpleImageFilter.java | 24 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()
|
D | ImageCombineFilter.java | 24 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()
|
D | ToGrayFilter.java | 24 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/ |
D | ProgramVariable.java | 25 private Program mProgram; 28 public ProgramVariable(Program program, String varName) { in ProgramVariable() 33 public Program getProgram() { in getProgram()
|
/frameworks/base/libs/hwui/renderstate/ |
D | MeshState.cpp | 54 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()
|