Lines Matching refs:colorbuffer
883 gl::Renderbuffer *colorbuffer = framebuffer->getColorbuffer(colorAttachment);
885 if (!colorbuffer)
894 if (colorbuffer->getWidth() == 0 || colorbuffer->getHeight() == 0)
899 renderTargetSerials[colorAttachment] = colorbuffer->getSerial();
902 RenderTarget11 *renderTarget = RenderTarget11::makeRenderTarget11(colorbuffer->getRenderTarget());
918 renderTargetWidth = colorbuffer->getWidth();
919 renderTargetHeight = colorbuffer->getHeight();
920 renderTargetFormat = colorbuffer->getActualFormat();
2429 gl::Renderbuffer *colorbuffer = framebuffer->getReadColorbuffer();
2430 if (!colorbuffer)
2436 RenderTarget11 *sourceRenderTarget = RenderTarget11::makeRenderTarget11(colorbuffer->getRenderTarget());
2486 gl::Renderbuffer *colorbuffer = framebuffer->getReadColorbuffer();
2487 if (!colorbuffer)
2493 RenderTarget11 *sourceRenderTarget = RenderTarget11::makeRenderTarget11(colorbuffer->getRenderTarget());
2872 bool Renderer11::getRenderTargetResource(gl::Renderbuffer *colorbuffer, unsigned int *subresourceIndex, ID3D11Texture2D **resource)
2874 ASSERT(colorbuffer != NULL);
2876 RenderTarget11 *renderTarget = RenderTarget11::makeRenderTarget11(colorbuffer->getRenderTarget());
2980 gl::Renderbuffer *colorbuffer = framebuffer->getReadColorbuffer();
2982 if (colorbuffer && getRenderTargetResource(colorbuffer, &subresourceIndex, &colorBufferTexture))