/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
DrawingBuffer.cpp | 244 // It appears safe to overwrite the context's framebuffer binding in the Discard case since there will always be a 245 // WebGLRenderingContext::clearIfComposited() call made before the next draw call which restores the framebuffer binding. 246 // If this stops being true at some point, we should track the current framebuffer binding in the DrawingBuffer and restore 492 Platform3DObject DrawingBuffer::framebuffer() const function in class:WebCore::DrawingBuffer 558 // Since we're using the same context as WebGL, we have to restore any state we change (in this case, just the framebuffer binding). 559 // FIXME: The WebGLRenderingContext tracks the current framebuffer binding, it would be slightly more efficient to use this value 564 Platform3DObject framebuffer = m_context->createFramebuffer(); local 565 m_context->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); 568 paintFramebufferToCanvas(framebuffer, size().width(), size().height(), !m_actualAttributes.premultipliedAlpha, imageBuffer); 569 m_context->deleteFramebuffer(framebuffer); [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gles2_cmd_decoder_unittest_framebuffers.cc | 1847 Framebuffer* framebuffer = local 1936 Framebuffer* framebuffer = local 2087 Framebuffer* framebuffer = local 2179 Framebuffer* framebuffer = local [all...] |
gles2_cmd_decoder.cc | 337 // true, the resolved framebuffer is not visible to the parent. 372 explicit ScopedRenderTo(Framebuffer* framebuffer); 376 const Framebuffer* framebuffer_; 379 ScopedRenderTo::ScopedRenderTo(Framebuffer* framebuffer) 380 : framebuffer_(framebuffer) { 381 if (framebuffer) 671 // Sets DEPTH_TEST, STENCIL_TEST and color mask for the current framebuffer. 674 // These check the state of the currently bound framebuffer or th 1523 Framebuffer* framebuffer = NULL; local 2894 Framebuffer* framebuffer = local 3169 Framebuffer* framebuffer = local 3186 Framebuffer* framebuffer = local 3196 Framebuffer* framebuffer = local 3208 Framebuffer* framebuffer = local 3834 Framebuffer* framebuffer = local 3844 Framebuffer* framebuffer = local 3856 Framebuffer* framebuffer = local 3987 Framebuffer* framebuffer = NULL; local 4146 Framebuffer* framebuffer = local 4473 Framebuffer* framebuffer = local 4488 Framebuffer* framebuffer = local 4612 Framebuffer* framebuffer = local 4949 Framebuffer* framebuffer = GetFramebufferInfoForTarget(target); local 5079 Framebuffer* framebuffer = local 5116 Framebuffer* framebuffer = GetFramebufferInfoForTarget(target); local 5175 Framebuffer* framebuffer = GetFramebufferInfoForTarget(target); local 6804 const Framebuffer* framebuffer = local 7801 Framebuffer* framebuffer = local 10465 Framebuffer* framebuffer = GetFramebufferInfoForTarget(GL_FRAMEBUFFER); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 45 const struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; 46 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; 109 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; 153 "hw framebuffer state", 181 float fb_width = svga->curr.framebuffer.width; 182 float fb_height = svga->curr.framebuffer.height;
|
svga_state_rss.c | 242 svga->curr.framebuffer.zsbuf) 255 if (svga->curr.framebuffer.cbufs[0] && 256 util_format_is_srgb(svga->curr.framebuffer.cbufs[0]->format)) {
|
svga_surface.c | 338 if (svga->curr.framebuffer.cbufs[i]) 339 svga_mark_surface_dirty(svga->curr.framebuffer.cbufs[i]); 341 if (svga->curr.framebuffer.zsbuf) 342 svga_mark_surface_dirty(svga->curr.framebuffer.zsbuf);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 45 const struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; 46 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; 109 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; 153 "hw framebuffer state", 181 float fb_width = svga->curr.framebuffer.width; 182 float fb_height = svga->curr.framebuffer.height;
|
svga_state_rss.c | 242 svga->curr.framebuffer.zsbuf) 255 if (svga->curr.framebuffer.cbufs[0] && 256 util_format_is_srgb(svga->curr.framebuffer.cbufs[0]->format)) {
|
/hardware/qcom/display/msm8084/libgralloc/ |
gpu.cpp | 193 // we don't support framebuffer allocations with graphics heap flags 198 if (m->framebuffer == NULL) { 199 ALOGE("%s: Invalid framebuffer", __FUNCTION__); 225 uintptr_t vaddr = uintptr_t(m->framebuffer->base); 227 dup(m->framebuffer->fd), bufferSize, 242 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); 324 size_t index = (hnd->base - m->framebuffer->base) / bufferSize;
|
/hardware/qcom/display/msm8960/libgralloc/ |
gpu.cpp | 180 // we don't support framebuffer allocations with graphics heap flags 185 if (m->framebuffer == NULL) { 186 ALOGE("%s: Invalid framebuffer", __FUNCTION__); 212 intptr_t vaddr = intptr_t(m->framebuffer->base); 214 dup(m->framebuffer->fd), bufferSize, 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); 311 int index = (hnd->base - m->framebuffer->base) / bufferSize;
|
/hardware/qcom/display/msm8974/libgralloc/ |
gpu.cpp | 186 // we don't support framebuffer allocations with graphics heap flags 191 if (m->framebuffer == NULL) { 192 ALOGE("%s: Invalid framebuffer", __FUNCTION__); 218 intptr_t vaddr = intptr_t(m->framebuffer->base); 220 dup(m->framebuffer->fd), bufferSize, 235 hnd->offset = vaddr - intptr_t(m->framebuffer->base); 326 int index = (hnd->base - m->framebuffer->base) / bufferSize;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
libGLESv2.cpp | 17 #include "libGLESv2/Framebuffer.h" 229 void __stdcall glBindFramebuffer(GLenum target, GLuint framebuffer) 231 EVENT("(GLenum target = 0x%X, GLuint framebuffer = %d)", target, framebuffer); 246 context->bindReadFramebuffer(framebuffer); 251 context->bindDrawFramebuffer(framebuffer); 677 gl::Framebuffer *framebuffer = context->getTargetFramebuffer(target); local 678 ASSERT(framebuffer); 679 return framebuffer->completeness() 987 gl::Framebuffer *framebuffer = context->getReadFramebuffer(); local 1047 gl::Framebuffer *framebuffer = context->getReadFramebuffer(); local 1930 gl::Framebuffer *framebuffer = context->getTargetFramebuffer(target); local 1991 gl::Framebuffer *framebuffer = context->getTargetFramebuffer(target); local 2689 gl::Framebuffer *framebuffer = context->getFramebuffer(framebufferHandle); local 6127 gl::Framebuffer *framebuffer = context->getReadFramebuffer(); local 6822 gl::Framebuffer *framebuffer = context->getTargetFramebuffer(target); local 9928 gl::Framebuffer *framebuffer = context->getDrawFramebuffer(); local [all...] |
validationES2.cpp | 14 #include "libGLESv2/Framebuffer.h" 473 gl::Framebuffer *framebuffer = context->getReadFramebuffer(); local 474 GLenum colorbufferFormat = framebuffer->getReadColorbuffer()->getInternalFormat(); 925 gl::Framebuffer *framebuffer = NULL; local 929 framebuffer = context->getReadFramebuffer(); 934 framebuffer = context->getDrawFramebuffer(); 938 if (framebufferHandle == 0 || !framebuffer)
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 211 GrFrameBufferObj *frameBuffer = GR_FIND(frameBufferID, 215 GrDebugGL::getInstance()->setFrameBuffer(frameBuffer); 255 GrFrameBufferObj *frameBuffer = GrDebugGL::getInstance()->getFrameBuffer(); 259 if (NULL != frameBuffer->getColor() && 260 textures[i] == frameBuffer->getColor()->getID()) { 261 frameBuffer->setColor(NULL); 263 if (NULL != frameBuffer->getDepth() && 264 textures[i] == frameBuffer->getDepth()->getID()) { 265 frameBuffer->setDepth(NULL); 267 if (NULL != frameBuffer->getStencil() & 391 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer(); local 431 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer(); local [all...] |
/external/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 211 GrFrameBufferObj *frameBuffer = GR_FIND(frameBufferID, 215 GrDebugGL::getInstance()->setFrameBuffer(frameBuffer); 255 GrFrameBufferObj *frameBuffer = GrDebugGL::getInstance()->getFrameBuffer(); 259 if (NULL != frameBuffer->getColor() && 260 textures[i] == frameBuffer->getColor()->getID()) { 261 frameBuffer->setColor(NULL); 263 if (NULL != frameBuffer->getDepth() && 264 textures[i] == frameBuffer->getDepth()->getID()) { 265 frameBuffer->setDepth(NULL); 267 if (NULL != frameBuffer->getStencil() & 391 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer(); local 431 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer(); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fPixelBufferObjectTests.cpp | 388 GLuint framebuffer = 0; local 394 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, framebuffer)); 399 GLU_CHECK_CALL(glGenFramebuffers(1, &framebuffer)); 405 GLU_CHECK_CALL(glBindFramebuffer(GL_FRAMEBUFFER, framebuffer)); 556 if (framebuffer) 557 GLU_CHECK_CALL(glDeleteFramebuffers(1, &framebuffer)); 599 TestCaseGroup* nativeFramebufferGroup = new TestCaseGroup(m_context, "native", "Tests with reading from native framebuffer");
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
RenderStateCache.h | 18 class Framebuffer; 33 ID3D11BlendState *getBlendState(const gl::Framebuffer *framebuffer, const gl::BlendState &blendState);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
pp_program.c | 138 p->framebuffer.nr_cbufs = 1;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_state_immediate.c | 166 if (i915->framebuffer.cbufs[0])
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
r600_blit.c | 68 util_blitter_save_framebuffer(rctx->blitter, &rctx->framebuffer); 180 for (i = 0; i < rctx->framebuffer.nr_cbufs; i++) { 182 tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture; 199 struct pipe_framebuffer_state *fb = &rctx->framebuffer;
|
si_state.h | 80 struct si_pm4_state *framebuffer; member in struct:si_state::__anon17539
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_context.h | 79 struct pipe_framebuffer_state framebuffer; member in struct:softpipe_context
|
sp_quad_fs.c | 90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.c | 138 p->framebuffer.nr_cbufs = 1;
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_immediate.c | 166 if (i915->framebuffer.cbufs[0])
|