Searched refs:fb (Results 1 - 21 of 21) sorted by relevance

/frameworks/rs/driver/
H A DrsdFrameBuffer.cpp32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { argument
33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
36 if (fb->mHal.state.depthTarget != NULL) {
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget,
47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { argument
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) {
52 if (fb->mHal.state.colorTargets[i] != NULL) {
53 color = (DrvAllocation *)fb
64 rsdFrameBufferInit(const Context *rsc, const FBOCache *fb) argument
77 rsdFrameBufferSetActive(const Context *rsc, const FBOCache *fb) argument
93 rsdFrameBufferDestroy(const Context *rsc, const FBOCache *fb) argument
[all...]
H A DrsdFrameBuffer.h23 const android::renderscript::FBOCache *fb);
25 const android::renderscript::FBOCache *fb);
27 const android::renderscript::FBOCache *fb);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java137 FragmentShader.Builder fb = new FragmentShader.Builder(mRS);
138 fb.setShaderConst(constType);
139 fb.setShader(mRes, id);
140 fb.addTexture(TextureType.TEXTURE_2D, "diffuse");
142 fb.addShaderTexture(TextureType.TEXTURE_CUBE, "reflection");
144 FragmentShader pf = fb.create();
172 FragmentShader.Builder fb = new FragmentShader.Builder(mRS);
173 fb.setObjectConst(lightParams.getAllocation().getType());
174 fb.setShader(mRes, R.raw.plastic_lights);
175 mLightsF = fb
[all...]
H A DSimpleAppRS.java138 FragmentShader.Builder fb = new FragmentShader.Builder(mRS);
140 fb.setShaderConst(new Type.Builder(mRS, b.create()).setX(1).create());
142 fb.setShader(mRes, R.raw.diffuse);
144 fb.addTexture(TextureType.TEXTURE_2D, "diffuse");
145 FragmentShader shader = fb.create();
H A DFullscreenBlur.java162 FragmentShader.Builder fb = new FragmentShader.Builder(rs);
163 fb.setShader(res, resID);
164 fb.addTexture(TextureType.TEXTURE_2D, "color");
166 fb.setObjectConst(constants);
168 FragmentShader prog = fb.create();
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp129 ALOGE_IF(err, "fb buffer %d allocation failed w=%d, h=%d, err=%s",
198 framebuffer_device_t* fb = getSelf(window)->fbDev; local
199 return fb->setSwapInterval(fb, interval);
240 framebuffer_device_t* fb = self->fbDev; local
279 framebuffer_device_t* fb = self->fbDev; local
286 int res = fb->post(fb, handle);
298 framebuffer_device_t* fb = self->fbDev; local
301 *value = fb
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp22 #include <linux/fb.h>
153 int fb = open(fbpath, O_RDONLY); local
154 if (fb >= 0) {
156 if (ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) == 0) {
165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0);
171 close(fb);
/frameworks/native/services/surfaceflinger/tests/waitforvsync/
H A Dwaitforvsync.cpp22 #include <linux/fb.h>
/frameworks/av/media/libstagefright/
H A DXINGSeeker.cpp59 float fa, fb; local
66 fb = (float)mTOC[a];
68 fb = 256.0f;
70 fx = fa + (fb-fa)*(percent-a);
/frameworks/base/core/jni/
H A DBindTest.cpp241 FieldBlock *fb; local
243 fb = findField(clazz, "instanceString", "Ljava/lang/String;");
245 if (fb == NULL || ((fb->access_flags & ACC_STATIC) == ACC_STATIC)) {
250 offset_instanceString = fb->offset;
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
H A DGenImage.java143 FloatBuffer fb = bb.asFloatBuffer();
144 fb.put(buf);
145 fb.position(0);
146 return fb;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java358 FragmentShader.Builder fb = new FragmentShader.Builder(rs);
359 fb.setShader(code);
360 fb.setObjectConst(objConstBuilder.create());
361 sSceneManager.mColor = fb.create();
381 FragmentShader.Builder fb = new FragmentShader.Builder(rs);
382 fb.setShader(code);
383 fb.addTexture(Program.TextureType.TEXTURE_2D, "color");
384 sSceneManager.mTexture = fb.create();
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.h81 void getCompressedFB(void **fb, unsigned *fbsize,
H A Dgltrace_context.cpp206 void GLTraceContext::getCompressedFB(void **fb, unsigned *fbsize, unsigned *fbwidth, argument
235 *fb = fbcompressed;
H A Dgltrace_fixup.cpp179 GLMessage_FrameBuffer *fb = glmsg->mutable_fb(); local
180 fb->set_width(fbwidth);
181 fb->set_height(fbheight);
182 fb->add_contents(fbcontents, fbsize);
H A Dgltrace.pb.cpp2476 // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2556 // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2559 7, this->fb(), output);
2607 // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2611 this->fb());
2661 mutable_fb()->::android::gltrace::GLMessage_FrameBuffer::MergeFrom(from.fb());
2685 if (!this->fb().IsInitialized()) return false;
H A Dgltrace.pb.h2019 // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2023 inline const ::android::gltrace::GLMessage_FrameBuffer& fb() const;
2484 // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2492 inline const ::android::gltrace::GLMessage_FrameBuffer& GLMessage::fb() const { function in class:android::gltrace::GLMessage
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
H A DClearActivity.java83 float fb = (float) (-(h / 2)) / 288;
86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f);
/frameworks/rs/
H A Drs_hal.h297 bool (*init)(const Context *rsc, const FBOCache *fb);
298 void (*setActive)(const Context *rsc, const FBOCache *fb);
299 void (*destroy)(const Context *rsc, const FBOCache *fb);
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp22 #include <linux/fb.h>
/frameworks/native/opengl/libs/GLES_trace/
H A Dgltrace.proto848 optional FrameBuffer fb = 7; // contents of the framebuffer

Completed in 517 milliseconds