Lines Matching defs:frameBuffer
218 GrFrameBufferObj *frameBuffer = GR_FIND(frameBufferID,
222 GrDebugGL::getInstance()->setFrameBuffer(frameBuffer);
262 GrFrameBufferObj *frameBuffer = GrDebugGL::getInstance()->getFrameBuffer();
266 if (NULL != frameBuffer->getColor() &&
267 textures[i] == frameBuffer->getColor()->getID()) {
268 frameBuffer->setColor(NULL);
270 if (NULL != frameBuffer->getDepth() &&
271 textures[i] == frameBuffer->getDepth()->getID()) {
272 frameBuffer->setDepth(NULL);
274 if (NULL != frameBuffer->getStencil() &&
275 textures[i] == frameBuffer->getStencil()->getID()) {
276 frameBuffer->setStencil(NULL);
346 GrFrameBufferObj *frameBuffer =
351 if (NULL != frameBuffer->getColor() &&
352 renderBuffers[i] == frameBuffer->getColor()->getID()) {
353 frameBuffer->setColor(NULL);
355 if (NULL != frameBuffer->getDepth() &&
356 renderBuffers[i] == frameBuffer->getDepth()->getID()) {
357 frameBuffer->setDepth(NULL);
359 if (NULL != frameBuffer->getStencil() &&
360 renderBuffers[i] == frameBuffer->getStencil()->getID()) {
361 frameBuffer->setStencil(NULL);
398 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer();
399 // A render buffer cannot be attached to the default framebuffer
400 GrAlwaysAssert(NULL != framebuffer);
410 framebuffer->setColor(renderbuffer);
413 framebuffer->setDepth(renderbuffer);
416 framebuffer->setStencil(renderbuffer);
438 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer();
439 // A texture cannot be attached to the default framebuffer
440 GrAlwaysAssert(NULL != framebuffer);
455 framebuffer->setColor(texture);
458 framebuffer->setDepth(texture);
461 framebuffer->setStencil(texture);