Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdFrameBuffer.cpp32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { in setDepthAttachment() argument
33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment()
36 if (fb->mHal.state.depthTarget != NULL) { in setDepthAttachment()
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; in setDepthAttachment()
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget, in setDepthAttachment()
47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { in setColorAttachment() argument
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment()
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) { in setColorAttachment()
52 if (fb->mHal.state.colorTargets[i] != NULL) { in setColorAttachment()
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; in setColorAttachment()
[all …]
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/
DTestAppRS.java137 FragmentShader.Builder fb = new FragmentShader.Builder(mRS); in createFromResource() local
138 fb.setShaderConst(constType); in createFromResource()
139 fb.setShader(mRes, id); in createFromResource()
140 fb.addTexture(TextureType.TEXTURE_2D, "diffuse"); in createFromResource()
142 fb.addShaderTexture(TextureType.TEXTURE_CUBE, "reflection"); in createFromResource()
144 FragmentShader pf = fb.create(); in createFromResource()
172 FragmentShader.Builder fb = new FragmentShader.Builder(mRS); in initPaintShaders() local
173 fb.setObjectConst(lightParams.getAllocation().getType()); in initPaintShaders()
174 fb.setShader(mRes, R.raw.plastic_lights); in initPaintShaders()
175 mLightsF = fb.create(); in initPaintShaders()
[all …]
DSimpleAppRS.java138 FragmentShader.Builder fb = new FragmentShader.Builder(mRS); in createLambertShader() local
140 fb.setShaderConst(new Type.Builder(mRS, b.create()).setX(1).create()); in createLambertShader()
142 fb.setShader(mRes, R.raw.diffuse); in createLambertShader()
144 fb.addTexture(TextureType.TEXTURE_2D, "diffuse"); in createLambertShader()
145 FragmentShader shader = fb.create(); in createLambertShader()
DFullscreenBlur.java162 FragmentShader.Builder fb = new FragmentShader.Builder(rs); in getShader() local
163 fb.setShader(res, resID); in getShader()
164 fb.addTexture(TextureType.TEXTURE_2D, "color"); in getShader()
166 fb.setObjectConst(constants); in getShader()
168 FragmentShader prog = fb.create(); in getShader()
/frameworks/native/libs/ui/
DFramebufferNativeWindow.cpp198 framebuffer_device_t* fb = getSelf(window)->fbDev; in setSwapInterval() local
199 return fb->setSwapInterval(fb, interval); in setSwapInterval()
240 framebuffer_device_t* fb = self->fbDev; in dequeueBuffer() local
279 framebuffer_device_t* fb = self->fbDev; in queueBuffer() local
286 int res = fb->post(fb, handle); in queueBuffer()
298 framebuffer_device_t* fb = self->fbDev; in query() local
301 *value = fb->width; in query()
304 *value = fb->height; in query()
307 *value = fb->format; in query()
316 *value = fb->width; in query()
[all …]
/frameworks/native/cmds/screenshot/
Dscreenshot.c19 int fb; in take_screenshot() local
27 fb = fileno(fb_in); in take_screenshot()
28 if(fb < 0) { in take_screenshot()
32 fb_in = fdopen(fb, "r"); in take_screenshot()
34 if(ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) < 0) { in take_screenshot()
38 fcntl(fb, F_SETFD, FD_CLOEXEC); in take_screenshot()
/frameworks/base/cmds/screencap/
Dscreencap.cpp153 int fb = open(fbpath, O_RDONLY); in main() local
154 if (fb >= 0) { in main()
156 if (ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) == 0) { in main()
165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); in main()
171 close(fb); in main()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp59 float fa, fb; in getOffsetForTime() local
66 fb = (float)mTOC[a]; in getOffsetForTime()
68 fb = 256.0f; in getOffsetForTime()
70 fx = fa + (fb-fa)*(percent-a); in getOffsetForTime()
/frameworks/base/core/jni/
DBindTest.cpp241 FieldBlock *fb; in register_BindTest() local
243 fb = findField(clazz, "instanceString", "Ljava/lang/String;"); in register_BindTest()
245 if (fb == NULL || ((fb->access_flags & ACC_STATIC) == ACC_STATIC)) { in register_BindTest()
250 offset_instanceString = fb->offset; in register_BindTest()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneManager.java358 FragmentShader.Builder fb = new FragmentShader.Builder(rs); in getColorFS() local
359 fb.setShader(code); in getColorFS()
360 fb.setObjectConst(objConstBuilder.create()); in getColorFS()
361 sSceneManager.mColor = fb.create(); in getColorFS()
381 FragmentShader.Builder fb = new FragmentShader.Builder(rs); in getTextureFS() local
382 fb.setShader(code); in getTextureFS()
383 fb.addTexture(Program.TextureType.TEXTURE_2D, "color"); in getTextureFS()
384 sSceneManager.mTexture = fb.create(); in getTextureFS()
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImage.java143 FloatBuffer fb = bb.asFloatBuffer(); in createFloatBuffer() local
144 fb.put(buf); in createFloatBuffer()
145 fb.position(0); in createFloatBuffer()
146 return fb; in createFloatBuffer()
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java83 float fb = (float) (-(h / 2)) / 288; in onSurfaceChanged() local
86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f); in onSurfaceChanged()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_context.cpp173 void GLTraceContext::getCompressedFB(void **fb, unsigned *fbsize, unsigned *fbwidth, in getCompressedFB() argument
202 *fb = fbcompressed; in getCompressedFB()
Dgltrace_context.h73 void getCompressedFB(void **fb, unsigned *fbsize,
Dgltrace_fixup.cpp152 GLMessage_FrameBuffer *fb = glmsg->mutable_fb(); in fixup_addFBContents() local
153 fb->set_width(fbwidth); in fixup_addFBContents()
154 fb->set_height(fbheight); in fixup_addFBContents()
155 fb->add_contents(fbcontents, fbsize); in fixup_addFBContents()
Dgltrace.pb.cpp2177 7, this->fb(), output); in SerializeWithCachedSizes()
2229 this->fb()); in ByteSize()
2279 mutable_fb()->::android::gltrace::GLMessage_FrameBuffer::MergeFrom(from.fb()); in MergeFrom()
2303 if (!this->fb().IsInitialized()) return false; in IsInitialized()
Dgltrace.pb.h1641 inline const ::android::gltrace::GLMessage_FrameBuffer& fb() const;
2110 inline const ::android::gltrace::GLMessage_FrameBuffer& GLMessage::fb() const { in fb() function
/frameworks/rs/
Drs_hal.h275 bool (*init)(const Context *rsc, const FBOCache *fb);
276 void (*setActive)(const Context *rsc, const FBOCache *fb);
277 void (*destroy)(const Context *rsc, const FBOCache *fb);
/frameworks/base/docs/html/google/gcm/
Dindex.jd48 …in tandem with existing GCM APIs. Use <a href="https://services.google.com/fb/forms/gcm/">this for…
51 …ltiple devices owned by the user. Use <a href="https://services.google.com/fb/forms/gcm/">this for…
Dnotifications.jd33 <li><a href="https://services.google.com/fb/forms/gcm/" class="external-link" target="_android">CCS…
39 …o try out this feature, sign up using <a href="https://services.google.com/fb/forms/gcm/">this for…
Dccs.jd33 <li><a href="https://services.google.com/fb/forms/gcm/" class="external-link" target="_android">CCS…
39 …o try out this feature, sign up using <a href="https://services.google.com/fb/forms/gcm/">this for…
Dhelper.jd44 <li><a href="https://services.google.com/fb/forms/gcm/" class="external-link" target="_android">CCS…
Dgs.jd23 <li><a href="https://services.google.com/fb/forms/gcm/" class="external-link" target="_android">CCS…
/frameworks/native/opengl/libs/GLES_trace/
Dgltrace.proto658 optional FrameBuffer fb = 7; // contents of the framebuffer field