Searched refs:Program (Results 1 - 25 of 95) sorted by relevance

1234

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAlphaBlendFilter.java21 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) {
53 protected Program getShaderProgram(FilterContext context) {
H A DBlendFilter.java20 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) {
53 protected Program getShaderProgram(FilterContext context) {
H A DBrightnessFilter.java22 import android.filterfw.core.Program;
45 protected Program getNativeProgram(FilterContext context) {
50 protected Program getShaderProgram(FilterContext context) {
H A DContrastFilter.java22 import android.filterfw.core.Program;
48 protected Program getNativeProgram(FilterContext context) {
53 protected Program getShaderProgram(FilterContext context) {
H A DInvert.java22 import android.filterfw.core.Program;
47 protected Program getNativeProgram(FilterContext context) {
52 protected Program getShaderProgram(FilterContext context) {
H A DSimpleImageFilter.java24 import android.filterfw.core.Program;
35 protected Program mProgram;
107 protected abstract Program getNativeProgram(FilterContext context);
109 protected abstract Program getShaderProgram(FilterContext context);
H A DToGrayFilter.java24 import android.filterfw.core.Program;
63 protected Program getNativeProgram(FilterContext context) {
68 protected Program getShaderProgram(FilterContext context) {
H A DImageCombineFilter.java24 import android.filterfw.core.Program;
34 protected Program mProgram;
130 protected abstract Program getNativeProgram(FilterContext context);
132 protected abstract Program getShaderProgram(FilterContext context);
/frameworks/av/cmds/screenrecord/
H A DProgram.h32 class Program { class in namespace:android
37 Program() : function in class:android::Program
46 ~Program() { release(); }
67 Program(const Program&);
68 Program& operator=(const Program&);
H A DProgram.cpp21 #include "Program.h"
31 const float Program::kIdentity[] = {
71 status_t Program::setup(ProgramType type) {
72 ALOGV("Program::setup type=%d", type);
104 void Program::release() {
105 ALOGV("Program::release");
112 status_t Program::createProgram(GLuint* outPgm, const char* vertexShader,
137 status_t Program::compileShader(GLenum shaderType, const char* src,
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) {
203 status_t Program
[all...]
H A DOverlay.h20 #include "Program.h"
78 const Program& texRender, TextRenderer& textRenderer);
137 Program mExtTexProgram;
138 Program mTexProgram;
H A DTextRenderer.h20 #include "Program.h"
71 void drawString(const Program& program, const float* texMatrix,
78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DProgramVariable.java25 private Program mProgram;
28 public ProgramVariable(Program program, String varName) {
33 public Program getProgram() {
H A DProgramPort.java40 return "Program " + super.toString();
49 Program program = (Program)fieldValue;
57 throw new RuntimeException("Non Program field '" + mField.getName()
H A DProgram.java25 public abstract class Program { class
/frameworks/base/libs/hwui/
H A DDither.h27 class Program;
43 void setupProgram(Program& program, GLuint* textureUnit);
H A DProgram.cpp19 #include "Program.h"
29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { function in class:android::uirenderer::Program
82 Program::~Program() {
97 int Program::addAttrib(const char* name) {
103 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) {
109 int Program::getAttrib(const char* name) {
117 int Program::addUniform(const char* name) {
123 int Program
[all...]
H A DProgramCache.h28 #include "Program.h"
46 Program* get(const ProgramDescription& description);
51 Program* generateProgram(const ProgramDescription& description, programid key);
59 std::map<programid, std::unique_ptr<Program>> mCache;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h34 class Program { class in namespace:android
39 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
40 ~Program();
H A DProgram.cpp21 #include "Program.h"
28 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) function in class:android::Program
76 Program::~Program() {
79 bool Program::isValid() const {
83 void Program::use() {
87 GLuint Program::getAttrib(const char* name) const {
92 GLint Program::getUniform(const char* name) const {
97 GLuint Program
[all...]
H A DDescription.h25 class Program;
32 * Program and ProgramCache are friends and access the state directly
35 friend class Program;
H A DProgramCache.h31 class Program;
43 * Key is used to retrieve a Program in the cache.
120 static Program* generateProgram(const Key& needs);
128 DefaultKeyedVector<Key, Program*> mCache;
/frameworks/rs/
H A DrsProgram.cpp25 Program::Program(Context *rsc, const char * shaderText, size_t shaderLength, function in class:Program
87 Program::~Program() {
113 bool Program::freeChildren() {
125 void Program::initMemberVars() {
152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
181 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) {
200 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) {
216 Program *
[all...]
H A DrsProgram.h31 class Program : public ProgramBase { class in namespace:android::renderscript
61 Program(Context *, const char * shaderText, size_t shaderLength,
63 virtual ~Program();
/frameworks/base/libs/hwui/renderstate/
H A DMeshState.cpp18 #include "Program.h"
56 glEnableVertexAttribArray(Program::kBindingPosition);
121 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices);
132 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices);
145 glEnableVertexAttribArray(Program::kBindingTexCoords);
153 glDisableVertexAttribArray(Program::kBindingTexCoords);

Completed in 335 milliseconds

1234