Home
last modified time | relevance | path

Searched refs:m_pDevice (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp19 : m_pDevice(pDevice), m_ImageMatrix(*pImage2Device), m_pDIBBase(pDIBBase) {} in CXFA_ImageRenderer()
26 if (m_pDevice->StartDIBits(m_pDIBBase, 255, 0, m_ImageMatrix, options, in Start()
42 !(m_pDevice->GetRenderCaps() & FXRC_ALPHA_IMAGE) && in Start()
43 !(m_pDevice->GetRenderCaps() & FXRC_GET_BITS)) { in Start()
50 FX_RECT clip_box = m_pDevice->GetClipBox(); in Start()
65 if (m_pDevice->StretchDIBitsWithFlagsAndBlend( in Start()
72 if (m_pDevice->StretchBitMaskWithFlags(m_pDIBBase, dest_left, dest_top, in Start()
79 FX_RECT clip_box = m_pDevice->GetClipBox(); in Start()
103 m_pDevice->SetBitMask(pBitmap, m_pTransformer->result().left, in Continue()
106 m_pDevice->SetDIBitsWithBlend(pBitmap, m_pTransformer->result().left, in Continue()
[all …]
Dcxfa_imagerenderer.h37 UnownedPtr<CFX_RenderDevice> m_pDevice; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp153 : m_pDevice(pDevice) {} in ScopedSkiaDeviceFlush()
158 ~ScopedSkiaDeviceFlush() { m_pDevice->Flush(/*release=*/false); } in ~ScopedSkiaDeviceFlush()
161 CFX_RenderDevice* const m_pDevice; member in __anon269ad46d0111::ScopedSkiaDeviceFlush
169 : m_pContext(pContext), m_pDevice(pDevice) {} in CPDF_RenderStatus()
175 m_bPrint = m_pDevice->GetDeviceType() != DeviceType::kDisplay; in Initialize()
205 CFX_FloatRect(m_pDevice->GetClipBox())); in RenderObjectList()
296 rect.Intersect(m_pDevice->GetClipBox()); in GetObjectClippedRect()
351 if (pObj->IsImage() && m_pDevice->GetDeviceType() == DeviceType::kPrinter) in DrawObjWithBackground()
355 if (!buffer.Initialize(m_pContext.Get(), m_pDevice, rect, pObj, &m_Options, in DrawObjWithBackground()
388 CPDF_RenderStatus status(m_pContext.Get(), m_pDevice); in ProcessForm()
[all …]
Dcpdf_progressiverenderer.cpp24 : m_pContext(pContext), m_pDevice(pDevice), m_pOptions(pOptions) {} in CPDF_ProgressiveRenderer()
29 m_pDevice->RestoreState(false); in ~CPDF_ProgressiveRenderer()
34 if (!m_pContext || !m_pDevice || m_Status != kReady) { in Start()
52 m_pDevice.Get()); in Continue()
58 m_pDevice->SaveState(); in Continue()
60 CFX_FloatRect(m_pDevice->GetClipBox())); in Continue()
81 if (m_pDevice->GetDeviceType() == DeviceType::kPrinter) { in Continue()
117 m_pDevice->RestoreState(false); in Continue()
Dcpdf_devicebuffer.cpp57 : m_pDevice(pDevice), in CPDF_DeviceBuffer()
74 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) { in OutputToDevice()
76 m_pDevice->SetDIBits(m_pBitmap, m_Rect.left, m_Rect.top); in OutputToDevice()
78 m_pDevice->StretchDIBits(m_pBitmap, m_Rect.left, m_Rect.top, in OutputToDevice()
84 m_pDevice->CreateCompatibleBitmap(pBuffer, m_pBitmap->GetWidth(), in OutputToDevice()
89 m_pDevice->StretchDIBits(pBuffer, m_Rect.left, m_Rect.top, m_Rect.Width(), in OutputToDevice()
Dcpdf_scaledrenderbuffer.cpp31 m_pDevice = pDevice; in Initialize()
32 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) in Initialize()
42 !!(m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_ALPHA_OUTPUT); in Initialize()
69 return m_pBitmapDevice ? m_pBitmapDevice.get() : m_pDevice.Get(); in GetDevice()
74 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, in OutputToDevice()
Dcpdf_pagerendercontext.h34 std::unique_ptr<CFX_RenderDevice> m_pDevice; variable
Dcpdf_scaledrenderbuffer.h38 UnownedPtr<CFX_RenderDevice> m_pDevice;
Dcpdf_devicebuffer.h39 UnownedPtr<CFX_RenderDevice> const m_pDevice;
Dcpdf_progressiverenderer.h49 UnownedPtr<CFX_RenderDevice> const m_pDevice; variable
Dcpdf_renderstatus.h90 CFX_RenderDevice* GetRenderDevice() const { return m_pDevice; } in GetRenderDevice()
191 CFX_RenderDevice* const m_pDevice; variable
/external/pdfium/fpdfsdk/
Dcpdfsdk_renderpage.cpp51 pContext->m_pDevice->SaveState(); in RenderPageImpl()
52 pContext->m_pDevice->SetBaseClip(clipping_rect); in RenderPageImpl()
53 pContext->m_pDevice->SetClip_Rect(clipping_rect); in RenderPageImpl()
65 pContext->m_pDevice->GetDeviceType() != DeviceType::kDisplay; in RenderPageImpl()
71 pContext->m_pContext.get(), pContext->m_pDevice.get(), in RenderPageImpl()
75 pContext->m_pDevice->RestoreState(false); in RenderPageImpl()
Dfpdf_progressive.cpp67 pContext->m_pDevice = std::move(pOwnedDevice); in FPDF_RenderPageBitmap_Start()
103 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Continue()
117 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Close()
Dfpdf_view.cpp496 pContext->m_pDevice = pdfium::MakeUnique<CPDF_WindowsRenderDevice>(dc); in FPDF_RenderPage()
509 pContext->m_pDevice = pdfium::WrapUnique(pDevice); in FPDF_RenderPage()
554 pContext->m_pDevice = pdfium::MakeUnique<CPDF_WindowsRenderDevice>(dc); in FPDF_RenderPage()
566 RenderBitmap(pContext->m_pDevice.get(), bitmaps[i], bitmap_areas[i]); in FPDF_RenderPage()
596 pContext->m_pDevice = std::move(pOwnedDevice); in FPDF_RenderPageBitmap()
630 pContext->m_pDevice = std::move(pOwnedDevice); in FPDF_RenderPageBitmapWithMatrix()
662 pContext->m_pDevice = std::move(skDevice); in FPDF_RenderPageSkp()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp633 , m_pDevice (pDevice) in DX11Operation()
679 hr = m_pDevice->CreateBuffer(&descBuf, NULL, &m_pBuffer[i]); in DX11Operation()
731 hr = m_pDevice->CreateTexture2D(&descColor, NULL, &m_pTexture[i]); in DX11Operation()
772 hr = m_pDevice->CreateRenderTargetView(m_pTexture[BUFFER_VK_READ], NULL, &m_pRenderTargetView); in DX11Operation()
845 hr = m_pDevice->CreateBuffer(&bd, &InitData, &m_pVertexBuffer); in DX11Operation()
864 hr = m_pDevice->CreateShaderResourceView(m_pTexture[BUFFER_VK_WRITE], &SRVDesc, &m_pTextureRV); in DX11Operation()
877 hr = m_pDevice->CreateSamplerState(&sampDesc, &m_pSamplerLinear); in DX11Operation()
993 …hr = m_pDevice->CreateVertexShader(pVSBlob->GetBufferPointer(), pVSBlob->GetBufferSize(), NULL, pV… in createShaders()
998 …hr = m_pDevice->CreateInputLayout(pLayoutDesc, numLayoutDesc, pVSBlob->GetBufferPointer(), pVSBlob… in createShaders()
1010 …hr = m_pDevice->CreatePixelShader(pPSBlob->GetBufferPointer(), pPSBlob->GetBufferSize(), NULL, pPi… in createShaders()
[all …]
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp25 : m_pDevice(pDevice), in CFX_ImageRenderer()
103 m_pDevice->CompositeMask( in Continue()
110 m_pDevice->CompositeBitmap( in Continue()
Dcfx_imagerenderer.h38 RetainPtr<CFX_DIBitmap> const m_pDevice;
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp462 RetainPtr<CFX_DIBitmap> m_pDevice; member in __anonce055f230111::CFX_Renderer
476 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan()
621 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp()
910 m_pDevice = pDevice; in Init()
919 m_ClipBox.right = m_pDevice->GetWidth(); in Init()
920 m_ClipBox.bottom = m_pDevice->GetHeight(); in Init()
928 if (m_pDevice->GetBPP() == 8) { in Init()
931 if (m_pDevice->IsAlphaMask()) in Init()
950 if (m_pDevice->GetBPP() == 1) in Init()
964 uint8_t* dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
[all …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.h40 UnownedPtr<CFX_RenderDevice> m_pDevice;
Dcfx_renderdevice.cpp1309 : m_pDevice(pDevice) { in StateRestorer()
1310 m_pDevice->SaveState(); in StateRestorer()
1314 m_pDevice->RestoreState(false); in ~StateRestorer()