Home
last modified time | relevance | path

Searched refs:pDevice (Results 1 – 25 of 155) sorted by relevance

1234567

/external/OpenCL-CTS/test_conformance/d3d10/
Dmain.cpp43 ID3D10Device* pDevice = NULL; in main() local
61 HarnessD3D10_CreateDevice(pAdapter, &pDevice); in main()
66 TestAdapterEnumeration(platform, pAdapter, pDevice, &num_devices); in main()
71 TestAdapterDevices(platform, pAdapter, pDevice, num_devices); in main()
76 if (pDevice) in main()
90 void TestAdapterEnumeration(cl_platform_id platform, IDXGIAdapter* pAdapter, ID3D10Device* pDevice,… in TestAdapterEnumeration() argument
139 if (pDevice) in TestAdapterEnumeration()
144 pDevice, in TestAdapterEnumeration()
164 pDevice, in TestAdapterEnumeration()
207 void TestAdapterDevices(cl_platform_id platform, IDXGIAdapter* pAdapter, ID3D10Device* pDevice, cl_… in TestAdapterDevices() argument
[all …]
Dharness.h157 ID3D10Device* pDevice,
163 ID3D10Device* pDevice,
168 ID3D10Device* pDevice);
172 ID3D10Device* pDevice,
179 ID3D10Device* pDevice);
185 ID3D10Device* pDevice);
191 ID3D10Device* pDevice);
197 ID3D10Device* pDevice);
Dmisc.cpp21 ID3D10Device* pDevice) in SubTestMiscMultipleCreates() argument
47 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscMultipleCreates()
59 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscMultipleCreates()
126 ID3D10Device* pDevice) in SubTestMiscAcquireRelease() argument
153 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscAcquireRelease()
165 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscAcquireRelease()
247 ID3D10Device* pDevice) in TestDeviceMisc() argument
252 pDevice); in TestDeviceMisc()
257 pDevice); in TestDeviceMisc()
Dbuffer.cpp53 ID3D10Device* pDevice, in SubTestBuffer() argument
75 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestBuffer()
91 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer()
113 pDevice->CopySubresourceRegion( in SubTestBuffer()
124 pDevice->CopySubresourceRegion( in SubTestBuffer()
224 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer()
246 pDevice->CopySubresourceRegion( in SubTestBuffer()
257 pDevice->CopySubresourceRegion( in SubTestBuffer()
299 ID3D10Device* pDevice) in TestDeviceBuffer() argument
306 pDevice, in TestDeviceBuffer()
Dtexture3d.cpp96 ID3D10Device* pDevice, in SubTestTexture3D() argument
136 hr = pDevice->CreateTexture3D(&desc, NULL, &pTexture); in SubTestTexture3D()
174 hr = pDevice->CreateTexture3D(&desc, NULL, &pStagingBuffer); in SubTestTexture3D()
196 pDevice->CopySubresourceRegion( in SubTestTexture3D()
391 hr = pDevice->CreateTexture3D(&desc, NULL, &pStagingBuffer); in SubTestTexture3D()
414 pDevice->CopySubresourceRegion( in SubTestTexture3D()
476 ID3D10Device* pDevice) in TestDeviceTexture3D() argument
486 pDevice, in TestDeviceTexture3D()
Dtexture2d.cpp162 ID3D10Device* pDevice, in SubTestTexture2D() argument
205 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestTexture2D()
246 hr = pDevice->CreateTexture2D(&desc, NULL, &pStagingBuffer); in SubTestTexture2D()
268 pDevice->CopySubresourceRegion( in SubTestTexture2D()
536 hr = pDevice->CreateTexture2D(&desc, NULL, &pStagingBuffer); in SubTestTexture2D()
559 pDevice->CopySubresourceRegion( in SubTestTexture2D()
628 ID3D10Device* pDevice) in TestDeviceTexture2D() argument
679 pDevice, in TestDeviceTexture2D()
/external/OpenCL-CTS/test_conformance/d3d11/
Dmain.cpp45 ID3D11Device* pDevice = NULL; in main() local
64 HarnessD3D11_CreateDevice(pAdapter, &pDevice, &pDC); in main()
69 TestAdapterEnumeration(platform, pAdapter, pDevice, &num_devices); in main()
74 TestAdapterDevices(platform, pAdapter, pDevice, pDC, num_devices); in main()
79 if (pDevice) in main()
97 ID3D11Device* pDevice, in TestAdapterEnumeration() argument
147 if (pDevice) in TestAdapterEnumeration()
152 pDevice, in TestAdapterEnumeration()
172 pDevice, in TestAdapterEnumeration()
203 ID3D11Device* pDevice, in TestAdapterDevices() argument
[all …]
Dmisc.cpp22 ID3D11Device* pDevice) in SubTestMiscMultipleCreates() argument
49 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscMultipleCreates()
61 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscMultipleCreates()
128 ID3D11Device* pDevice) in SubTestMiscAcquireRelease() argument
156 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscAcquireRelease()
168 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscAcquireRelease()
211 ID3D11Device* pDevice) in TestDeviceMisc() argument
216 pDevice); in TestDeviceMisc()
221 pDevice); in TestDeviceMisc()
Dharness.h160 ID3D11Device* pDevice,
166 ID3D11Device* pDevice,
172 ID3D11Device* pDevice,
177 ID3D11Device* pDevice,
184 ID3D11Device* pDevice,
191 ID3D11Device* pDevice,
198 ID3D11Device* pDevice,
205 ID3D11Device* pDevice);
Dbuffer.cpp53 ID3D11Device* pDevice, in SubTestBuffer() argument
76 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestBuffer()
93 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer()
229 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer()
308 ID3D11Device* pDevice, in TestDeviceBuffer() argument
316 pDevice, in TestDeviceBuffer()
Dtexture3d.cpp96 ID3D11Device* pDevice, in SubTestTexture3D() argument
137 hr = pDevice->CreateTexture3D(&desc, NULL, &pTexture); in SubTestTexture3D()
176 hr = pDevice->CreateTexture3D(&desc, NULL, &pStagingBuffer); in SubTestTexture3D()
398 hr = pDevice->CreateTexture3D(&desc, NULL, &pStagingBuffer); in SubTestTexture3D()
472 ID3D11Device* pDevice, in TestDeviceTexture3D() argument
483 pDevice, in TestDeviceTexture3D()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_button.cpp65 CFX_RenderDevice* pDevice, in OnDraw() argument
71 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
77 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Down, in OnDraw()
80 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
87 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Rollover, in OnDraw()
90 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
96 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, nullptr); in OnDraw()
101 CFX_RenderDevice* pDevice, in OnDrawDeactive() argument
103 OnDraw(pPageView, pAnnot, pDevice, mtUser2Device); in OnDrawDeactive()
Dcffl_button.h42 CFX_RenderDevice* pDevice,
46 CFX_RenderDevice* pDevice,
/external/pdfium/fpdfsdk/
Dfpdf_progressive.cpp66 CFX_DefaultRenderDevice* pDevice = pOwnedDevice.get(); in FPDF_RenderPageBitmap_Start() local
68 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false); in FPDF_RenderPageBitmap_Start()
76 pDevice->Flush(false); in FPDF_RenderPageBitmap_Start()
103 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Continue() local
104 pDevice->Flush(false); in FPDF_RenderPage_Continue()
105 pDevice->GetBitmap()->UnPreMultiply(); in FPDF_RenderPage_Continue()
117 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Close() local
118 pDevice->Flush(true); in FPDF_RenderPage_Close()
119 pDevice->GetBitmap()->UnPreMultiply(); in FPDF_RenderPage_Close()
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp29 CFX_Matrix CPDF_DeviceBuffer::CalculateMatrix(CFX_RenderDevice* pDevice, in CalculateMatrix() argument
36 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in CalculateMatrix()
37 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in CalculateMatrix()
40 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in CalculateMatrix()
42 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in CalculateMatrix()
53 CFX_RenderDevice* pDevice, in CPDF_DeviceBuffer() argument
57 : m_pDevice(pDevice), in CPDF_DeviceBuffer()
62 m_Matrix(CalculateMatrix(pDevice, rect, max_dpi, kScaleDeviceBuffer)) {} in CPDF_DeviceBuffer()
Dcpdf_textrenderer.cpp29 bool CPDF_TextRenderer::DrawTextPath(CFX_RenderDevice* pDevice, in DrawTextPath() argument
55 if (!pDevice->DrawTextPath(i - startIndex, &pos[startIndex], font, in DrawTextPath()
65 if (!pDevice->DrawTextPath(pos.size() - startIndex, &pos[startIndex], font, in DrawTextPath()
74 void CPDF_TextRenderer::DrawTextString(CFX_RenderDevice* pDevice, in DrawTextString() argument
105 DrawNormalText(pDevice, codes, positions, pFont, font_size, new_matrix, in DrawTextString()
110 bool CPDF_TextRenderer::DrawNormalText(CFX_RenderDevice* pDevice, in DrawNormalText() argument
150 if (!pDevice->DrawNormalText(i - startIndex, &pos[startIndex], font, in DrawNormalText()
159 if (!pDevice->DrawNormalText(pos.size() - startIndex, &pos[startIndex], font, in DrawNormalText()
Dcpdf_rendercontext.cpp52 void CPDF_RenderContext::Render(CFX_RenderDevice* pDevice, in Render() argument
55 Render(pDevice, nullptr, pOptions, pLastMatrix); in Render()
58 void CPDF_RenderContext::Render(CFX_RenderDevice* pDevice, in Render() argument
63 CFX_RenderDevice::StateRestorer restorer(pDevice); in Render()
64 CPDF_RenderStatus status(this, pDevice); in Render()
Dcpdf_textrenderer.h25 static void DrawTextString(CFX_RenderDevice* pDevice,
35 static bool DrawTextPath(CFX_RenderDevice* pDevice,
48 static bool DrawNormalText(CFX_RenderDevice* pDevice,
Dcpdf_scaledrenderbuffer.cpp26 CFX_RenderDevice* pDevice, in Initialize() argument
31 m_pDevice = pDevice; in Initialize()
38 m_Matrix = CPDF_DeviceBuffer::CalculateMatrix(pDevice, rect, max_dpi, in Initialize()
Dcpdf_devicebuffer.h21 static CFX_Matrix CalculateMatrix(CFX_RenderDevice* pDevice,
27 CFX_RenderDevice* pDevice,
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp17 CFX_ImageRenderer::CFX_ImageRenderer(const RetainPtr<CFX_DIBitmap>& pDevice, in CFX_ImageRenderer() argument
25 : m_pDevice(pDevice), in CFX_ImageRenderer()
34 : FX_RECT(0, 0, pDevice->GetWidth(), pDevice->GetHeight()); in CFX_ImageRenderer()
50 m_Composer.Compose(pDevice, pClipRgn, bitmap_alpha, mask_color, m_ClipBox, in CFX_ImageRenderer()
78 m_Composer.Compose(pDevice, pClipRgn, bitmap_alpha, mask_color, m_ClipBox, in CFX_ImageRenderer()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.cpp122 void CPWL_SBButton::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
135 CPWL_Wnd::DrawThisAppearance(pDevice, mtUser2Device); in DrawThisAppearance()
166 pDevice->DrawPath(&path, &mtUser2Device, nullptr, in DrawThisAppearance()
174 pDevice->DrawStrokeRect(mtUser2Device, rectWnd, in DrawThisAppearance()
176 pDevice->DrawStrokeRect(mtUser2Device, rectWnd.GetDeflated(0.5f, 0.5f), in DrawThisAppearance()
182 pDevice->DrawShadow(mtUser2Device, true, false, in DrawThisAppearance()
186 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(1.0f, 1.0f), in DrawThisAppearance()
209 pDevice->DrawFillArea(mtUser2Device, pts, in DrawThisAppearance()
236 pDevice->DrawStrokeLine(&mtUser2Device, ptTop, ptBottom, ref, 1.0f); in DrawThisAppearance()
242 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(0.5f, 0.5f), in DrawThisAppearance()
[all …]
Dcpwl_list_box.cpp95 void CPWL_ListBox::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
97 CPWL_Wnd::DrawThisAppearance(pDevice, mtUser2Device); in DrawThisAppearance()
118 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
123 pDevice->DrawFillRect(&mtUser2Device, rcItem, in DrawThisAppearance()
125 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
131 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
Dcpwl_wnd.cpp212 void CPWL_Wnd::DrawAppearance(CFX_RenderDevice* pDevice, in DrawAppearance() argument
215 DrawThisAppearance(pDevice, mtUser2Device); in DrawAppearance()
216 DrawChildAppearance(pDevice, mtUser2Device); in DrawAppearance()
220 void CPWL_Wnd::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
228 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(width, width), in DrawThisAppearance()
233 pDevice->DrawBorder(&mtUser2Device, rectWnd, in DrawThisAppearance()
241 void CPWL_Wnd::DrawChildAppearance(CFX_RenderDevice* pDevice, in DrawChildAppearance() argument
246 pChild->DrawAppearance(pDevice, mtUser2Device); in DrawChildAppearance()
250 pChild->DrawAppearance(pDevice, mt); in DrawChildAppearance()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp225 CFX_RenderDevice* pDevice, in DisplayPass() argument
267 } else if (!pAnnot->DrawAppearance(pPage, pDevice, matrix, in DisplayPass()
269 pAnnot->DrawBorder(pDevice, &matrix, pOptions); in DisplayPass()
275 CFX_RenderDevice* pDevice, in DisplayAnnots() argument
283 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, false, in DisplayAnnots()
287 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, true, in DisplayAnnots()

1234567