/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_framebuffer.c | 54 struct stw_framebuffer *fb; in stw_framebuffer_from_hwnd_locked() local 56 for (fb = stw_dev->fb_head; fb != NULL; fb = fb->next) in stw_framebuffer_from_hwnd_locked() 57 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked() 58 stw_framebuffer_lock(fb); in stw_framebuffer_from_hwnd_locked() 59 assert(fb->mutex.RecursionCount == 1); in stw_framebuffer_from_hwnd_locked() 60 return fb; in stw_framebuffer_from_hwnd_locked() 75 stw_framebuffer_release_locked(struct stw_framebuffer *fb) in stw_framebuffer_release_locked() argument 79 assert(fb); in stw_framebuffer_release_locked() 80 assert(stw_own_mutex(&fb->mutex)); in stw_framebuffer_release_locked() 84 fb->refcnt--; in stw_framebuffer_release_locked() [all …]
|
/external/libkmsxx/py/tests/ |
D | trans-test.py | 33 fb = fbs[0] 34 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.purple) 35 pykms.draw_rect(fb, 100, 100, 100, 200, pykms.green) 36 pykms.draw_rect(fb, 300, 100, 100, 200, pykms.red) 37 pykms.draw_rect(fb, 500, 100, 100, 200, pykms.white) 39 fb = fbs[1] 40 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan) 41 pykms.draw_rect(fb, 250, 100, 200, 200, pykms.yellow) 56 fb = fbs[i] 58 "FB_ID": fb.id, [all …]
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.c | 56 compute_depth_max(struct gl_framebuffer *fb) in compute_depth_max() argument 58 if (fb->Visual.depthBits == 0) { in compute_depth_max() 63 fb->_DepthMax = (1 << 16) - 1; in compute_depth_max() 65 else if (fb->Visual.depthBits < 32) { in compute_depth_max() 66 fb->_DepthMax = (1 << fb->Visual.depthBits) - 1; in compute_depth_max() 72 fb->_DepthMax = 0xffffffff; in compute_depth_max() 74 fb->_DepthMaxF = (GLfloat) fb->_DepthMax; in compute_depth_max() 77 fb->_MRD = (GLfloat)1.0 / fb->_DepthMaxF; in compute_depth_max() 90 struct gl_framebuffer *fb = CALLOC_STRUCT(gl_framebuffer); in _mesa_create_framebuffer() local 92 if (fb) { in _mesa_create_framebuffer() [all …]
|
D | buffers.c | 56 const struct gl_framebuffer *fb) in supported_buffer_bitmask() argument 60 if (_mesa_is_user_fbo(fb)) { in supported_buffer_bitmask() 68 if (fb->Visual.stereoMode) { in supported_buffer_bitmask() 70 if (fb->Visual.doubleBufferMode) { in supported_buffer_bitmask() 74 else if (fb->Visual.doubleBufferMode) { in supported_buffer_bitmask() 78 for (i = 0; i < fb->Visual.numAuxBuffers; i++) { in supported_buffer_bitmask() 268 draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, in draw_buffer() argument 284 = supported_buffer_bitmask(ctx, fb); in draw_buffer() 302 _mesa_drawbuffers(ctx, fb, 1, &buffer, &destMask); in draw_buffer() 305 if (fb == ctx->DrawBuffer) { in draw_buffer() [all …]
|
D | fbobject.c | 83 delete_dummy_framebuffer(struct gl_framebuffer *fb) in delete_dummy_framebuffer() argument 150 struct gl_framebuffer *fb; in _mesa_lookup_framebuffer() local 155 fb = (struct gl_framebuffer *) in _mesa_lookup_framebuffer() 157 return fb; in _mesa_lookup_framebuffer() 169 struct gl_framebuffer *fb; in _mesa_lookup_framebuffer_err() local 171 fb = _mesa_lookup_framebuffer(ctx, id); in _mesa_lookup_framebuffer_err() 172 if (!fb || fb == &DummyFramebuffer) { in _mesa_lookup_framebuffer_err() 178 return fb; in _mesa_lookup_framebuffer_err() 188 invalidate_framebuffer(struct gl_framebuffer *fb) in invalidate_framebuffer() argument 190 fb->_Status = 0; /* "indeterminate" */ in invalidate_framebuffer() [all …]
|
/external/syzkaller/pkg/report/testdata/linux/report/ |
D | 165 | 83 [ 176.860948] ffff8800b5a9f780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 84 [ 176.868279] ffff8800b5a9f800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 85 [ 176.875621] >ffff8800b5a9f880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 87 [ 176.888387] ffff8800b5a9f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 88 [ 176.895717] ffff8800b5a9f980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 226 | 115 [ 353.770428] ffff8801d0d16500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 116 [ 353.770435] ffff8801d0d16580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 117 [ 353.770441] >ffff8801d0d16600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 119 [ 353.770452] ffff8801d0d16680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 120 [ 353.770459] ffff8801d0d16700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 227 | 151 [ 24.482985] ffff8801b94cee00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 152 [ 24.490316] ffff8801b94cee80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 153 [ 24.497649] >ffff8801b94cef00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 155 [ 24.511460] ffff8801b94cef80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 156 [ 24.518793] ffff8801b94cf000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 149 | 101 [ 1141.136397] ffff8801beca5680: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 102 [ 1141.143734] ffff8801beca5700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 103 [ 1141.151076] >ffff8801beca5780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 105 [ 1141.162028] ffff8801beca5800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 106 [ 1141.169364] ffff8801beca5880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
|
D | 261 | 96 [ 168.753625] ffff8801cc92ae00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 98 [ 168.768310] >ffff8801cc92af00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 100 [ 168.782392] ffff8801cc92af80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 101 [ 168.789739] ffff8801cc92b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 147 | 92 [ 19.122320] ffff8801c75ea000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 93 [ 19.122324] >ffff8801c75ea080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 95 [ 19.122331] ffff8801c75ea100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 96 [ 19.122335] ffff8801c75ea180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 177 | 197 [ 71.215235] ffff8801c5b1dc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 198 [ 71.222563] ffff8801c5b1dd00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 199 [ 71.229892] >ffff8801c5b1dd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 201 [ 71.243936] ffff8801c5b1de00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 202 [ 71.251265] ffff8801c5b1de80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 216 | 92 [ 368.945126] ffff8801c95e2780: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc 93 [ 368.952455] ffff8801c95e2800: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc 94 [ 368.959793] >ffff8801c95e2880: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc 96 [ 368.970461] ffff8801c95e2900: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc 97 [ 368.977790] ffff8801c95e2980: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc
|
D | 105 | 79 [ 42.418588] ffff88000969ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 80 [ 42.419273] ffff88000969ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 223 | 132 [ 46.907687] >ffff8801ce6e8e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 134 [ 46.907691] ffff8801ce6e8e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 135 [ 46.907693] ffff8801ce6e8f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 110 | 49 [ 190.154802] ffff8801a751e580: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 50 [ 190.154802] ffff8801a751e600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
|
/external/syzkaller/pkg/report/testdata/linux/guilty/ |
D | 29 | 91 ffff8801bb589280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 92 ffff8801bb589300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 93 ffff8801bb589380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 95 ffff8801bb589400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 96 ffff8801bb589480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
|
D | 28 | 90 ffff8801beca5680: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 91 ffff8801beca5700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 92 ffff8801beca5780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 94 ffff8801beca5800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 95 ffff8801beca5880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
|
/external/libdrm/tests/kms/ |
D | libkms-test-framebuffer.c | 42 struct kms_framebuffer *fb; in kms_framebuffer_create() local 45 fb = calloc(1, sizeof(*fb)); in kms_framebuffer_create() 46 if (!fb) in kms_framebuffer_create() 49 fb->device = device; in kms_framebuffer_create() 50 fb->width = width; in kms_framebuffer_create() 51 fb->height = height; in kms_framebuffer_create() 52 fb->format = format; in kms_framebuffer_create() 66 free(fb); in kms_framebuffer_create() 72 free(fb); in kms_framebuffer_create() 76 fb->handle = args.handle; in kms_framebuffer_create() [all …]
|
/external/fonttools/Tests/fontBuilder/ |
D | fontBuilder_test.py | 41 fb = FontBuilder(unitsPerEm, isTTF=isTTF) 42 fb.setupGlyphOrder([".notdef", ".null", "A", "a"]) 43 fb.setupCharacterMap({65: "A", 97: "a"}) 53 return fb, advanceWidths, nameStrings 68 fb, advanceWidths, nameStrings = _setupFontBuilder(True) 74 fb.setupGlyf(glyphs) 76 glyphTable = fb.font["glyf"] 79 fb.setupHorizontalMetrics(metrics) 81 fb.setupHorizontalHeader(ascent=824, descent=200) 82 fb.setupNameTable(nameStrings) [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 239 add_color_renderbuffers(struct gl_context *ctx, struct gl_framebuffer *fb, in add_color_renderbuffers() argument 266 assert(fb->Attachment[b].Renderbuffer == NULL); in add_color_renderbuffers() 277 _mesa_attach_and_own_rb(fb, b, rb); in add_color_renderbuffers() 293 add_depth_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, in add_depth_renderbuffer() argument 304 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer() 323 _mesa_attach_and_own_rb(fb, BUFFER_DEPTH, rb); in add_depth_renderbuffer() 338 add_stencil_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, in add_stencil_renderbuffer() argument 349 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_stencil_renderbuffer() 361 _mesa_attach_and_own_rb(fb, BUFFER_STENCIL, rb); in add_stencil_renderbuffer() 369 struct gl_framebuffer *fb) in add_depth_stencil_renderbuffer() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_framebuffer.c | 124 util_unreference_framebuffer_state(struct pipe_framebuffer_state *fb) in util_unreference_framebuffer_state() argument 128 for (i = 0; i < fb->nr_cbufs; i++) { in util_unreference_framebuffer_state() 129 pipe_surface_reference(&fb->cbufs[i], NULL); in util_unreference_framebuffer_state() 132 pipe_surface_reference(&fb->zsbuf, NULL); in util_unreference_framebuffer_state() 134 fb->samples = fb->layers = 0; in util_unreference_framebuffer_state() 135 fb->width = fb->height = 0; in util_unreference_framebuffer_state() 136 fb->nr_cbufs = 0; in util_unreference_framebuffer_state() 144 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, in util_framebuffer_min_size() argument 152 for (i = 0; i < fb->nr_cbufs; i++) { in util_framebuffer_min_size() 153 if (!fb->cbufs[i]) in util_framebuffer_min_size() [all …]
|
/external/libkmsxx/kms++util/src/ |
D | testpat.cpp | 16 static RGB get_test_pattern_pixel(IFramebuffer& fb, unsigned x, unsigned y) in get_test_pattern_pixel() argument 18 const unsigned w = fb.width(); in get_test_pattern_pixel() 19 const unsigned h = fb.height(); in get_test_pattern_pixel() 100 static void draw_test_pattern_part(IFramebuffer& fb, unsigned start_y, unsigned end_y, YUVType yuvt) in draw_test_pattern_part() argument 103 unsigned w = fb.width(); in draw_test_pattern_part() 105 switch (fb.format()) { in draw_test_pattern_part() 116 RGB pixel = get_test_pattern_pixel(fb, x, y); in draw_test_pattern_part() 117 draw_rgb_pixel(fb, x, y, pixel); in draw_test_pattern_part() 128 RGB pixel1 = get_test_pattern_pixel(fb, x, y); in draw_test_pattern_part() 129 RGB pixel2 = get_test_pattern_pixel(fb, x + 1, y); in draw_test_pattern_part() [all …]
|
/external/u-boot/drivers/video/ |
D | video_bmp.c | 31 ushort *fb = *fbp; in draw_encoded_bitmap() local 34 *fb++ = col; in draw_encoded_bitmap() 37 *fbp = fb; in draw_encoded_bitmap() 42 uchar *fb, int x_off, int y_off) in video_display_rle8_bitmap() argument 68 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap() 79 fb = (uchar *)(priv->fb + (y + y_off - 1) in video_display_rle8_bitmap() 94 (ushort **)&fb, in video_display_rle8_bitmap() 119 draw_encoded_bitmap((ushort **)&fb, in video_display_rle8_bitmap() 130 __weak void fb_put_byte(uchar **fb, uchar **from) in fb_put_byte() argument 132 *(*fb)++ = *(*from)++; in fb_put_byte() [all …]
|
/external/libkmsxx/utils/ |
D | wbcap.cpp | 33 for (auto fb : s_free_fbs) { in WBStreamer() local 34 m_capdev.queue(fb); in WBStreamer() 35 s_wb_fbs.push_back(fb); in WBStreamer() 62 auto fb = m_capdev.dequeue(); in Dequeue() local 64 auto iter = find(s_wb_fbs.begin(), s_wb_fbs.end(), fb); in Dequeue() 67 s_ready_fbs.insert(s_ready_fbs.begin(), fb); in Dequeue() 69 return fb; in Dequeue() 77 auto fb = s_free_fbs.back(); in Queue() local 80 m_capdev.queue(fb); in Queue() 82 s_wb_fbs.insert(s_wb_fbs.begin(), fb); in Queue() [all …]
|