OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dstContext
(Results
1 - 6
of
6
) sorted by null
/external/skia/tests/
TestUtils.cpp
40
GrSurfaceContext*
dstContext
, bool expectedToWork,
42
int pixelCnt =
dstContext
->width() *
dstContext
->height();
44
for (int y = 0; y <
dstContext
->width(); ++y) {
45
for (int x = 0; x <
dstContext
->height(); ++x) {
46
pixels.get()[y *
dstContext
->width() + x] =
51
SkImageInfo ii = SkImageInfo::Make(
dstContext
->width(),
dstContext
->height(),
53
bool write =
dstContext
->writePixels(ii, pixels.get(), 0, 0, 0);
66
test_read_pixels(reporter,
dstContext
, pixels.get(), testName)
[
all
...]
TestUtils.h
20
// See if trying to write RGBA 8888 pixels to '
dstContext
' matches matches the
31
// Ensure that RGBA 8888 pixels can be copied into '
dstContext
'
33
GrSurfaceContext*
dstContext
, const char* testName);
IntTextureTest.cpp
121
sk_sp<GrSurfaceContext>
dstContext
(GrSurfaceProxy::TestCopy(context, desc,
123
REPORTER_ASSERT(reporter,
dstContext
);
124
if (!
dstContext
|| !
dstContext
->asTextureProxy()) {
128
GrSurface* copySurface =
dstContext
->asTextureProxy()->instantiate(
150
sk_sp<GrSurfaceContext>
dstContext
(GrSurfaceProxy::TestCopy(context, nonIntDesc,
152
REPORTER_ASSERT(reporter, !
dstContext
);
160
sk_sp<GrSurfaceContext>
dstContext
(GrSurfaceProxy::TestCopy(context, nonIntDesc,
162
REPORTER_ASSERT(reporter, !
dstContext
);
CopySurfaceTest.cpp
93
sk_sp<GrSurfaceContext>
dstContext
=
97
bool result =
dstContext
->copy(src.get(), srcRect, dstPoint);
135
if (!
dstContext
->readPixels(ii, read.get(), kRowBytes, 0, 0)) {
/external/skia/src/gpu/
GrSurfaceProxy.cpp
255
sk_sp<GrSurfaceContext>
dstContext
(context->contextPriv().makeDeferredSurfaceContext(
259
if (!
dstContext
) {
263
if (!
dstContext
->copy(src, srcRect, SkIPoint::Make(0, 0))) {
267
return
dstContext
->asTextureProxyRef();
278
sk_sp<GrSurfaceContext>
dstContext
(context->contextPriv().makeDeferredSurfaceContext(
282
if (!
dstContext
) {
286
if (!
dstContext
->copy(srcProxy)) {
290
return
dstContext
;
/external/skia/gm/
image_pict.cpp
253
sk_sp<GrSurfaceContext>
dstContext
(fCtx->contextPriv().makeDeferredSurfaceContext(
257
if (!
dstContext
) {
261
if (!
dstContext
->copy(
268
return
dstContext
->asTextureProxyRef();
Completed in 624 milliseconds