Home
last modified time | relevance | path

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

1234567891011

/device/generic/vulkan-cereal/third-party/angle/extensions/
DANGLE_framebuffer_blit.txt44 This extension modifies framebuffer objects by splitting the
45 framebuffer object binding point into separate DRAW and READ
46 bindings. This allows copying directly from one framebuffer to
86 to READ_FRAMEBUFFER_BINDING_ANGLE is not "framebuffer complete"
97 framebuffer is the destination for rendering operations, and the
98 read framebuffer is the source for readback operations. The same
99 framebuffer may be used for both drawing and reading. Section
100 4.4.1 describes the mechanism for controlling framebuffer usage."
104 "While an application-created framebuffer object is bound to
111 the object bound to READ_FRAMEBUFFER_BINDING_ANGLE is not "framebuffer
[all …]
DANGLE_framebuffer_multisample.txt46 This extension extends the framebuffer object framework to
56 All of the framebuffer-attachable images attached to a framebuffer
57 object must have the same number of SAMPLES or else the framebuffer
58 object is not "framebuffer complete". If a framebuffer object with
59 multisample attachments is "framebuffer complete", then the
60 framebuffer object behaves as if SAMPLE_BUFFERS is one.
65 framebuffer object and the destination is a single-sample
66 framebuffer object (either application-created or window-system
104 READ_FRAMEBUFFER_BINDING_ANGLE is "framebuffer complete" and the value
114 (section 4.4) is non-zero, the read framebuffer is framebuffer
[all …]
DEXT_draw_buffers.txt52 This extension increases the number of available framebuffer object
123 window system-provided framebuffer. Pixel sample values, including
126 window system-provided framebuffer includes a multisample buffer, it
139 section 2.1.2 for framebuffer color components.
159 "The name of the color buffer of an application-created framebuffer
165 "A framebuffer object has an array of color buffer attachment points,
180 framebuffer object, and the buffers they indicate. <i> in
203 in <bufs> depend on whether the GL is using the default framebuffer
204 (i.e., DRAW_FRAMEBUFFER_BINDING is zero), or a framebuffer object
206 about framebuffer objects, see section 4.4.
[all …]
/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
99 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
109 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post()
121 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in fb_post()
123 AERR("FBIO_WAITFORVSYNC failed for fd: %d", m->framebuffer->fd); in fb_post()
136 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post()
138 AERR("S3CFB_SET_VSYNC_INT disable failed for fd: %d", m->framebuffer->fd); in fb_post()
149 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
151 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
171 m->base.lock(&m->base, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, in fb_post()
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/validity/protos/
DvkDestroyFramebuffer.txt5 * [[VUID-vkDestroyFramebuffer-framebuffer-parameter]] If pname:framebuffer is not dlink:VK_NULL_HAN…
7 * [[VUID-vkDestroyFramebuffer-framebuffer-parent]] If pname:framebuffer is a valid handle, it must:…
12 * Host access to pname:framebuffer must: be externally synchronized
/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
111 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
120 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
129 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fd); in fb_post()
141 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, -1, -1, -1, -1, &fb_vaddr); in fb_post()
168 mali_gralloc_unlock(m, m->framebuffer); in fb_post()
176 if (module->framebuffer) in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
406 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf()
[all …]
Dgralloc_vsync_s3cfb.cpp33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable()
46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable()
63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
111 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
120 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
129 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fd); in fb_post()
141 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, -1, -1, -1, -1, &fb_vaddr); in fb_post()
168 mali_gralloc_unlock(m, m->framebuffer); in fb_post()
176 if (module->framebuffer) in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
406 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf()
[all …]
Dgralloc_vsync_s3cfb.cpp33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable()
46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable()
63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
/device/generic/vulkan-cereal/third-party/angle/src/tests/perf_tests/
DTracePerfTest.cpp30 void FramebufferChangeCallback(void *userData, GLenum target, GLuint framebuffer);
72 void onFramebufferChange(GLenum target, GLuint framebuffer);
84 GLuint framebuffer; member
211 sprintf(fboName, "FBO %u", query.framebuffer); in drawBenchmark()
278 void TracePerfTest::onFramebufferChange(GLenum target, GLuint framebuffer) in onFramebufferChange() argument
300 mCurrentQuery.framebuffer = framebuffer; in onFramebufferChange()
342 ANGLE_MAYBE_UNUSED void FramebufferChangeCallback(void *userData, GLenum target, GLuint framebuffer) in FramebufferChangeCallback() argument
344 reinterpret_cast<TracePerfTest *>(userData)->onFramebufferChange(target, framebuffer); in FramebufferChangeCallback()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DvalidationGL45.cpp37 FramebufferID framebuffer, in ValidateCheckNamedFramebufferStatus() argument
66 FramebufferID framebuffer, in ValidateClearNamedFramebufferfi() argument
76 FramebufferID framebuffer, in ValidateClearNamedFramebufferfv() argument
85 FramebufferID framebuffer, in ValidateClearNamedFramebufferiv() argument
94 FramebufferID framebuffer, in ValidateClearNamedFramebufferuiv() argument
328 FramebufferID framebuffer, in ValidateGetNamedFramebufferAttachmentParameteriv() argument
337 FramebufferID framebuffer, in ValidateGetNamedFramebufferParameteriv() argument
659 FramebufferID framebuffer, in ValidateInvalidateNamedFramebufferData() argument
667 FramebufferID framebuffer, in ValidateInvalidateNamedFramebufferSubData() argument
720 FramebufferID framebuffer, in ValidateNamedFramebufferDrawBuffer() argument
[all …]
DResourceManager.cpp362 void FramebufferManager::DeleteObject(const Context *context, Framebuffer *framebuffer) in DeleteObject() argument
364 framebuffer->onDestroy(context); in DeleteObject()
365 delete framebuffer; in DeleteObject()
378 void FramebufferManager::setDefaultFramebuffer(Framebuffer *framebuffer) in setDefaultFramebuffer() argument
380 ASSERT(framebuffer == nullptr || framebuffer->isDefault()); in setDefaultFramebuffer()
381 mObjectMap.assign(Framebuffer::kDefaultDrawFramebufferHandle, framebuffer); in setDefaultFramebuffer()
386 for (const auto &framebuffer : mObjectMap) in invalidateFramebufferCompletenessCache() local
388 if (framebuffer.second) in invalidateFramebufferCompletenessCache()
390 framebuffer.second->invalidateCompletenessCache(); in invalidateFramebufferCompletenessCache()
DContext.cpp884 void Context::deleteFramebuffer(FramebufferID framebuffer) in deleteFramebuffer() argument
886 if (mState.mFramebufferManager->getFramebuffer(framebuffer)) in deleteFramebuffer()
888 detachFramebuffer(framebuffer); in deleteFramebuffer()
891 mState.mFramebufferManager->deleteObject(this, framebuffer); in deleteFramebuffer()
1060 Framebuffer *framebuffer = mState.mFramebufferManager->checkFramebufferAllocation( in bindReadFramebuffer() local
1062 mState.setReadFramebufferBinding(framebuffer); in bindReadFramebuffer()
1063 mReadFramebufferObserverBinding.bind(framebuffer); in bindReadFramebuffer()
1068 Framebuffer *framebuffer = mState.mFramebufferManager->checkFramebufferAllocation( in bindDrawFramebuffer() local
1070 mState.setDrawFramebufferBinding(framebuffer); in bindDrawFramebuffer()
1071 mDrawFramebufferObserverBinding.bind(framebuffer); in bindDrawFramebuffer()
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/libGL/
Dentry_points_gl_4_5_autogen.h32 ANGLE_EXPORT GLenum GL_APIENTRY CheckNamedFramebufferStatus(GLuint framebuffer, GLenum target);
45 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferfi(GLuint framebuffer,
50 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferfv(GLuint framebuffer,
54 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferiv(GLuint framebuffer,
58 ANGLE_EXPORT void GL_APIENTRY ClearNamedFramebufferuiv(GLuint framebuffer,
153 ANGLE_EXPORT void GL_APIENTRY GetNamedFramebufferAttachmentParameteriv(GLuint framebuffer,
157 ANGLE_EXPORT void GL_APIENTRY GetNamedFramebufferParameteriv(GLuint framebuffer,
280 ANGLE_EXPORT void GL_APIENTRY InvalidateNamedFramebufferData(GLuint framebuffer,
283 ANGLE_EXPORT void GL_APIENTRY InvalidateNamedFramebufferSubData(GLuint framebuffer,
308 ANGLE_EXPORT void GL_APIENTRY NamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf);
[all …]
Dentry_points_gl_4_5_autogen.cpp89 GLenum GL_APIENTRY CheckNamedFramebufferStatus(GLuint framebuffer, GLenum target) in CheckNamedFramebufferStatus() argument
93 "context = %d, GLuint framebuffer = %u, GLenum target = %s", CID(context), framebuffer, in CheckNamedFramebufferStatus()
99 FramebufferID framebufferPacked = FromGL<FramebufferID>(framebuffer); in CheckNamedFramebufferStatus()
186 void GL_APIENTRY ClearNamedFramebufferfi(GLuint framebuffer, in ClearNamedFramebufferfi() argument
196 CID(context), framebuffer, GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, depth, in ClearNamedFramebufferfi()
201 FramebufferID framebufferPacked = FromGL<FramebufferID>(framebuffer); in ClearNamedFramebufferfi()
215 void GL_APIENTRY ClearNamedFramebufferfv(GLuint framebuffer, in ClearNamedFramebufferfv() argument
224 CID(context), framebuffer, GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, in ClearNamedFramebufferfv()
229 FramebufferID framebufferPacked = FromGL<FramebufferID>(framebuffer); in ClearNamedFramebufferfv()
243 void GL_APIENTRY ClearNamedFramebufferiv(GLuint framebuffer, in ClearNamedFramebufferiv() argument
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/chapters/
Dframebuffer.txt5 [[framebuffer]]
9 [[framebuffer-blending]]
14 framebuffer at the fragment's [eq]#(x~f~,y~f~)# location.
19 <<framebuffer-blendoperations,blend operation>>, quadruplets of source and
20 destination weighting factors determined by the <<framebuffer-blendfactors,
21 blend factors>>, and a <<framebuffer-blendconstants,blend constant>>, to
35 <<framebuffer-blend-advanced,Advanced blending operations>> are performed
65 * pname:logicOpEnable controls whether to apply <<framebuffer-logicop,
75 blending, depending on the <<framebuffer-blendfactors,blend factor>>.
140 writing, as described for the <<framebuffer-color-write-mask,Color Write
[all …]
Dfragmentdensitymapops.txt12 framebuffer region that the fragment occupies.
13 The framebuffer is divided into a uniform grid of these local regions, and
29 Each local framebuffer region at center coordinate [eq]#(x,y)# fetches a
37 Where the size of each region in the framebuffer is:
86 Fragment area for the framebuffer region is undefined: if the density
101 A single fetched fragment area for the framebuffer region is chosen by the
114 framebuffer region.
127 The clamped fragment area is assigned to the corresponding framebuffer
/device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/
DComputeShaderTest.cpp41 GLFramebuffer framebuffer; in runSharedMemoryTest() local
71 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in runSharedMemoryTest()
641 GLFramebuffer framebuffer; in TEST_P() local
676 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in TEST_P()
1018 GLFramebuffer framebuffer; in TEST_P() local
1070 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in TEST_P()
1087 GLFramebuffer framebuffer; in TEST_P() local
1129 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in TEST_P()
1146 GLFramebuffer framebuffer; in TEST_P() local
1188 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in TEST_P()
[all …]
DRobustResourceInitTest.cpp972 GLFramebuffer framebuffer; in TEST_P() local
973 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1000 GLFramebuffer framebuffer; in TEST_P() local
1001 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1026 GLFramebuffer framebuffer; in testIntegerTextureInit() local
1027 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in testIntegerTextureInit()
1115 GLFramebuffer framebuffer; in TEST_P() local
1116 glBindFramebuffer(GL_READ_FRAMEBUFFER, framebuffer); in TEST_P()
1147 GLFramebuffer framebuffer; in TEST_P() local
1148 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
[all …]
DFramebufferTest.cpp371 GLFramebuffer framebuffer; in TEST_P() local
374 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
391 GLFramebuffer framebuffer; in TEST_P() local
394 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
407 GLFramebuffer framebuffer; in TEST_P() local
408 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
470 GLFramebuffer framebuffer; in TEST_P() local
471 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
498 GLFramebuffer framebuffer; in TEST_P() local
499 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P()
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/appendices/
Dinvariance.txt21 For any given Vulkan and framebuffer state vector, and for any Vulkan
22 command, the resulting Vulkan and framebuffer state must: be identical
23 whenever the command is executed on that initial Vulkan and framebuffer
54 mode vector, to eventually produce a result in the framebuffer.
57 * "`Erasing`" a primitive from the framebuffer by redrawing it, either in
66 *Rule 1* _For any given Vulkan and framebuffer state vector, and for any
67 given Vulkan command, the resulting Vulkan and framebuffer state must: be
69 framebuffer state._
95 framebuffer, either simultaneously or separately using the same command
120 *Rule 6* _For any given Vulkan and framebuffer state vector, and for any
[all …]
/device/generic/vulkan-cereal/stream-servers/
DTextureResize.cpp269 s_gles2.glGenFramebuffers(1, &mFBWidth.framebuffer);
270 s_gles2.glGenFramebuffers(1, &mFBHeight.framebuffer);
285 GLuint fb[2] = {mFBWidth.framebuffer, mFBHeight.framebuffer}; in ~TextureResize()
385 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBWidth.framebuffer); in resize()
410 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBHeight.framebuffer); in resize()
525 s_gles2.glGenFramebuffers(1, &mFrameBuffer.framebuffer); in GenericResizer()
551 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFrameBuffer.framebuffer); in draw()
608 s_gles2.glDeleteFramebuffers(1, &mFrameBuffer.framebuffer); in ~GenericResizer()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/gl/eagl/
DPbufferSurfaceEAGL.cpp134 GLuint framebuffer = 0; in createDefaultFramebuffer() local
135 functions->genFramebuffers(1, &framebuffer); in createDefaultFramebuffer()
136 stateManager->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in createDefaultFramebuffer()
142 return new FramebufferGL(state, framebuffer, true, false); in createDefaultFramebuffer()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/gl/cgl/
DPbufferSurfaceCGL.cpp131 GLuint framebuffer = 0; in createDefaultFramebuffer() local
132 functions->genFramebuffers(1, &framebuffer); in createDefaultFramebuffer()
133 stateManager->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in createDefaultFramebuffer()
139 return new FramebufferGL(state, framebuffer, true, false); in createDefaultFramebuffer()
/device/generic/vulkan-cereal/protocols/vulkan/validity/structs/
DVkRenderPassBeginInfo.txt7 * [[VUID-VkRenderPassBeginInfo-framebuffer-parameter]] pname:framebuffer must: be a valid sname:VkF…
8 * [[VUID-VkRenderPassBeginInfo-commonparent]] Both of pname:framebuffer, and pname:renderPass must:…

1234567891011