OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrSurfaceContext
(Results
1 - 25
of
36
) sorted by null
1
2
/external/skia/src/gpu/
GrSurfaceContextPriv.h
11
#include "
GrSurfaceContext
.h"
13
/** Class that adds methods to
GrSurfaceContext
that are only intended for use internal to
14
Skia. This class is purely a privileged window into
GrSurfaceContext
. It should never have
21
explicit GrSurfaceContextPriv(
GrSurfaceContext
* surfaceContext)
32
GrSurfaceContext
* fSurfaceContext;
34
friend class
GrSurfaceContext
; // to construct/copy this type.
37
inline GrSurfaceContextPriv
GrSurfaceContext
::surfPriv() {
41
inline const GrSurfaceContextPriv
GrSurfaceContext
::surfPriv() const {
42
return GrSurfaceContextPriv(const_cast<
GrSurfaceContext
*>(this));
GrContextPriv.h
12
#include "
GrSurfaceContext
.h"
26
sk_sp<
GrSurfaceContext
> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>);
28
sk_sp<
GrSurfaceContext
> makeDeferredSurfaceContext(const GrSurfaceDesc&,
34
sk_sp<
GrSurfaceContext
> makeBackendSurfaceContext(const GrBackendTexture& tex,
135
bool readSurfacePixels(
GrSurfaceContext
* src,
157
bool writeSurfacePixels(
GrSurfaceContext
* dst,
GrSurfaceContext.cpp
8
#include "
GrSurfaceContext
.h"
26
GrSurfaceContext
::
GrSurfaceContext
(GrContext* context,
41
bool
GrSurfaceContext
::readPixels(const SkImageInfo& dstInfo, void* dstBuffer,
46
GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "
GrSurfaceContext
::readPixels");
65
bool
GrSurfaceContext
::writePixels(const SkImageInfo& srcInfo, const void* srcBuffer,
70
GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "
GrSurfaceContext
::writePixels");
87
bool
GrSurfaceContext
::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) {
91
GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "
GrSurfaceContext
::onCopy");
GrTextureContext.h
11
#include "
GrSurfaceContext
.h"
26
class SK_API GrTextureContext : public
GrSurfaceContext
{
57
typedef
GrSurfaceContext
INHERITED;
GrSurfaceContext.h
32
class SK_API
GrSurfaceContext
: public SkRefCnt {
34
~
GrSurfaceContext
() override {}
115
GrSurfaceContext
(GrContext*, GrDrawingManager*,
GrTextureStripAtlas.h
18
class
GrSurfaceContext
;
175
sk_sp<
GrSurfaceContext
> fTexContext;
GrTextureContext.cpp
26
:
GrSurfaceContext
(context, drawingMgr, std::move(colorSpace), auditTrail, singleOwner)
GrSurfaceProxy.cpp
17
#include "
GrSurfaceContext
.h"
280
sk_sp<
GrSurfaceContext
> dstContext(context->contextPriv().makeDeferredSurfaceContext(
300
sk_sp<
GrSurfaceContext
> GrSurfaceProxy::TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc,
303
sk_sp<
GrSurfaceContext
> dstContext(context->contextPriv().makeDeferredSurfaceContext(
GrRenderTargetContext.h
16
#include "
GrSurfaceContext
.h"
54
class SK_API GrRenderTargetContext : public
GrSurfaceContext
{
438
typedef
GrSurfaceContext
INHERITED;
GrContext.cpp
20
#include "
GrSurfaceContext
.h"
318
bool GrContextPriv::writeSurfacePixels(
GrSurfaceContext
* dst,
448
bool GrContextPriv::readSurfacePixels(
GrSurfaceContext
* src,
643
sk_sp<
GrSurfaceContext
> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy,
656
sk_sp<
GrSurfaceContext
> GrContextPriv::makeDeferredSurfaceContext(const GrSurfaceDesc& dstDesc,
669
sk_sp<
GrSurfaceContext
> GrContextPriv::makeBackendSurfaceContext(const GrBackendTexture& tex,
[
all
...]
GrBackendTextureImageGenerator.cpp
186
sk_sp<
GrSurfaceContext
> sContext(context->contextPriv().makeDeferredSurfaceContext(
GrSWMaskHelper.cpp
14
#include "
GrSurfaceContext
.h"
103
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeDeferredSurfaceContext(
/external/skia/tests/
TestUtils.h
12
class
GrSurfaceContext
;
17
GrSurfaceContext
* srcContext, uint32_t expectedPixelValues[],
23
GrSurfaceContext
* srcContext, bool expectedToWork, const char* testName);
33
GrSurfaceContext
* dstContext, const char* testName);
TestUtils.cpp
12
#include "
GrSurfaceContext
.h"
17
GrSurfaceContext
* srcContext, uint32_t expectedPixelValues[],
40
GrSurfaceContext
* dstContext, bool expectedToWork,
86
sk_sp<
GrSurfaceContext
> dstContext(GrSurfaceProxy::TestCopy(context, copyDstDesc, proxy));
93
GrSurfaceContext
* dstContext, const char* testName) {
VkUploadPixelsTests.cpp
79
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
113
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
IntTextureTest.cpp
86
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
136
sk_sp<
GrSurfaceContext
> dstContext(GrSurfaceProxy::TestCopy(context, desc,
159
sk_sp<
GrSurfaceContext
> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc,
169
sk_sp<
GrSurfaceContext
> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc,
EGLImageTest.cpp
15
#include "
GrSurfaceContext
.h"
142
sk_sp<
GrSurfaceContext
> surfaceContext = context0->contextPriv().makeBackendSurfaceContext(
146
ERRORF(reporter, "Error wrapping external texture in
GrSurfaceContext
.");
153
sk_sp<
GrSurfaceContext
> temp = context0->contextPriv().makeBackendSurfaceContext(
163
sk_sp<
GrSurfaceContext
> temp = context0->contextPriv().makeBackendSurfaceContext(
FloatingPointTextureTest.cpp
63
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
ReadWriteAlphaTest.cpp
16
#include "
GrSurfaceContext
.h"
68
sk_sp<
GrSurfaceContext
> sContext(context->contextPriv().makeWrappedSurfaceContext(
178
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
RectangleTextureTest.cpp
45
static void test_clear(skiatest::Reporter* reporter,
GrSurfaceContext
* rectContext) {
146
sk_sp<
GrSurfaceContext
> rectContext = context->contextPriv().makeWrappedSurfaceContext(
CopySurfaceTest.cpp
15
#include "
GrSurfaceContext
.h"
93
sk_sp<
GrSurfaceContext
> dstContext =
PackedConfigsTextureTest.cpp
128
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeWrappedSurfaceContext(
SRGBReadWritePixelsTest.cpp
13
#include "
GrSurfaceContext
.h"
117
void read_and_check_pixels(skiatest::Reporter* reporter,
GrSurfaceContext
* context,
178
sk_sp<
GrSurfaceContext
> sContext = context->contextPriv().makeDeferredSurfaceContext(
/external/skia/include/private/
GrSurfaceProxy.h
22
class
GrSurfaceContext
;
327
static sk_sp<
GrSurfaceContext
> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc,
/external/skia/gm/
texdata.cpp
101
sk_sp<
GrSurfaceContext
> tContext = context->contextPriv().makeWrappedSurfaceContext(
Completed in 1438 milliseconds
1
2