Lines Matching refs:fb
33 FrameBuffer *fb = FrameBuffer::getFB();
34 if (!fb) {
37 *major = (EGLint)fb->getCaps().eglMajor;
38 *minor = (EGLint)fb->getCaps().eglMinor;
45 FrameBuffer *fb = FrameBuffer::getFB();
46 if (!fb) {
50 const char *str = s_egl.eglQueryString(fb->getDisplay(), name);
118 FrameBuffer *fb = FrameBuffer::getFB();
119 if (!fb) {
123 return FBConfig::chooseConfig(fb, attribs, configs, configs_size);
128 FrameBuffer *fb = FrameBuffer::getFB();
129 if (!fb) {
137 ret = fb->getWidth();
140 ret = fb->getHeight();
167 FrameBuffer *fb = FrameBuffer::getFB();
168 if (!fb) {
172 HandleType ret = fb->createRenderContext(config, share, glVersion == 2);
178 FrameBuffer *fb = FrameBuffer::getFB();
179 if (!fb) {
183 fb->DestroyRenderContext(context);
189 FrameBuffer *fb = FrameBuffer::getFB();
190 if (!fb) {
194 return fb->createWindowSurface(config, width, height);
199 FrameBuffer *fb = FrameBuffer::getFB();
200 if (!fb) {
204 fb->DestroyWindowSurface( windowSurface );
210 FrameBuffer *fb = FrameBuffer::getFB();
211 if (!fb) {
215 return fb->createColorBuffer(width, height, internalFormat);
220 FrameBuffer *fb = FrameBuffer::getFB();
221 if (!fb) {
224 fb->openColorBuffer( colorbuffer );
229 FrameBuffer *fb = FrameBuffer::getFB();
230 if (!fb) {
233 fb->closeColorBuffer( colorbuffer );
238 FrameBuffer *fb = FrameBuffer::getFB();
239 if (!fb) {
242 fb->flushWindowSurfaceColorBuffer(windowSurface);
249 FrameBuffer *fb = FrameBuffer::getFB();
250 if (!fb) {
253 fb->setWindowSurfaceColorBuffer(windowSurface, colorBuffer);
259 FrameBuffer *fb = FrameBuffer::getFB();
260 if (!fb) {
264 bool ret = fb->bindContext(context, drawSurf, readSurf);
271 FrameBuffer *fb = FrameBuffer::getFB();
272 if (!fb) {
276 fb->post(colorBuffer);
286 FrameBuffer *fb = FrameBuffer::getFB();
287 if (!fb) {
291 fb->bindColorBufferToTexture(colorBuffer);
296 FrameBuffer *fb = FrameBuffer::getFB();
297 if (!fb) {
301 fb->bindColorBufferToRenderbuffer(colorBuffer);
324 FrameBuffer *fb = FrameBuffer::getFB();
325 if (!fb) {
329 fb->updateColorBuffer(colorBuffer, x, y, width, height, format, type, pixels);